Class RootOption
- java.lang.Object
-
- de.xima.fc.gui.model.value_descriptor_form.RootOption
-
- All Implemented Interfaces:
Serializable
public final class RootOption extends Object implements Serializable
POJO model for a root option that can be added to a form of value descriptors. Optional entries can be removed and added as the users sees fit.- Since:
- 8.5.0
- See Also:
- Serialized Form
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IValueAccessor<?>getAccessor()Gets the accessor for the root value.IValueDescriptor<?,?>getDescriptor()Gets the descriptor for the root value.ObjectgetIndex()Gets the index of this option in the list of options.StringgetLabel()Gets the label to display for this option.
-
-
-
Method Detail
-
getAccessor
public IValueAccessor<?> getAccessor()
Gets the accessor for the root value.- Returns:
- The accessor.
-
getDescriptor
public IValueDescriptor<?,?> getDescriptor()
Gets the descriptor for the root value.- Returns:
- The descriptor.
-
getIndex
public Object getIndex()
Gets the index of this option in the list of options.- Returns:
- The index.
-
getLabel
public String getLabel()
Gets the label to display for this option.- Returns:
- The label.
-
-