org.wurbelizer
Enum SourceDocument.FoldType

java.lang.Object
  extended by java.lang.Enum<SourceDocument.FoldType>
      extended by org.wurbelizer.SourceDocument.FoldType
All Implemented Interfaces:
Serializable, Comparable<SourceDocument.FoldType>
Enclosing class:
SourceDocument

public static enum SourceDocument.FoldType
extends Enum<SourceDocument.FoldType>

editor folds (currently only supported for GUARDTYPE_NETBEANS


Enum Constant Summary
COLLAPSED
          editor fold which is collapsed by default
EXPANDED
          editor fold which is expanded by default
 
Method Summary
static SourceDocument.FoldType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static SourceDocument.FoldType[] 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

COLLAPSED

public static final SourceDocument.FoldType COLLAPSED
editor fold which is collapsed by default


EXPANDED

public static final SourceDocument.FoldType EXPANDED
editor fold which is expanded by default

Method Detail

values

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

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

valueOf

public static SourceDocument.FoldType 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 © 2001-2008 Harald Krake, Bergstr. 48, 78098 Triberg, Germany, harald@krake.de