public class IlvViewHelperImpl extends Object implements IlvViewHelper
IlvViewHelper
interface.AFTER_HANDLER, BASETEXTDIRECTION, BEFORE_HANDLER, BUTTON_GROUP_ID, BUTTON_TYPE, CHARTS_BUNDLE, CHARTS_MESSAGE_BUNDLE, CORE_BUNDLE, CORE_MESSAGE_BUNDLE, CURSOR, DATA, DECODED_PROPERTY, DEFAULT_LINE_COLOR, DELETION_ALLOWED, DIAGRAMMER_BUNDLE, DIAGRAMMER_MESSAGE_BUNDLE, ENABLED, EVENT_TYPE, FILL_ON, FORCE_UPDATE_PROPERTIES, FRAMEWORK_BUNDLE, FRAMEWORK_MESSAGE_BUNDLE, GANTT_BUNDLE, GANTT_MESSAGE_BUNDLE, HEIGHT, IMAGE, IMAGE_MODE, INFO_PROVIDER_MB, INT_NOT_DEFINED, INTERACTORS, INTERCEPT_INTERACTOR, ITEM_DISABLED_STYLE_CLASS, ITEM_HIGHLIGHTED_STYLE_CLASS, ITEM_STYLE_CLASS, LINE_COLOR, LINE_WIDTH, MAPS_BUNDLE, MAPS_MESSAGE_BUNDLE, MENU_MODEL_ID, MESSAGE, MESSAGE_BOX, MESSAGE_BOX_ID, MOVE_ALLOWED, OBJECT_FINDER, PARAM_COMPID, PARAM_DATA, PARAM_KEY, PARAM_NAMESPACE, PARAM_RESOURCE, PARAM_SERVICE, PARAM_TYPE, POPUP_MENU, POPUP_MENU_FACTORY, POPUP_MENU_FACTORY_CLASS, PORTLET_NAMESPACE, PROGRESSIVE_ZOOM, PROJECT, RENDER, RESOURCES_PATH, RESOURCES_PATH_PREFIX, ROLLOVER_IMAGE, SCROLL_BAR, SELECTED, SELECTED_IMAGE, SERVICE_FORWARD, SERVICE_FORWARD_INT, SERVLET, SERVLET_CLASS, SERVLET_URL, STYLE, STYLE_CLASS, TGO_BUNDLE, TGO_MESSAGE_BUNDLE, TITLE, TOGGLE, VALUE, VIEW, VIEW_ID, WIDTH
Constructor and Description |
---|
IlvViewHelperImpl(IlvFacesComponent helped)
Creates a new
IlvViewHelperImpl instance. |
Modifier and Type | Method and Description |
---|---|
IlvBasicView |
getView()
Returns the
view component associated with this component. |
String |
getViewId()
Returns the ID of the view linked to this component.
|
void |
restoreState(javax.faces.context.FacesContext context,
Object state)
Restores the state of this component from the state parameter.
|
Object |
saveState(javax.faces.context.FacesContext context)
Returns the
state of this component. |
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(javax.faces.context.FacesContext ctx)
This method updates the referenced values by the local values of the
component if these values were updated from the client.
|
public IlvViewHelperImpl(IlvFacesComponent helped)
IlvViewHelperImpl
instance.helped
- The component.public String getViewId()
getViewId
in interface IlvViewHelper
public void setViewId(String viewId)
setViewId
in interface IlvViewHelper
viewId
- The ID of the view.public IlvBasicView getView()
view
component associated with this component.getView
in interface IlvViewHelper
view
component associated with this component.public void setView(IlvBasicView view)
view
component associated with this component.setView
in interface IlvViewHelper
view
- The view
component associated with this component.public Object saveState(javax.faces.context.FacesContext context)
state
of this component.saveState
in interface IlvViewHelper
context
- The current faces contextstate
of this component.public void restoreState(javax.faces.context.FacesContext context, Object state)
restoreState
in interface IlvViewHelper
context
- The current faces context.state
- The previously saved state of this component.public void updateModel(javax.faces.context.FacesContext ctx)
updateModel
in interface IlvViewHelper
ctx
- The current faces context.© Copyright Rogue Wave Software, Inc. 1997, 2018. All Rights Reserved.