Back to index

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

A TextField with a modifyable background and font. More...

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

List of all members.

Public Member Functions

 MyTextField (String s, int n)
 MyTextField (String s)
 MyTextField ()
void focusGained (FocusEvent e)
void focusLost (FocusEvent e)

Detailed Description

A TextField with a modifyable background and font.

Definition at line 11 of file MyTextField.java.


Constructor & Destructor Documentation

rene.gui.MyTextField.MyTextField ( String  s,
int  n 
) [inline]

Definition at line 13 of file MyTextField.java.

{      public MyTextField (String s, int n)
       {      super(s,n);
              if (Global.NormalFont!=null) setFont(Global.NormalFont);
              addFocusListener(this);
       }

Here is the call graph for this function:

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

Definition at line 18 of file MyTextField.java.

       {      super(s);
              if (Global.NormalFont!=null) setFont(Global.NormalFont);
              addFocusListener(this);
       }

Definition at line 23 of file MyTextField.java.

       {      if (Global.NormalFont!=null) setFont(Global.NormalFont);
              addFocusListener(this);
       }

Here is the caller graph for this function:


Member Function Documentation

void rene.gui.MyTextField.focusGained ( FocusEvent  e) [inline]

Definition at line 27 of file MyTextField.java.

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

Definition at line 30 of file MyTextField.java.

       {      setSelectionStart(0);
              setSelectionEnd(0);
       }

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