|
||||||||||
| 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.maps.faces.component.IlvFacesLayerVisibilityTool
public class IlvFacesLayerVisibilityTool
The layer tool is a display tool that allows the user to change the visible layers.
| Field Summary |
|---|
| Constructor Summary | |
|---|---|
IlvFacesLayerVisibilityTool()
Creates a new IlvFacesLayerVisibilityTool instance. |
|
| Method Summary | |
|---|---|
protected IlvViewHelper |
createViewHelper()
Creates the default IlvViewHelper used by this component. |
static String |
getComponentType()
Returns the type of this component. |
String |
getEnabled()
Returns the enabled inline client of this component. |
String |
getFamily()
Returns the family of this component. |
String |
getMessage()
Returns the inline client message of this component. |
IlvMessageBox |
getMessageBox()
Returns the message box. |
String |
getMessageBoxId()
Returns the message box identifier. |
String |
getStyle()
Returns the inline client style of this component. |
String |
getStyleClass()
Returns the client CSS class(es) of this component. |
String |
getTitle()
Returns the inline client title of this component. |
IlvBasicView |
getView()
Returns the view component associated with this component. |
String |
getViewId()
Returns the ID of the view linked to this component. |
void |
restoreState(FacesContext context,
Object stateObj)
Perform any processing required to restore the state from the entries in the state Object. |
Object |
saveState(FacesContext context)
Gets the state of the instance as a Serializable Object. |
void |
setEnabled(String enabled)
Sets the inline client to enabled. |
void |
setMessage(String message)
Sets the inline client message. |
void |
setMessageBox(IlvMessageBox messageBox)
The message box property. |
void |
setMessageBoxId(String messageBoxId)
The message box identifier property. |
void |
setStyle(String style)
Sets the inline client style. |
void |
setStyleClass(String styleClass)
Sets the client CSS class(es). |
void |
setTitle(String title)
Sets the inline client title. |
void |
setView(IlvBasicView view)
Sets the view component associated with this component. |
void |
setViewId(String viewId)
Sets the ID of the view linked to this component. |
void |
updateModel(FacesContext context)
Handles the "Update Model Values" phase of the JSF life cycle. |
| 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 IlvFacesLayerVisibilityTool()
IlvFacesLayerVisibilityTool instance.
| Method Detail |
|---|
public String getFamily()
getFamily in class UIComponentpublic static String getComponentType()
protected IlvViewHelper createViewHelper()
IlvViewHelper used by this component.
This default implementation returns an IlvViewHelperImpl
IlvViewHelper implementation.public IlvBasicView getView()
getView in interface IlvViewHelperpublic String getViewId()
getViewId in interface IlvViewHelperpublic void setView(IlvBasicView view)
setView in interface IlvViewHelperview - The view component associated with this component.public IlvMessageBox getMessageBox()
public void setMessageBox(IlvMessageBox messageBox)
messageBox - The message box to set.public String getMessageBoxId()
public void setMessageBoxId(String messageBoxId)
messageBoxId - The message box ID to set.public void setViewId(String viewId)
setViewId in interface IlvViewHelperviewId - The ID of the view linked to this component.public String getStyle()
style of this component.
style of this component.public void setEnabled(String enabled)
enabled.
enabled - The enabled inline client.public String getEnabled()
enabled inline client of this component.
enabled inline client of this component.public void setTitle(String title)
title.
title - The inline client title.public String getTitle()
title of this component.
title of this component.public String getMessage()
message of this component.
message of this component.public void setMessage(String message)
message.
message - The inline client message.public void setStyle(String style)
style.
style - The inline client style.public String getStyleClass()
public void setStyleClass(String styleClass)
styleClass - The client CSS class(es).public void updateModel(FacesContext context)
IlvFacesComponentBase
updateModel in interface IlvViewHelperupdateModel in class IlvFacesComponentBasecontext - The current faces context.public Object saveState(FacesContext context)
IlvFacesComponentBase 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 IlvViewHelpersaveState in interface StateHoldersaveState in class IlvFacesComponentBasecontext - The current faces context.
public void restoreState(FacesContext context,
Object stateObj)
IlvFacesComponentBasePerform 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 IlvViewHelperrestoreState in interface StateHolderrestoreState in class IlvFacesComponentBasecontext - 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 | |||||||||