RapidSpell Web


com.keyoti.rapidSpell.web
Class TextComponentInterfaceType

java.lang.Object
  extended by com.keyoti.rapidSpell.web.TextComponentInterfaceType

public class TextComponentInterfaceType
extends java.lang.Object

Possible text box interface type identifiers.


Field Summary
static int Automatic
          Use 'Automatic' for a smart interface which will identify rich/plain textboxes.
static int Custom
          Use 'Custom' to define your own interface.
static int HTMLTextBox
          Use 'HTMLTextBox' for some rich html text boxes (IE5+).
static int Standard
          Use 'Standard' for regular HTML text boxes (input type='text' and textarea).
 
Constructor Summary
TextComponentInterfaceType()
           
 
Method Summary
static int getIntFor(java.lang.String name)
          Returns the int identifier for a string, if the string is not recognised Standard is returned.
static java.lang.String getNameFor(int interfaceId)
          Returns the string name for an int identifier, if the identifier is not recognised "Standard" is returned.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

Standard

public static final int Standard
Use 'Standard' for regular HTML text boxes (input type='text' and textarea).

See Also:
Constant Field Values

HTMLTextBox

public static final int HTMLTextBox
Use 'HTMLTextBox' for some rich html text boxes (IE5+).

See Also:
Constant Field Values

Custom

public static final int Custom
Use 'Custom' to define your own interface.

See Also:
Constant Field Values

Automatic

public static final int Automatic
Use 'Automatic' for a smart interface which will identify rich/plain textboxes.

See Also:
Constant Field Values
Constructor Detail

TextComponentInterfaceType

public TextComponentInterfaceType()
Method Detail

getNameFor

public static java.lang.String getNameFor(int interfaceId)
Returns the string name for an int identifier, if the identifier is not recognised "Standard" is returned.


getIntFor

public static int getIntFor(java.lang.String name)
Returns the int identifier for a string, if the string is not recognised Standard is returned.


RapidSpell Web


Copyright © 2002-2013 Keyoti Inc. All Rights Reserved.