/** * Get the date displayed, or null if the text box is empty, or cannot be * interpreted. * * @return the current date value */ public Date getValue() { return parseDate(true); }
/** * Parses the current date box's value and shows that date. */ public void showDatePicker() { Date current = parseDate(false); if (current == null) { current = new Date(); } picker.setCurrentMonth(current); popup.showRelativeTo(this); }
private void updateDateFromTextBox() { Date parsedDate = parseDate(true); if (fireNullValues || (parsedDate != null)) { setValue(picker.getValue(), parsedDate, true, false); } } }
/** * Get the date displayed, or null if the text box is empty, or cannot be * interpreted. * * @return the current date value */ public Date getValue() { return parseDate(true); }
/** * Get the date displayed, or null if the text box is empty, or cannot be * interpreted. * * @return the current date value */ public Date getValue() { return parseDate(true); }
/** * Parses the current date box's value and shows that date. */ public void showDatePicker() { Date current = parseDate(false); if (current == null) { current = new Date(); } picker.setCurrentMonth(current); popup.showRelativeTo(this); }
/** * Parses the current date box's value and shows that date. */ public void showDatePicker() { Date current = parseDate(false); if (current == null) { current = new Date(); } picker.setCurrentMonth(current); popup.showRelativeTo(this); }
private void updateDateFromTextBox() { Date parsedDate = parseDate(true); if (fireNullValues || (parsedDate != null)) { setValue(picker.getValue(), parsedDate, true, false); } } }
private void updateDateFromTextBox() { Date parsedDate = parseDate(true); if (fireNullValues || (parsedDate != null)) { setValue(picker.getValue(), parsedDate, true, false); } } }