Class Layout
java.lang.Object
javax.faces.component.UIComponent
javax.faces.component.UIComponentBase
org.primefaces.extensions.component.layout.Layout
- All Implemented Interfaces:
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.ClientBehaviorHolder
Layout
component.- Since:
- 0.2
- Author:
- Oleg Varaksin / last modified by Melloware
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enum
Properties that are tracked by state saving. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
Fields inherited from class javax.faces.component.UIComponent
ATTRS_WITH_DECLARED_DEFAULT_VALUES, BEANINFO_KEY, bindings, COMPOSITE_COMPONENT_TYPE_KEY, COMPOSITE_FACET_NAME, CURRENT_COMPONENT, CURRENT_COMPOSITE_COMPONENT, FACETS_KEY, HONOR_CURRENT_COMPONENT_ATTRIBUTES_PARAM_NAME, VIEW_LOCATION_KEY
Fields inherited from interface org.primefaces.component.api.Widget
ATTR_WIDGET_VAR_PATTERN, CALLBACK_POST_CONSTRUCT, CALLBACK_POST_REFRESH, CALLBACK_PRE_DESTROY
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.primefaces.util.FastStringWriter
static LayoutPane
getLayoutPane
(javax.faces.component.UIComponent component, String combinedPosition) javax.faces.context.ResponseWriter
getState()
getStyle()
boolean
boolean
boolean
boolean
boolean
isNested()
boolean
void
processDecodes
(javax.faces.context.FacesContext fc) void
processUpdates
(javax.faces.context.FacesContext fc) void
processValidators
(javax.faces.context.FacesContext fc) void
queueEvent
(javax.faces.event.FacesEvent event) void
void
setBuildOptions
(boolean buildOptions) void
setFastStringWriter
(org.primefaces.util.FastStringWriter fsw) void
setFullPage
(boolean fullPage) void
setMaskPanesEarly
(boolean maskPanesEarly) void
setOptions
(Object options) void
setOriginalWriter
(javax.faces.context.ResponseWriter originalWriter) void
setResizerTip
(String resizerTip) void
setSliderTip
(String sliderTip) void
void
setStateCookie
(boolean stateCookie) void
void
setStyleClass
(String styleClass) void
setTogglerTipClosed
(String togglerTipClosed) void
setTogglerTipOpen
(String togglerTipOpen) void
setWidgetVar
(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
Methods inherited from interface javax.faces.component.behavior.ClientBehaviorHolder
addClientBehavior, getClientBehaviors, getDefaultEventName
Methods inherited from interface org.primefaces.component.api.Widget
resolveWidgetVar, resolveWidgetVar
-
Field Details
-
POSITION_SEPARATOR
- See Also:
-
STYLE_CLASS
- See Also:
-
STYLE_CLASS_PANE
- See Also:
-
STYLE_CLASS_PANE_WITH_SUBPANES
- See Also:
-
STYLE_CLASS_PANE_HEADER
- See Also:
-
STYLE_CLASS_PANE_CONTENT
- See Also:
-
STYLE_CLASS_LAYOUT_CONTENT
- See Also:
-
PANE_POSITION_CENTER
- See Also:
-
PANE_POSITION_NORTH
- See Also:
-
PANE_POSITION_SOUTH
- See Also:
-
PANE_POSITION_WEST
- See Also:
-
PANE_POSITION_EAST
- See Also:
-
COMPONENT_TYPE
- See Also:
-
COMPONENT_FAMILY
- See Also:
-
-
Constructor Details
-
Layout
public Layout()
-
-
Method Details
-
getFamily
- Specified by:
getFamily
in classjavax.faces.component.UIComponent
-
getWidgetVar
-
setWidgetVar
-
isFullPage
public boolean isFullPage() -
setFullPage
public void setFullPage(boolean fullPage) -
getOptions
-
setOptions
-
getStyle
-
setStyle
-
getStyleClass
-
setStyleClass
-
getState
-
setState
-
isStateCookie
public boolean isStateCookie() -
setStateCookie
public void setStateCookie(boolean stateCookie) -
getTogglerTipOpen
-
setTogglerTipOpen
-
getTogglerTipClosed
-
setTogglerTipClosed
-
getResizerTip
-
setResizerTip
-
getSliderTip
-
setSliderTip
-
isMaskPanesEarly
public boolean isMaskPanesEarly() -
setMaskPanesEarly
public void setMaskPanesEarly(boolean maskPanesEarly) -
getEventNames
- Specified by:
getEventNames
in interfacejavax.faces.component.behavior.ClientBehaviorHolder
- Overrides:
getEventNames
in classjavax.faces.component.UIComponentBase
-
processDecodes
public void processDecodes(javax.faces.context.FacesContext fc) - Overrides:
processDecodes
in classjavax.faces.component.UIComponentBase
-
processValidators
public void processValidators(javax.faces.context.FacesContext fc) - Overrides:
processValidators
in classjavax.faces.component.UIComponentBase
-
processUpdates
public void processUpdates(javax.faces.context.FacesContext fc) - Overrides:
processUpdates
in classjavax.faces.component.UIComponentBase
-
queueEvent
public void queueEvent(javax.faces.event.FacesEvent event) - Overrides:
queueEvent
in classjavax.faces.component.UIComponentBase
-
getLayoutPane
public static LayoutPane getLayoutPane(javax.faces.component.UIComponent component, 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()
-