Oracle Fusion Middleware Java API Reference for Oracle Extension SDK
11g Release 2 (11.1.2.1.0)

E17493-02

oracle.javatools.ui.search
Enum SearchField.TypingDelay

java.lang.Object
  extended by java.lang.Enum<SearchField.TypingDelay>
      extended by oracle.javatools.ui.search.SearchField.TypingDelay
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<SearchField.TypingDelay>
Enclosing class:
SearchField

public static enum SearchField.TypingDelay
extends java.lang.Enum<SearchField.TypingDelay>

When the style of a SearchField is SearchField.Style.FILTER, searching is triggered on a delay after the user stops typing. Set the typingDelay property to control the length of this delay.


Enum Constant Summary
FAST
          The FAST mode provides an almost immediate experience as the user types characters.
SLOW
          The SLOW mode waits longer before triggering search to avoid triggering search too often as the user types.
 
Method Summary
static SearchField.TypingDelay valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static SearchField.TypingDelay[] 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

FAST

public static final SearchField.TypingDelay FAST
The FAST mode provides an almost immediate experience as the user types characters. You should generally use this with fast, local data sets.


SLOW

public static final SearchField.TypingDelay SLOW
The SLOW mode waits longer before triggering search to avoid triggering search too often as the user types. Use this with slower or remote data sets.

Method Detail

values

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

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

valueOf

public static SearchField.TypingDelay 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

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK
11g Release 2 (11.1.2.1.0)

E17493-02

Copyright © 1997, 2011, Oracle. All rights reserved.