com.sun.rave.web.ui.component
Class Property

java.lang.Object
  extended byjavax.faces.component.UIComponent
      extended byjavax.faces.component.UIComponentBase
          extended bycom.sun.rave.web.ui.component.TemplateComponentBase
              extended bycom.sun.rave.web.ui.component.PropertyBase
                  extended bycom.sun.rave.web.ui.component.Property
All Implemented Interfaces:
ChildManager, ComplexComponent, javax.faces.component.NamingContainer, javax.faces.component.StateHolder, TemplateComponent

public class Property
extends PropertyBase
implements ComplexComponent

Author:
Ken Paulsen

Field Summary
static java.lang.String LAYOUT_KEY
           This is the location of the XML file that declares the layout for the Property.
 
Fields inherited from interface javax.faces.component.NamingContainer
SEPARATOR_CHAR
 
Constructor Summary
Property()
          Constructor.
 
Method Summary
 java.lang.String getPrimaryElementID(javax.faces.context.FacesContext context)
           This method calculates the proper UIComponent that should be used when the label property is used with this component.
 
Methods inherited from class com.sun.rave.web.ui.component.PropertyBase
getFamily, getHelpText, getLabel, getLabelAlign, getStyle, getStyleClass, isDisabled, isNoWrap, isOverlapLabel, isVisible, restoreState, saveState, setDisabled, setHelpText, setLabel, setLabelAlign, setNoWrap, setOverlapLabel, setStyle, setStyleClass, setVisible
 
Methods inherited from class com.sun.rave.web.ui.component.TemplateComponentBase
getChild, getChild, getLayoutDefinition, getLayoutDefinitionKey, setLayoutDefinitionKey
 
Methods inherited from class javax.faces.component.UIComponentBase
addFacesListener, broadcast, decode, encodeBegin, encodeChildren, encodeEnd, findComponent, getAttributes, getChildCount, getChildren, getClientId, getFacesContext, getFacesListeners, getFacet, getFacets, getFacetsAndChildren, getId, getParent, getRenderer, getRendererType, getRendersChildren, getValueBinding, isRendered, isTransient, processDecodes, processRestoreState, processSaveState, processUpdates, processValidators, queueEvent, removeFacesListener, restoreAttachedState, saveAttachedState, setId, setParent, setRendered, setRendererType, setTransient, setValueBinding
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

LAYOUT_KEY

public static final java.lang.String LAYOUT_KEY

This is the location of the XML file that declares the layout for the Property. (layout/property.xml)

See Also:
Constant Field Values
Constructor Detail

Property

public Property()
Constructor.

Method Detail

getPrimaryElementID

public java.lang.String getPrimaryElementID(javax.faces.context.FacesContext context)

This method calculates the proper UIComponent that should be used when the label property is used with this component.

This method provides the implementation for ComplexComponent

Specified by:
getPrimaryElementID in interface ComplexComponent
Parameters:
context - The FacesContext.
Returns:
The id of the label target.