com.bradrydzewski.gwt.calendar.client.dayview
Class AppointmentWidget

java.lang.Object
  extended by com.google.gwt.user.client.ui.UIObject
      extended by com.google.gwt.user.client.ui.Widget
          extended by com.google.gwt.user.client.ui.Panel
              extended by com.google.gwt.user.client.ui.ComplexPanel
                  extended by com.google.gwt.user.client.ui.FlowPanel
                      extended by com.bradrydzewski.gwt.calendar.client.dayview.AppointmentWidget
All Implemented Interfaces:
com.google.gwt.event.logical.shared.HasAttachHandlers, com.google.gwt.event.shared.HasHandlers, com.google.gwt.user.client.EventListener, com.google.gwt.user.client.ui.HasVisibility, com.google.gwt.user.client.ui.HasWidgets, com.google.gwt.user.client.ui.HasWidgets.ForIsWidget, com.google.gwt.user.client.ui.IndexedPanel, com.google.gwt.user.client.ui.IndexedPanel.ForIsWidget, com.google.gwt.user.client.ui.InsertPanel, com.google.gwt.user.client.ui.InsertPanel.ForIsWidget, com.google.gwt.user.client.ui.IsWidget, Iterable<com.google.gwt.user.client.ui.Widget>

public class AppointmentWidget
extends com.google.gwt.user.client.ui.FlowPanel


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
 
Nested classes/interfaces inherited from interface com.google.gwt.user.client.ui.InsertPanel
com.google.gwt.user.client.ui.InsertPanel.ForIsWidget
 
Nested classes/interfaces inherited from interface com.google.gwt.user.client.ui.HasWidgets
com.google.gwt.user.client.ui.HasWidgets.ForIsWidget
 
Field Summary
 
Fields inherited from class com.google.gwt.user.client.ui.UIObject
DEBUG_ID_PREFIX
 
Constructor Summary
AppointmentWidget()
           
 
Method Summary
 int compareTo(AppointmentWidget appt)
           
 void formatTimeline(float top, float height)
           
 Appointment getAppointment()
           
 com.google.gwt.user.client.ui.Widget getBody()
           
 String getDescription()
           
 Date getEnd()
           
 com.google.gwt.user.client.ui.Widget getHeader()
           
 float getHeight()
           
 float getLeft()
           
 com.google.gwt.user.client.ui.Widget getMoveHandle()
           
 com.google.gwt.user.client.ui.Widget getResizeHandle()
           
 Date getStart()
           
 String getTitle()
           
 float getTop()
           
 float getWidth()
           
 boolean isMultiDay()
           
 boolean isSelected()
           
 void setAppointment(Appointment appointment)
           
 void setDescription(String description)
           
 void setEnd(Date end)
           
 void setHeight(float height)
           
 void setLeft(float left)
           
 void setMultiDay(boolean isMultiDay)
           
 void setStart(Date start)
           
 void setTitle(String title)
           
 void setTop(float top)
           
 void setWidth(float width)
           
 
Methods inherited from class com.google.gwt.user.client.ui.FlowPanel
add, clear, insert, insert
 
Methods inherited from class com.google.gwt.user.client.ui.ComplexPanel
add, adjustIndex, checkIndexBoundsForAccess, checkIndexBoundsForInsertion, getChildren, getWidget, getWidgetCount, getWidgetIndex, getWidgetIndex, insert, insert, iterator, remove, remove
 
Methods inherited from class com.google.gwt.user.client.ui.Panel
add, adopt, adopt, disown, doAttachChildren, doDetachChildren, orphan, remove
 
Methods inherited from class com.google.gwt.user.client.ui.Widget
addAttachHandler, addBitlessDomHandler, addDomHandler, addHandler, asWidget, asWidgetOrNull, createHandlerManager, delegateEvent, fireEvent, getHandlerCount, getLayoutData, getParent, isAttached, isOrWasAttached, onAttach, onBrowserEvent, onDetach, onLoad, onUnload, removeFromParent, setLayoutData, sinkEvents
 
Methods inherited from class com.google.gwt.user.client.ui.UIObject
addStyleDependentName, addStyleName, ensureDebugId, ensureDebugId, ensureDebugId, getAbsoluteLeft, getAbsoluteTop, getElement, getOffsetHeight, getOffsetWidth, getStyleElement, getStyleName, getStyleName, getStylePrimaryName, getStylePrimaryName, isVisible, isVisible, onEnsureDebugId, removeStyleDependentName, removeStyleName, resolvePotentialElement, setElement, setElement, setHeight, setPixelSize, setSize, setStyleDependentName, setStyleName, setStyleName, setStyleName, setStyleName, setStylePrimaryName, setStylePrimaryName, setVisible, setVisible, setWidth, sinkBitlessEvent, toString, unsinkEvents
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.google.gwt.user.client.ui.InsertPanel.ForIsWidget
add
 
Methods inherited from interface com.google.gwt.user.client.ui.IndexedPanel.ForIsWidget
getWidgetIndex
 
Methods inherited from interface com.google.gwt.user.client.ui.IndexedPanel
getWidget, getWidgetCount, getWidgetIndex, remove
 

Constructor Detail

AppointmentWidget

public AppointmentWidget()
Method Detail

getBody

public com.google.gwt.user.client.ui.Widget getBody()

getHeader

public com.google.gwt.user.client.ui.Widget getHeader()

getStart

public Date getStart()

setStart

public void setStart(Date start)

getEnd

public Date getEnd()

setEnd

public void setEnd(Date end)

isSelected

public boolean isSelected()

getTop

public float getTop()

setTop

public void setTop(float top)

getLeft

public float getLeft()

setLeft

public void setLeft(float left)

getWidth

public float getWidth()

setWidth

public void setWidth(float width)

getHeight

public float getHeight()

setHeight

public void setHeight(float height)

getTitle

public String getTitle()
Overrides:
getTitle in class com.google.gwt.user.client.ui.UIObject

setTitle

public void setTitle(String title)
Overrides:
setTitle in class com.google.gwt.user.client.ui.UIObject

getDescription

public String getDescription()

setDescription

public void setDescription(String description)

formatTimeline

public void formatTimeline(float top,
                           float height)

compareTo

public int compareTo(AppointmentWidget appt)

getMoveHandle

public com.google.gwt.user.client.ui.Widget getMoveHandle()

getResizeHandle

public com.google.gwt.user.client.ui.Widget getResizeHandle()

isMultiDay

public boolean isMultiDay()

setMultiDay

public void setMultiDay(boolean isMultiDay)

getAppointment

public Appointment getAppointment()

setAppointment

public void setAppointment(Appointment appointment)


Copyright © 2012. All Rights Reserved.