com.im.ijc.widgets/1 5.9.1

com.im.ijc.widgets.common
Enum DatasetType

java.lang.Object
  extended by java.lang.Enum<DatasetType>
      extended by com.im.ijc.widgets.common.DatasetType
All Implemented Interfaces:
Serializable, Comparable<DatasetType>

public enum DatasetType
extends Enum<DatasetType>

Enumerates possible types of data which might be displayed by multiple-row widgets or by their data layers respectively if such widget is able to work with more then one layer (e.g. chart with foreground and background layers).


Enum Constant Summary
ALL
          Represents all data belonging to a DFEntity.
CURRENT_RESULTS
          Represents data belonging to DFResultSet.VertexState.
NONE
          Represents no data.
SELECTION
          Represents data belonging to a selection.
 
Method Summary
static DatasetType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static DatasetType[] 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 DatasetType NONE
Represents no data.


SELECTION

public static final DatasetType SELECTION
Represents data belonging to a selection. See DFResultSet.VertexState.getSelection().


CURRENT_RESULTS

public static final DatasetType CURRENT_RESULTS
Represents data belonging to DFResultSet.VertexState. See DFResultSet.VertexState.getIds().


ALL

public static final DatasetType ALL
Represents all data belonging to a DFEntity.

Method Detail

values

public static DatasetType[] 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 (DatasetType c : DatasetType.values())
    System.out.println(c);

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

valueOf

public static DatasetType 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

com.im.ijc.widgets/1 5.9.1