|
||||||||||
| PREV CLASS Documentation homepage NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.faces.component.UIComponent
javax.faces.component.UIComponentBase
ilog.views.faces.component.IlvFacesComponentBase
ilog.views.faces.dhtml.component.IlvFacesSelectionManager
ilog.tgo.faces.graph.dhtml.component.IltFacesGraphViewSelectionManager
public class IltFacesGraphViewSelectionManager
IltFacesGraphViewSelectionManager represents the abstraction
that holds the selection related settings related to TGO Faces components.
See the following section in the documentation for more details:
Building Web Applications > The Network View Faces Component > Configuring a Network View Faces Component > Interacting with the Network View Component
| Field Summary |
|---|
| Fields inherited from class ilog.views.faces.dhtml.component.IlvFacesSelectionManager |
|---|
FORCE_UPDATE_PROPERTIES_DEFAULT_VALUE, IMAGE_MODE_DEFAULT_VALUE, LINE_WIDTH_DEFAULT_VALUE |
| Fields inherited from class javax.faces.component.UIComponent |
|---|
bindings |
| Constructor Summary | |
|---|---|
IltFacesGraphViewSelectionManager()
Creates a new IltFacesGraphViewSelectionManager instance. |
|
| Method Summary | |
|---|---|
static String |
getComponentType()
Returns the component type identifier of this component. |
String |
getFamily()
|
MethodBinding |
getInfoProviderMethodBinding()
Deprecated. since JViews 8.0, use getPropertyAccessor() instead. |
IltFacesPropertyAccessor |
getPropertyAccessor()
Returns a reference to the IltFacesPropertyAccessor
instance that will be used to access the properties of the selected
objects. |
void |
restoreState(FacesContext context,
Object stateObj)
Perform any processing required to restore the state from the entries in the state Object. If the class that implements this interface has references to
instances that also implement StateHolder (such as a
|
Object |
saveState(FacesContext context)
Gets the state of the instance as a
If the class that implements this interface has references to
instances that implement StateHolder (such as a
This method must not alter the state of the implementing object. In other words, after executing this code:
The return from this method must be |
void |
setInfoProviderMethodBinding(MethodBinding infoProviderMethodBinding)
Deprecated. since JViews 8.0, Use setPropertyAccessor(IltFacesPropertyAccessor)
instead. |
void |
setPropertyAccessor(IltFacesPropertyAccessor propertyAccessor)
Sets the IltFacesPropertyAccessor instance
that will be used to access the properties of the selected objects. |
void |
updateModel(FacesContext context)
Handles the "Update Model Values" phase of the JSF life cycle. This method updates the referenced values with the local values of the component if theses values were updated during the "Apply Request Values" phase. |
| Methods inherited from class ilog.views.faces.dhtml.component.IlvFacesSelectionManager |
|---|
getFillOnDefaultValue, getLineColor, getLineWidth, getOnSelectionChanged, isFillOn, isForceUpdateProperties, isImageMode, setFillOn, setFillOnDefaultValue, setForceUpdateProperties, setImageMode, setLineColor, setLineWidth, setOnSelectionChanged |
| Methods inherited from class ilog.views.faces.component.IlvFacesComponentBase |
|---|
clearDecodedPropertyMap, createFacesComponent, getAttributes, getClientId, isDecodedProperty, processUpdates, resetDecodedProperties, setDecodedProperty |
| Methods inherited from class javax.faces.component.UIComponent |
|---|
encodeAll, getContainerClientId |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public IltFacesGraphViewSelectionManager()
IltFacesGraphViewSelectionManager instance.
| Method Detail |
|---|
public String getFamily()
getFamily in class IlvFacesSelectionManagerpublic static String getComponentType()
public MethodBinding getInfoProviderMethodBinding()
getPropertyAccessor() instead.
Accesses the infoProviderMethodBinding property.
List method_name(IlpGraphView view, IlpRepresentationObject obj)
It returns a list of additional properties associated to the
currently selected object. A valid item for this list is a
String or a List itself.
public void setInfoProviderMethodBinding(MethodBinding infoProviderMethodBinding)
setPropertyAccessor(IltFacesPropertyAccessor)
instead.
Sets the infoProviderMethodBinding property.
List method_name(IlpGraphView view, IlpRepresentationObject obj)
It returns a list of additional properties associated to the
currently selected object. A valid item for this list is a
String or a List itself.
infoProviderMethodBinding - The binding to a method that will provide the
additional information for the selected object.public IltFacesPropertyAccessor getPropertyAccessor()
IltFacesPropertyAccessor
instance that will be used to access the properties of the selected
objects.
setPropertyAccessor(IltFacesPropertyAccessor)public void setPropertyAccessor(IltFacesPropertyAccessor propertyAccessor)
IltFacesPropertyAccessor instance
that will be used to access the properties of the selected objects.
propertyAccessor - The property accessor.public void updateModel(FacesContext context)
updateModel in class IlvFacesSelectionManagercontext - The current faces context.public Object saveState(FacesContext context)
Gets the state of the instance as a
Serializable Object.
If the class that implements this interface has references to
instances that implement StateHolder (such as a
UIComponent with event handlers, validators, etc.)
this method must call the IlvFacesComponentBase.saveState(javax.faces.context.FacesContext) method on all those
instances as well. This method must not save the state
of children and facets.
This method must not alter the state of the implementing object. In other words, after executing this code:
Object state = component.saveState(facesContext);
component should be the same as before executing
it.
The return from this method must be Serializable
saveState in interface IlvFacesComponentsaveState in interface StateHoldersaveState in class IlvFacesSelectionManagercontext - The current faces context.
public void restoreState(FacesContext context,
Object stateObj)
Perform any processing required to restore the state from the entries in the state Object.
If the class that implements this interface has references to
instances that also implement StateHolder (such as a
UIComponent with event handlers, validators, etc.)
this method must call the IlvFacesComponentBase.restoreState(javax.faces.context.FacesContext, java.lang.Object) method on all those
instances as well.
restoreState in interface IlvFacesComponentrestoreState in interface StateHolderrestoreState in class IlvFacesSelectionManagercontext - The current faces context.stateObj - The previously saved state of this component.
|
||||||||||
| PREV CLASS Documentation homepage NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||