Search in sources :

Example 1 with DateTimeSelector

use of alma.acs.gui.widgets.DateTimeSelector in project ACS by ACS-Community.

the class FilterDatePanel method createComponents.

/**
 * Insert the method's description here.
 * Creation date: (2/7/02 11:59:47 AM)
 */
protected void createComponents() {
    notCheck = new JCheckBox("Discard entries matching this filter");
    notCheck.setToolTipText("Keep/discard entries matching this filter");
    add(notCheck, newConstraints(0, 4, 4, 4, 4));
    minimumCheck = new JCheckBox("From");
    add(minimumCheck, newConstraints(1, 4, 4, 0, 4));
    minimum = new DateTimeSelector();
    add(minimum, newConstraints(2, 0, 4, 4, 4));
    maximumCheck = new JCheckBox("To");
    add(maximumCheck, newConstraints(3, 4, 4, 0, 4));
    maximum = new DateTimeSelector();
    add(maximum, newConstraints(4, 0, 4, 4, 4));
}
Also used : JCheckBox(javax.swing.JCheckBox) DateTimeSelector(alma.acs.gui.widgets.DateTimeSelector)

Aggregations

DateTimeSelector (alma.acs.gui.widgets.DateTimeSelector)1 JCheckBox (javax.swing.JCheckBox)1