unbbayes.gui
Enum GraphAction

java.lang.Object
  extended by java.lang.Enum<GraphAction>
      extended by unbbayes.gui.GraphAction
All Implemented Interfaces:
Serializable, Comparable<GraphAction>

public enum GraphAction
extends Enum<GraphAction>

Actions possibles in the graph pane.

See Also:
GraphPane

Enum Constant Summary
ADD_PLUGIN_NODE
           
CREATE_CONTEXT_NODE
           
CREATE_CONTINUOUS_NODE
           
CREATE_DECISION_NODE
           
CREATE_DOMAIN_MFRAG
           
CREATE_EDGE
           
CREATE_INPUT_NODE
           
CREATE_ORDINARYVARIABLE_NODE
           
CREATE_PROBABILISTIC_NODE
           
CREATE_RESIDENT_NODE
           
CREATE_UTILITY_NODE
           
NONE
           
SELECT_MANY_OBJECTS
           
 
Method Summary
static GraphAction valueOf(String name)
          Returns the enum constant of this type with the specified name.
static GraphAction[] 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

NONE

public static final GraphAction NONE

CREATE_EDGE

public static final GraphAction CREATE_EDGE

CREATE_CONTINUOUS_NODE

public static final GraphAction CREATE_CONTINUOUS_NODE

CREATE_PROBABILISTIC_NODE

public static final GraphAction CREATE_PROBABILISTIC_NODE

CREATE_DECISION_NODE

public static final GraphAction CREATE_DECISION_NODE

CREATE_UTILITY_NODE

public static final GraphAction CREATE_UTILITY_NODE

CREATE_CONTEXT_NODE

public static final GraphAction CREATE_CONTEXT_NODE

CREATE_INPUT_NODE

public static final GraphAction CREATE_INPUT_NODE

CREATE_RESIDENT_NODE

public static final GraphAction CREATE_RESIDENT_NODE

CREATE_ORDINARYVARIABLE_NODE

public static final GraphAction CREATE_ORDINARYVARIABLE_NODE

CREATE_DOMAIN_MFRAG

public static final GraphAction CREATE_DOMAIN_MFRAG

SELECT_MANY_OBJECTS

public static final GraphAction SELECT_MANY_OBJECTS

ADD_PLUGIN_NODE

public static final GraphAction ADD_PLUGIN_NODE
Method Detail

values

public static GraphAction[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (GraphAction c : GraphAction.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static GraphAction valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null


Copyright © 2001-2010 University of Brasilia - UnB. All Rights Reserved.