public enum LoggingAction extends java.lang.Enum<LoggingAction>
Enum Constant and Description |
---|
CGR_WARNINGS |
LOG_LEVEL |
Modifier and Type | Method and Description |
---|---|
javax.swing.Action |
getActionFor(AbstractAgent agent,
java.lang.Object... parameters)
Builds an action that will make the agent do the corresponding behavior
|
ActionInfo |
getActionInfo() |
static LoggingAction |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static LoggingAction[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LoggingAction LOG_LEVEL
public static final LoggingAction CGR_WARNINGS
public static LoggingAction[] values()
for (LoggingAction c : LoggingAction.values()) System.out.println(c);
public static LoggingAction valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic ActionInfo getActionInfo()
public javax.swing.Action getActionFor(AbstractAgent agent, java.lang.Object... parameters)
agent
- the agent on which this action will operateparameters
- the info to be used
Fabien Michel, Olivier Gutknecht, Jacques Ferber - September 9 2019