com.compomics.util.gui
Enum VennDiagramDialog.VennDiagramType

java.lang.Object
  extended by java.lang.Enum<VennDiagramDialog.VennDiagramType>
      extended by com.compomics.util.gui.VennDiagramDialog.VennDiagramType
All Implemented Interfaces:
Serializable, Comparable<VennDiagramDialog.VennDiagramType>
Enclosing class:
VennDiagramDialog

public static enum VennDiagramDialog.VennDiagramType
extends Enum<VennDiagramDialog.VennDiagramType>

The supported Venn diagram types.


Enum Constant Summary
FOUR_WAY
           
ONE_WAY
           
THREE_WAY
           
TWO_WAY
           
 
Method Summary
static VennDiagramDialog.VennDiagramType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static VennDiagramDialog.VennDiagramType[] 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

ONE_WAY

public static final VennDiagramDialog.VennDiagramType ONE_WAY

TWO_WAY

public static final VennDiagramDialog.VennDiagramType TWO_WAY

THREE_WAY

public static final VennDiagramDialog.VennDiagramType THREE_WAY

FOUR_WAY

public static final VennDiagramDialog.VennDiagramType FOUR_WAY
Method Detail

values

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

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

valueOf

public static VennDiagramDialog.VennDiagramType 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 © 2013. All Rights Reserved.