org.apache.myfaces.custom.fieldset
Class Fieldset

java.lang.Object
  extended by javax.faces.component.UIComponent
      extended by javax.faces.component.UIComponentBase
          extended by javax.faces.component.UIOutput
              extended by org.apache.myfaces.custom.htmlTag.AbstractHtmlTag
                  extended by org.apache.myfaces.custom.htmlTag.HtmlTag
                      extended by org.apache.myfaces.custom.fieldset.AbstractFieldset
                          extended by org.apache.myfaces.custom.fieldset.Fieldset
All Implemented Interfaces:
EventListener, javax.faces.component.PartialStateHolder, javax.faces.component.StateHolder, javax.faces.component.ValueHolder, javax.faces.event.ComponentSystemEventListener, javax.faces.event.FacesListener, javax.faces.event.SystemEventListenerHolder, EscapeAware, ForceIdAware, StyleAware, UserRoleAware

public class Fieldset
extends AbstractFieldset


Nested Class Summary
protected static class Fieldset.PropertyKeys
           
 
Field Summary
static String COMPONENT_FAMILY
           
static String COMPONENT_TYPE
           
static String DEFAULT_RENDERER_TYPE
           
 
Fields inherited from class javax.faces.component.UIComponent
BEANINFO_KEY, bindings, COMPOSITE_COMPONENT_TYPE_KEY, COMPOSITE_FACET_NAME, CURRENT_COMPONENT, CURRENT_COMPOSITE_COMPONENT, FACETS_KEY, VIEW_LOCATION_KEY
 
Fields inherited from interface org.apache.myfaces.component.UserRoleAware
ENABLED_ON_USER_ROLE_ATTR, VISIBLE_ON_USER_ROLE_ATTR
 
Constructor Summary
Fieldset()
           
 
Method Summary
 String getFamily()
           
 String getLegend()
          The fieldset's legend.
 String getStyle()
          HTML: CSS styling instructions.
 String getStyleClass()
          The CSS class for this element.
 boolean isEscape()
          Indicates whether rendered markup should be escaped.
 void setEscape(boolean escape)
           
 void setLegend(String legend)
           
 void setStyle(String style)
           
 void setStyleClass(String styleClass)
           
 void setValueBinding(String name, javax.faces.el.ValueBinding binding)
           
 void setValueExpression(String name, javax.el.ValueExpression expression)
           
 
Methods inherited from class org.apache.myfaces.custom.fieldset.AbstractFieldset
getValue
 
Methods inherited from class org.apache.myfaces.custom.htmlTag.HtmlTag
getEnabledOnUserRole, getVisibleOnUserRole, isForceId, isForceIdIndex, setEnabledOnUserRole, setForceId, setForceIdIndex, setVisibleOnUserRole
 
Methods inherited from class org.apache.myfaces.custom.htmlTag.AbstractHtmlTag
getClientId, isRendered
 
Methods inherited from class javax.faces.component.UIOutput
clearInitialState, getConverter, getLocalValue, markInitialState, restoreState, saveState, setConverter, setValue
 
Methods inherited from class javax.faces.component.UIComponentBase
addClientBehavior, addFacesListener, broadcast, decode, encodeAll, encodeBegin, encodeChildren, encodeEnd, findComponent, getAttributes, getChildCount, getChildren, getClientBehaviors, getDefaultEventName, getEventNames, getFacesContext, getFacesListeners, getFacet, getFacetCount, getFacets, getFacetsAndChildren, getId, getParent, getRenderer, getRendererType, getRendersChildren, getValueBinding, initialStateMarked, invokeOnComponent, isTransient, processDecodes, processRestoreState, processSaveState, processUpdates, processValidators, queueEvent, removeFacesListener, restoreAttachedState, saveAttachedState, setId, setParent, setRendered, setRendererType, setTransient, visitTree
 
Methods inherited from class javax.faces.component.UIComponent
getClientId, getCompositeComponentParent, getContainerClientId, getCurrentComponent, getCurrentCompositeComponent, getListenersForEventClass, getNamingContainer, getResourceBundleMap, getStateHelper, getStateHelper, getValueExpression, isCompositeComponent, isInView, isVisitable, popComponentFromEL, processEvent, pushComponentToEL, setInView, subscribeToEvent, unsubscribeFromEvent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

COMPONENT_FAMILY

public static final String COMPONENT_FAMILY
See Also:
Constant Field Values

COMPONENT_TYPE

public static final String COMPONENT_TYPE
See Also:
Constant Field Values

DEFAULT_RENDERER_TYPE

public static final String DEFAULT_RENDERER_TYPE
See Also:
Constant Field Values
Constructor Detail

Fieldset

public Fieldset()
Method Detail

getFamily

public String getFamily()
Overrides:
getFamily in class HtmlTag

getLegend

public String getLegend()
Description copied from class: AbstractFieldset
The fieldset's legend.

Specified by:
getLegend in class AbstractFieldset

setLegend

public void setLegend(String legend)

isEscape

public boolean isEscape()
Description copied from interface: EscapeAware
Indicates whether rendered markup should be escaped. Default: true


setEscape

public void setEscape(boolean escape)

getStyle

public String getStyle()
Description copied from interface: StyleAware
HTML: CSS styling instructions.

Specified by:
getStyle in interface StyleAware
Overrides:
getStyle in class HtmlTag

setStyle

public void setStyle(String style)
Overrides:
setStyle in class HtmlTag

getStyleClass

public String getStyleClass()
Description copied from interface: StyleAware
The CSS class for this element. Corresponds to the HTML 'class' attribute.

Specified by:
getStyleClass in interface StyleAware
Overrides:
getStyleClass in class HtmlTag

setStyleClass

public void setStyleClass(String styleClass)
Overrides:
setStyleClass in class HtmlTag

setValueBinding

public void setValueBinding(String name,
                            javax.faces.el.ValueBinding binding)
Overrides:
setValueBinding in class HtmlTag

setValueExpression

public void setValueExpression(String name,
                               javax.el.ValueExpression expression)
Overrides:
setValueExpression in class HtmlTag


Copyright © 2012 The Apache Software Foundation. All Rights Reserved.