|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<HistogramLayout>
org.knime.base.node.viz.histogram.HistogramLayout
public enum HistogramLayout
Enumerates all possible layouts of the Histogram visualisation.
| Enum Constant Summary | |
|---|---|
SIDE_BY_SIDE
The BarElements are displayed next to each other. |
|
STACKED
The BarElements are displayed on top of each other. |
|
| Method Summary | |
|---|---|
static List<String> |
asStringList()
Returns the enumeration fields as a String list of their names. |
String |
getActionCommand()
Should return the ButtonGroup wide unique action command. |
static HistogramLayout |
getDefaultLayout()
|
static HistogramLayout |
getLayout4ID(String id)
|
static HistogramLayout |
getLayout4String(String name)
Returns the histogram layout for the given name. |
String |
getText()
|
String |
getToolTip()
|
boolean |
isDefault()
|
static boolean |
valid(String layout)
|
static HistogramLayout |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static HistogramLayout[] |
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 HistogramLayout SIDE_BY_SIDE
public static final HistogramLayout STACKED
| Method Detail |
|---|
public static HistogramLayout[] values()
for (HistogramLayout c : HistogramLayout.values()) System.out.println(c);
public static HistogramLayout 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 List<String> asStringList()
public static HistogramLayout getLayout4String(String name)
null or has length zero the method returns the default
layout.
name - the name to check
public static HistogramLayout getDefaultLayout()
public boolean isDefault()
isDefault in interface ButtonGroupEnumInterfacetrue if this is the default optionpublic static boolean valid(String layout)
layout - the name of the layout to check
true if it's a valid histogram layout otherwise
it returns false.public static HistogramLayout getLayout4ID(String id)
id - the id to search for
HistogramLayout object with the given id
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||