|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.google.gwt.user.client.ui.UIObject
com.google.gwt.user.client.ui.Widget
com.google.gwt.user.client.ui.Composite
com.google.gwt.widgetideas.datepicker.client.CalendarView
com.google.gwt.widgetideas.datepicker.client.SimpleCalendarView
public class SimpleCalendarView
Simple calendar view.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class com.google.gwt.user.client.ui.UIObject |
---|
com.google.gwt.user.client.ui.UIObject.DebugIdImpl, com.google.gwt.user.client.ui.UIObject.DebugIdImplEnabled |
Field Summary |
---|
Fields inherited from class com.google.gwt.user.client.ui.UIObject |
---|
DEBUG_ID_PREFIX |
Method Summary | |
---|---|
void |
addDateStyle(java.util.Date date,
java.lang.String styleName)
Adds a stylename to the cell of the supplied date. |
protected void |
addMonths(int numMonths)
|
protected MyDatePicker |
getDatePicker()
|
java.util.Date |
getFirstVisibleDate()
Returns the first date that is currently shown by the calendar. |
java.util.Date |
getLastVisibleDate()
Returns the last date that is currently shown by the calendar. |
CalendarModel |
getModel()
|
boolean |
isDateEnabled(java.util.Date d)
|
void |
refresh()
Refresh the component. |
void |
removeStyleName(java.util.Date date,
java.lang.String styleName)
Removes a stylename from the cell of the supplied date. |
void |
setDateEnabled(java.util.Date date,
boolean enabled)
Enables or Disables a particular date. |
void |
setup()
Set up the component. |
Methods inherited from class com.google.gwt.widgetideas.datepicker.client.CalendarView |
---|
addDateStyles, isVisible, setEnabledDates, updateHighlightedDate |
Methods inherited from class com.google.gwt.user.client.ui.Composite |
---|
getElement, getWidget, initWidget, isAttached, onAttach, onDetach, setWidget |
Methods inherited from class com.google.gwt.user.client.ui.Widget |
---|
doAttachChildren, doDetachChildren, getParent, onBrowserEvent, onLoad, onUnload, removeFromParent, setElement |
Methods inherited from class com.google.gwt.user.client.ui.UIObject |
---|
addStyleDependentName, addStyleName, ensureDebugId, ensureDebugId, getAbsoluteLeft, getAbsoluteTop, getOffsetHeight, getOffsetWidth, getStyleElement, getStyleName, getStyleName, getStylePrimaryName, getStylePrimaryName, getTitle, isVisible, isVisible, onEnsureDebugId, removeStyleDependentName, removeStyleName, setHeight, setPixelSize, setSize, setStyleName, setStyleName, setStyleName, setStylePrimaryName, setStylePrimaryName, setTitle, setVisible, setVisible, setWidth, sinkEvents, toString, unsinkEvents |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Method Detail |
---|
public void addDateStyle(java.util.Date date, java.lang.String styleName)
CalendarView
addDateStyle
in class CalendarView
date
- date that will have the supplied style addedstyleName
- style name to addpublic java.util.Date getFirstVisibleDate()
CalendarView
getFirstVisibleDate
in class CalendarView
public java.util.Date getLastVisibleDate()
CalendarView
getLastVisibleDate
in class CalendarView
public boolean isDateEnabled(java.util.Date d)
isDateEnabled
in class CalendarView
public void refresh()
refresh
in class CalendarView
public void removeStyleName(java.util.Date date, java.lang.String styleName)
CalendarView
removeStyleName
in class CalendarView
date
- date that will have the supplied style addedstyleName
- style name to removepublic void setDateEnabled(java.util.Date date, boolean enabled)
CalendarView
setDateEnabled
in class CalendarView
date
- date to enable or disableenabled
- true for enabled, false for disabledpublic void setup()
public CalendarModel getModel()
protected void addMonths(int numMonths)
protected MyDatePicker getDatePicker()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |