|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.inet.html.views.form.Form
public class Form
Represents one form with it's element, parameters and controls.
Constructor Summary | |
---|---|
Form(javax.swing.text.Element formElement)
Constructs a new form containert |
Method Summary | |
---|---|
void |
actionPerformed(java.awt.event.ActionEvent e)
Will be called on submit or reset to perform this action |
void |
addControl(BoxView control)
Adds a control to the current form. |
boolean |
isEmpty()
Checks whether any controls are registered to this form container |
void |
keyPressed(java.awt.event.KeyEvent e)
|
void |
keyReleased(java.awt.event.KeyEvent e)
|
void |
keyTyped(java.awt.event.KeyEvent e)
Checks key inputs for a return-submit on a non-text control |
void |
removeControl(BoxView control)
Removes a control from the current form. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Form(javax.swing.text.Element formElement)
formElement
- the model element, which defines the form. May be null to use this object as a default
containerMethod Detail |
---|
public void addControl(BoxView control)
control
- the control to add to this formpublic void removeControl(BoxView control)
control
- the control view to removepublic boolean isEmpty()
public void actionPerformed(java.awt.event.ActionEvent e)
actionPerformed
in interface java.awt.event.ActionListener
e
- the action event which initiated this actionpublic void keyPressed(java.awt.event.KeyEvent e)
keyPressed
in interface java.awt.event.KeyListener
public void keyReleased(java.awt.event.KeyEvent e)
keyReleased
in interface java.awt.event.KeyListener
public void keyTyped(java.awt.event.KeyEvent e)
keyTyped
in interface java.awt.event.KeyListener
e
- the key event to check
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |