Oracle Forms 9i Samples and Demos


oracle.forms.demos.jspell
Class SpellCheckTextField

oracle.forms.demos.jspell.SpellCheckTextField

public class SpellCheckTextField

A PJC class used to integrate a Single Line Text feild in a Form with the JSpell Java Spellchecker

Author:
Duncan Mills

Field Summary
static oracle.forms.properties.ID BATCH_SIZE
          The property that we'll use to set batch Size for checking
static oracle.forms.properties.ID DICTIONARY_PORT
          The property that we'll use to set the Spellcheck Socket Port
static oracle.forms.properties.ID DICTIONARY_SERVER
          The property that we'll use to set the Spellcheck Socket m/c
static oracle.forms.properties.ID DICTIONARY_TYPE
          The property that we'll use to set the Spellcheck Dictionary type SOCKET or SERVLET
static oracle.forms.properties.ID IGNORE_FIRST
          The JSpell Property
static oracle.forms.properties.ID IGNORE_IRREGULAR
          The JSpell Property
static oracle.forms.properties.ID IGNORE_UPPER
          The JSpell Property
static oracle.forms.properties.ID LEARN_ENABLED
          The Property for disabling the Learn button
static oracle.forms.properties.ID MAX_SUGGESTIONS
          The property that we'll use to set max no of suggestions
static oracle.forms.properties.ID SPELLCHECK
          The property that we'll use to trigger a spellcheck
 
Constructor Summary
SpellCheckTextField()
           
 
Method Summary
 void deselect()
           
 java.awt.Frame getFrame()
           
 java.awt.TextComponent getTextComponent()
           
 void init(oracle.forms.handler.IHandler handler)
          Implimentation of IView interface
 void log(java.lang.String msg)
           
 boolean setProperty(oracle.forms.properties.ID pid, java.lang.Object value)
          Implimentation of IView interface
 

Field Detail

SPELLCHECK

public static final oracle.forms.properties.ID SPELLCHECK
The property that we'll use to trigger a spellcheck

DICTIONARY_TYPE

public static final oracle.forms.properties.ID DICTIONARY_TYPE
The property that we'll use to set the Spellcheck Dictionary type SOCKET or SERVLET

DICTIONARY_SERVER

public static final oracle.forms.properties.ID DICTIONARY_SERVER
The property that we'll use to set the Spellcheck Socket m/c

DICTIONARY_PORT

public static final oracle.forms.properties.ID DICTIONARY_PORT
The property that we'll use to set the Spellcheck Socket Port

BATCH_SIZE

public static final oracle.forms.properties.ID BATCH_SIZE
The property that we'll use to set batch Size for checking

MAX_SUGGESTIONS

public static final oracle.forms.properties.ID MAX_SUGGESTIONS
The property that we'll use to set max no of suggestions

IGNORE_UPPER

public static final oracle.forms.properties.ID IGNORE_UPPER
The JSpell Property

IGNORE_IRREGULAR

public static final oracle.forms.properties.ID IGNORE_IRREGULAR
The JSpell Property

IGNORE_FIRST

public static final oracle.forms.properties.ID IGNORE_FIRST
The JSpell Property

LEARN_ENABLED

public static final oracle.forms.properties.ID LEARN_ENABLED
The Property for disabling the Learn button
Constructor Detail

SpellCheckTextField

public SpellCheckTextField()
Method Detail

init

public void init(oracle.forms.handler.IHandler handler)
Implimentation of IView interface
Parameters:
hander - The context passed from forms.
See Also:
IView

setProperty

public boolean setProperty(oracle.forms.properties.ID pid,
                           java.lang.Object value)
Implimentation of IView interface
Parameters:
pid - property to be set
value - new value of the property
Returns:
true (if the property could be set), false otherwise
See Also:
IView

deselect

public void deselect()

getFrame

public java.awt.Frame getFrame()

getTextComponent

public java.awt.TextComponent getTextComponent()

log

public void log(java.lang.String msg)

Oracle Forms 9i Samples and Demos