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 Summary
Modifier and TypeFieldDescriptionstatic final PropCnrEditorProperties
Instance for empty settings.protected final ArrayList
<PropertyEditorInfo> The info items.Constructor Summary
ConstructorDescriptionPropCnrEditorProperties
(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 Summary
Modifier and TypeMethodDescriptiongetEmptySettingsImage
(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.boolean
Gets the flag for group buttons.
Field Details
EMPTY
Instance for empty settings.list
The info items.
Constructor Details
PropCnrEditorProperties
Creates 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".
PropCnrEditorProperties
Creates 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".
PropCnrEditorProperties
Creates 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.
PropCnrEditorProperties
Creates 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.
PropCnrEditorProperties
public PropCnrEditorProperties(PropCnrEditorProperties existing, PropCnr parent, PropCnrEditorProperties pes) Create a new instance and adds the definitions from another edited property container.
Method Details
getOriginalSetup
Returns the original setup data.- Returns:
- The original setup data, null if not present.
useGroupButtons
public boolean useGroupButtons()Gets the flag for group buttons.setUseGroupButtons
public void setUseGroupButtons(boolean on) Sets the flag for group buttons.getPropertyEditorInfos
Gets the PropertyEditorInfo array for the property editor for a single property.getPropertyEditorInfo
Gets a PropertyEditorInfo from a property Atom.- Parameters:
atom
- The atom.- Returns:
- An instance of PropertyEditorInfo if the atom is found, null otherwise.
getEmptySettingsMessage
When the group is not editable, this message is shown.getEmptySettingsImage
When the group is not editable, this image is shown.- Returns:
- null for none.