org.gwoptics
Enum LogoSize

java.lang.Object
  extended by java.lang.Enum<LogoSize>
      extended by org.gwoptics.LogoSize
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<LogoSize>

public enum LogoSize
extends java.lang.Enum<LogoSize>

Used in conjunction with the Logo object, this defines the various sizes that the gwOptics logo can come in. SizeXX with the XX part representing the height in pixels of the logo.

Author:
Daniel Brown

Enum Constant Summary
Size20
           
Size25
           
Size30
           
Size35
           
Size40
           
Size50
           
Size60
           
Size80
           
 
Method Summary
 int getSize()
           
static LogoSize valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static LogoSize[] values()
          Returns an array containing the constants of this enum type, in the order they're declared.
 
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

Size20

public static final LogoSize Size20

Size25

public static final LogoSize Size25

Size30

public static final LogoSize Size30

Size35

public static final LogoSize Size35

Size40

public static final LogoSize Size40

Size50

public static final LogoSize Size50

Size60

public static final LogoSize Size60

Size80

public static final LogoSize Size80
Method Detail

values

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

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

valueOf

public static LogoSize valueOf(java.lang.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:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name

getSize

public int getSize()


processing library gwoptics by Daniel Brown and Andreas Freise. (c) 2009 onwards