public class DateFilterPopup
Only shows a single button as its contents. When the button is clicked, it opens a dialog and allows the user to specify a range of dates. When the user sets the values, the dialog is hidden and the date range is set as the value of the popup.
The current date range is also displayed as the caption of the button.
| Constructor and Description |
|---|
DateFilterPopup()
Only shows a single button as its contents. When the button is clicked, it opens a dialog and allows the user to specify a range
of dates. When the user sets the values, the dialog is
hidden and the date range is set as the value of the popup.
|
| Modifier and Type | Method and Description |
|---|---|
void |
attach() |
void |
doSetValue(DateInterval value) |
com.vaadin.shared.ui.datefield.DateTimeResolution |
getResolution()
The desired resolution of this filter popup, defaults to DateTimeResolution.MINUTE.
|
DateInterval |
getValue() |
com.vaadin.ui.Component |
initContent() |
void |
setReadOnly(boolean readOnly) |
void |
setResolution(com.vaadin.shared.ui.datefield.DateTimeResolution value)
The desired resolution of this filter popup, defaults to DateTimeResolution.MINUTE.
|
public DateFilterPopup()
Only shows a single button as its contents. When the button is clicked, it opens a dialog and allows the user to specify a range of dates. When the user sets the values, the dialog is hidden and the date range is set as the value of the popup.
The current date range is also displayed as the caption of the button.
public com.vaadin.shared.ui.datefield.DateTimeResolution getResolution()
The desired resolution of this filter popup, defaults to DateTimeResolution.MINUTE.
public void setResolution(com.vaadin.shared.ui.datefield.DateTimeResolution value)
The desired resolution of this filter popup, defaults to DateTimeResolution.MINUTE.
public void doSetValue(DateInterval value)
public DateInterval getValue()
public com.vaadin.ui.Component initContent()
public void attach()
public void setReadOnly(boolean readOnly)