public class IlpInteractorRenderer extends IlpAbstractTableInteractorRenderer implements ilog.cpl.graphic.css.renderer.IlpInteractorRenderer
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 and Description |
---|
IlpInteractorRenderer()
Create an instance of the interactor renderer.
|
Modifier and Type | Method and Description |
---|---|
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.
|
getCSSID, getObjectInteractor, getObjectInteractor, getViewInteractor, setObjectInteractor, setObjectInteractor, setViewInteractor
attach, detach, getContext, getViewSupport, isRendererEnabled, setRendererEnabled
public IlpInteractorRenderer()
public IlpDefaultTableHeaderInteractor getHeaderInteractor()
public void setHeaderInteractor(IlpDefaultTableHeaderInteractor v)
v
- Table header interactor.public void reset()
reset
in class IlpAbstractTableViewRenderer
© Copyright Rogue Wave Software, Inc. 1997, 2018. All Rights Reserved.