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,- java.io.Serializable,- java.lang.Comparable<com.jidesoft.grid.Property>
 
 public class AnnotatedProperty extends com.jidesoft.grid.PropertyThis 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:
- Serialized Form
 
- 
- 
Nested Class SummaryNested Classes Modifier and Type Class Description static classAnnotatedProperty.OwnedAnnotation<T extends java.lang.annotation.Annotation>Just a wrapper around an annotation instance to keep track of which method that annotation was found on
 - 
Field Summary- 
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
 
- 
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetBindingPropertyName()java.lang.StringgetRelativeDataKey(java.lang.String key)RMShapegetShape()java.lang.ObjectgetValue()booleanhasValue()booleanisBindingCompatible()booleanisBound()booleanisDatasetKey()static java.util.List<AnnotatedProperty>loadProperties(ReportingResourceEditor editor, RMShape shape, java.util.List<RMObject> others)Reflectively looks at the class of the given object and turns any properties annotated withShapePropertyinto JIDE property table properties.voidnotifyDrivingPropChanged(java.lang.Object newValue)Called for properties that are dependent on other properties.voidnotifyPropChanged()Called when the underlying shape has fired a change for this property.voidsetBinding(java.lang.String binding)voidsetOrderBelow(java.lang.String value)voidsetup()voidsetValue(java.lang.Object o)- 
Methods 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, setType
 - 
Methods inherited from class com.jidesoft.grid.DefaultExpandableRowcellUpdated, getCellClassAt, getConverterContextAt, getEditorContextAt, isCellEditable, notifyCellUpdated, rowUpdated, setValueAt
 - 
Methods inherited from class com.jidesoft.grid.DefaultExpandablebreadthFirstEnumeration, depthFirstEnumeration, getChildren, postorderEnumeration, preorderEnumeration, setChildren
 - 
Methods 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, setExpanded
 - 
Methods inherited from class com.jidesoft.grid.AbstractNodeaddPropertyChangeListener, addPropertyChangeListener, firePropertyChange, firePropertyChange, firePropertyChange, getNextSibling, getParent, getPreviousSibling, getPropertyChangeListeners, getPropertyChangeListeners, removePropertyChangeListener, removePropertyChangeListener, setParent
 - 
Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 - 
Methods 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, setExpanded
 
- 
 
- 
- 
- 
Method Detail- 
loadPropertiespublic static java.util.List<AnnotatedProperty> loadProperties(ReportingResourceEditor editor, RMShape shape, java.util.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
 
 - 
getRelativeDataKeypublic java.lang.String getRelativeDataKey(java.lang.String key) 
 - 
setBindingpublic void setBinding(java.lang.String binding) 
 - 
setuppublic void setup() 
 - 
getShapepublic RMShape 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.
 - 
notifyDrivingPropChangedpublic void notifyDrivingPropChanged(java.lang.Object newValue) Called 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.
 - 
getBindingPropertyNamepublic java.lang.String getBindingPropertyName() 
 - 
setOrderBelowpublic void setOrderBelow(java.lang.String value) 
 - 
isBindingCompatiblepublic boolean isBindingCompatible() 
 - 
isDatasetKeypublic boolean isDatasetKey() 
 - 
isBoundpublic boolean isBound() 
 - 
hasValuepublic boolean hasValue() - Overrides:
- hasValuein class- com.jidesoft.grid.Property
 
 - 
setValuepublic void setValue(java.lang.Object o) - Specified by:
- setValuein class- com.jidesoft.grid.Property
 
 - 
getValuepublic java.lang.Object getValue() - Specified by:
- getValuein class- com.jidesoft.grid.Property
 
 
- 
 
-