|
||||||||||
| PREV CLASS Documentation homepage NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectilog.cpl.graphic.css.renderer.IlpAbstractGraphicViewRenderer
ilog.cpl.graph.css.renderer.IlpAbstractRepresentationViewRenderer
ilog.cpl.graph.css.renderer.IlpInteractorRenderer
ilog.cpl.equipment.renderer.IlpInteractorRenderer
public class IlpInteractorRenderer
This class gives control over the interactors of an
IlpEquipmentView.
This class shows all the properties that can be customized in the equipment controller using cascading style sheets.
The CSS configuration can be applied to the equipment component, using
IlpGraphView.setStyleSheets(java.lang.String[]).
To customize the equipment controller programmatically,
use IlpEquipmentController.
This class is a CSS stylable bean. It can be configured as follows in a CSS file:
Interactor {
name : String;
}
The name property denotes the name of a button in the
toolbar that installs a view interactor. See
IlpToolBarRenderer.
If the toolbar is not visible or currently not configured in the component, it is also possible to customize the view interactor as follows:
Interactor {
viewInteractor : @=viewInt;
}
Subobject#viewInt {
class: 'ilog.cpl.graphic.views.IlpViewsViewInteractor';
}
When the interactor renderer is enabled, it is also possible to define interactors that are associated to business objects. This customization is done in the following way:
object."business class name" {
interactor: @+objInter;
}
Subobject#objInter {
class: ilog.cpl.interactor.IlpDefaultObjectInteractor;
}
IlpEquipmentController,
IlpViewInteractor,
IlpObjectInteractor| Constructor Summary | |
|---|---|
IlpInteractorRenderer()
|
|
| Method Summary | |
|---|---|
String |
getName()
Returns the default view interactor name, if there is one. |
IlpObjectInteractor |
getObjectInteractor(IlpRepresentationObject object)
Returns the interactor associated with the given object. |
IlpObjectInteractor |
getObjectInteractor(IlpRepresentationObject object,
IlpAttribute attribute)
Returns the interactor associated with the given object and attribute. |
IlpViewInteractor |
getViewInteractor()
Returns the view interactor. |
void |
setObjectInteractor(IlpRepresentationObject object,
IlpAttribute attribute,
IlpObjectInteractor interactor)
Sets the interactor to be associated with the given object and attribute. |
void |
setObjectInteractor(IlpRepresentationObject object,
IlpObjectInteractor interactor)
Sets the interactor to be associated with the given object. |
void |
setViewInteractor(IlpViewInteractor vi)
Sets the default view interactor. |
| Methods inherited from class ilog.cpl.graph.css.renderer.IlpInteractorRenderer |
|---|
getCSSID, reset, setName |
| Methods inherited from class ilog.cpl.graph.css.renderer.IlpAbstractRepresentationViewRenderer |
|---|
attach, getView, noteContainerAdded, noteContainerUpdated |
| Methods inherited from class ilog.cpl.graphic.css.renderer.IlpAbstractGraphicViewRenderer |
|---|
detach, getContext, getGraphicView, 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 |
|---|
isRendererEnabled |
| Constructor Detail |
|---|
public IlpInteractorRenderer()
| Method Detail |
|---|
public String getName()
getName in class ilog.cpl.graph.css.renderer.IlpInteractorRendererpublic IlpViewInteractor getViewInteractor()
getViewInteractor in interface ilog.cpl.graphic.css.renderer.IlpInteractorRenderergetViewInteractor in class ilog.cpl.graph.css.renderer.IlpInteractorRendererpublic void setViewInteractor(IlpViewInteractor vi)
setViewInteractor in interface ilog.cpl.graphic.css.renderer.IlpInteractorRenderersetViewInteractor in class ilog.cpl.graph.css.renderer.IlpInteractorRendererpublic IlpObjectInteractor getObjectInteractor(IlpRepresentationObject object)
getObjectInteractor in interface ilog.cpl.graphic.css.renderer.IlpInteractorRenderergetObjectInteractor in class ilog.cpl.graph.css.renderer.IlpInteractorRendererobject - Representation object
public void setObjectInteractor(IlpRepresentationObject object,
IlpObjectInteractor interactor)
setObjectInteractor in interface ilog.cpl.graphic.css.renderer.IlpInteractorRenderersetObjectInteractor in class ilog.cpl.graph.css.renderer.IlpInteractorRenderer
public IlpObjectInteractor getObjectInteractor(IlpRepresentationObject object,
IlpAttribute attribute)
getObjectInteractor in interface ilog.cpl.graphic.css.renderer.IlpInteractorRenderergetObjectInteractor in class ilog.cpl.graph.css.renderer.IlpInteractorRendererobject - Representation objectattribute - Business attribute
public void setObjectInteractor(IlpRepresentationObject object,
IlpAttribute attribute,
IlpObjectInteractor interactor)
setObjectInteractor in interface ilog.cpl.graphic.css.renderer.IlpInteractorRenderersetObjectInteractor in class ilog.cpl.graph.css.renderer.IlpInteractorRendererobject - Representation objectattribute - Business attributeinteractor - Object interactor
|
||||||||||
| PREV CLASS Documentation homepage NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||