Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## hibergui.property
Class DateCombo2

    java.lang.Object
      hibergui.Component<T>
          hibergui.Edit<java.util.Date>
              hibergui.property.DateCombo2

    public class DateCombo2

extends Edit<java.util.Date>

Author:
  espakm TODO To change the template for this generated type comment go to Window - Preferences - Java - Code Style - Code Templates

Nested Class Summary
`private static class` | `DateCombo2.MyDateChooser`

Nested classes/interfaces inherited from class hibergui.Edit
`Edit.DefaultComputation<TT>, Edit.EditConstraint`

Field Summary
`private DateCombo2.MyDateChooser` | `mdc`
`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
`DateCombo2(Form form, org.eclipse.swt.widgets.Composite cpt, int style, java.lang.String prop, java.lang.String name)`

Method Summary
`void` | `clear()` Clears the controls of the edit.
`protected org.eclipse.swt.widgets.Control` | `createContents(org.eclipse.swt.widgets.Composite cptParent)` Creates the GUI contents of the component.
`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.
`boolean` | `isEnabled()`
`void` | `setBackground(org.eclipse.swt.graphics.Color clr)`
`void` | `setEditable(boolean b)`
`void` | `setEnabled(boolean b)`
`boolean` | `setFocus()`

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

### mdc

    private DateCombo2.MyDateChooser mdc

### today

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

Constructor Detail

### DateCombo2

    public DateCombo2(Form form,
                      org.eclipse.swt.widgets.Composite cpt,
                      int style,
                      java.lang.String prop,
                      java.lang.String name)

Method Detail

### createContents

    protected org.eclipse.swt.widgets.Control createContents(org.eclipse.swt.widgets.Composite cptParent)

  Description copied from class: `Component`
  Creates the GUI contents of the component. Subclasses should override it.

  Specified by:
    `createContents` in class `Component<java.util.Date>`
  Parameters:
    `cptParent` - The composite which the component will be placed on. The parent of the control of the component.
  Returns:
    The control of the component containing its GUI elements.

### clear

    public void clear()

  Description copied from class: `Edit`
  Clears the controls of the edit.

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

### 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

### setFocus

    public boolean setFocus()

  Specified by:
    `setFocus` in class `Component<java.util.Date>`

### isEnabled

    public boolean isEnabled()

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

### setEnabled

    public void setEnabled(boolean b)

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

### setEditable

    public void setEditable(boolean b)

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

### setBackground

    public void setBackground(org.eclipse.swt.graphics.Color clr)

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

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD