Class UISegmentLayout
java.lang.Object
javax.faces.component.UIComponent
javax.faces.component.UIComponentBase
org.apache.myfaces.tobago.internal.component.AbstractUILayoutBase
org.apache.myfaces.tobago.internal.component.AbstractUISegmentLayout
org.apache.myfaces.tobago.component.UISegmentLayout
- 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,- SupportsSegmentLayout,- Visual
@Generated("component.stg")
public class UISegmentLayout
extends AbstractUISegmentLayout
implements javax.faces.component.behavior.ClientBehaviorHolder
Renders a layout using a 12 columns grid.
  Find more information on how the grid works in the Twitter Bootstrap documentation.
  If no attribute is defined, extraSmall="12seg" will be used as default.
 UIComponent class, generated from template 
component.stg with class
 SegmentLayoutTagDeclaration.- 
Field SummaryFieldsFields inherited from class javax.faces.component.UIComponentATTRS_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
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionSets a CSS class in its parent, if the parent supports it.The space separated definition of the columns for extra extra large devices.The space separated definition of the columns for extra large devices.The space separated definition of the columns for extra small devices.The horizontal alignment of the elements inside of the grid, possible values are: {
 Allowed Values:none,start,center,end,around,betweengetLarge()The space separated definition of the columns for large devices.The space separated definition of the column margins for extra extra large devices.The space separated definition of the column margins for extra large devices.The space separated definition of the column margins for extra small devices.The space separated definition of the column margins for large devices.The space separated definition of the column margins for medium devices.The space separated definition of the column margins for small devices.The space separated definition of the columns for medium devices.getSmall()The space separated definition of the columns for small devices.voidrestoreState(javax.faces.context.FacesContext context, Object state) voidsetCustomClass(CustomClass customClass) voidsetExtra2Large(SegmentMeasureList extra2Large) voidsetExtraLarge(SegmentMeasureList extraLarge) voidsetExtraSmall(SegmentMeasureList extraSmall) voidsetJustify(SegmentJustify justify) voidsetLarge(SegmentMeasureList large) voidsetMarginExtra2Large(String marginExtra2Large) voidsetMarginExtraLarge(String marginExtraLarge) voidsetMarginExtraSmall(String marginExtraSmall) voidsetMarginLarge(String marginLarge) voidsetMarginMedium(String marginMedium) voidsetMarginSmall(String marginSmall) voidvoidsetMedium(SegmentMeasureList medium) voidsetSmall(SegmentMeasureList small) Methods inherited from class org.apache.myfaces.tobago.internal.component.AbstractUISegmentLayouttoStringMethods inherited from class javax.faces.component.UIComponentBaseaddClientBehavior, addFacesListener, broadcast, clearInitialState, decode, encodeAll, encodeBegin, encodeChildren, encodeEnd, findComponent, getAttributes, getChildCount, getChildren, getClientBehaviors, getClientId, getDefaultEventName, getEventNames, getFacesContext, getFacesListeners, getFacet, getFacetCount, getFacets, getFacetsAndChildren, getId, getParent, getPassThroughAttributes, getRenderer, getRendererType, getRendersChildren, getValueBinding, invokeOnComponent, isRendered, isTransient, markInitialState, processDecodes, processRestoreState, processSaveState, processUpdates, processValidators, queueEvent, removeFacesListener, restoreAttachedState, saveAttachedState, saveState, setId, setParent, setRendered, setRendererType, setTransient, setValueBinding, visitTreeMethods inherited from class javax.faces.component.UIComponentgetClientId, getCompositeComponentParent, getContainerClientId, getCurrentComponent, getCurrentCompositeComponent, getListenersForEventClass, getNamingContainer, getPassThroughAttributes, getResourceBundleMap, getStateHelper, getStateHelper, getTransientStateHelper, getTransientStateHelper, getValueExpression, initialStateMarked, isCompositeComponent, isInView, isVisitable, popComponentFromEL, processEvent, pushComponentToEL, restoreTransientState, saveTransientState, setInView, setValueExpression, subscribeToEvent, unsubscribeFromEventMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface javax.faces.component.behavior.ClientBehaviorHolderaddClientBehavior, getClientBehaviors, getDefaultEventName, getEventNamesMethods inherited from interface org.apache.myfaces.tobago.component.VisualgetRendererType, isPlain
- 
Field Details- 
COMPONENT_TYPE
- 
COMPONENT_FAMILY- See Also:
 
 
- 
- 
Constructor Details- 
UISegmentLayoutpublic UISegmentLayout()
 
- 
- 
Method Details- 
getFamily- Specified by:
- getFamilyin class- javax.faces.component.UIComponent
 
- 
getSmallThe space separated definition of the columns for small devices. Possible values are: [1-12]seg, 'auto' and <n>fr. Where <n> is a positive integer. Example: '1seg 5seg 1fr auto'- Specified by:
- getSmallin interface- SupportsSegmentLayout
 
- 
setSmall
- 
getExtra2LargeThe space separated definition of the columns for extra extra large devices. Possible values are: [1-12]seg, 'auto' and <n>fr. Where <n> is a positive integer. Example: '1seg 5seg 1fr auto'- Specified by:
- getExtra2Largein interface- SupportsSegmentLayout
 
- 
setExtra2Large
- 
getMarkup
- 
setMarkup
- 
getLargeThe space separated definition of the columns for large devices. Possible values are: [1-12]seg, 'auto' and <n>fr. Where <n> is a positive integer. Example: '1seg 5seg 1fr auto'- Specified by:
- getLargein interface- SupportsSegmentLayout
 
- 
setLarge
- 
getMarginExtra2LargeThe space separated definition of the column margins for extra extra large devices. Allowed values are: none, left, right, both Example: 'left none both'- Specified by:
- getMarginExtra2Largein interface- SupportsSegmentLayout
 
- 
setMarginExtra2Large
- 
getMediumThe space separated definition of the columns for medium devices. Possible values are: [1-12]seg, 'auto' and <n>fr. Where <n> is a positive integer. Example: '1seg 5seg fr auto'- Specified by:
- getMediumin interface- SupportsSegmentLayout
 
- 
setMedium
- 
getMarginLargeThe space separated definition of the column margins for large devices. Allowed values are: none, left, right, both Example: 'left none both'- Specified by:
- getMarginLargein interface- SupportsSegmentLayout
 
- 
setMarginLarge
- 
getExtraSmallThe space separated definition of the columns for extra small devices. Possible values are: [1-12]seg, 'auto' and <n>fr. Where <n> is a positive integer. Example: '1seg 5seg 1fr auto'- Specified by:
- getExtraSmallin interface- SupportsSegmentLayout
 
- 
setExtraSmall
- 
getMarginExtraSmallThe space separated definition of the column margins for extra small devices. Allowed values are: none, left, right, both Example: 'left none both'- Specified by:
- getMarginExtraSmallin interface- SupportsSegmentLayout
 
- 
setMarginExtraSmall
- 
getExtraLargeThe space separated definition of the columns for extra large devices. Possible values are: [1-12]seg, 'auto' and <n>fr. Where <n> is a positive integer. Example: '1seg 5seg 1fr auto'- Specified by:
- getExtraLargein interface- SupportsSegmentLayout
 
- 
setExtraLarge
- 
getMarginExtraLargeThe space separated definition of the column margins for extra large devices. Allowed values are: none, left, right, both Example: 'left none both'- Specified by:
- getMarginExtraLargein interface- SupportsSegmentLayout
 
- 
setMarginExtraLarge
- 
getJustifyThe horizontal alignment of the elements inside of the grid, possible values are: {
 Allowed Values:none,start,center,end,around,between- Specified by:
- getJustifyin interface- SupportsSegmentLayout
 
- 
setJustify
- 
getMarginSmallThe space separated definition of the column margins for small devices. Allowed values are: none, left, right, both Example: 'left none both'- Specified by:
- getMarginSmallin interface- SupportsSegmentLayout
 
- 
setMarginSmall
- 
getMarginMediumThe space separated definition of the column margins for medium devices. Allowed values are: none, left, right, both Example: 'left none both'- Specified by:
- getMarginMediumin interface- SupportsSegmentLayout
 
- 
setMarginMedium
- 
getCustomClassSets a CSS class in its parent, if the parent supports it. Which this feature it is possible to put a CSS class name into a component with the <tc:style> tag. Example:<tc:in> <tc:style customClass="my-emphasized"/> </tc:in>One capability is, to used external CSS libs.
 This feature should not be used imprudent. Because it might be unstable against changes in the renderered HTML code.- Specified by:
- getCustomClassin interface- Visual
 
- 
setCustomClass- Specified by:
- setCustomClassin interface- Visual
 
- 
restoreState- Specified by:
- restoreStatein interface- javax.faces.component.StateHolder
- Overrides:
- restoreStatein class- javax.faces.component.UIComponentBase
 
 
-