Class Layout
- java.lang.Object
-
- javax.faces.component.UIComponent
-
- javax.faces.component.UIComponentBase
-
- org.primefaces.extensions.component.layout.Layout
-
- All Implemented Interfaces:
java.util.EventListener,javax.faces.component.behavior.ClientBehaviorHolder,javax.faces.component.PartialStateHolder,javax.faces.component.StateHolder,javax.faces.component.TransientStateHolder,javax.faces.event.ComponentSystemEventListener,javax.faces.event.FacesListener,javax.faces.event.SystemEventListenerHolder,org.primefaces.component.api.Widget
public class Layout extends javax.faces.component.UIComponentBase implements org.primefaces.component.api.Widget, javax.faces.component.behavior.ClientBehaviorHolderLayoutcomponent.- Since:
- 0.2
- Author:
- Oleg Varaksin / last modified by Melloware
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classLayout.PropertyKeysProperties that are tracked by state saving.
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringCOMPONENT_FAMILYstatic java.lang.StringCOMPONENT_TYPEstatic java.lang.StringPANE_POSITION_CENTERstatic java.lang.StringPANE_POSITION_EASTstatic java.lang.StringPANE_POSITION_NORTHstatic java.lang.StringPANE_POSITION_SOUTHstatic java.lang.StringPANE_POSITION_WESTstatic java.lang.StringPOSITION_SEPARATORstatic java.lang.StringSTYLE_CLASSstatic java.lang.StringSTYLE_CLASS_LAYOUT_CONTENTstatic java.lang.StringSTYLE_CLASS_PANEstatic java.lang.StringSTYLE_CLASS_PANE_CONTENTstatic java.lang.StringSTYLE_CLASS_PANE_HEADERstatic java.lang.StringSTYLE_CLASS_PANE_WITH_SUBPANES
-
Constructor Summary
Constructors Constructor Description Layout()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Collection<java.lang.String>getEventNames()java.lang.StringgetFamily()org.primefaces.util.FastStringWritergetFastStringWriter()static LayoutPanegetLayoutPane(javax.faces.component.UIComponent component, java.lang.String combinedPosition)java.lang.ObjectgetOptions()javax.faces.context.ResponseWritergetOriginalWriter()java.lang.StringgetResizerTip()java.lang.StringgetSliderTip()java.lang.StringgetState()java.lang.StringgetStyle()java.lang.StringgetStyleClass()java.lang.StringgetTogglerTipClosed()java.lang.StringgetTogglerTipOpen()java.lang.StringgetWidgetVar()booleanisBuildOptions()booleanisElementLayout()booleanisFullPage()booleanisMaskPanesEarly()booleanisNested()booleanisStateCookie()voidprocessDecodes(javax.faces.context.FacesContext fc)voidprocessUpdates(javax.faces.context.FacesContext fc)voidprocessValidators(javax.faces.context.FacesContext fc)voidqueueEvent(javax.faces.event.FacesEvent event)voidremoveOptions()voidsetBuildOptions(boolean buildOptions)voidsetFastStringWriter(org.primefaces.util.FastStringWriter fsw)voidsetFullPage(boolean fullPage)voidsetMaskPanesEarly(boolean maskPanesEarly)voidsetOptions(java.lang.Object options)voidsetOriginalWriter(javax.faces.context.ResponseWriter originalWriter)voidsetResizerTip(java.lang.String resizerTip)voidsetSliderTip(java.lang.String sliderTip)voidsetState(java.lang.String state)voidsetStateCookie(boolean stateCookie)voidsetStyle(java.lang.String style)voidsetStyleClass(java.lang.String styleClass)voidsetTogglerTipClosed(java.lang.String togglerTipClosed)voidsetTogglerTipOpen(java.lang.String togglerTipOpen)voidsetWidgetVar(java.lang.String widgetVar)-
Methods inherited from class javax.faces.component.UIComponentBase
addClientBehavior, addFacesListener, broadcast, clearInitialState, decode, encodeBegin, encodeChildren, encodeEnd, findComponent, getAttributes, getChildCount, getChildren, getClientBehaviors, getClientId, getDefaultEventName, getFacesContext, getFacesListeners, getFacet, getFacetCount, getFacets, getFacetsAndChildren, getId, getListenersForEventClass, getParent, getPassThroughAttributes, getRenderer, getRendererType, getRendersChildren, getValueBinding, invokeOnComponent, isRendered, isTransient, markInitialState, processRestoreState, processSaveState, removeFacesListener, restoreAttachedState, restoreState, saveAttachedState, saveState, setId, setParent, setRendered, setRendererType, setTransient, setValueBinding, subscribeToEvent, unsubscribeFromEvent
-
Methods inherited from class javax.faces.component.UIComponent
encodeAll, getClientId, getCompositeComponentParent, getContainerClientId, getCurrentComponent, getCurrentCompositeComponent, getNamingContainer, getPassThroughAttributes, getResourceBundleMap, getStateHelper, getStateHelper, getTransientStateHelper, getTransientStateHelper, getValueExpression, initialStateMarked, isCompositeComponent, isInView, isVisitable, popComponentFromEL, processEvent, pushComponentToEL, restoreTransientState, saveTransientState, setInView, setValueExpression, visitTree
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
-
-
Field Detail
-
POSITION_SEPARATOR
public static final java.lang.String POSITION_SEPARATOR
- See Also:
- Constant Field Values
-
STYLE_CLASS
public static final java.lang.String STYLE_CLASS
- See Also:
- Constant Field Values
-
STYLE_CLASS_PANE
public static final java.lang.String STYLE_CLASS_PANE
- See Also:
- Constant Field Values
-
STYLE_CLASS_PANE_WITH_SUBPANES
public static final java.lang.String STYLE_CLASS_PANE_WITH_SUBPANES
- See Also:
- Constant Field Values
-
STYLE_CLASS_PANE_HEADER
public static final java.lang.String STYLE_CLASS_PANE_HEADER
- See Also:
- Constant Field Values
-
STYLE_CLASS_PANE_CONTENT
public static final java.lang.String STYLE_CLASS_PANE_CONTENT
- See Also:
- Constant Field Values
-
STYLE_CLASS_LAYOUT_CONTENT
public static final java.lang.String STYLE_CLASS_LAYOUT_CONTENT
- See Also:
- Constant Field Values
-
PANE_POSITION_CENTER
public static final java.lang.String PANE_POSITION_CENTER
- See Also:
- Constant Field Values
-
PANE_POSITION_NORTH
public static final java.lang.String PANE_POSITION_NORTH
- See Also:
- Constant Field Values
-
PANE_POSITION_SOUTH
public static final java.lang.String PANE_POSITION_SOUTH
- See Also:
- Constant Field Values
-
PANE_POSITION_WEST
public static final java.lang.String PANE_POSITION_WEST
- See Also:
- Constant Field Values
-
PANE_POSITION_EAST
public static final java.lang.String PANE_POSITION_EAST
- See Also:
- Constant Field Values
-
COMPONENT_TYPE
public static final java.lang.String COMPONENT_TYPE
- See Also:
- Constant Field Values
-
COMPONENT_FAMILY
public static final java.lang.String COMPONENT_FAMILY
- See Also:
- Constant Field Values
-
-
Method Detail
-
getFamily
public java.lang.String getFamily()
- Specified by:
getFamilyin classjavax.faces.component.UIComponent
-
getWidgetVar
public java.lang.String getWidgetVar()
-
setWidgetVar
public void setWidgetVar(java.lang.String widgetVar)
-
isFullPage
public boolean isFullPage()
-
setFullPage
public void setFullPage(boolean fullPage)
-
getOptions
public java.lang.Object getOptions()
-
setOptions
public void setOptions(java.lang.Object options)
-
getStyle
public java.lang.String getStyle()
-
setStyle
public void setStyle(java.lang.String style)
-
getStyleClass
public java.lang.String getStyleClass()
-
setStyleClass
public void setStyleClass(java.lang.String styleClass)
-
getState
public java.lang.String getState()
-
setState
public void setState(java.lang.String state)
-
isStateCookie
public boolean isStateCookie()
-
setStateCookie
public void setStateCookie(boolean stateCookie)
-
getTogglerTipOpen
public java.lang.String getTogglerTipOpen()
-
setTogglerTipOpen
public void setTogglerTipOpen(java.lang.String togglerTipOpen)
-
getTogglerTipClosed
public java.lang.String getTogglerTipClosed()
-
setTogglerTipClosed
public void setTogglerTipClosed(java.lang.String togglerTipClosed)
-
getResizerTip
public java.lang.String getResizerTip()
-
setResizerTip
public void setResizerTip(java.lang.String resizerTip)
-
getSliderTip
public java.lang.String getSliderTip()
-
setSliderTip
public void setSliderTip(java.lang.String sliderTip)
-
isMaskPanesEarly
public boolean isMaskPanesEarly()
-
setMaskPanesEarly
public void setMaskPanesEarly(boolean maskPanesEarly)
-
getEventNames
public java.util.Collection<java.lang.String> getEventNames()
- Specified by:
getEventNamesin interfacejavax.faces.component.behavior.ClientBehaviorHolder- Overrides:
getEventNamesin classjavax.faces.component.UIComponentBase
-
processDecodes
public void processDecodes(javax.faces.context.FacesContext fc)
- Overrides:
processDecodesin classjavax.faces.component.UIComponentBase
-
processValidators
public void processValidators(javax.faces.context.FacesContext fc)
- Overrides:
processValidatorsin classjavax.faces.component.UIComponentBase
-
processUpdates
public void processUpdates(javax.faces.context.FacesContext fc)
- Overrides:
processUpdatesin classjavax.faces.component.UIComponentBase
-
queueEvent
public void queueEvent(javax.faces.event.FacesEvent event)
- Overrides:
queueEventin classjavax.faces.component.UIComponentBase
-
getLayoutPane
public static LayoutPane getLayoutPane(javax.faces.component.UIComponent component, java.lang.String combinedPosition)
-
getOriginalWriter
public javax.faces.context.ResponseWriter getOriginalWriter()
-
setOriginalWriter
public void setOriginalWriter(javax.faces.context.ResponseWriter originalWriter)
-
getFastStringWriter
public org.primefaces.util.FastStringWriter getFastStringWriter()
-
setFastStringWriter
public void setFastStringWriter(org.primefaces.util.FastStringWriter fsw)
-
isBuildOptions
public boolean isBuildOptions()
-
setBuildOptions
public void setBuildOptions(boolean buildOptions)
-
removeOptions
public void removeOptions()
-
isNested
public boolean isNested()
-
isElementLayout
public boolean isElementLayout()
-
-