Package com.iizix.prop
Interface IPropCnrChoiceOption<CHOICE extends IPropCnrChoiceOption<CHOICE>>
- All Known Subinterfaces:
- IAxisChoiceOption,- IChartChoiceOption,- IPlotChoiceOption
- All Known Implementing Classes:
- AxisFixLower,- AxisFixUpper,- AxisPosition,- AxisTitleOrientation,- ChartTheme,- PlotLabelStyle,- PlotRadialGradient,- PlotType,- TitlePosition
public interface IPropCnrChoiceOption<CHOICE extends IPropCnrChoiceOption<CHOICE>>
Interface used to tag an option for generic options that can be retrieved or set.
- Author:
- Christopher Mindus
- Method SummaryModifier and TypeMethodDescriptionGets all the choices possible, including default.- default CHOICEGets a choice option.- default CHOICE- getChoice- (int value) Returns a choice from an integer value.Gets the default choice.- int- getInt()Returns the choice as an integer value.Gets the property name.- default booleanChecks if the choice it the default choice.- name()Gets the short string description of the choice.- default booleanSets a choice option.
- Method Details- enumValuesIPropCnrChoiceOption<CHOICE>[] enumValues()Gets all the choices possible, including default.
- getIntint getInt()Returns the choice as an integer value.
- getDefaultCHOICE getDefault()Gets the default choice.
- nameString name()Gets the short string description of the choice.
- isDefaultdefault boolean isDefault()Checks if the choice it the default choice.
- getPropNameString getPropName()Gets the property name.
- getChoiceReturns a choice from an integer value.
- getGets a choice option.- Parameters:
- pc- The property container.
- Returns:
- The choice set, or the default choice if the option is undefined.
 
- setSets a choice option.- Parameters:
- pc- The property container.
- Returns:
- true if the value was changed, false for no change.