public enum HistogramLayout extends Enum<HistogramLayout> implements ButtonGroupEnumInterface
Enum Constant and Description |
---|
SIDE_BY_SIDE
The BarElements are displayed next to each other.
|
STACKED
The BarElements are displayed on top of each other.
|
Modifier and Type | Method and Description |
---|---|
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.
|
public static final HistogramLayout SIDE_BY_SIDE
public static final HistogramLayout STACKED
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 nameNullPointerException
- if the argument is nullpublic String getActionCommand()
ButtonGroupEnumInterface
Enum.name()
method.getActionCommand
in interface ButtonGroupEnumInterface
public String getText()
getText
in interface ButtonGroupEnumInterface
public String getToolTip()
getToolTip
in interface ButtonGroupEnumInterface
null
public 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 checkpublic static HistogramLayout getDefaultLayout()
public boolean isDefault()
isDefault
in interface ButtonGroupEnumInterface
true
if this is the default optionpublic static boolean valid(String layout)
layout
- the name of the layout to checktrue
if it's a valid histogram layout otherwise
it returns false
.public static HistogramLayout getLayout4ID(String id)
id
- the id to search forHistogramLayout
object with the given id
KNIME GmbH, Konstanz, Germany
You may not modify, publish, transmit, transfer or sell, reproduce, create derivative works from, distribute, perform, display, or in any way exploit any of the content, in whole or in part, except as otherwise expressly permitted in writing by the copyright owner or as specified in the license file distributed with this product.