public class MonthEventLabel extends com.google.gwt.user.client.ui.HTML implements HasTooltipKey
com.google.gwt.user.client.ui.UIObject.DebugIdImpl, com.google.gwt.user.client.ui.UIObject.DebugIdImplEnabled
Constructor and Description |
---|
MonthEventLabel()
Default constructor
|
Modifier and Type | Method and Description |
---|---|
CalendarEvent |
getCalendarEvent() |
Object |
getTooltipKey()
Gets the key associated for the Widget implementing this interface.
|
boolean |
isTimeSpecificEvent()
Is the event bound to a specific time
|
void |
setCalendar(VCalendar calendar)
Set the Calendar instance this label belongs to
|
void |
setCalendarEvent(CalendarEvent e) |
void |
setCaption(String caption)
Set the caption of the event label
|
void |
setEventIndex(int index)
Set the (server side) index of the event
|
void |
setHTML(String html) |
void |
setTime(Date date)
Set the time of the event label
|
void |
setTimeSpecificEvent(boolean timeSpecificEvent)
Is the event bound to a specific time
|
getHTML, getTextOrHtml, setHTML, setHTML, setHTML, wrap
addClickHandler, addClickListener, addDoubleClickHandler, addDragEndHandler, addDragEnterHandler, addDragHandler, addDragLeaveHandler, addDragOverHandler, addDragStartHandler, addDropHandler, addGestureChangeHandler, addGestureEndHandler, addGestureStartHandler, addMouseDownHandler, addMouseListener, addMouseMoveHandler, addMouseOutHandler, addMouseOverHandler, addMouseUpHandler, addMouseWheelHandler, addMouseWheelListener, addTouchCancelHandler, addTouchEndHandler, addTouchMoveHandler, addTouchStartHandler, asEditor, getDirection, getText, getTextDirection, removeClickListener, removeMouseListener, removeMouseWheelListener, setDirection, setText, setText
getAutoHorizontalAlignment, getDirectionEstimator, getHorizontalAlignment, getWordWrap, setAutoHorizontalAlignment, setDirectionEstimator, setDirectionEstimator, setHorizontalAlignment, setWordWrap, updateHorizontalAlignment
addAttachHandler, addBitlessDomHandler, addDomHandler, addHandler, asWidget, asWidgetOrNull, createHandlerManager, delegateEvent, doAttachChildren, doDetachChildren, fireEvent, getHandlerCount, getLayoutData, getParent, isAttached, isOrWasAttached, onAttach, onBrowserEvent, onDetach, onLoad, onUnload, removeFromParent, setLayoutData, sinkEvents, unsinkEvents
addStyleDependentName, addStyleName, ensureDebugId, ensureDebugId, ensureDebugId, getAbsoluteLeft, getAbsoluteTop, getElement, getOffsetHeight, getOffsetWidth, getStyleElement, getStyleName, getStyleName, getStylePrimaryName, getStylePrimaryName, getTitle, isVisible, isVisible, onEnsureDebugId, removeStyleDependentName, removeStyleName, resolvePotentialElement, setElement, setElement, setHeight, setPixelSize, setSize, setStyleDependentName, setStyleName, setStyleName, setStyleName, setStyleName, setStylePrimaryName, setStylePrimaryName, setTitle, setVisible, setVisible, setWidth, sinkBitlessEvent, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
public void setCalendarEvent(CalendarEvent e)
public void setTime(Date date)
date
- The date object that specifies the timepublic void setCaption(String caption)
caption
- The caption string, can be HTML if
VCalendar.isEventCaptionAsHtml()
is truepublic void setEventIndex(int index)
index
- The integer indexpublic void setCalendar(VCalendar calendar)
calendar
- The calendar instancepublic boolean isTimeSpecificEvent()
public void setTimeSpecificEvent(boolean timeSpecificEvent)
timeSpecificEvent
- True if the event is bound to a time, false if it is only
bound to the daypublic void setHTML(String html)
setHTML
in interface com.google.gwt.user.client.ui.HasHTML
setHTML
in class com.google.gwt.user.client.ui.HTML
public Object getTooltipKey()
HasTooltipKey
getTooltipKey
in interface HasTooltipKey
public CalendarEvent getCalendarEvent()
Copyright © 2016 Vaadin Ltd. All rights reserved.