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.

Since:
1.3
See Also:
CardLayout

Field Summary
 
Fields inherited from class nl.coderight.jazz.form.FormField
Config
 
Constructor Summary
PageControl()
           
 
Method Summary
 void addPage(String pageName, FormField field)
           
 void first()
           
 void focusField(FormField field)
           
 String getCurrent()
           
 String getTitle()
           
 boolean isFirst()
           
 boolean isLast()
           
 void last()
           
 void next()
           
 int pageCount()
           
 void previous()
           
 void setTitle(String title)
           
 void show(String pageName)
           
 
Methods inherited from class nl.coderight.jazz.form.FormControl
addField, addField, focus, focusNextField, focusPreviousField, getBindID, getFields, getFocusComponent, hasFocus, registerKeyboardAction, setComponent, setEnabled, setLayout
 
Methods inherited from class nl.coderight.jazz.form.FormField
dispatchEvent, dispose, focusNextField, focusPreviousField, getBackground, getBorder, getComponent, getCursor, getDataBinding, getForeground, getForm, getLabel, getParent, getPreferredSize, getToolTipText, getValue, isBindable, isChanged, isEnabled, isFocusable, isOpaque, isReadonly, isScrollable, 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, setToolTipText, 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

getTitle

public String getTitle()

setTitle

public void setTitle(String title)

addPage

public void addPage(String pageName,
                    FormField field)

first

public void first()

next

public void next()

previous

public void previous()

last

public void last()

show

public void show(String pageName)

pageCount

public int pageCount()

isFirst

public boolean isFirst()

isLast

public boolean isLast()

getCurrent

public String getCurrent()

focusField

public void focusField(FormField field)
Overrides:
focusField in class FormControl


Copyright 2010 CodeRight, All rights reserved.