Back to index

wims  3.65+svn20090927
Public Member Functions
rene.gui.FormTextField Class Reference

A text field, which can transfer focus to the next text field, when return is pressed. More...

Inheritance diagram for rene.gui.FormTextField:
Inheritance graph
[legend]
Collaboration diagram for rene.gui.FormTextField:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 FormTextField (String s)
void doAction (String o)
void itemAction (String o, boolean flag)
void focusGained (FocusEvent e)
void focusLost (FocusEvent e)

Detailed Description

A text field, which can transfer focus to the next text field, when return is pressed.

Definition at line 9 of file FormTextField.java.


Constructor & Destructor Documentation

rene.gui.FormTextField.FormTextField ( String  s) [inline]

Definition at line 11 of file FormTextField.java.

{      public FormTextField (String s)
       {      super();
              TextFieldActionListener T=
                  new TextFieldActionListener(this,"");
              addActionListener(T);
              setText(s);
       }

Member Function Documentation

void rene.gui.FormTextField.doAction ( String  o) [inline]

Implements rene.gui.DoActionListener.

Definition at line 18 of file FormTextField.java.

       {      transferFocus();
       }
void rene.gui.MyTextField.focusGained ( FocusEvent  e) [inline, inherited]

Definition at line 27 of file MyTextField.java.

       {      setSelectionStart(0);
       }
void rene.gui.MyTextField.focusLost ( FocusEvent  e) [inline, inherited]

Definition at line 30 of file MyTextField.java.

       {      setSelectionStart(0);
              setSelectionEnd(0);
       }
void rene.gui.FormTextField.itemAction ( String  o,
boolean  flag 
) [inline]

Implements rene.gui.DoActionListener.

Definition at line 21 of file FormTextField.java.

{}

The documentation for this class was generated from the following file: