JIDE 3.5.15

com.jidesoft.introspector
Class ChildBeanProperty

java.lang.Object
  extended by com.jidesoft.grid.AbstractNode
      extended by com.jidesoft.grid.AbstractExpandable
          extended by com.jidesoft.grid.DefaultExpandable
              extended by com.jidesoft.grid.DefaultExpandableRow
                  extended by com.jidesoft.grid.Property
                      extended by com.jidesoft.introspector.BeanProperty
                          extended by com.jidesoft.introspector.ChildBeanProperty
All Implemented Interfaces:
ConverterContextSupport, EditorContextSupport, EditorStyleSupport, Expandable, ExpandableCell, ExpandableRow, Node, Row, Serializable, Comparable<Property>

public class ChildBeanProperty
extends BeanProperty

ChildBeanProperty is an special implementation for BeanProperty for child properties. With this class, the customer could create child bean properties easier with correct value retrieved from its parent property.

See Also:
BeanIntrospector, IntrospectorManager, BeanProperty, Serialized Form

Field Summary
 
Fields inherited from class com.jidesoft.introspector.BeanProperty
_beanClass, _field, _instance, _propertyDescriptor, PROPERTY_AUTO_INTROSPECT
 
Fields inherited from class com.jidesoft.grid.Property
_category, _converter, _converterContext, _description, _displayName, _editable, _editorContext, _expert, _focusDisplayName, _hidden, _indentNonCategoryRow, _isCategoryRow, _name, _preferred, _required, _type, PROPERTY_CATEGORY, PROPERTY_CONVERTER_CONTEXT, PROPERTY_DEPENDING_PROPERTIES, PROPERTY_DESCRIPTION, PROPERTY_DISPLAY_NAME, PROPERTY_EDITABLE, PROPERTY_EDITOR_CONTEXT, PROPERTY_EXPERT, PROPERTY_FOCUS_DISPLAY_NAME, PROPERTY_HIDDEN, PROPERTY_NAME, PROPERTY_PREFERRED, PROPERTY_REQUIRED, PROPERTY_TYPE, PROPERTY_VALUE
 
Fields inherited from class com.jidesoft.grid.DefaultExpandable
_children, EMPTY_ENUMERATION, PROPERTY_CHILDREN
 
Fields inherited from class com.jidesoft.grid.AbstractExpandable
_expandable, _expanded
 
Fields inherited from class com.jidesoft.grid.AbstractNode
_parent, PROPERTY_PARENT
 
Fields inherited from interface com.jidesoft.grid.Expandable
PROPERTY_EXPANDABLE, PROPERTY_EXPANDED
 
Fields inherited from interface com.jidesoft.grid.Node
PROPERTY_ADJUSTING
 
Constructor Summary
ChildBeanProperty(PropertyDescriptor pd)
           
ChildBeanProperty(PropertyDescriptor pd, String displayName)
           
ChildBeanProperty(String name, Class<?> beanClass)
           
ChildBeanProperty(String name, Class<?> beanClass, String description, Class<?> type, String category)
           
 
Method Summary
 Object getValue()
          Gets the value from the property.
 void setValue(Object o)
          Sets the value of the property.
 
Methods inherited from class com.jidesoft.introspector.BeanProperty
getField, getInstance, getReadMethod, getWriteMethod, hasValue, isAutoIntrospect, setAutoIntrospect, setField, setInstance, setReadMethod, setType, setWriteMethod
 
Methods inherited from class com.jidesoft.grid.Property
addDependingProperty, addDependingProperty, clearDependingProperties, compareTo, getCategory, getCellEditor, getCellEditor, getConverterContext, getDependingProperties, getDescription, getDisplayName, getEditorContext, getEditorStyle, getFocusDisplayName, getFullName, getLevel, getName, getTableCellRenderer, getTableCellRenderer, getType, getValueAt, isCategoryRow, isEditable, isEditorStyleSupported, isExpert, isHidden, isIndentNonCategoryRow, isPreferred, isRequired, removeDependingProperty, setCategory, setCategoryRow, setCellEditor, setConverterContext, setDescription, setDisplayName, setEditable, setEditorContext, setEditorStyle, setExpert, setFocusDisplayName, setHidden, setIndentNonCategoryRow, setName, setPreferred, setRequired, setTableCellRenderer
 
Methods inherited from class com.jidesoft.grid.DefaultExpandableRow
cellUpdated, getCellClassAt, getConverterContextAt, getEditorContextAt, isCellEditable, notifyCellUpdated, rowUpdated, setValueAt
 
Methods inherited from class com.jidesoft.grid.DefaultExpandable
breadthFirstEnumeration, depthFirstEnumeration, getChildren, postorderEnumeration, preorderEnumeration, setChildren
 
Methods inherited from class com.jidesoft.grid.AbstractExpandable
addChild, addChild, addChildren, getAllChildrenCount, getAllVisibleChildrenCount, getChildAt, getChildIndex, getChildrenCount, getNumberOfVisibleChildren, getNumberOfVisibleExpandable, getTreeTableModel, hasChildren, hasVisibleChildren, isAdjusting, isExpandable, isExpanded, moveDownChild, moveUpChild, notifyChildDeleted, notifyChildInserted, notifyChildrenDeleted, notifyChildrenInserted, notifyChildrenUpdated, notifyChildUpdated, removeAllChildren, removeChild, removeChildren, setAdjusting, setExpandable, setExpanded
 
Methods inherited from class com.jidesoft.grid.AbstractNode
addPropertyChangeListener, addPropertyChangeListener, firePropertyChange, firePropertyChange, firePropertyChange, getNextSibling, getParent, getPreviousSibling, getPropertyChangeListeners, getPropertyChangeListeners, removePropertyChangeListener, removePropertyChangeListener, setParent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.jidesoft.grid.Expandable
addChild, addChild, addChildren, getAllVisibleChildrenCount, getChildAt, getChildIndex, getChildren, getChildrenCount, getNumberOfVisibleExpandable, hasChildren, isExpandable, isExpanded, moveDownChild, moveUpChild, notifyChildDeleted, notifyChildInserted, notifyChildrenDeleted, notifyChildrenInserted, notifyChildrenUpdated, notifyChildUpdated, removeAllChildren, removeChild, removeChildren, setChildren, setExpandable, setExpanded
 
Methods inherited from interface com.jidesoft.grid.Node
getNextSibling, getParent, getPreviousSibling, setParent
 

Constructor Detail

ChildBeanProperty

public ChildBeanProperty(PropertyDescriptor pd)

ChildBeanProperty

public ChildBeanProperty(String name,
                         Class<?> beanClass)

ChildBeanProperty

public ChildBeanProperty(String name,
                         Class<?> beanClass,
                         String description,
                         Class<?> type,
                         String category)

ChildBeanProperty

public ChildBeanProperty(PropertyDescriptor pd,
                         String displayName)
Method Detail

getValue

public Object getValue()
Description copied from class: Property
Gets the value from the property.

Overrides:
getValue in class BeanProperty
Returns:
the value.

setValue

public void setValue(Object o)
Description copied from class: Property
Sets the value of the property. The method should call firePropertyChange(PROPERTY_VALUE, oldValue, newValue).

Overrides:
setValue in class BeanProperty
Parameters:
o - the new value

JIDE 3.5.15