|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.awt.Component
java.awt.Container
javax.swing.JComponent
javax.swing.text.JTextComponent
javax.swing.JTextField
org.tentackle.ui.FormField
public abstract class FormField
Abstract base class for all text fields.
All Tentackle beans providing a single-line text field bean subclass
the FormField class which implements FormFieldComponent.
FormFields provide a lot of features essential for typical business
applications, such as data binding.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class javax.swing.JTextField |
|---|
JTextField.AccessibleJTextField |
| Nested classes/interfaces inherited from class javax.swing.text.JTextComponent |
|---|
JTextComponent.AccessibleJTextComponent, JTextComponent.DropLocation, JTextComponent.KeyBinding |
| Nested classes/interfaces inherited from class javax.swing.JComponent |
|---|
JComponent.AccessibleJComponent |
| Nested classes/interfaces inherited from class java.awt.Container |
|---|
Container.AccessibleAWTContainer |
| Nested classes/interfaces inherited from class java.awt.Component |
|---|
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy |
| Field Summary | |
|---|---|
static char |
ADJUST_LEFT
remove leading fillers |
static char |
ADJUST_NONE
no adjustment at all |
static char |
ADJUST_RIGHT
remove trailing fillers |
static char |
ADJUST_TRIM
trim to both sides (default) |
static char |
CONVERT_LC
to lowercase |
static char |
CONVERT_NONE
no conversion (default) |
static char |
CONVERT_UC
to uppercase |
protected int |
errorOffset
caret position for (first) error, -1 if no error |
| Fields inherited from class javax.swing.JTextField |
|---|
notifyAction |
| Fields inherited from class javax.swing.text.JTextComponent |
|---|
DEFAULT_KEYMAP, FOCUS_ACCELERATOR_KEY |
| Fields inherited from class javax.swing.JComponent |
|---|
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW |
| Fields inherited from class java.awt.Component |
|---|
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT |
| Fields inherited from interface javax.swing.SwingConstants |
|---|
BOTTOM, CENTER, EAST, HORIZONTAL, LEADING, LEFT, NEXT, NORTH, NORTH_EAST, NORTH_WEST, PREVIOUS, RIGHT, SOUTH, SOUTH_EAST, SOUTH_WEST, TOP, TRAILING, VERTICAL, WEST |
| Fields inherited from interface java.awt.image.ImageObserver |
|---|
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
| Constructor Summary | |
|---|---|
FormField()
Creates an empty FormField with the default document model, and minimum column width. |
|
FormField(Document doc,
String str,
int columns)
Creates a FormField. Notice: setting doc != null requires a doc derived from FormFieldDocument. |
|
FormField(int columns)
Creates a FormField with the default document model and given column width. |
|
FormField(String str)
Creates a FormField with the default document model, minimum width and given initial text. |
|
FormField(String str,
int columns)
Creates a FormField with the default document model. |
|
| Method Summary | |
|---|---|
void |
addValueListener(ValueListener listener)
Adds a value listener that implements the binding between this component and the data. |
void |
clearText()
Clears the contents of this component. |
protected Document |
createDefaultModel()
Creates the default implementation of the model to be used at construction if one isn't explicitly given. |
void |
doActionPerformed()
Invokes the action performed handler. |
void |
downRight()
Move the caret to the right side of field and if already there move to next field. |
void |
fireValueChanged()
Fires all value listeners registered on this component invoking their valueChanged-handler.This method is invoked whenever the data has been changed and that change should be reflected in the view. |
void |
fireValueEntered()
Fires all listeners registered on this component invoking their valueEntered-handler.This method is invoked whenever the user edited the view and that change should be reflected in the data. |
char |
getAdjust()
Gets the current adjustment. |
char |
getConvert()
Gets the current convesion |
StringConverter |
getConverter()
Gets the current converter. |
int |
getErrorOffset()
Gets the offset in this components text for the first error. |
char |
getFiller()
Gets the current fill char. |
String |
getHelpURL()
Gets the online-help URL. |
String |
getInvalidChars()
Gets invalid characters. |
int |
getMaxColumns()
Gets the maximum number of columns. |
Window |
getParentWindow()
Gets the parent window of this component. |
String |
getText()
Returns the text contained in this TextComponent. |
String |
getToolTipText()
Returns the tooltip string that has been set with setToolTipText. |
String |
getValidChars()
Gets allowed characters. |
int |
getVerticalAlignment()
Gets the vertical alignment. |
void |
invalidateParentInfo()
Invalidates all container-relevant (cached) information for the hierarchy of this component's parents. For optimization purposes. |
boolean |
isAutoNext()
Returns whether the auto-next feature is enabled. |
boolean |
isAutoSelect()
Returns whether the auto-select feature is enabled. |
boolean |
isAutoUpdate()
Returns whether the auto-update feature is enabled. |
boolean |
isCaretLeft()
Returns whether carat is at leftmost position. |
boolean |
isCaretRight()
Returns whether caret is at rightmost position. |
boolean |
isCellEditorUsage()
Returns whether this component is used as a cell editor. |
boolean |
isChangeable()
Returns if this component is changeable. |
boolean |
isEmpty()
Determines whether this component is empty. |
boolean |
isEraseFirst()
Returns whether to erase the field after first setText(). |
boolean |
isFireRunning()
Checks whether a fire-method is running. |
boolean |
isFormTraversable()
Returns whether this component is form traversable or not. |
boolean |
isHonourChangeable()
Returns whether this component should honour the changeable-attribute or not. |
boolean |
isInhibitAutoSelect()
Returns whether auto-select is inhibited (once). |
boolean |
isOverwrite()
Gets the current override mode. |
boolean |
isStartEditLeftmost()
Returns whether to start edit leftmost in this component (once). |
boolean |
isValueChanged()
Checks whether the contents have been changed since the last savepoint. |
void |
prepareFocusLost()
Prepares for FOCUS_LOST. Gives this component the opportunity to invoke fireValueEntered() earlier than FOCUS_LOST is really received. |
protected void |
processFocusEvent(FocusEvent e)
Processes focus events occurring on this component by dispatching them to any registered FocusListener objects. |
protected boolean |
processKeyBinding(KeyStroke ks,
KeyEvent e,
int condition,
boolean pressed)
Invoked to process the key bindings for ks as the result
of the KeyEvent e. |
void |
removeValueListener(ValueListener listener)
Remove a value listener. |
void |
requestFocusLater()
Requests the keyboard focus for this component by appending an event to the end of the event queue. Applications should not use requestFocus() or requestFocusInWindow() unless the order in which the events are processed is unimportant. |
void |
saveValue()
Sets a savepoint for the data of this component. Allows to decide whether the user has changed the data associated with this component or not. |
void |
setAdjust(char adjust)
Sets character adjustment. By default the text input data is trimmed, i.e. |
void |
setAutoNext(boolean autonext)
Sets the auto-next feature. If autonext is enabled the next component will automatically receive the focus if the maximum number of characters is reached. |
void |
setAutoSelect(boolean autoselect)
Sets the auto-select feature. A component with autoselect enabled will automatically select all characters if the component gets the keyboard focus. |
void |
setAutoUpdate(boolean autoupdate)
Sets the auto-update feature. By default, all components update the data model if the view changes (due to certain events, for example focus lost). |
void |
setCaretLeft()
Sets the caret to leftmost position. |
void |
setCaretRight()
Sets the caret to rightmost position. |
void |
setCellEditorUsage(boolean flag)
Sets a hint that this component is used as a cell editor. Some components behave differently in tables than in forms, for example. |
void |
setChangeable(boolean changeable)
Set the component to be changeable. This is a unified abstraction and will be translated to setEditable or setEnabled, whatever is appropriate to this component. |
void |
setColumns(int columns)
Sets the number of columns in this TextField,
and then invalidate the layout. |
void |
setConvert(char convert)
Sets character upper/lowercase conversion. Notice that changing the character conversion will immediately convert. |
void |
setConverter(StringConverter converter)
Sets the string converter. Besides the lower/uppercase conversion an optional StringConverter may be set to translate
characters. |
void |
setEraseFirst(boolean erasefirst)
Sets whether to erase the field after first setText(). |
void |
setFiller(char filler)
Sets the fill char. The fill char determines the adjustment of the text data. |
void |
setFireRunning(boolean running)
Sets a component's flag that a fire-method is currently running. Used by the framework to minimize valueChanged/valueEntered processing. |
void |
setFormTraversable(boolean formTraversable)
Sets whether this component is form traversable or not, i.e. |
void |
setFormWrapWindow(FormWindow parent)
Sets the window that will fire a FormWrapEvent when this
components loses the keyboard focus. |
void |
setHelpURL(String helpURL)
Sets the online-help URL. If a help url is set for this component, a browser will be launched to show that url. |
void |
setHonourChangeable(boolean flag)
Sets whether this component should honour the changeable-attribute or not. The default is true. |
void |
setInhibitAutoSelect(boolean inhibitAutoSelect)
Sets auto-select to be inhibited inhibited (once). |
void |
setInvalidChars(String invalidChars)
Sets invalid characters. |
void |
setMaxColumns(int columns)
Sets the maximum number of columns. |
void |
setOverwrite(boolean override)
Sets the insert/override mode. |
void |
setStartEditLeftmost(boolean startEditLeftmost)
Sets whether to start edit leftmost in this component (once). |
void |
setText(String str)
Sets the text of this TextComponent
to the specified text. |
void |
setValidChars(String validChars)
Sets allowed characters. |
void |
setVerticalAlignment(int alignment)
Sets the vertical alignment. Can only be used in Tentackle-LookAndFeels! |
void |
showHelp()
Displays online help for this component. Usually triggered by KeyEvent.VK_F1 or VK_HELP or a button. |
void |
transferFocus()
Transfers the focus to the next component, as though this Component were the focus owner. |
void |
transferFocusBackward()
Transfers the focus to the previous component, as though this Component were the focus owner. |
void |
triggerValueChanged()
Promotes the fact that value changed to all FormContainers this
component is a child of. |
void |
upLeft()
Move caret to the left side of field and if already there move to previous field. |
boolean |
wasFocusGainedFromTransfer()
Returns whether the keyboard focus was gained due to FormComponent.transferFocus()
in the opposite component. |
boolean |
wasFocusGainedFromTransferBackward()
Returns whether the keyboard focus was gained due to FormComponent.transferFocusBackward()
in the opposite component. |
boolean |
wasTransferFocus()
Returns whether this component lost the keyboard focus due to FormComponent.transferFocus(). |
boolean |
wasTransferFocusBackward()
Returns whether this component lost the keyboard focus due to FormComponent.transferFocusBackward(). |
boolean |
wasTransferFocusByEnter()
Returns whether this component lost the keyboard focus due to KeyEvent.VK_ENTER. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.tentackle.ui.FormFieldComponent |
|---|
doFormat, getBaseline, getCaretPosition, getColumns, getFormat, getHorizontalAlignment, setCaretPosition, setFormat, setHorizontalAlignment, setToolTipText |
| Methods inherited from interface org.tentackle.ui.FormComponent |
|---|
getFormValue, hasFocus, setFormValue |
| Field Detail |
|---|
public static final char ADJUST_NONE
public static final char ADJUST_LEFT
public static final char ADJUST_RIGHT
public static final char ADJUST_TRIM
public static final char CONVERT_NONE
public static final char CONVERT_UC
public static final char CONVERT_LC
protected int errorOffset
| Constructor Detail |
|---|
public FormField(Document doc,
String str,
int columns)
doc - the document model, null = defaultstr - the initial text, null = emptycolumns - the number of columns, 0 = minimum width
public FormField(String str,
int columns)
str - the initial text, null = emptycolumns - the number of columns, 0 = minimum widthpublic FormField(String str)
str - the initial text, null = emptypublic FormField(int columns)
columns - the number of columns, 0 = minimum widthpublic FormField()
| Method Detail |
|---|
protected boolean processKeyBinding(KeyStroke ks,
KeyEvent e,
int condition,
boolean pressed)
ks as the result
of the KeyEvent e. This obtains
the appropriate InputMap,
gets the binding, gets the action from the ActionMap,
and then (if the action is found and the component
is enabled) invokes notifyAction to notify the action.
Overridden: Changes the nerving behaviour that pressing backspace at the end of a selection clears the whole selection. Especially in autoselected numeric fields its often necessary to overtype the last digits. With this hack backspace simply clears the selection.
processKeyBinding in class JComponentks - the KeyStroke queriede - the KeyEventcondition - one of the following values:
pressed - true if the key is pressed
public void setColumns(int columns)
TextField,
and then invalidate the layout.
Overridden to inhibit excessive geometry-management (for example in Gridbaglayout).
setColumns in interface FormFieldComponentsetColumns in class JTextFieldcolumns - the number of columns >= 0protected Document createDefaultModel()
PlainDocument is returned.
Overridden to set the default FormFieldDocument.
createDefaultModel in class JTextFieldprotected void processFocusEvent(FocusEvent e)
FocusListener objects.
This method is not called unless focus events are enabled for this component. Focus events are enabled when one of the following occurs:
FocusListener object is registered
via addFocusListener.
enableEvents.
If focus events are enabled for a Component,
the current KeyboardFocusManager determines
whether or not a focus event should be dispatched to
registered FocusListener objects. If the
events are to be dispatched, the KeyboardFocusManager
calls the Component's dispatchEvent
method, which results in a call to the Component's
processFocusEvent method.
If focus events are enabled for a Component, calling
the Component's dispatchEvent method
with a FocusEvent as the argument will result in a
call to the Component's processFocusEvent
method regardless of the current KeyboardFocusManager.
Note that if the event parameter is null
the behavior is unspecified and may result in an
exception.
Overridden to perform focus handling and data binding
processFocusEvent in class Componente - the focus eventFocusEvent,
FocusListener,
KeyboardFocusManager,
Component.addFocusListener(java.awt.event.FocusListener),
Component.enableEvents(long),
Component.dispatchEvent(java.awt.AWTEvent)public void setText(String str)
TextComponent
to the specified text. If the text is null
or empty, has the effect of simply deleting the old text.
When text has been inserted, the resulting caret location
is determined by the implementation of the caret class.
This method is thread safe, although most Swing methods
are not. Please see
How
to Use Threads for more information.
Note that text is not a bound property, so no PropertyChangeEvent
is fired when it changes. To listen for changes to the text,
use DocumentListener.
Overridden to turn off autoNext during inserts and to implement eraseFirst.
setText in interface FormFieldComponentsetText in class JTextComponentstr - the new text to be setJTextComponent.getText(int, int),
DefaultCaretpublic String getText()
TextComponent.
If the underlying document is null,
will give a NullPointerException.
Note that text is not a bound property, so no PropertyChangeEvent
is fired when it changes. To listen for changes to the text,
use DocumentListener.
Overridden because of text adjustment.
getText in interface FormFieldComponentgetText in class JTextComponentJTextComponent.setText(java.lang.String)public void transferFocus()
Ovwerwritten to set transferFocusDone.
transferFocus in interface FormComponenttransferFocus in class ComponentComponent.requestFocus()public void transferFocusBackward()
Ovwerwritten to set transferFocusBackwardDone.
transferFocusBackward in interface FormComponenttransferFocusBackward in class ContainerComponent.requestFocus()public void addValueListener(ValueListener listener)
FormComponent
addValueListener in interface FormComponentlistener - the value listener to addpublic void removeValueListener(ValueListener listener)
FormComponent
removeValueListener in interface FormComponentlistener - the value listener to removepublic void requestFocusLater()
FormComponent
requestFocusLater in interface FormComponentpublic void fireValueChanged()
FormComponentvalueChanged-handler.
fireValueChanged in interface FormComponentpublic void fireValueEntered()
FormComponentvalueEntered-handler.
fireValueEntered in interface FormComponentpublic void doActionPerformed()
FormFieldComponent
doActionPerformed in interface FormFieldComponentpublic void saveValue()
FormComponent
saveValue in interface FormComponentFormComponent.isValueChanged()public boolean isValueChanged()
FormComponent
isValueChanged in interface FormComponentFormComponent.saveValue()public void triggerValueChanged()
FormComponentFormContainers this
component is a child of.
triggerValueChanged in interface FormComponentpublic void setCellEditorUsage(boolean flag)
FormComponent
setCellEditorUsage in interface FormComponentflag - true if component is a cell editor, false if not.public boolean isCellEditorUsage()
FormComponent
isCellEditorUsage in interface FormComponentpublic void prepareFocusLost()
FormComponent
prepareFocusLost in interface FormComponentpublic void showHelp()
FormComponent
showHelp in interface FormComponentpublic void clearText()
FormFieldComponent
clearText in interface FormFieldComponentpublic boolean isEmpty()
FormFieldComponent
isEmpty in interface FormFieldComponentpublic boolean isCaretLeft()
FormFieldComponent
isCaretLeft in interface FormFieldComponentpublic boolean isCaretRight()
FormFieldComponent
isCaretRight in interface FormFieldComponentpublic void upLeft()
FormFieldComponent
upLeft in interface FormFieldComponentpublic void downRight()
FormFieldComponent
downRight in interface FormFieldComponentpublic void setCaretLeft()
FormFieldComponent
setCaretLeft in interface FormFieldComponentpublic void setCaretRight()
FormFieldComponent
setCaretRight in interface FormFieldComponentpublic void setEraseFirst(boolean erasefirst)
FormFieldComponent
setEraseFirst in interface FormFieldComponenterasefirst - true to clear after first setTextpublic boolean isEraseFirst()
FormFieldComponent
isEraseFirst in interface FormFieldComponentpublic void setChangeable(boolean changeable)
Changeable is translated to editable.
setChangeable in interface FormComponentchangeable - true the user can edit the data, false if show onlypublic boolean isChangeable()
FormComponent
isChangeable in interface FormComponentpublic void setHonourChangeable(boolean flag)
FormComponent
setHonourChangeable in interface FormComponentflag - true if honour the changeable attribute, false if notpublic boolean isHonourChangeable()
FormComponent
isHonourChangeable in interface FormComponentpublic void setMaxColumns(int columns)
FormFieldComponent
setMaxColumns in interface FormFieldComponentcolumns - the maximum number of columns, 0 if unlimited (default)public int getMaxColumns()
FormFieldComponent
getMaxColumns in interface FormFieldComponentpublic void setConvert(char convert)
FormFieldComponent
setConvert in interface FormFieldComponentconvert - one of FormField.CONVERT_...public char getConvert()
FormFieldComponent
getConvert in interface FormFieldComponentpublic void setAdjust(char adjust)
FormFieldComponent
setAdjust in interface FormFieldComponentadjust - one of FormField.ADJUST_...FormFieldComponent.setFiller(char)public char getAdjust()
FormFieldComponent
getAdjust in interface FormFieldComponentpublic void setAutoSelect(boolean autoselect)
FormFieldComponent
setAutoSelect in interface FormFieldComponentautoselect - true if autoselect enabled, false if disabled (default)public boolean isAutoSelect()
FormFieldComponent
isAutoSelect in interface FormFieldComponentpublic void setAutoNext(boolean autonext)
FormFieldComponent
setAutoNext in interface FormFieldComponentautonext - true if autonext enabled, false if disabled (default)public boolean isAutoNext()
FormFieldComponent
isAutoNext in interface FormFieldComponentpublic void setAutoUpdate(boolean autoupdate)
FormFieldComponent
setAutoUpdate in interface FormFieldComponentautoupdate - true if auto update the data (default), false if notpublic boolean isAutoUpdate()
FormFieldComponent
isAutoUpdate in interface FormFieldComponentpublic void setValidChars(String validChars)
FormFieldComponent
setValidChars in interface FormFieldComponentvalidChars - the valid characters, null = all (default)public String getValidChars()
FormFieldComponent
getValidChars in interface FormFieldComponentpublic void setInvalidChars(String invalidChars)
FormFieldComponent
setInvalidChars in interface FormFieldComponentinvalidChars - the invalid characters, null = none (default)public String getInvalidChars()
FormFieldComponent
getInvalidChars in interface FormFieldComponentpublic void setFiller(char filler)
FormFieldComponent
setFiller in interface FormFieldComponentfiller - the fill characterFormFieldComponent.setAdjust(char)public char getFiller()
FormFieldComponent
getFiller in interface FormFieldComponentpublic void setOverwrite(boolean override)
FormFieldComponent
setOverwrite in interface FormFieldComponentoverride - true if override, false if insert (default)public boolean isOverwrite()
FormFieldComponent
isOverwrite in interface FormFieldComponentpublic void setStartEditLeftmost(boolean startEditLeftmost)
FormFieldComponent
setStartEditLeftmost in interface FormFieldComponentstartEditLeftmost - true if start edit leftmostpublic boolean isStartEditLeftmost()
FormFieldComponent
isStartEditLeftmost in interface FormFieldComponentpublic int getErrorOffset()
FormFieldComponent
getErrorOffset in interface FormFieldComponentpublic void setFireRunning(boolean running)
FormComponent
setFireRunning in interface FormComponentrunning - true if some fire-method is runningpublic boolean isFireRunning()
FormComponent
isFireRunning in interface FormComponentpublic boolean isInhibitAutoSelect()
FormFieldComponent
isInhibitAutoSelect in interface FormFieldComponentpublic void setInhibitAutoSelect(boolean inhibitAutoSelect)
When set inhibits autoSelect once after having performed eraseFirst. This is necessary for components in a JTable because after pressing a key eraseFirst will be executed, then the key inserted and THEN the field gets the focusGained which will selectAll if autoSelect enabled. The eraseFirst is triggered in FormFieldComponentCellEditor. This flag is really package internal!
setInhibitAutoSelect in interface FormFieldComponentinhibitAutoSelect - true if inhibitedpublic void setFormWrapWindow(FormWindow parent)
FormComponentFormWrapEvent when this
components loses the keyboard focus. When fired the reference
to the window is cleared.
setFormWrapWindow in interface FormComponentparent - the window (usually the parent window of this component).public void setVerticalAlignment(int alignment)
FormFieldComponent
setVerticalAlignment in interface FormFieldComponentalignment - the vertical alignmentpublic int getVerticalAlignment()
FormFieldComponent
getVerticalAlignment in interface FormFieldComponentpublic String getHelpURL()
FormComponent
getHelpURL in interface FormComponentpublic void setHelpURL(String helpURL)
FormComponent
setHelpURL in interface FormComponenthelpURL - the help urlFormHelper.openHelpURL(Component)public StringConverter getConverter()
FormFieldComponent
getConverter in interface FormFieldComponentpublic void setConverter(StringConverter converter)
FormFieldComponentStringConverter may be set to translate
characters.
setConverter in interface FormFieldComponentconverter - the converter, null if none (default)public Window getParentWindow()
FormComponent
getParentWindow in interface FormComponentpublic void invalidateParentInfo()
FormComponent
invalidateParentInfo in interface FormComponentpublic String getToolTipText()
setToolTipText.
Overridden to show tooltip in tooltipdisplay OR via mouse but not both.
getToolTipText in interface FormFieldComponentgetToolTipText in class JComponentJComponent.TOOL_TIP_TEXT_KEYpublic boolean wasTransferFocus()
FormComponentFormComponent.transferFocus().
wasTransferFocus in interface FormComponentpublic boolean wasTransferFocusBackward()
FormComponentFormComponent.transferFocusBackward().
wasTransferFocusBackward in interface FormComponentpublic boolean wasFocusGainedFromTransfer()
FormComponentFormComponent.transferFocus()
in the opposite component.
wasFocusGainedFromTransfer in interface FormComponentFormFocusTraversalPolicypublic boolean wasFocusGainedFromTransferBackward()
FormComponentFormComponent.transferFocusBackward()
in the opposite component.
wasFocusGainedFromTransferBackward in interface FormComponentFormFocusTraversalPolicypublic boolean wasTransferFocusByEnter()
FormComponentKeyEvent.VK_ENTER.
wasTransferFocusByEnter in interface FormComponentpublic void setFormTraversable(boolean formTraversable)
FormComponent
setFormTraversable in interface FormComponentformTraversable - true if traversable, false if notpublic boolean isFormTraversable()
FormComponent
isFormTraversable in interface FormComponent
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||