Cytoscape 3.0.1 API

org.cytoscape.model
Enum CyTableFactory.InitialTableSize

java.lang.Object
  extended by java.lang.Enum<CyTableFactory.InitialTableSize>
      extended by 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!


Enum Constant Summary
LARGE
          Large - about 10,000 entries.
MEDIUM
          Medium - about 1000 entries.
SMALL
          Small - about 100 entries.
 
Method Summary
 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.
 
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

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 name
NullPointerException - 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.

Cytoscape 3.0.1 API

Copyright 2011 Cytoscape Consortium. All rights reserved.