jbcl.view Package 

JTextFieldItemEditor component

java.lang.Object
   +----java.awt.Component
           +----java.awt.Container
                   +----javax.swing.JComponent
                           +----javax.swing.text.JTextComponent
                                   +----javax.swing.JTextField
                                           +----com.borland.jbcl.view.JTextFieldItemEditor

About the JTextFieldItemEditor component

Variables  Constructors  Properties  Methods  Event Listeners

Implements ItemEditor, ImageObserver, MenuContainer, Serializable, Accessible, Scrollable, SwingConstants

Edits a text data item in a TextFieldControl component.

The TextFieldControl is a graphical user interface element for displaying and editing a single line of text. It is a model-view control that is also data-aware.


JTextFieldItemEditor variables

Variables implemented in java.awt.Component

Variables implemented in javax.swing.JComponent

Variables implemented in javax.swing.JTextField

Variables implemented in javax.swing.text.JTextComponent

JTextFieldItemEditor constructors

JTextFieldItemEditor properties

*Read-only properties **Write-only properties

Properties implemented in this class

Properties implemented in java.awt.Component

Properties implemented in java.awt.Container

Properties implemented in java.lang.Object

Properties implemented in javax.swing.JComponent

Properties implemented in javax.swing.JTextField

Properties implemented in javax.swing.text.JTextComponent

JTextFieldItemEditor methods

Methods implemented in this class

Methods implemented in java.awt.Component

Methods implemented in java.awt.Container

Methods implemented in java.lang.Object

Methods implemented in javax.swing.JComponent

Methods implemented in javax.swing.JTextField

Methods implemented in javax.swing.text.JTextComponent

JTextFieldItemEditor event listeners


JTextFieldItemEditor constructors

JTextFieldItemEditor()

  public JTextFieldItemEditor()
Constructs a JTextFieldItemEditor with insets (0,0,0,0), no itemFormatter, and LEFT alignment.

JTextFieldItemEditor(int)

  public JTextFieldItemEditor(int alignment)
Constructs a JTextFieldItemEditor with insets (0,0,0,0), no itemFormatter, and the alignment you specify with the alignment parameter.

Parameters:

alignment
The alignment of text in the control. The valid values are one of the com.borland.dx.text.Alignment variables.

JTextFieldItemEditor(int, com.borland.dx.text.ItemFormatter)

  public JTextFieldItemEditor(int alignment, ItemFormatter itemFormatter)
Constructs a JTextFieldItemEditor using the specified alignment and ItemFormatter.

Parameters:

alignment
The alignment of text in the control. The valid values are one of the com.borland.dx.text.Alignment variables.
itemFormatter
The ItemFormatter used to format the text.

JTextFieldItemEditor properties

component

 public Component getComponent()
The component property stores which component is added to the host control as an item editor. It dispatches all key events from the main component to the individual controls.

value

 public Object getValue()
The value property stores the current value that is in the active item editor. The editor host can ask for the value at any time and should always ask for the value when posting to the data object.

JTextFieldItemEditor event listeners

This component is a source for the following event sets.

action

 public synchronized void addActionListener(java.awt.event.ActionListener )
 public synchronized void removeActionListener(java.awt.event.ActionListener )

ancestor

 public void addAncestorListener(javax.swing.event.AncestorListener )
 public void removeAncestorListener(javax.swing.event.AncestorListener )

caret

 public void addCaretListener(javax.swing.event.CaretListener )
 public void removeCaretListener(javax.swing.event.CaretListener )

component

 public synchronized void addComponentListener(java.awt.event.ComponentListener )
 public synchronized void removeComponentListener(java.awt.event.ComponentListener )

container

 public synchronized void addContainerListener(java.awt.event.ContainerListener )
 public synchronized void removeContainerListener(java.awt.event.ContainerListener )

focus

 public synchronized void addFocusListener(java.awt.event.FocusListener )
 public synchronized void removeFocusListener(java.awt.event.FocusListener )

inputMethod

 public synchronized void addInputMethodListener(java.awt.event.InputMethodListener )
 public synchronized void removeInputMethodListener(java.awt.event.InputMethodListener )

key

 public synchronized void addKeyListener(java.awt.event.KeyListener )
 public synchronized void removeKeyListener(java.awt.event.KeyListener )

mouse

 public synchronized void addMouseListener(java.awt.event.MouseListener )
 public synchronized void removeMouseListener(java.awt.event.MouseListener )

mouseMotion

 public synchronized void addMouseMotionListener(java.awt.event.MouseMotionListener )
 public synchronized void removeMouseMotionListener(java.awt.event.MouseMotionListener )

propertyChange

 public synchronized void addPropertyChangeListener(java.beans.PropertyChangeListener )
 public synchronized void removePropertyChangeListener(java.beans.PropertyChangeListener )

vetoableChange

 public synchronized void addVetoableChangeListener(java.beans.VetoableChangeListener )
 public synchronized void removeVetoableChangeListener(java.beans.VetoableChangeListener )