|
||||||||||
| 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.JTextArea
org.tentackle.ui.FormTextArea
public class FormTextArea
Extended JTextArea as a FormFieldComponent.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class javax.swing.JTextArea |
|---|
JTextArea.AccessibleJTextArea |
| 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 |
|---|
| 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 java.awt.image.ImageObserver |
|---|
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
| Constructor Summary | |
|---|---|
FormTextArea()
Creates an empty FormTextArea with the default document model. |
|
FormTextArea(Document doc,
String text,
int rows,
int columns)
Creates a FormTextArea. |
|
FormTextArea(int rows,
int columns)
Creates an empty FormTextArea with the default document model. |
|
FormTextArea(String text)
Creates a FormTextArea with the default document model. |
|
FormTextArea(String text,
int rows,
int columns)
Creates a FormTextArea with the default document model. |
|
| Method Summary | |
|---|---|
void |
addActionListener(ActionListener l)
Adds the specified action listener to receive action events from this textfield. |
void |
addValueListener(ValueListener l)
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. |
String |
doFormat(Object object)
The format will be ignored in FormTextArea. |
void |
doSmartEnter()
Transfers the focus to the next field if it is the first key pressed in this JTextArea (and the cursor hasn't been moved by the mouse). |
void |
downRight()
Move the caret to the right side of field and if already there move to next field. |
protected void |
fireActionPerformed()
Notifies all listeners that have registered interest for notification on this event type. |
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()
TextArea's don't provide formatting and thus no possibilities for errors. |
char |
getFiller()
Gets the current fill char. |
String |
getFormat()
The format will be ignored in FormTextArea. |
String |
getFormValue()
Retrieves the value from this component. The method is used to update the data if the view has changed because the user edited it. |
String |
getHelpURL()
Gets the online-help URL. |
int |
getHorizontalAlignment()
Not implemented in FormTextArea. |
String |
getInvalidChars()
Gets invalid characters. |
int |
getMaxColumns()
Gets the maximum number of columns. |
Dimension |
getOptimalSize()
Calculates the dimensions for displaying the text according to the number of lines and max. |
Window |
getParentWindow()
Gets the parent window of this component. |
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 |
isSmartEnter()
Returns whether smart enter is enabled. |
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 void |
processKeyEvent(KeyEvent e)
Overrides processKeyEvent to process events. |
protected void |
processMouseEvent(MouseEvent e)
Processes mouse events occurring on this component by dispatching them to any registered MouseListener objects, refer to
Component.processMouseEvent(MouseEvent)
for a complete description of this method. |
void |
removeActionListener(ActionListener l)
Removes the specified action listener so that it no longer receives action events from this textfield. |
void |
removeValueListener(ValueListener l)
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 |
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 |
setEditable(boolean b)
Sets the specified boolean to indicate whether or not this TextComponent should be editable. |
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 fireRunning)
Sets a component's flag that a fire-method is currently running. Used by the framework to minimize valueChanged/valueEntered processing. |
void |
setFormat(String pattern)
The format will be ignored in FormTextArea. |
void |
setFormTraversable(boolean formTraversable)
Sets whether this component is form traversable or not, i.e. |
void |
setFormValue(Object object)
Sets a value in this component. The method is used to update the view if the data has changed. |
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 honourChangeable)
Sets whether this component should honour the changeable-attribute or not. The default is true. |
void |
setHorizontalAlignment(int alignment)
Not implemented in FormTextArea. |
void |
setInhibitAutoSelect(boolean inhibitAutoSelect)
Sets auto-select to be inhibited inhibited (once). |
void |
setInvalidChars(String str)
Sets invalid characters. |
void |
setMaxColumns(int maxColumns)
Sets the maximum number of columns. |
void |
setOverwrite(boolean override)
Sets the insert/override mode. |
void |
setSmartEnter(boolean smartEnter)
Enable smart enter. |
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 str)
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 |
|---|
getBaseline, getCaretPosition, getColumns, getText, setCaretPosition, setColumns, setToolTipText |
| Methods inherited from interface org.tentackle.ui.FormComponent |
|---|
hasFocus |
| Constructor Detail |
|---|
public FormTextArea(Document doc,
String text,
int rows,
int columns)
FormTextArea.
doc - the document model, null if default FormFieldDocument.text - the text to be displayed, null if nonerows - the number of rows >= 0columns - the number of columns >= 0
public FormTextArea(String text,
int rows,
int columns)
FormTextArea with the default document model.
text - the text to be displayed, null if nonerows - the number of rows >= 0columns - the number of columns >= 0public FormTextArea(String text)
FormTextArea with the default document model.
text - the text to be displayed, null if none
public FormTextArea(int rows,
int columns)
FormTextArea with the default document model.
rows - the number of rows >= 0columns - the number of columns >= 0public FormTextArea()
FormTextArea with the default document model.
| Method Detail |
|---|
public boolean isSmartEnter()
public void setSmartEnter(boolean smartEnter)
smartEnter - true to enable smart enter (default)public void doSmartEnter()
public void addActionListener(ActionListener l)
l - the action listener to be addedpublic void removeActionListener(ActionListener l)
l - the action listener to be removedprotected void fireActionPerformed()
public void setEditable(boolean b)
TextComponent should be editable.
A PropertyChange event ("editable") is fired when the
state is changed.
Overridden for consistent colors. A non-editable text area should have the same color as a non-editable text field (in panals).
setEditable in class JTextComponentb - the boolean to be setJTextComponent.isEditable()protected 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 for enhanced focus handling
processFocusEvent in class Componente - the focus eventFocusEvent,
FocusListener,
KeyboardFocusManager,
Component.addFocusListener(java.awt.event.FocusListener),
Component.enableEvents(long),
Component.dispatchEvent(java.awt.AWTEvent)protected void processKeyEvent(KeyEvent e)
processKeyEvent to process events.
Overridden due to smart enter.
processKeyEvent in class JComponente - the key eventKeyEvent,
KeyListener,
KeyboardFocusManager,
DefaultKeyboardFocusManager,
Component.processEvent(java.awt.AWTEvent),
Component.dispatchEvent(java.awt.AWTEvent),
Component.addKeyListener(java.awt.event.KeyListener),
Component.enableEvents(long),
Component.isShowing()protected void processMouseEvent(MouseEvent e)
MouseListener objects, refer to
Component.processMouseEvent(MouseEvent)
for a complete description of this method.
Overridden due to smart enter.
processMouseEvent in class JComponente - the mouse eventComponent.processMouseEvent(java.awt.event.MouseEvent)protected Document createDefaultModel()
Overridden to create a FormFieldDocument.
createDefaultModel in class JTextAreapublic Dimension getOptimalSize()
public String getToolTipText()
javax.swing.JComponentsetToolTipText.
getToolTipText in interface FormFieldComponentgetToolTipText in class JComponentJComponent.TOOL_TIP_TEXT_KEYpublic void transferFocus()
Overridden to implement wasTransferFocus
transferFocus in interface FormComponenttransferFocus in class ComponentComponent.requestFocus()public void transferFocusBackward()
Overridden to implement wasTransferFocusBackward
transferFocusBackward in interface FormComponenttransferFocusBackward in class ContainerComponent.requestFocus()public void setFormTraversable(boolean formTraversable)
FormComponent
setFormTraversable in interface FormComponentformTraversable - true if traversable, false if notpublic boolean isFormTraversable()
FormComponent
isFormTraversable in interface FormComponentpublic void setFormValue(Object object)
FormComponent
setFormValue in interface FormComponentobject - is the object to setpublic String getFormValue()
FormComponent
getFormValue in interface FormComponentpublic String getHelpURL()
FormComponent
getHelpURL in interface FormComponentpublic void setHelpURL(String helpURL)
FormComponent
setHelpURL in interface FormComponenthelpURL - the help urlFormHelper.openHelpURL(Component)public void showHelp()
FormComponent
showHelp in interface FormComponentpublic void requestFocusLater()
FormComponent
requestFocusLater in interface FormComponentpublic void addValueListener(ValueListener l)
FormComponent
addValueListener in interface FormComponentl - the value listener to addpublic void removeValueListener(ValueListener l)
FormComponent
removeValueListener in interface FormComponentl - the value listener to removepublic void fireValueChanged()
FormComponentvalueChanged-handler.
fireValueChanged in interface FormComponentpublic void fireValueEntered()
FormComponentvalueEntered-handler.
fireValueEntered in interface FormComponentpublic 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 setChangeable(boolean changeable)
FormComponent
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 honourChangeable)
FormComponent
setHonourChangeable in interface FormComponenthonourChangeable - true if honour the changeable attribute, false if notpublic boolean isHonourChangeable()
FormComponent
isHonourChangeable in interface FormComponentpublic void prepareFocusLost()
FormComponent
prepareFocusLost in interface FormComponentpublic Window getParentWindow()
FormComponent
getParentWindow in interface FormComponentpublic void invalidateParentInfo()
FormComponent
invalidateParentInfo in interface FormComponentpublic 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 doActionPerformed()
FormFieldComponent
doActionPerformed in interface FormFieldComponentpublic void setText(String str)
javax.swing.text.JTextComponentTextComponent
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.
setText in interface FormFieldComponentsetText in class JTextComponentstr - the new text to be setJTextComponent.getText(int, int),
DefaultCaretpublic void clearText()
FormFieldComponent
clearText in interface FormFieldComponentpublic boolean isCaretLeft()
FormFieldComponent
isCaretLeft in interface FormFieldComponentpublic boolean isCaretRight()
FormFieldComponent
isCaretRight in interface FormFieldComponentpublic void setCaretLeft()
FormFieldComponent
setCaretLeft in interface FormFieldComponentpublic void setCaretRight()
FormFieldComponent
setCaretRight in interface FormFieldComponentpublic void upLeft()
FormFieldComponent
upLeft in interface FormFieldComponentpublic void downRight()
FormFieldComponent
downRight 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 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 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 str)
FormFieldComponent
setValidChars in interface FormFieldComponentstr - the valid characters, null = all (default)public String getValidChars()
FormFieldComponent
getValidChars in interface FormFieldComponentpublic void setInvalidChars(String str)
FormFieldComponent
setInvalidChars in interface FormFieldComponentstr - 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 setEraseFirst(boolean erasefirst)
FormFieldComponent
setEraseFirst in interface FormFieldComponenterasefirst - true to clear after first setTextpublic boolean isEraseFirst()
FormFieldComponent
isEraseFirst in interface FormFieldComponentpublic void setFormat(String pattern)
setFormat in interface FormFieldComponentpattern - the format stringpublic String getFormat()
getFormat in interface FormFieldComponentpublic String doFormat(Object object)
doFormat in interface FormFieldComponentobject - the object
public 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 setAdjust(char adjust)
FormFieldComponent
setAdjust in interface FormFieldComponentadjust - one of FormField.ADJUST_...FormFieldComponent.setFiller(char)public char getAdjust()
FormFieldComponent
getAdjust in interface FormFieldComponentpublic void setMaxColumns(int maxColumns)
FormFieldComponent
setMaxColumns in interface FormFieldComponentmaxColumns - the maximum number of columns, 0 if unlimited (default)public int getMaxColumns()
FormFieldComponent
getMaxColumns in interface FormFieldComponentpublic void setHorizontalAlignment(int alignment)
Sets the horizontal alignment.
setHorizontalAlignment in interface FormFieldComponentalignment - the alignmentComponentpublic int getHorizontalAlignment()
Gets the horizontal alignment.
getHorizontalAlignment in interface FormFieldComponentComponentpublic void setVerticalAlignment(int alignment)
FormFieldComponent
setVerticalAlignment in interface FormFieldComponentalignment - the vertical alignmentpublic int getVerticalAlignment()
FormFieldComponent
getVerticalAlignment in interface FormFieldComponentpublic boolean isInhibitAutoSelect()
FormFieldComponent
isInhibitAutoSelect in interface FormFieldComponentpublic void setInhibitAutoSelect(boolean inhibitAutoSelect)
FormFieldComponent
setInhibitAutoSelect in interface FormFieldComponentinhibitAutoSelect - true if inhibitedpublic void setFireRunning(boolean fireRunning)
FormComponent
setFireRunning in interface FormComponentfireRunning - true if some fire-method is runningpublic boolean isFireRunning()
FormComponent
isFireRunning in interface FormComponentpublic 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 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 int getErrorOffset()
getErrorOffset in interface FormFieldComponentpublic boolean isEmpty()
FormFieldComponent
isEmpty in interface FormFieldComponentpublic void setStartEditLeftmost(boolean startEditLeftmost)
FormFieldComponent
setStartEditLeftmost in interface FormFieldComponentstartEditLeftmost - true if start edit leftmostpublic boolean isStartEditLeftmost()
FormFieldComponent
isStartEditLeftmost in interface FormFieldComponent
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||