com.sun.electric.database.text
Enum TextUtils.WhatToSearch

java.lang.Object
  extended by java.lang.Enum<TextUtils.WhatToSearch>
      extended by com.sun.electric.database.text.TextUtils.WhatToSearch
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<TextUtils.WhatToSearch>
Enclosing class:
TextUtils

public static enum TextUtils.WhatToSearch
extends java.lang.Enum<TextUtils.WhatToSearch>

Class to define the kind of text string to search


Enum Constant Summary
ARC_NAME
           
ARC_VAR
           
CELL_VAR
           
EXPORT_NAME
           
EXPORT_VAR
           
NODE_NAME
           
NODE_VAR
           
TEMP_NAMES
           
 
Method Summary
 java.lang.String toString()
           
static TextUtils.WhatToSearch valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static TextUtils.WhatToSearch[] 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, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

ARC_NAME

public static final TextUtils.WhatToSearch ARC_NAME

ARC_VAR

public static final TextUtils.WhatToSearch ARC_VAR

NODE_NAME

public static final TextUtils.WhatToSearch NODE_NAME

NODE_VAR

public static final TextUtils.WhatToSearch NODE_VAR

EXPORT_NAME

public static final TextUtils.WhatToSearch EXPORT_NAME

EXPORT_VAR

public static final TextUtils.WhatToSearch EXPORT_VAR

CELL_VAR

public static final TextUtils.WhatToSearch CELL_VAR

TEMP_NAMES

public static final TextUtils.WhatToSearch TEMP_NAMES
Method Detail

values

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

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

valueOf

public static TextUtils.WhatToSearch 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
java.lang.NullPointerException - if the argument is null

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Enum<TextUtils.WhatToSearch>