Class DateFormulaPickerCell
<any>
net.datenwerke.gf.client.uiutils.date.DateFormulaPickerCell
public class DateFormulaPickerCell
extends <any>
-
Constructor Summary
ConstructorsConstructorDescriptionCreates a new date cell.DateFormulaPickerCell(DateCellAppearance appearance) Creates a new date cell. -
Method Summary
Modifier and TypeMethodDescriptionHandlerRegistrationaddCollapseHandler(CollapseHandler handler) HandlerRegistrationaddExpandHandler(ExpandHandler handler) voidcollapse(Context context, XElement parent) voidexpand(Context context, XElement parent, DateFormulaContainer value, <any> valueUpdater) voidfinishEditing(Element parent, DateFormulaContainer value, Object key, <any> valueUpdater) DatePickerReturns the cell's date picker.getMenu()booleanvoidrender(Context context, DateFormulaContainer value, JuelResultDto result, SafeHtmlBuilder sb) voidsetMenu(DwDateMenu menu) Sets the DateMenu instance to use in this cell when drawing a datepickervoidstartEditFormula(String formula)
-
Constructor Details
-
DateFormulaPickerCell
public DateFormulaPickerCell()Creates a new date cell. -
DateFormulaPickerCell
public DateFormulaPickerCell(DateCellAppearance appearance) Creates a new date cell.- Parameters:
appearance- the date cell appearance
-
-
Method Details
-
addCollapseHandler
public HandlerRegistration addCollapseHandler(CollapseHandler handler) -
addExpandHandler
public HandlerRegistration addExpandHandler(ExpandHandler handler) -
render
public void render(Context context, DateFormulaContainer value, JuelResultDto result, SafeHtmlBuilder sb) -
collapse
public void collapse(Context context, XElement parent) -
expand
public void expand(Context context, XElement parent, DateFormulaContainer value, <any> valueUpdater) -
getDatePicker
public DatePicker getDatePicker()Returns the cell's date picker.- Returns:
- the date picker
-
finishEditing
public void finishEditing(Element parent, DateFormulaContainer value, Object key, <any> valueUpdater) -
startEditFormula
-
getMenu
- Returns:
- the menu instance used to get the datepicker from
-
isExpanded
public boolean isExpanded()
-