|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<AggregationMethod>
org.knime.base.node.viz.aggregation.AggregationMethod
public enum AggregationMethod
Enumerates all possible aggregation methods of the Histogram visualisation.
Enum Constant Summary | |
---|---|
AVERAGE
The average of the selected y column. |
|
COUNT
The number of rows. |
|
SUM
The summary of the selected y column. |
|
VALUE_COUNT
The number of values without missing values. |
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 AggregationMethod |
getDefaultMethod()
|
static AggregationMethod |
getMethod4Command(String action)
Returns the aggregation method for the given name. |
String |
getText()
|
String |
getToolTip()
|
boolean |
isDefault()
|
static boolean |
valid(String aggrMethod)
|
static AggregationMethod |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static AggregationMethod[] |
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 AggregationMethod AVERAGE
public static final AggregationMethod SUM
public static final AggregationMethod COUNT
public static final AggregationMethod VALUE_COUNT
Method Detail |
---|
public static AggregationMethod[] values()
for (AggregationMethod c : AggregationMethod.values()) System.out.println(c);
public static AggregationMethod 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 static List<String> asStringList()
public static AggregationMethod getMethod4Command(String action)
null
or has length zero the method returns the default
aggregation method.
action
- the action command to check
public static AggregationMethod getDefaultMethod()
public static boolean valid(String aggrMethod)
aggrMethod
- the name of method to check
true
if it's a valid aggregation method otherwise
it returns false
.public String getActionCommand()
Enum.name()
method.
getActionCommand
in interface ButtonGroupEnumInterface
public String getText()
getText
in interface ButtonGroupEnumInterface
public String getToolTip()
getToolTip
in interface ButtonGroupEnumInterface
null
public boolean isDefault()
isDefault
in interface ButtonGroupEnumInterface
true
if this is the default option
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |