|
||||||||||
| PREV CLASS Documentation homepage NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectilog.cpl.table.renderer.IlpAbstractTableViewRenderer
ilog.cpl.table.renderer.IlpAbstractTableInteractorRenderer
ilog.cpl.table.renderer.IlpInteractorRenderer
public class IlpInteractorRenderer
This class gives control over the interactors of a table component.
This class shows all the properties that can be customized in the table controller using cascading style sheets.
The CSS configuration can be applied to the table component, using
IlpTableView.setStyleSheets(java.lang.String[]).
To customize the table controller configuration programmatically,
use IlpTableController.
This class is a CSS stylable JavaBean. It can be configured as follows in a CSS file:
Table {
interactor: true;
}
Interactor {
viewInteractor : @+viewInter;
headerInteractor: @+headerInter;
}
Subobject#viewInter {
class: ilog.cpl.table.interactor.IlpDefaultTableViewInteractor;
}
#headerInter {
class: ilog.cpl.table.interactor.IlpDefaultTableHeaderInteractor;
}
When the interactor renderer is enabled, it is also possible to define interactors that are associated with business objects and attributes.
Table cell interactors can be customized in the following way:
object."business class name/attribute name" {
interactor: @+objInter;
}
Subobject#objInter {
class: ilog.cpl.interactor.IlpDefaultObjectInteractor;
}
Table row interactors can be customized as follows:
object."business class name" {
interactor: @+objInter;
}
Please note that the support for the header interactor and the object
interactors in the table component is associated with the use of
IlpDefaultTableViewInteractor.
| Constructor Summary | |
|---|---|
IlpInteractorRenderer()
|
|
| Method Summary | |
|---|---|
IlpDefaultTableHeaderInteractor |
getHeaderInteractor()
Returns the header interactor used to manage events that occur in the table header. |
void |
reset()
Resets all settings of this renderer. |
void |
setHeaderInteractor(IlpDefaultTableHeaderInteractor v)
Sets the header interactor that will be used to manage events that occur in the table header. |
| Methods inherited from class ilog.cpl.table.renderer.IlpAbstractTableInteractorRenderer |
|---|
getCSSID, getObjectInteractor, getObjectInteractor, getViewInteractor, setObjectInteractor, setObjectInteractor, setViewInteractor |
| Methods inherited from class ilog.cpl.table.renderer.IlpAbstractTableViewRenderer |
|---|
attach, detach, getContext, getViewSupport, isRendererEnabled, setRendererEnabled |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface ilog.cpl.graphic.css.renderer.IlpInteractorRenderer |
|---|
getObjectInteractor, getObjectInteractor, getViewInteractor, isRendererEnabled, setObjectInteractor, setObjectInteractor, setViewInteractor |
| Constructor Detail |
|---|
public IlpInteractorRenderer()
| Method Detail |
|---|
public IlpDefaultTableHeaderInteractor getHeaderInteractor()
public void setHeaderInteractor(IlpDefaultTableHeaderInteractor v)
v - Table header interactor.public void reset()
reset in class IlpAbstractTableViewRenderer
|
||||||||||
| PREV CLASS Documentation homepage NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||