org.alfresco.web.ui.repo.component.property
Class UIAssociation

java.lang.Object
  extended by javax.faces.component.UIComponent
      extended by javax.faces.component.UIComponentBase
          extended by javax.faces.component.UIPanel
              extended by org.alfresco.web.ui.repo.component.property.PropertySheetItem
                  extended by org.alfresco.web.ui.repo.component.property.UIAssociation
All Implemented Interfaces:
javax.faces.component.NamingContainer, javax.faces.component.StateHolder

public class UIAssociation
extends PropertySheetItem

Component to represent an individual association within a property sheet


Field Summary
 
Fields inherited from class org.alfresco.web.ui.repo.component.property.PropertySheetItem
componentGenerator, converter, displayLabel, ignoreIfMissing, name, readOnly, resolvedDisplayLabel
 
Fields inherited from class javax.faces.component.UIPanel
COMPONENT_FAMILY, COMPONENT_TYPE
 
Fields inherited from interface javax.faces.component.NamingContainer
SEPARATOR_CHAR
 
Constructor Summary
UIAssociation()
          Default constructor
 
Method Summary
protected  void generateItem(javax.faces.context.FacesContext context, UIPropertySheet propSheet)
          Generates the label and control for the item
 java.lang.String getFamily()
           
protected  java.lang.String getIncorrectParentMsg()
          Returns the message to use in the exception that is thrown if the component is not nested inside a PropertySheet component
 
Methods inherited from class org.alfresco.web.ui.repo.component.property.PropertySheetItem
encodeBegin, generateLabel, getComponentGenerator, getConverter, getDisplayLabel, getIgnoreIfMissing, getName, getResolvedDisplayLabel, isReadOnly, restoreState, saveState, setComponentGenerator, setConverter, setDisplayLabel, setIgnoreIfMissing, setName, setReadOnly
 
Methods inherited from class javax.faces.component.UIComponentBase
addFacesListener, broadcast, decode, 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
 

Constructor Detail

UIAssociation

public UIAssociation()
Default constructor

Method Detail

getFamily

public java.lang.String getFamily()
Overrides:
getFamily in class javax.faces.component.UIPanel
See Also:
UIComponent.getFamily()

getIncorrectParentMsg

protected java.lang.String getIncorrectParentMsg()
Description copied from class: PropertySheetItem
Returns the message to use in the exception that is thrown if the component is not nested inside a PropertySheet component

Specified by:
getIncorrectParentMsg in class PropertySheetItem
Returns:
The message

generateItem

protected void generateItem(javax.faces.context.FacesContext context,
                            UIPropertySheet propSheet)
                     throws java.io.IOException
Description copied from class: PropertySheetItem
Generates the label and control for the item

Specified by:
generateItem in class PropertySheetItem
Parameters:
context - FacesContext
propSheet - The property sheet that the item is a child of
Throws:
java.io.IOException


Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.