| java.lang.Object com.flexive.shared.structure.FxStructureElement com.flexive.shared.structure.FxGroup com.flexive.shared.structure.FxGroupEdit
FxGroupEdit | public class FxGroupEdit extends FxGroup (Code) | | FxGroup used for structure editing
author: Markus Plesser (markus.plesser@flexive.com), UCS - unique computing solutions gmbh (http://www.ucs.at) |
FxGroupEdit | public FxGroupEdit(FxGroup group)(Code) | | Make an editable instance of an existing group
Parameters: group - existing group |
clearOption | public void clearOption(String key)(Code) | | Clear an option entry
Parameters: key - option name |
createNew | public static FxGroupEdit createNew(FxGroup base, String newName)(Code) | | Create a clone of an existing group with a new name
Parameters: base - group to clone Parameters: newName - new name to assign FxGroupEdit |
createNew | public static FxGroupEdit createNew(String name, FxString description, FxString hint, boolean overrideBaseMultiplicity, FxMultiplicity multiplicity)(Code) | | Create a new FxGroupEdit instance
Parameters: name - group name Parameters: description - description Parameters: hint - hint message Parameters: overrideBaseMultiplicity - allow base multiplicity override? Parameters: multiplicity - multiplicity FxGroupEdit |
getAssignmentDefaultMultiplicity | public int getAssignmentDefaultMultiplicity()(Code) | | Get the created assignments default multiplicity
default multiplicity |
getAssignmentGroupMode | public GroupMode getAssignmentGroupMode()(Code) | | Get the group mode if this GroupEdit is for a new group and assignment is to be created
group mode |
getOptions | public List<FxStructureOption> getOptions()(Code) | | Get a (unmodifiable) list of all options set for this group
(unmodifiable) list of all options set for this group |
isNew | public boolean isNew()(Code) | | Is this a new group
if this is a new group |
setAssignmentDefaultMultiplicity | public FxGroupEdit setAssignmentDefaultMultiplicity(int defaultMultiplicity)(Code) | | This value set will only be used when creating a new property and will be set for the created assignment!
Set the default multiplicity (used i.e. in user interfaces editors and determines the amount of values that will
be initialized when creating an empty element).
If the set value is < min or > max multiplicity of this assignment it will
be auto adjusted to the next valid value without throwing an exception
Parameters: defaultMultiplicity - the default multiplicity this |
setOption | public FxGroupEdit setOption(String key, boolean overrideable, String value)(Code) | | Set an option
Parameters: key - option key Parameters: overrideable - is the option overrideable from assignments? Parameters: value - value of the option the group itself, useful for chained calls |
setOption | public FxGroupEdit setOption(String key, boolean overrideable, boolean value)(Code) | | Set a boolean option
Parameters: key - option key Parameters: overrideable - is the option overrideable from assignments? Parameters: value - value of the option the group itself, useful for chained calls |
setOverrideMultiplicity | public FxGroupEdit setOverrideMultiplicity(boolean overrideMultiplicity)(Code) | | May the base multiplicity be overridden?
Parameters: overrideMultiplicity - may the base multiplicity be overridden? this |
|
|