Package com.iizigo.prop
Class PropCnrEditorProperties
java.lang.Object
com.iizigo.prop.PropCnrEditorProperties
The definition of the properties to edit for a property component.
- Author:
- Christopher Mindus
- Field SummaryFieldsModifier and TypeFieldDescription- static final PropCnrEditorPropertiesInstance for empty settings.- protected final ArrayList<PropertyEditorInfo>The info items.
- Constructor SummaryConstructorsConstructorDescription- PropCnrEditorProperties- (PropCnrEditorProperties existing, boolean useGroupButtons) Creates the instance of the EditProperties for a property component from an existing definition that can receive additional setup.- PropCnrEditorProperties- (PropCnrEditorProperties existing, PropCnr parent, PropCnrEditorProperties pes) Create a new instance and adds the definitions from another edited property container.- PropCnrEditorProperties- (PropCnrEditorProperties existing, Object[] setup) Creates the instance of the EditProperties for a property component from an existing definition that can receive additional setup.- PropCnrEditorProperties- (PropertyEditorSetup pes, Object[] setup) Creates the instance of the EditProperties for a property component.- PropCnrEditorProperties- (PropertyEditorSetup pes, Object[] setup, String itemAppender) Creates the instance of the EditProperties for a property component.
- Method SummaryModifier and TypeMethodDescription- getEmptySettingsImage- (PropCnr property) When the group is not editable, this image is shown.- getEmptySettingsMessage- (PropCnr property) When the group is not editable, this message is shown.- Object[]Returns the original setup data.- getPropertyEditorInfo- (Atom atom) Gets a PropertyEditorInfo from a property Atom.Gets the PropertyEditorInfo array for the property editor for a single property.- void- setUseGroupButtons- (boolean on) Sets the flag for group buttons.- booleanGets the flag for group buttons.
- Field Details- EMPTYInstance for empty settings.
- listThe info items.
 
- Constructor Details- PropCnrEditorPropertiesCreates the instance of the EditProperties for a property component.- Parameters:
- pes- The setup data for the Designer or the Plug-in.
- setup- This array contains the name of the property followed by a "required flag".
 
- PropCnrEditorPropertiesCreates the instance of the EditProperties for a property component.- Parameters:
- pes- The setup data for the Designer or the Plug-in.
- setup- This array contains the name of the property followed by a "required flag".
 
- PropCnrEditorPropertiesCreates the instance of the EditProperties for a property component from an existing definition that can receive additional setup.- Parameters:
- existing- An existing instance to add new data to.
 
- PropCnrEditorPropertiesCreates the instance of the EditProperties for a property component from an existing definition that can receive additional setup.- Parameters:
- existing- An existing instance to add new data to.
- useGroupButtons- Flag to use group buttons or not.
 
- PropCnrEditorPropertiespublic PropCnrEditorProperties- (PropCnrEditorProperties existing, PropCnr parent, PropCnrEditorProperties pes) Create a new instance and adds the definitions from another edited property container.
 
- Method Details- getOriginalSetupReturns the original setup data.- Returns:
- The original setup data, null if not present.
 
- useGroupButtonspublic boolean useGroupButtons()Gets the flag for group buttons.
- setUseGroupButtonspublic void setUseGroupButtons- (boolean on) Sets the flag for group buttons.
- getPropertyEditorInfosGets the PropertyEditorInfo array for the property editor for a single property.
- getPropertyEditorInfoGets a PropertyEditorInfo from a property Atom.- Parameters:
- atom- The atom.
- Returns:
- An instance of PropertyEditorInfo if the atom is found, null otherwise.
 
- getEmptySettingsMessageWhen the group is not editable, this message is shown.
- getEmptySettingsImageWhen the group is not editable, this image is shown.- Returns:
- null for none.