hibergui.property
Class DateEdit

java.lang.Object
  extended by hibergui.Component<T>
      extended by hibergui.Edit<T>
          extended by hibergui.property.TextEdit<java.util.Date>
              extended by hibergui.property.DateEdit

public class DateEdit
extends TextEdit<java.util.Date>


Nested Class Summary
 
Nested classes/interfaces inherited from class hibergui.Edit
Edit.DefaultComputation<TT>, Edit.EditConstraint
 
Field Summary
static Edit.DefaultComputation<java.util.Date> today
           
 
Fields inherited from class hibergui.Edit
form, lsn_TRAVERSE, lsn_WIDGET_MOD, value
 
Fields inherited from class hibergui.Component
lsn_WIDGET_FOCUS, lsn_WIDGET_KEY, style
 
Constructor Summary
DateEdit(Form form, org.eclipse.swt.widgets.Composite cptParent, int style, java.lang.String prop, java.lang.String name)
           
 
Method Summary
 java.util.Date extract()
          Extracts the value from the controls of the edit.
 void fill()
          Fills the controls of the edit with its actual value.
 
Methods inherited from class hibergui.property.TextEdit
clear, createContents, getLineHeight, getText, isEnabled, isVisible, setBackground, setEditable, setEnabled, setFocus, setText
 
Methods inherited from class hibergui.Edit
addConstraint, addConstraint, addModificationListener, addTraverseListener, fireKeyPressed, fireKeyReleased, fireTraversal, fix, get, getDefault, getName, getPropertyName, hasDefault, isDirty, isEditable, isFixed, isValid, markClean, markDirty, markInvalid, markValid, removeConstraint, removeConstraint, removeModificationListener, removeTraverseListener, resetBackground, set, setDefault, setDefault, setDefault, verify
 
Methods inherited from class hibergui.Component
addChangeListener, addControlListener, addFocusListener, addKeyListener, dispose, fireChange, getControl, init, removeChangeListener, removeControlListener, removeFocusListener, removeKeyListener, setLayoutData
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

today

public static Edit.DefaultComputation<java.util.Date> today
Constructor Detail

DateEdit

public DateEdit(Form form,
                org.eclipse.swt.widgets.Composite cptParent,
                int style,
                java.lang.String prop,
                java.lang.String name)
Method Detail

fill

public void fill()
Description copied from class: Edit
Fills the controls of the edit with its actual value.

Specified by:
fill in class Edit<java.util.Date>

extract

public java.util.Date extract()
Description copied from class: Edit
Extracts the value from the controls of the edit.

Specified by:
extract in class Edit<java.util.Date>
Returns:
the extracted value