|
|||||||||
| 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.JTextField
rero.gui.input.InputField
public class InputField
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class javax.swing.JTextField |
|---|
JTextField.AccessibleJTextField |
| 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 | |
|---|---|
protected Border |
defaultBorder
|
protected UserInputEvent |
event
|
protected InputBorder |
indent
|
protected LinkedList |
listeners
|
| Fields inherited from class javax.swing.JTextField |
|---|
notifyAction |
| 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 javax.swing.SwingConstants |
|---|
BOTTOM, CENTER, EAST, HORIZONTAL, LEADING, LEFT, NEXT, NORTH, NORTH_EAST, NORTH_WEST, PREVIOUS, RIGHT, SOUTH, SOUTH_EAST, SOUTH_WEST, TOP, TRAILING, VERTICAL, WEST |
| Fields inherited from interface java.awt.image.ImageObserver |
|---|
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
| Constructor Summary | |
|---|---|
InputField()
|
|
| Method Summary | |
|---|---|
void |
actionPerformed(ActionEvent ev)
|
void |
addInputListener(InputListener l)
|
void |
cleanup()
|
protected Document |
createDefaultModel()
|
void |
fireInputEvent()
|
String |
getCurrentText()
|
String |
getIndent()
|
boolean |
isFocusable()
|
void |
keyPressed(KeyEvent e)
|
void |
keyReleased(KeyEvent e)
|
void |
keyTyped(KeyEvent e)
|
void |
mouseClicked(MouseEvent ev)
|
void |
mouseEntered(MouseEvent ev)
|
void |
mouseExited(MouseEvent ev)
|
void |
mousePressed(MouseEvent ev)
|
void |
mouseReleased(MouseEvent ev)
|
void |
paint(Graphics g)
|
void |
propertyChanged(String name,
String parms)
when the property gets changed you will be notified! |
void |
rehashColors()
|
void |
setIndent(String text)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected Border defaultBorder
protected LinkedList listeners
protected UserInputEvent event
protected InputBorder indent
| Constructor Detail |
|---|
public InputField()
| Method Detail |
|---|
public void cleanup()
public void mouseClicked(MouseEvent ev)
mouseClicked in interface MouseListenerpublic boolean isFocusable()
isFocusable in class Componentpublic void mouseEntered(MouseEvent ev)
mouseEntered in interface MouseListenerpublic void mouseExited(MouseEvent ev)
mouseExited in interface MouseListenerpublic void mousePressed(MouseEvent ev)
mousePressed in interface MouseListenerpublic void mouseReleased(MouseEvent ev)
mouseReleased in interface MouseListener
public void propertyChanged(String name,
String parms)
ClientStateListener
propertyChanged in interface ClientStateListenerpublic void rehashColors()
public void actionPerformed(ActionEvent ev)
actionPerformed in interface ActionListenerpublic void addInputListener(InputListener l)
public void fireInputEvent()
public String getIndent()
public void setIndent(String text)
public void keyTyped(KeyEvent e)
keyTyped in interface KeyListenerpublic String getCurrentText()
public void keyPressed(KeyEvent e)
keyPressed in interface KeyListenerpublic void keyReleased(KeyEvent e)
keyReleased in interface KeyListenerpublic void paint(Graphics g)
paint in class JComponentprotected Document createDefaultModel()
createDefaultModel in class JTextField
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||