Modifier and Type | Class and Description |
---|---|
static class |
PropertyEditorInfo.CreateItem
Class used to hold information about an edited item during creation.
|
Modifier and Type | Field and Description |
---|---|
Atom |
atom
The property Atom, null for special ones.
|
String |
defaultPropertyValue
The default property value.
|
String |
definitionName
The definition name in the properties file.
|
String[] |
editOptions
Options for the composite editor, null for none.
|
IEditedPropertyEntry<?,?> |
editProperty
Class providing the property editor.
|
String |
group
The group.
|
IGroupTextFormatter |
groupFormatter
The group formatter, null for none.
|
String |
groupTextPrompt
The group text prompt.
|
String |
groupToolTipText
The group tool tip text.
|
boolean |
isPrivate
Private property flag.
|
PropertyEditorInfoOptions |
options
The required flag.
|
Class<GProp<?>> |
propertyClass
The GProp class.
|
String |
propertyName
The name of the property.
|
PropertyEditorSetup |
setup
The property editor object.
|
String |
textPrompt
The text prompt.
|
String |
toolTipText
The tooltip text.
|
IEntryValidator |
validator
The validator/property converter, null if none.
|
Constructor and Description |
---|
PropertyEditorInfo(IzAnnotation jap)
Dynamic creation of a editable property item for the Java Action Actor.
|
PropertyEditorInfo(PropertyEditorSetup pes,
String propertyName,
String definitionName,
PropertyEditorInfoOptions options)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
PropertyEditorInfo |
copyForParent(String altParentPropertyName)
Creates a copy of the instance with an alternate parent.
|
MultiPropEditor |
createControls(PropertyEditor editor,
Composite entryPart,
com.iizigo.prop.PropertyEditorLayout pl,
MultiPropLabel mlabel,
DefinedButton definedButton,
PropertyEditor.Node node,
PropCnr[] containers)
Creates the controls required.
|
static ArrayList<PropertyEditorInfo.CreateItem> |
getCombinedPropertyEditorInfos(PropCnr[] pcs,
ArrayList<PropertyEditorInfo>[] infosArray)
Creates the combined EditProperties for an array of properties.
|
static ArrayList<PropertyEditorInfo.CreateItem> |
getCombinedPropertyEditorInfos(PropCnr pc,
ArrayList<PropertyEditorInfo> infosArray)
Creates the combined EditProperties for a single property that are edited.
|
PropertyEditorGroupInfo |
getGroupInfo()
Gets the group info.
|
String |
getParentPropertyName()
Gets the parent property name that must be present, null for none.
|
static boolean |
hasAtLeastOnePropertyInGroup(Collection<PropertyEditorInfo> infos,
String[] propertyNames)
Helper to check for at least one property in group.
|
boolean |
isName()
Checks if this is the property name editor.
|
boolean |
isSpecial()
Checks if this is a special property for extends, or the property name itself etc.
|
static String |
verifyPropertiesPresentInGroup(Collection<PropertyEditorInfo> infos,
String[] propertyNames)
Helper to verify properties are present for a group.
|
public final String propertyName
public final String definitionName
public final Atom atom
public final PropertyEditorInfoOptions options
public final String textPrompt
public final String toolTipText
public final String group
public final String groupTextPrompt
public final String groupToolTipText
public final String defaultPropertyValue
public final IEditedPropertyEntry<?,?> editProperty
public final String[] editOptions
public final IEntryValidator validator
public final IGroupTextFormatter groupFormatter
public final PropertyEditorSetup setup
public final boolean isPrivate
public PropertyEditorInfo(PropertyEditorSetup pes, String propertyName, String definitionName, PropertyEditorInfoOptions options)
public PropertyEditorInfo(IzAnnotation jap) throws IllegalArgumentException, ParseException
jap
- The annotation.IllegalArgumentException
- For errors.ParseException
- For value parsing errors.public PropertyEditorGroupInfo getGroupInfo()
public String getParentPropertyName()
public PropertyEditorInfo copyForParent(String altParentPropertyName)
public MultiPropEditor createControls(PropertyEditor editor, Composite entryPart, com.iizigo.prop.PropertyEditorLayout pl, MultiPropLabel mlabel, DefinedButton definedButton, PropertyEditor.Node node, PropCnr[] containers)
public static String verifyPropertiesPresentInGroup(Collection<PropertyEditorInfo> infos, String[] propertyNames)
infos
- The array of edit's for the property.propertyNames
- The property names to verify.public static boolean hasAtLeastOnePropertyInGroup(Collection<PropertyEditorInfo> infos, String[] propertyNames)
infos
- The array of edit's for the property.propertyNames
- The names to verify.public boolean isName()
public boolean isSpecial()
public static ArrayList<PropertyEditorInfo.CreateItem> getCombinedPropertyEditorInfos(PropCnr pc, ArrayList<PropertyEditorInfo> infosArray)
public static ArrayList<PropertyEditorInfo.CreateItem> getCombinedPropertyEditorInfos(PropCnr[] pcs, ArrayList<PropertyEditorInfo>[] infosArray)
iizi® is a registered trademark of Mindus SARL. © Copyright Mindus SARL, 2020. All rights reserved.