|
||||||||||
| 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
javax.faces.component.UIGraphic
ilog.views.faces.component.IlvBasicView
ilog.views.faces.component.IlvBasicViewHelper
public class IlvBasicViewHelper
This class defines a basic JViews Faces view that is linked to another view.
| Field Summary |
|---|
| Fields inherited from class ilog.views.faces.component.IlvBasicView |
|---|
DEFAULT_OBJECT_FINDER |
| Fields inherited from class javax.faces.component.UIGraphic |
|---|
COMPONENT_FAMILY, COMPONENT_TYPE |
| Constructor Summary | |
|---|---|
IlvBasicViewHelper()
Creates a new IlvBasicViewHelper instance. |
|
| Method Summary | |
|---|---|
protected IlvViewHelper |
createViewHelper()
Creates the default IlvViewHelper used by this component. |
static String |
getComponentType()
Returns the type of this component. |
String |
getFamily()
Returns the identifier of the component family to which this component belongs. |
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)
Restores the state of this component from the stateObj 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 with the local values of the component if these values were updated from the client. |
| Methods inherited from class ilog.views.faces.component.IlvBasicView |
|---|
clearDecodedPropertyMap, createFacesComponent, getAttributes, getData, getDefaultObjectFinder, getHeight, getMessageBox, getMessageBoxId, getStyle, getStyleClass, getWidth, isDecodedProperty, processUpdates, resetDecodedProperties, setData, setDecodedProperty, setHeight, setMessageBox, setMessageBoxId, setStyle, setStyleClass, setWidth |
| Methods inherited from class javax.faces.component.UIGraphic |
|---|
getUrl, getValue, getValueBinding, setUrl, setValue, setValueBinding |
| Methods inherited from class javax.faces.component.UIComponentBase |
|---|
addFacesListener, broadcast, decode, encodeBegin, encodeChildren, encodeEnd, findComponent, getChildCount, getChildren, getClientId, getFacesContext, getFacesListeners, getFacet, getFacets, getFacetsAndChildren, getId, getParent, getRenderer, getRendererType, getRendersChildren, isRendered, isTransient, processDecodes, processRestoreState, processSaveState, processValidators, queueEvent, removeFacesListener, restoreAttachedState, saveAttachedState, setId, setParent, setRendered, setRendererType, setTransient |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public IlvBasicViewHelper()
IlvBasicViewHelper instance.
| Method Detail |
|---|
protected IlvViewHelper createViewHelper()
IlvViewHelper used by this component.
This default implementation returns an IlvViewHelperImpl
IlvViewHelper implementation.public 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.
This implementation returns the fully qualified class name.
getFamily in class IlvBasicViewpublic static String getComponentType()
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 void setViewId(String viewId)
setViewId in interface IlvViewHelperviewId - The ID of the view.public void updateModel(FacesContext ctx)
updateModel in interface IlvViewHelperupdateModel in class IlvBasicViewctx - The current faces context.public Object saveState(FacesContext context)
saveState in interface IlvFacesComponentsaveState in interface IlvViewHelpersaveState in interface StateHoldersaveState in class IlvBasicViewcontext - The current faces context.
state of this component.
public void restoreState(FacesContext context,
Object stateObj)
stateObj parameter.
restoreState in interface IlvFacesComponentrestoreState in interface IlvViewHelperrestoreState in interface StateHolderrestoreState in class IlvBasicViewcontext - 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 | |||||||||