|
||||||||||
| 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.interactor.IlvInteractor
ilog.views.faces.interactor.IlvDragRectInteractor
ilog.views.faces.interactor.IlvFacesMapRectInteractor
public class IlvFacesMapRectInteractor
The Map Rectangle interactor allows you to launch a server action outside of the JavaServer Faces lifecycle by dragging a rectangle.
The default action name is "mapRect" and the parameters of this action are the coordinates (in the manager coordinates system) of the dragged rectangle
on the view and the corner from which the rectangle was dragged (upper-left=0, lower-left=1, lower-right=2, upper-right=3).
To handle an action event, a listener must registered through
IlvManagerServletSupport.addServerActionListener.
| Field Summary |
|---|
| Fields inherited from class ilog.views.faces.interactor.IlvDragRectInteractor |
|---|
LINE_WIDTH_DEFAULT_VALUE |
| Fields inherited from interface ilog.views.faces.IlvFrameworkConstants |
|---|
ACTION_NAME, AUTO_REFRESH, BOUNDING_BOX, CONSTRAINED_ON_CONTENTS, INTERACTOR, INTERACTOR_ID, MAX_ZOOM_LEVEL, MIN_ZOOM_LEVEL, NB_BUTTONS, ORIENTATION, ORIENTATION_HORIZONTAL, ORIENTATION_VERTICAL, PAN_FACTOR, STATIC_LAYERS_COUNT, TILE_SIZE, VISIBLE_LAYERS, ZOOM_FACTOR, ZOOM_LEVELS |
| Constructor Summary | |
|---|---|
IlvFacesMapRectInteractor()
Creates a new IlvFacesMapRectInteractor instance. |
|
| Method Summary | |
|---|---|
String |
getActionName()
Returns the action name. |
static String |
getComponentType()
Returns the type of 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. |
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 |
setActionName(String actionName)
Sets the action name of the event that will be triggered when this interactor is used. |
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.interactor.IlvDragRectInteractor |
|---|
getLineColor, getLineWidth, setLineColor, setLineWidth |
| 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.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 IlvFacesMapRectInteractor()
IlvFacesMapRectInteractor instance.
| Method Detail |
|---|
public String getFamily()
rendererType
property, may be used to select the appropriate renderer for this component
instance.
getFamily in class IlvDragRectInteractorpublic static String getComponentType()
public String getActionName()
"mapRect".
public void setActionName(String actionName)
"mapRect".
actionName - The name of the action.public void updateModel(FacesContext context)
updateModel in class IlvDragRectInteractorcontext - The current faces context.public Object saveState(FacesContext context)
state of this component.
saveState in interface IlvFacesComponentsaveState in interface StateHoldersaveState in class IlvDragRectInteractorcontext - 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 IlvDragRectInteractorcontext - 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 | |||||||||