org.alfresco.web.config
Class PropertySheetConfigElement.ItemConfig

java.lang.Object
  extended by org.alfresco.web.config.PropertySheetConfigElement.ItemConfig
Direct Known Subclasses:
PropertySheetConfigElement.AssociationConfig, PropertySheetConfigElement.ChildAssociationConfig, PropertySheetConfigElement.PropertyConfig, PropertySheetConfigElement.SeparatorConfig
Enclosing class:
PropertySheetConfigElement

public abstract class PropertySheetConfigElement.ItemConfig
extends java.lang.Object

Inner class to represent a configured property sheet item


Constructor Summary
PropertySheetConfigElement.ItemConfig(java.lang.String name, java.lang.String displayLabel, java.lang.String displayLabelId, boolean readOnly, java.lang.String converter, java.lang.String inView, java.lang.String inEdit, java.lang.String compGenerator, java.lang.String ignoreIfMissing)
           
 
Method Summary
 java.lang.String getComponentGenerator()
           
 java.lang.String getConverter()
           
 java.lang.String getDisplayLabel()
           
 java.lang.String getDisplayLabelId()
           
 boolean getIgnoreIfMissing()
           
 java.lang.String getName()
           
 boolean isReadOnly()
           
 boolean isShownInEditMode()
           
 boolean isShownInViewMode()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PropertySheetConfigElement.ItemConfig

public PropertySheetConfigElement.ItemConfig(java.lang.String name,
                                             java.lang.String displayLabel,
                                             java.lang.String displayLabelId,
                                             boolean readOnly,
                                             java.lang.String converter,
                                             java.lang.String inView,
                                             java.lang.String inEdit,
                                             java.lang.String compGenerator,
                                             java.lang.String ignoreIfMissing)
Method Detail

getDisplayLabel

public java.lang.String getDisplayLabel()
Returns:
The display label

getDisplayLabelId

public java.lang.String getDisplayLabelId()
Returns:
The display label message id

getName

public java.lang.String getName()
Returns:
The property name

isReadOnly

public boolean isReadOnly()
Returns:
Determines whether the property is configured as read only

getConverter

public java.lang.String getConverter()
Returns:
The converter id

isShownInViewMode

public boolean isShownInViewMode()
Returns:
true if the property should be shown when the property sheet is in view mode

isShownInEditMode

public boolean isShownInEditMode()
Returns:
true if the property should be shown when the property sheet is in edit mode

getComponentGenerator

public java.lang.String getComponentGenerator()
Returns:
The name of a bean that generates a component to represent this item

getIgnoreIfMissing

public boolean getIgnoreIfMissing()
Returns:
Whether the property should be rendered if it is not found in the data dictionary or the node itself.

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object
See Also:
Object.toString()


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