public class LiCalendarPicker extends com.google.gwt.user.client.ui.Composite implements com.google.gwt.event.logical.shared.HasValueChangeHandlers<Date>
| Modifier and Type | Class and Description |
|---|---|
static class |
LiCalendarPicker.ViewType |
| Modifier and Type | Field and Description |
|---|---|
com.github.gwtbootstrap.client.ui.ButtonGroup |
buttonGroup |
com.github.gwtbootstrap.client.ui.NavLink |
buttonGroupLi |
com.github.gwtbootstrap.client.ui.NavLink |
dayViewTasksNavLink |
com.github.gwtbootstrap.client.ui.NavLink |
monthViewTasksNavLink |
com.github.gwtbootstrap.client.ui.NavLink |
weekViewTasksNavLink |
| Constructor and Description |
|---|
LiCalendarPicker() |
| Modifier and Type | Method and Description |
|---|---|
com.google.gwt.event.shared.HandlerRegistration |
addValueChangeHandler(com.google.gwt.event.logical.shared.ValueChangeHandler<Date> handler)
Registers handler that is called when the current date value changes.
|
void |
adjustDate(boolean back)
Adjust the date (back or to future) based on current view type
(day/week/month).
|
void |
clear() |
Date |
getCurrentDate() |
CalendarListContainer |
getListContainer() |
String |
getViewType() |
void |
init() |
void |
propagateDateChanges() |
void |
setCalendarView(TaskUtils.TaskView taskView) |
void |
setCurrentDate(Date currentDate) |
void |
setListContainer(CalendarListContainer listContainer) |
void |
setViewType(String viewType) |
claimElement, getWidget, initializeClaimedElement, initWidget, isAttached, onAttach, onBrowserEvent, onDetach, render, render, resolvePotentialElement, setWidgetaddAttachHandler, addBitlessDomHandler, addDomHandler, addHandler, asWidget, asWidgetOrNull, createHandlerManager, delegateEvent, doAttachChildren, doDetachChildren, fireEvent, getHandlerCount, getLayoutData, getParent, isOrWasAttached, onLoad, onUnload, removeFromParent, setLayoutData, sinkEvents, unsinkEventsaddStyleDependentName, addStyleName, ensureDebugId, ensureDebugId, ensureDebugId, getAbsoluteLeft, getAbsoluteTop, getElement, getOffsetHeight, getOffsetWidth, getStyleElement, getStyleName, getStyleName, getStylePrimaryName, getStylePrimaryName, getTitle, isVisible, isVisible, onEnsureDebugId, removeStyleDependentName, removeStyleName, setElement, setElement, setHeight, setPixelSize, setSize, setStyleDependentName, setStyleName, setStyleName, setStyleName, setStyleName, setStylePrimaryName, setStylePrimaryName, setTitle, setVisible, setVisible, setWidth, sinkBitlessEvent, toStringpublic com.github.gwtbootstrap.client.ui.NavLink dayViewTasksNavLink
public com.github.gwtbootstrap.client.ui.NavLink weekViewTasksNavLink
public com.github.gwtbootstrap.client.ui.NavLink monthViewTasksNavLink
public com.github.gwtbootstrap.client.ui.NavLink buttonGroupLi
public com.github.gwtbootstrap.client.ui.ButtonGroup buttonGroup
public void init()
public void clear()
public CalendarListContainer getListContainer()
public void setListContainer(CalendarListContainer listContainer)
public void setCalendarView(TaskUtils.TaskView taskView)
public String getViewType()
public void setViewType(String viewType)
public Date getCurrentDate()
public void setCurrentDate(Date currentDate)
public void adjustDate(boolean back)
back - flag that indicates if the date should be adjusted to future
(+) or back (-)public void propagateDateChanges()
public com.google.gwt.event.shared.HandlerRegistration addValueChangeHandler(com.google.gwt.event.logical.shared.ValueChangeHandler<Date> handler)
addValueChangeHandler in interface com.google.gwt.event.logical.shared.HasValueChangeHandlers<Date>Copyright © 2001–2016 JBoss by Red Hat. All rights reserved.