|
||||||||||
| PREV CLASS Documentation homepage NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectilog.cpl.graphic.IlpGraphicRendererContext
public class IlpGraphicRendererContext
Contains the context information used to render a graphic object.
| Constructor Summary | |
|---|---|
IlpGraphicRendererContext(boolean selected,
boolean expanded,
boolean focus,
boolean showChildren)
Creates a renderer context with the given initial information. |
|
IlpGraphicRendererContext(IlpGraphicView view,
IlpRepresentationObject ro,
IlpAttribute attribute,
boolean selected,
boolean expanded,
boolean focus,
boolean showChildren)
Creates a renderer context with the given initial information. |
|
| Method Summary | |
|---|---|
boolean |
displayChildren()
Returns whether the child objects of the object being rendered will be displayed. |
boolean |
equals(Object other)
|
Object |
getProperty(Object key)
Deprecated. |
Object |
getPropertyValue(String property,
IlpGraphicView view,
IlpClass bclass,
IlpAttribute battr)
Retrieves the value of a styling property for a given a business attribute. |
Object |
getPropertyValue(String property,
IlpGraphicView view,
IlpRepresentationObject ro)
Retrieves the value of a styling property for a given representation object in the graphic view. |
Object |
getPropertyValue(String property,
IlpGraphicView view,
IlpRepresentationObject ro,
IlpAttribute a)
Retrieves the value of a styling property for a given representation object in the graphic view. |
String[] |
getPseudoClasses()
Returns the pseudoclasses used to configure the object in the given component. |
boolean |
hasFocus()
Returns whether the object being rendered has focus. |
boolean |
hasProperty(Object key)
Deprecated. |
protected String[] |
identifyPseudoClasses()
This method sets the known pseudo-classes accordingly. |
boolean |
isExpanded()
Returns whether the object being rendered is expanded. |
boolean |
isSelected()
Returns whether the object being rendered is selected. |
void |
setProperty(Object key,
Object value)
Deprecated. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public IlpGraphicRendererContext(boolean selected,
boolean expanded,
boolean focus,
boolean showChildren)
Use the constructor with the IlpGraphicView parameter if
you use cascading style sheets with custom pseudoclasses.
selected - Indicates whether the object to be rendered is selected.expanded - Indicates whether the object is expanded; that is, whether
its child objects are also visible in the view. Always
set to false in the table view.focus - Indicates whether the object being rendered has the focus.
Always set to false in the network view and equipment view.showChildren - Indicates whether the child objects will be displayed
as part of or in direct connection with the object. Always
set to false in the tree view and table view.
public IlpGraphicRendererContext(IlpGraphicView view,
IlpRepresentationObject ro,
IlpAttribute attribute,
boolean selected,
boolean expanded,
boolean focus,
boolean showChildren)
view - The graphic viewro - The representation objectattribute - The business attributeselected - Indicates whether the object to be rendered is selected.expanded - Indicates whether the object is expanded; that is, whether
its child objects are also visible in the view. Always
set to false in the table view.focus - Indicates whether the object being rendered has the focus.
Always set to false in the network view and equipment view.showChildren - Indicates whether the child objects will be displayed
as part of or in direct connection with the object. Always
set to false in the tree view and table view.| Method Detail |
|---|
public boolean isSelected()
public boolean hasFocus()
public boolean isExpanded()
public boolean displayChildren()
public Object getProperty(Object key)
null.
public void setProperty(Object key,
Object value)
null, the property is
removed from the context.
key - Property key.value - Property value; null indicates that
the value should be removed from the context.public boolean hasProperty(Object key)
key - Property key being queried.public String toString()
toString in class Objectpublic boolean equals(Object other)
equals in class Objectprotected String[] identifyPseudoClasses()
public String[] getPseudoClasses()
The pseudoclasses are composed by the list of automatic pseudoclasses
public Object getPropertyValue(String property,
IlpGraphicView view,
IlpRepresentationObject ro)
Styling properties are defined using cascading style sheets.
property - Property nameview - Graphic viewro - Representation objectIlpStylableGraphicView,
IlvStylable.setStyleSheets(java.lang.String[])
public Object getPropertyValue(String property,
IlpGraphicView view,
IlpRepresentationObject ro,
IlpAttribute a)
Styling properties are defined using cascading style sheets.
property - Property identifierview - Graphic viewro - Representation objecta - Business attributeIlpStylableGraphicView,
IlvStylable.setStyleSheets(java.lang.String[])
public Object getPropertyValue(String property,
IlpGraphicView view,
IlpClass bclass,
IlpAttribute battr)
The business attribute declarations are used by the Table Component to specify the characteristics of the table header.
property - Property nameview - Graphic viewbclass - Business Classbattr - Business attribute
|
||||||||||
| PREV CLASS Documentation homepage NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||