nl.coderight.jazz.form.field
Class ProgressField

java.lang.Object
  extended by nl.coderight.jazz.form.FormField<Integer>
      extended by nl.coderight.jazz.form.field.ProgressField

public class ProgressField
extends FormField<Integer>

Implementation of a JProgressBar.

See Also:
JProgressBar

Nested Class Summary
static class ProgressField.ProgressOrientation
           
 
Field Summary
 
Fields inherited from class nl.coderight.jazz.form.FormField
Config
 
Constructor Summary
ProgressField()
           
 
Method Summary
protected  JProgressBar createField()
           
protected  JProgressBar getField()
           
 int getMaximum()
           
 int getMinimum()
           
 ProgressField.ProgressOrientation getOrientation()
           
 double getPercentComplete()
           
 String getString()
           
 Integer getValue()
          Returns field value.
 boolean isIndeterminate()
           
 boolean isStringPainted()
           
 void setIndeterminate(boolean indeterminate)
           
 void setMaximum(int maximum)
           
 void setMinimum(int minimum)
           
 void setOrientation(ProgressField.ProgressOrientation orientation)
           
 void setString(String text)
           
 void setStringPainted(boolean painted)
           
 void setValue(int value)
           
 
Methods inherited from class nl.coderight.jazz.form.FormField
dispatchEvent, dispose, focus, focusNextField, focusPreviousField, getBackground, getBindID, getBorder, getComponent, getCursor, getDataBinding, getForeground, getForm, getLabel, getParent, getPreferredSize, getToolTip, hasFocus, isBindable, isChanged, isEnabled, isFocusable, isOpaque, isReadonly, isShowing, isValueChanged, isVisible, onChange, onClick, onDoubleClick, onFocusGained, onFocusLost, onMouseEnter, onMouseLeave, onPopup, registerKeyboardAction, setBackground, setBindID, setBorder, setChanged, setComponent, setCursor, setDataBinding, setEnabled, 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

ProgressField

public ProgressField()
Method Detail

createField

protected JProgressBar createField()

getField

protected JProgressBar getField()

getValue

public Integer getValue()
Description copied from class: FormField
Returns field value.

Overrides:
getValue in class FormField<Integer>

setValue

public void setValue(int value)

isIndeterminate

public boolean isIndeterminate()

setIndeterminate

public void setIndeterminate(boolean indeterminate)

getMinimum

public int getMinimum()

setMinimum

public void setMinimum(int minimum)

getMaximum

public int getMaximum()

setMaximum

public void setMaximum(int maximum)

getString

public String getString()

setString

public void setString(String text)

isStringPainted

public boolean isStringPainted()

setStringPainted

public void setStringPainted(boolean painted)

getOrientation

public ProgressField.ProgressOrientation getOrientation()

setOrientation

public void setOrientation(ProgressField.ProgressOrientation orientation)

getPercentComplete

public double getPercentComplete()


Copyright 2010 CodeRight, All rights reserved.