Class AnnotatedProperty
java.lang.Object
com.jidesoft.grid.AbstractNode
com.jidesoft.grid.AbstractExpandable
com.jidesoft.grid.DefaultExpandable
com.jidesoft.grid.DefaultExpandableRow
com.jidesoft.grid.Property
com.inductiveautomation.reporting.designer.workspace.inspector.AnnotatedProperty
- All Implemented Interfaces:
- com.jidesoft.converter.ConverterContextSupport,- com.jidesoft.grid.EditorContextSupport,- com.jidesoft.grid.EditorStyleSupport,- com.jidesoft.grid.Expandable,- com.jidesoft.grid.ExpandableCell,- com.jidesoft.grid.ExpandableRow,- com.jidesoft.grid.Node,- com.jidesoft.grid.Row,- Serializable,- Comparable<com.jidesoft.grid.Property>
public class AnnotatedProperty
extends com.jidesoft.grid.Property
This is a com.jidesoft.grid.Property that represents a beans-style property from an RMShape that has been annotated
 with the @ShapeProperty annotation.
 
 Created by carl.gould on 4/22/2015.
- See Also:
- 
Nested Class SummaryNested ClassesModifier and TypeClassDescriptionstatic classAnnotatedProperty.OwnedAnnotation<T extends Annotation>Just a wrapper around an annotation instance to keep track of which method that annotation was found on
- 
Field SummaryFields 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_VALUEFields inherited from class com.jidesoft.grid.DefaultExpandable_children, EMPTY_ENUMERATION, PROPERTY_CHILDRENFields inherited from class com.jidesoft.grid.AbstractExpandable_expandable, _expandedFields inherited from class com.jidesoft.grid.AbstractNode_parent, PROPERTY_PARENTFields inherited from interface com.jidesoft.grid.ExpandablePROPERTY_EXPANDABLE, PROPERTY_EXPANDEDFields inherited from interface com.jidesoft.grid.NodePROPERTY_ADJUSTING
- 
Method SummaryModifier and TypeMethodDescriptiongetRelativeDataKey(String key) getShape()getValue()booleanhasValue()booleanbooleanisBound()booleanstatic List<AnnotatedProperty>loadProperties(ReportingResourceEditor editor, RMShape shape, List<RMObject> others) Reflectively looks at the class of the given object and turns any properties annotated withShapePropertyinto JIDE property table properties.voidnotifyDrivingPropChanged(Object newValue) Called for properties that are dependent on other properties.voidCalled when the underlying shape has fired a change for this property.voidsetBinding(String binding) voidsetOrderBelow(String value) voidsetup()voidMethods inherited from class com.jidesoft.grid.PropertyaddDependingProperty, 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, setTypeMethods inherited from class com.jidesoft.grid.DefaultExpandableRowcellUpdated, getCellClassAt, getConverterContextAt, getEditorContextAt, isCellEditable, notifyCellUpdated, rowUpdated, setValueAtMethods inherited from class com.jidesoft.grid.DefaultExpandablebreadthFirstEnumeration, depthFirstEnumeration, getChildren, postorderEnumeration, preorderEnumeration, setChildrenMethods inherited from class com.jidesoft.grid.AbstractExpandableaddChild, addChild, addChildren, getAllChildrenCount, getAllVisibleChildrenCount, getChildAt, getChildIndex, getChildrenCount, getExpandableTreeTableModel, getNumberOfVisibleChildren, getNumberOfVisibleExpandable, getTreeTableModel, hasChildren, hasVisibleChildren, isAdjusting, isExpandable, isExpanded, moveDownChild, moveUpChild, notifyChildDeleted, notifyChildInserted, notifyChildrenDeleted, notifyChildrenInserted, notifyChildrenUpdated, notifyChildUpdated, removeAllChildren, removeChild, removeChildren, setAdjusting, setExpandable, setExpandedMethods inherited from class com.jidesoft.grid.AbstractNodeaddPropertyChangeListener, addPropertyChangeListener, firePropertyChange, firePropertyChange, firePropertyChange, getNextSibling, getParent, getPreviousSibling, getPropertyChangeListeners, getPropertyChangeListeners, removePropertyChangeListener, removePropertyChangeListener, setParentMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.jidesoft.grid.ExpandableaddChild, addChild, addChildren, getAllVisibleChildrenCount, getChildAt, getChildIndex, getChildren, getChildrenCount, getNumberOfVisibleExpandable, hasChildren, isExpandable, isExpanded, moveDownChild, moveUpChild, notifyChildDeleted, notifyChildInserted, notifyChildrenDeleted, notifyChildrenInserted, notifyChildrenUpdated, notifyChildUpdated, removeAllChildren, removeChild, removeChildren, setChildren, setExpandable, setExpandedMethods inherited from interface com.jidesoft.grid.NodegetNextSibling, getParent, getPreviousSibling, setParent
- 
Method Details- 
loadPropertiespublic static List<AnnotatedProperty> loadProperties(ReportingResourceEditor editor, RMShape shape, List<RMObject> others) Reflectively looks at the class of the given object and turns any properties annotated withShapePropertyinto JIDE property table properties.- Returns:
- List of AnnotatedProperty's, not null
 
- 
getRelativeDataKey
- 
setBinding
- 
setuppublic void setup()
- 
getShape
- 
notifyPropChangedpublic void notifyPropChanged()Called when the underlying shape has fired a change for this property. Compound properties use this as a chance to re-build themselves.
- 
notifyDrivingPropChangedCalled for properties that are dependent on other properties. For example, if a property should only be enabled if another property is true, then this will be called whenever the driving property changes.
- 
getBindingPropertyName
- 
setOrderBelow
- 
isBindingCompatiblepublic boolean isBindingCompatible()
- 
isDatasetKeypublic boolean isDatasetKey()
- 
isBoundpublic boolean isBound()
- 
hasValuepublic boolean hasValue()- Overrides:
- hasValuein class- com.jidesoft.grid.Property
 
- 
setValue- Specified by:
- setValuein class- com.jidesoft.grid.Property
 
- 
getValue- Specified by:
- getValuein class- com.jidesoft.grid.Property
 
 
-