nl.coderight.jazz.form.control
Class PageControl
java.lang.Object
nl.coderight.jazz.form.FormField<V>
nl.coderight.jazz.form.FormControl
nl.coderight.jazz.form.control.PageControl
public class PageControl
- extends FormControl
Manages two or more fields that share the same display space.
PageControl can be used to create wizard forms.
- See Also:
CardLayout
Methods inherited from class nl.coderight.jazz.form.FormControl |
addField, addField, focus, focusNextField, focusPreviousField, getBindID, getFields, getFocusComponent, hasFocus, registerKeyboardAction, setComponent, setEnabled, setLayout, setTitle |
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 |
PageControl
public PageControl()
addPage
public void addPage(String name,
FormField field)
first
public void first()
next
public void next()
previous
public void previous()
last
public void last()
show
public void show(String name)
isFirst
public boolean isFirst()
isLast
public boolean isLast()
getIndex
public int getIndex(String name)
getPage
public String getPage()
getCount
public int getCount()
focusField
public void focusField(FormField field)
- Overrides:
focusField
in class FormControl
Copyright 2010 CodeRight, All rights reserved.