|
||||||||||
| PREV CLASS 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.interactor.IlvInteractor
ilog.views.faces.dhtml.interactor.IlvFacesSelectInteractor
ilog.tgo.faces.graph.dhtml.interactor.IltFacesClientSelectInteractor
public class IltFacesClientSelectInteractor
The IltFacesClientSelectInteractor component implements an
interactor that allows the selection and movement of objects in a network
or equipment view.
This class is intended to minimize server-side image requests by dynamically displaying a rectangular selection border around the selected objects in the client-side.
| Field Summary |
|---|
| Fields inherited from class ilog.views.faces.dhtml.interactor.IlvFacesSelectInteractor |
|---|
FORCE_UPDATE_DEFAULT_VALUE, IMAGE_MODE_DEFAULT_VALUE, internalState, LINE_WIDTH_DEFAULT_VALUE, MOVE_ALLOWED_DEFAULT_VALUE |
| Fields inherited from class javax.faces.component.UIComponent |
|---|
bindings |
| Fields inherited from interface ilog.tgo.faces.IltFacesJTGOConstants |
|---|
CONTEXT, DATA_SOURCE, DATA_SOURCE_ID, DEFAULT_STYLE_SHEET, EQUIPMENT, NETWORK, OBJECT_ACTION_MB, PROPERTY_ACCESSOR, STYLE_SHEETS |
| Constructor Summary | |
|---|---|
IltFacesClientSelectInteractor()
Creates a new IltFacesClientSelectInteractor instance. |
|
| Method Summary | |
|---|---|
static String |
getComponentType()
Returns the component type identifier for this component. |
String |
getFamily()
Returns the identifier of the component family to which this component belongs. This identifier, in conjunction with the value of the rendererType
property, may be used to select the appropriate renderer for this component
instance. |
MethodBinding |
getInfoProviderMethodBinding()
Deprecated. since JViews 8.0. For alternatives see IltFacesGraphViewSelectionManager.getInfoProviderMethodBinding(). |
MethodBinding |
getObjectActionMethodBinding()
Accesses the objectActionMethodBinding property. |
void |
restoreState(FacesContext context,
Object stateObj)
Restores the state of this component from the state parameter. |
Object |
saveState(FacesContext context)
Returns the state of this component. |
void |
setInfoProviderMethodBinding(MethodBinding methodBinding)
Deprecated. since JViews 8.0. For alternatives see IltFacesGraphViewSelectionManager.setInfoProviderMethodBinding(MethodBinding)(). |
void |
setObjectActionMethodBinding(MethodBinding methodBinding)
Sets the objectActionMethodBinding property. |
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.interactor.IlvFacesSelectInteractor |
|---|
getLineColor, getLineWidth, getOnSelectionChanged, isForceUpdateProperties, isImageMode, isMoveAllowed, setForceUpdateProperties, setImageMode, setLineColor, setLineWidth, setMoveAllowed, setOnSelectionChanged |
| Methods inherited from class ilog.views.faces.interactor.IlvInteractor |
|---|
getCursor, getMenuModelId, getMessage, setCursor, setMenuModelId, setMessage |
| 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 IltFacesClientSelectInteractor()
IltFacesClientSelectInteractor instance.
| Method Detail |
|---|
public String getFamily()
rendererType
property, may be used to select the appropriate renderer for this component
instance.
getFamily in class IlvFacesSelectInteractorpublic static String getComponentType()
public MethodBinding getInfoProviderMethodBinding()
IltFacesGraphViewSelectionManager.getInfoProviderMethodBinding().
Accesses the infoProviderMethodBinding property.
The returned method binding respects the signature:
It returns a list of additional properties associated to the
currently selected object. A valid item for this list is a
List method_name(IlpGraphView view, IlpRepresentationObject obj)
String or a List itself.
public void setInfoProviderMethodBinding(MethodBinding methodBinding)
IltFacesGraphViewSelectionManager.setInfoProviderMethodBinding(MethodBinding)().
Sets the infoProviderMethodBinding property.
The given method binding respects the signature:
It returns a list of additional properties associated to the
currently selected object. A valid item for this list is a
List method_name(IlpGraphView view, IlpRepresentationObject obj)
String or a List itself.
methodBinding - The binding to a method that will provide the
additional information for the selected object.public MethodBinding getObjectActionMethodBinding()
objectActionMethodBinding property.
The returned method binding respects the signature:
boolean method_name(IlpGraphView view, int xPos, int yPos)If the method returns
true, no selection will be processed
and a new image will be generated.
public void setObjectActionMethodBinding(MethodBinding methodBinding)
objectActionMethodBinding property.
The given method binding should respect the following signature:
boolean method_name(IlpGraphView view, int xPos, int yPos)
methodBinding - The binding to a method that will perform object
actions based on a given (x,y) coordinate.public void updateModel(FacesContext context)
updateModel in class IlvFacesSelectInteractorcontext - The current faces context.public Object saveState(FacesContext context)
state of this component.
saveState in interface IlvFacesComponentsaveState in interface StateHoldersaveState in class IlvFacesSelectInteractorcontext - The current faces context.
state of this component.
public void restoreState(FacesContext context,
Object stateObj)
state parameter.
restoreState in interface IlvFacesComponentrestoreState in interface StateHolderrestoreState in class IlvFacesSelectInteractorcontext - The current faces context.stateObj - The previously saved state of this component.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||