ilog.views.faces.component
Class IlvViewHelperImpl

java.lang.Object
  extended by ilog.views.faces.component.IlvViewHelperImpl
All Implemented Interfaces:
IlvViewHelper, IlvFacesConstants, Serializable

public class IlvViewHelperImpl
extends Object
implements IlvViewHelper

This class implements the IlvViewHelper interface.

Since:
JViews 6.0
See Also:
Serialized Form

Field Summary
 
Fields inherited from interface ilog.views.faces.IlvFacesConstants
BUTTON_GROUP_ID, BUTTON_TYPE, CHARTS_BUNDLE, CORE_BUNDLE, CURSOR, DATA, DECODED_PROPERTY, DEFAULT_LINE_COLOR, DELETION_ALLOWED, DIAGRAMMER_BUNDLE, ENABLED, FILL_ON, FORCE_UPDATE_PROPERTIES, FRAMEWORK_BUNDLE, GANTT_BUNDLE, HEIGHT, IMAGE, IMAGE_MODE, INFO_PROVIDER_MB, INT_NOT_DEFINED, ITEM_DISABLED_STYLE_CLASS, ITEM_HIGHLIGHTED_STYLE_CLASS, ITEM_STYLE_CLASS, LINE_COLOR, LINE_WIDTH, MAPS_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, PROJECT, RESOURCES_PATH, RESOURCES_PATH_PREFIX, ROLLOVER_IMAGE, SELECTED, SELECTED_IMAGE, SERVICE_FORWARD, SERVICE_FORWARD_INT, SERVLET, SERVLET_CLASS, SERVLET_URL, STYLE, STYLE_CLASS, TGO_BUNDLE, TITLE, TOGGLE, VALUE, VIEW, VIEW_ID, WIDTH
 
Constructor Summary
IlvViewHelperImpl(IlvFacesComponent helped)
          Creates a new IlvViewHelperImpl instance.
 
Method Summary
 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 state)
          Restores the state of this component from the state parameter.
 Object saveState(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(FacesContext ctx)
          This method updates the referenced values by the local values of the component if these values were updated from the client.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IlvViewHelperImpl

public IlvViewHelperImpl(IlvFacesComponent helped)
Creates a new IlvViewHelperImpl instance.

Parameters:
helped - The component.
Method Detail

getViewId

public String getViewId()
Returns the ID of the view linked to this component.

Specified by:
getViewId in interface IlvViewHelper
Returns:
The ID of the view linked to this component.

setViewId

public void setViewId(String viewId)
Sets the ID of the view linked to this component.

Specified by:
setViewId in interface IlvViewHelper
Parameters:
viewId - The ID of the view.

getView

public IlvBasicView getView()
Returns the view component associated with this component.

Specified by:
getView in interface IlvViewHelper
Returns:
The view component associated with this component.

setView

public void setView(IlvBasicView view)
Sets the view component associated with this component.

Specified by:
setView in interface IlvViewHelper
Parameters:
view - The view component associated with this component.

saveState

public Object saveState(FacesContext context)
Returns the state of this component.

Specified by:
saveState in interface IlvViewHelper
Parameters:
context - The current faces context
Returns:
The state of this component.

restoreState

public void restoreState(FacesContext context,
                         Object state)
Restores the state of this component from the state parameter.

Specified by:
restoreState in interface IlvViewHelper
Parameters:
context - The current faces context.
state - The previously saved state of this component.

updateModel

public void updateModel(FacesContext ctx)
This method updates the referenced values by the local values of the component if these values were updated from the client.

Specified by:
updateModel in interface IlvViewHelper
Parameters:
ctx - The current faces context.


Copyright © 1996-2007 ILOG S.A. All rights reserved.   Documentation homepage.