|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<LabelDisplayPolicy>
org.knime.base.node.viz.aggregation.util.LabelDisplayPolicy
public enum LabelDisplayPolicy
Enumerates all possible label display options and provides some utility functions.
| Enum Constant Summary | |
|---|---|
ALL
Display the label of all bars.. |
|
NONE
Display none labels at all. |
|
SELECTED
Display the label of the selected bars. |
|
| Method Summary | |
|---|---|
String |
getActionCommand()
Should return the ButtonGroup wide unique action command. |
static LabelDisplayPolicy |
getDefaultOption()
|
static String[] |
getLabels()
|
static LabelDisplayPolicy |
getOption4ID(String value)
|
String |
getText()
|
String |
getToolTip()
|
boolean |
isDefault()
|
static LabelDisplayPolicy |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static LabelDisplayPolicy[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final LabelDisplayPolicy NONE
public static final LabelDisplayPolicy ALL
public static final LabelDisplayPolicy SELECTED
| Method Detail |
|---|
public static LabelDisplayPolicy[] values()
for (LabelDisplayPolicy c : LabelDisplayPolicy.values()) System.out.println(c);
public static LabelDisplayPolicy valueOf(String name)
name - the name of the enum constant to be returned.
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is nullpublic String getActionCommand()
ButtonGroupEnumInterfaceEnum.name() method.
getActionCommand in interface ButtonGroupEnumInterfacepublic String getText()
getText in interface ButtonGroupEnumInterfacepublic String getToolTip()
getToolTip in interface ButtonGroupEnumInterfacenullpublic static String[] getLabels()
public static LabelDisplayPolicy getDefaultOption()
public static LabelDisplayPolicy getOption4ID(String value)
value - the name of the option
public boolean isDefault()
isDefault in interface ButtonGroupEnumInterfacetrue if this is the default option
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||