|
||||||||||
| 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.IlvFacesMapInteractor
public class IlvFacesMapInteractor
The Map interactor allows you to launch a server action outside of the JavaServer Faces lifecycle.
The default action name is "map" and the parameters of this action are the coordinates (in the manager coordinates system) of the clicked point on the view.
To handle an action event, a listener on this action name must be registered through
IlvManagerServletSupport.addServerActionListener.
| Field Summary |
|---|
| 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 | |
|---|---|
IlvFacesMapInteractor()
Creates a new IlvFacesMapInteractor 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. |
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.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 IlvFacesMapInteractor()
IlvFacesMapInteractor instance.
| Method Detail |
|---|
public String getFamily()
rendererType
property, may be used to select the appropriate renderer for this component
instance.
getFamily in class IlvInteractorpublic static String getComponentType()
public String getActionName()
"map".
public void setActionName(String actionName)
"map".
actionName - The name of the action.public void updateModel(FacesContext context)
updateModel in class IlvInteractorcontext - The current faces context.public Object saveState(FacesContext context)
state of this component.
saveState in interface IlvFacesComponentsaveState in interface StateHoldersaveState in class IlvInteractorcontext - 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 IlvInteractorcontext - 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 | |||||||||