kAWT Version 0.95

java.awt
Class TextField

java.lang.Object
  |
  +--java.awt.Component
        |
        +--java.awt.TextComponent
              |
              +--java.awt.TextField

public class TextField
extends TextComponent

Limitations


Constructor Summary
TextField()
           
TextField(int cols)
           
TextField(String s)
           
TextField(String text, int cols)
           
 
Method Summary
 boolean echoCharIsSet()
           
 char getEchoChar()
           
 Dimension getMinimumSize()
           
 void paint(Graphics g)
           
 void processKeyEvent(KeyEvent ke)
           
 void processMouseEvent(MouseEvent me)
          Does not work because of the type cast Problem!
 void setEchoChar(char c)
           
 void update(Graphics g)
           
 
Methods inherited from class java.awt.TextComponent
addTextListener, drawLine, getCaretPosition, getSelectedText, getSelectionEnd, getSelectionStart, getText, isEditable, removeTextListener, select, selectAll, setCaretPosition, setEditable, setSelectionEnd, setSelectionStart, setText
 
Methods inherited from class java.awt.Component
addKeyListener, addMouseListener, addMouseMotionListener, contains, findComponentAt, getBounds, getFont, getFontMetrics, getGraphics, getHeight, getLocationOnScreen, getMaximumSize, getParent, getPreferredSize, getSize, getWidth, getX, getY, invalidate, isEnabled, isValid, isVisible, paintAll, proxyRequestFocus, repaint, repaint, requestFocus, setBackground, setBounds, setEnabled, setForeground, setLocation, setSize, setSize, setVisible, validate
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TextField

public TextField()

TextField

public TextField(int cols)

TextField

public TextField(String s)

TextField

public TextField(String text,
                 int cols)
Method Detail

echoCharIsSet

public boolean echoCharIsSet()

getEchoChar

public char getEchoChar()

getMinimumSize

public Dimension getMinimumSize()
Overrides:
getMinimumSize in class Component

paint

public void paint(Graphics g)
Overrides:
paint in class Component

processMouseEvent

public void processMouseEvent(MouseEvent me)
Description copied from class: Component
Does not work because of the type cast Problem! All event sources call the specialized method (e.g. processMouseEvent) directly
Overrides:
processMouseEvent in class Component

processKeyEvent

public void processKeyEvent(KeyEvent ke)
Overrides:
processKeyEvent in class Component

setEchoChar

public void setEchoChar(char c)

update

public void update(Graphics g)
Overrides:
update in class Component

kAWT Version 0.95