Package org.cytoscape.model
Enum CyTableFactory.InitialTableSize
- java.lang.Object
-
- java.lang.Enum<CyTableFactory.InitialTableSize>
-
- org.cytoscape.model.CyTableFactory.InitialTableSize
-
- All Implemented Interfaces:
Serializable
,Comparable<CyTableFactory.InitialTableSize>
- Enclosing interface:
- CyTableFactory
public static enum CyTableFactory.InitialTableSize extends Enum<CyTableFactory.InitialTableSize>
A description of the initial size of the table. Used only for the initial construction of the table and does not in any way limit the eventual size of the table!
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getSize()
Returns the actual size value for the given enum.static CyTableFactory.InitialTableSize
valueOf(String name)
Returns the enum constant of this type with the specified name.static CyTableFactory.InitialTableSize[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SMALL
public static final CyTableFactory.InitialTableSize SMALL
Small - about 100 entries.
-
MEDIUM
public static final CyTableFactory.InitialTableSize MEDIUM
Medium - about 1000 entries.
-
LARGE
public static final CyTableFactory.InitialTableSize LARGE
Large - about 10,000 entries.
-
-
Method Detail
-
values
public static CyTableFactory.InitialTableSize[] 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 (CyTableFactory.InitialTableSize c : CyTableFactory.InitialTableSize.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CyTableFactory.InitialTableSize 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 nameNullPointerException
- if the argument is null
-
getSize
public int getSize()
Returns the actual size value for the given enum.- Returns:
- the actual size value for the given enum.
-
-