nl.coderight.jazz.form.control
Class PageControl

java.lang.Object
  extended by nl.coderight.jazz.form.FormField<V>
      extended by nl.coderight.jazz.form.FormControl
          extended by 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

Field Summary
 
Fields inherited from class nl.coderight.jazz.form.FormField
Config
 
Constructor Summary
PageControl()
           
 
Method Summary
 void addPage(String name, FormField field)
           
 void first()
           
 void focusField(FormField field)
           
 int getCount()
           
 int getIndex(String name)
           
 String getPage()
           
 boolean isFirst()
           
 boolean isLast()
           
 void last()
           
 void next()
           
 void previous()
           
 void show(String name)
           
 
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
 

Constructor Detail

PageControl

public PageControl()
Method Detail

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.