|
||||||||||
| 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.views.diagrammer.faces.dhtml.component.IlvFacesDiagrammerSelectionManager
public class IlvFacesDiagrammerSelectionManager
IlvFacesDiagrammerSelectionManager is a facet of
IlvFacesDHTMLDiagrammerView
that allows you to configure the selection management in the view.
| 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 |
| Constructor Summary | |
|---|---|
IlvFacesDiagrammerSelectionManager()
Creates a new IlvFacesDiagrammerSelectionManager instance. |
|
| Method Summary | |
|---|---|
static String |
getComponentType()
Returns the type of this component. |
String |
getFamily()
|
MethodBinding |
getInfoProviderMethodBinding()
Deprecated. Beginning with JViews 8.0 it is recommended to use getPropertyAccessor()
instead. |
IlvFacesDiagrammerPropertyAccessor |
getPropertyAccessor()
Returns a reference to an IlvFacesDiagrammerPropertyAccessor 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. Beginning with JViews 8.0 it is recommended to use setPropertyAccessor(IlvFacesDiagrammerPropertyAccessor)
instead. |
void |
setPropertyAccessor(IlvFacesDiagrammerPropertyAccessor propertyAccessor)
Sets a reference to a IlvFacesDiagrammerPropertyAccessor 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.UIComponentBase |
|---|
addFacesListener, broadcast, decode, encodeBegin, encodeChildren, encodeEnd, findComponent, getChildCount, getChildren, getFacesContext, getFacesListeners, getFacet, getFacets, getFacetsAndChildren, getId, getParent, getRenderer, getRendererType, getRendersChildren, getValueBinding, isRendered, isTransient, processDecodes, processRestoreState, processSaveState, processValidators, queueEvent, removeFacesListener, restoreAttachedState, saveAttachedState, setId, setParent, setRendered, setRendererType, setTransient, setValueBinding |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public IlvFacesDiagrammerSelectionManager()
IlvFacesDiagrammerSelectionManager instance.
| Method Detail |
|---|
public String getFamily()
getFamily in class IlvFacesSelectionManagerpublic static String getComponentType()
public MethodBinding getInfoProviderMethodBinding()
getPropertyAccessor()
instead.
ArrayList methodName(IlvDiagrammer, Object) or
ArrayList methodName(IlvDiagrammer, IlvSDMNode).
The value returned by this method is a list of additional properties to associate to the selected object.
A valid item in this list is a String or a list.
public void setInfoProviderMethodBinding(MethodBinding infoProviderMethodBinding)
setPropertyAccessor(IlvFacesDiagrammerPropertyAccessor)
instead.
ArrayList methodName(IlvDiagrammer, Object) or
ArrayList methodName(IlvDiagrammer, IlvSDMNode).
The returned value of this method is a list of additional properties to associate to the selected object.
A valid item of this list is a String or a list itself.
infoProviderMethodBinding - The binding to the method that will provide the additional information on the selected objects.public IlvFacesDiagrammerPropertyAccessor getPropertyAccessor()
IlvFacesDiagrammerPropertyAccessor instance
that will be used to access the properties of the selected objects.
setPropertyAccessor(IlvFacesDiagrammerPropertyAccessor)public void setPropertyAccessor(IlvFacesDiagrammerPropertyAccessor propertyAccessor)
IlvFacesDiagrammerPropertyAccessor instance
that will be used to access the properties of the selected objects.
To enable the ability to set properties, the editable property of
the parent
IlvFacesDiagrammerView
object must be set to true.
propertyAccessor - The property accessor.IlvFacesDiagrammerView.setEditable(boolean)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 | |||||||||