org.icefaces.mobi.component.viewmanager
public class ViewManager extends ViewManagerBase
ViewManagerBase.PropertyKeys| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
MENU_ID |
static java.lang.String |
STYLECLASS |
static java.lang.String |
TRANSITION_TYPE_FADE |
static java.lang.String |
TRANSITION_TYPE_FLIP |
static java.lang.String |
TRANSITION_TYPE_HORIZONTAL |
static java.lang.String |
TRANSITION_TYPE_PAGETURN |
static java.lang.String |
TRANSITION_TYPE_VERTICAL |
COMPONENT_TYPE, RENDERER_TYPE| Constructor and Description |
|---|
ViewManager() |
| Modifier and Type | Method and Description |
|---|---|
java.util.Stack<java.lang.String> |
getHistory()
Return the value of the
history property. |
java.lang.String |
getHistoryAsJSON() |
java.util.Stack<java.lang.String> |
getHistoryStack() |
java.lang.String |
getSelected()
Return the value of the
selected property. |
View |
getSelectedView() |
View |
getView(java.lang.String id) |
void |
goBack(javax.faces.event.AjaxBehaviorEvent evt) |
boolean |
isCanGoBack() |
void |
processEvent(javax.faces.event.ComponentSystemEvent event) |
void |
setSelected(java.lang.String selected)
Set the value of the
selected property. |
void |
setTransitionType(java.lang.String transitionType)
Set the value of the
transitionType property. |
getBackButtonLabel, getBarStyle, getFamily, getHeaderStyle, getStyle, getStyleClass, getTitle, getTransitionType, isClientSide, isPropertySet, setBackButtonLabel, setBarStyle, setClientSide, setHeaderStyle, setHistory, setStyle, setStyleClass, setTitle, setValueExpressionaddClientBehavior, addFacesListener, broadcast, clearInitialState, decode, encodeBegin, encodeChildren, encodeEnd, findComponent, getAttributes, getChildCount, getChildren, getClientBehaviors, getClientId, getDefaultEventName, getEventNames, getFacesContext, getFacesListeners, getFacet, getFacetCount, getFacets, getFacetsAndChildren, getId, getListenersForEventClass, getParent, getPassThroughAttributes, getRenderer, getRendererType, getRendersChildren, getValueBinding, invokeOnComponent, isRendered, isTransient, markInitialState, processDecodes, processRestoreState, processSaveState, processUpdates, processValidators, queueEvent, removeFacesListener, restoreAttachedState, restoreState, saveAttachedState, saveState, setId, setParent, setRendered, setRendererType, setTransient, setValueBinding, subscribeToEvent, unsubscribeFromEventencodeAll, getClientId, getCompositeComponentParent, getContainerClientId, getCurrentComponent, getCurrentCompositeComponent, getNamingContainer, getPassThroughAttributes, getResourceBundleMap, getStateHelper, getStateHelper, getTransientStateHelper, getTransientStateHelper, getValueExpression, initialStateMarked, isCompositeComponent, isInView, isVisitable, popComponentFromEL, pushComponentToEL, restoreTransientState, saveTransientState, setInView, visitTreepublic static final java.lang.String STYLECLASS
public static final java.lang.String MENU_ID
public static final java.lang.String TRANSITION_TYPE_VERTICAL
public static final java.lang.String TRANSITION_TYPE_HORIZONTAL
public static final java.lang.String TRANSITION_TYPE_FLIP
public static final java.lang.String TRANSITION_TYPE_FADE
public static final java.lang.String TRANSITION_TYPE_PAGETURN
public boolean isCanGoBack()
public void goBack(javax.faces.event.AjaxBehaviorEvent evt)
public void setSelected(java.lang.String selected)
ViewManagerBaseSet the value of the selected property.
Contents: The selected view id. It has to match the id of an existing child mobi:view component.
setSelected in interface IViewManagersetSelected in class ViewManagerBasepublic java.lang.String getSelected()
ViewManagerBaseReturn the value of the selected property.
Contents: The selected view id. It has to match the id of an existing child mobi:view component. Default = 'mobiViewManagerMenu'.
getSelected in interface IViewManagergetSelected in class ViewManagerBasepublic void setTransitionType(java.lang.String transitionType)
ViewManagerBaseSet the value of the transitionType property.
Contents: The type of view transitons to apply [horizontal|vertical|flip|fade].
setTransitionType in interface IViewManagersetTransitionType in class ViewManagerBasepublic void processEvent(javax.faces.event.ComponentSystemEvent event)
throws javax.faces.event.AbortProcessingException
processEvent in interface javax.faces.event.ComponentSystemEventListenerprocessEvent in class javax.faces.component.UIComponentjavax.faces.event.AbortProcessingExceptionpublic View getSelectedView()
public View getView(java.lang.String id)
public java.util.Stack<java.lang.String> getHistory()
ViewManagerBaseReturn the value of the history property.
Contents: The history stack.
getHistory in interface IViewManagergetHistory in class ViewManagerBasepublic java.lang.String getHistoryAsJSON()
public java.util.Stack<java.lang.String> getHistoryStack()
Copyright 2014 ICEsoft Technologies Canada Corp., All Rights Reserved.