Interface TethysUIDateRangeSelector
- All Superinterfaces:
OceanusEventRegistrar.OceanusEventProvider<TethysUIEvent>,TethysUIComponent
- All Known Implementing Classes:
TethysUICoreDateRangeSelector
public interface TethysUIDateRangeSelector
extends OceanusEventRegistrar.OceanusEventProvider<TethysUIEvent>, TethysUIComponent
DateRange Selector.
-
Method Summary
Modifier and TypeMethodDescriptionvoidCreate SavePoint.getRange()Obtain selected DateRange.booleanIs the panel visible?voidlockPeriod(boolean isLocked) Lock period.voidRestore SavePoint.voidSet the locale.voidsetOverallRange(OceanusDateRange pRange) Set the overall range for the control.voidsetPeriod(OceanusDatePeriod pPeriod) Set period.voidsetSelection(TethysUIDateRangeSelector pSource) Copy date selection from other box.Methods inherited from interface io.github.tonywasher.joceanus.oceanus.event.OceanusEventRegistrar.OceanusEventProvider
getEventRegistrarMethods inherited from interface io.github.tonywasher.joceanus.tethys.api.base.TethysUIComponent
getBorderPadding, getBorderTitle, getId, getNode, getUnderlying, setBorderPadding, setBorderTitle, setEnabled, setPreferredHeight, setPreferredWidth, setVisible
-
Method Details
-
isVisible
boolean isVisible()Is the panel visible?- Returns:
- true/false
-
getRange
OceanusDateRange getRange()Obtain selected DateRange.- Returns:
- the selected date range
-
setOverallRange
Set the overall range for the control.- Parameters:
pRange- the range
-
setLocale
Set the locale.- Parameters:
pLocale- the locale
-
setPeriod
Set period.- Parameters:
pPeriod- the new period
-
lockPeriod
void lockPeriod(boolean isLocked) Lock period.- Parameters:
isLocked- true/false.
-
setSelection
Copy date selection from other box.- Parameters:
pSource- the source box
-
createSavePoint
void createSavePoint()Create SavePoint. -
restoreSavePoint
void restoreSavePoint()Restore SavePoint.
-