|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object nl.coderight.jazz.form.FormField<V> nl.coderight.jazz.form.FormControl<V>
public abstract class FormControl<V>
Base class for form controls.
Field Summary |
---|
Fields inherited from class nl.coderight.jazz.form.FormField |
---|
Config |
Constructor Summary | |
---|---|
FormControl()
|
Method Summary | |
---|---|
protected void |
addField(FormField field)
|
protected void |
addField(FormField field,
Object constraints)
|
void |
focus()
Sets focus to field. |
void |
focusField(FormField field)
|
void |
focusNextField(FormField field)
|
void |
focusPreviousField(FormField field)
|
String |
getBindID()
Returns bindID. |
protected List<FormField> |
getFields()
|
JComponent |
getFocusComponent()
|
boolean |
hasFocus()
|
void |
registerKeyboardAction(Action action)
Provides keyboard bindings for Actions. |
protected void |
setComponent(FormField field)
|
void |
setEnabled(boolean enabled)
Sets whether or not this control is enabled. |
protected FormLayout |
setLayout(FormLayout formLayout)
|
void |
setTitle(String title)
|
Methods inherited from class nl.coderight.jazz.form.FormField |
---|
dispatchEvent, dispose, focusNextField, focusPreviousField, getBackground, getBorder, getComponent, getCursor, getDataBinding, getForeground, getForm, getLabel, getParent, getPreferredSize, getToolTip, getValue, isBindable, isChanged, isEnabled, isFocusable, isOpaque, isReadonly, isShowing, isValueChanged, isVisible, onChange, onClick, onDoubleClick, onFocusGained, onFocusLost, onMouseEnter, onMouseLeave, onPopup, setBackground, setBindID, setBorder, setChanged, setComponent, setCursor, setDataBinding, setFocusable, setForeground, setOnFocusGainedEvent, setOnFocusLostEvent, setOpaque, setPopupMenu, setPreferredSize, setReadonly, setToolTip, setValue, setVisible, translate |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FormControl()
Method Detail |
---|
protected void setComponent(FormField field)
protected FormLayout setLayout(FormLayout formLayout)
public JComponent getFocusComponent()
public void setTitle(String title)
public String getBindID()
FormField
getBindID
in class FormField<V>
protected void addField(FormField field)
protected void addField(FormField field, Object constraints)
protected List<FormField> getFields()
public void setEnabled(boolean enabled)
setEnabled
in class FormField<V>
enabled
- public boolean hasFocus()
hasFocus
in class FormField<V>
public void focus()
FormField
focus
in class FormField<V>
public void focusField(FormField field)
public void focusNextField(FormField field)
public void focusPreviousField(FormField field)
public void registerKeyboardAction(Action action)
FormField
Performs the Action
Event when the accelerator key is pressed.
registerKeyboardAction
in class FormField<V>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |