com.itmill.toolkit.terminal.gwt.client.ui
Class ICalendarPanel

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.HTMLTable
                  extended by com.google.gwt.user.client.ui.FlexTable
                      extended by com.itmill.toolkit.terminal.gwt.client.ui.ICalendarPanel
All Implemented Interfaces:
com.google.gwt.user.client.EventListener, com.google.gwt.user.client.ui.HasWidgets, com.google.gwt.user.client.ui.MouseListener, com.google.gwt.user.client.ui.SourcesTableEvents, Iterable<com.google.gwt.user.client.ui.Widget>

public class ICalendarPanel
extends com.google.gwt.user.client.ui.FlexTable
implements com.google.gwt.user.client.ui.MouseListener


Nested Class Summary
static interface ICalendarPanel.CalendarEntrySource
           
 
Nested classes/interfaces inherited from class com.google.gwt.user.client.ui.FlexTable
com.google.gwt.user.client.ui.FlexTable.FlexCellFormatter
 
Nested classes/interfaces inherited from class com.google.gwt.user.client.ui.HTMLTable
com.google.gwt.user.client.ui.HTMLTable.CellFormatter, com.google.gwt.user.client.ui.HTMLTable.ColumnFormatter, com.google.gwt.user.client.ui.HTMLTable.RowFormatter
 
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
 
Constructor Summary
ICalendarPanel(IDateField parent)
           
ICalendarPanel(IDateField parent, Date min, Date max)
           
 
Method Summary
 ICalendarPanel.CalendarEntrySource getCalendarEntrySource()
           
 void onMouseDown(com.google.gwt.user.client.ui.Widget sender, int x, int y)
           
 void onMouseEnter(com.google.gwt.user.client.ui.Widget sender)
           
 void onMouseLeave(com.google.gwt.user.client.ui.Widget sender)
           
 void onMouseMove(com.google.gwt.user.client.ui.Widget sender, int x, int y)
           
 void onMouseUp(com.google.gwt.user.client.ui.Widget sender, int x, int y)
           
 void setCalendarEntrySource(ICalendarPanel.CalendarEntrySource entrySource)
           
 void setFocus(boolean focus)
          Sets focus to Calendar panel.
 void setLimits(Date min, Date max)
           
 void updateCalendar()
           
 
Methods inherited from class com.google.gwt.user.client.ui.FlexTable
addCell, getCellCount, getFlexCellFormatter, getRowCount, insertCell, insertRow, prepareCell, prepareRow, removeCell, removeCells, removeRow
 
Methods inherited from class com.google.gwt.user.client.ui.HTMLTable
addTableListener, checkCellBounds, checkRowBounds, clear, clearCell, createCell, getBodyElement, getCellFormatter, getCellPadding, getCellSpacing, getColumnFormatter, getDOMCellCount, getDOMCellCount, getDOMRowCount, getDOMRowCount, getEventTargetCell, getHTML, getRowFormatter, getText, getWidget, insertCells, internalClearCell, isCellPresent, iterator, onBrowserEvent, onEnsureDebugId, prepareColumn, remove, removeTableListener, setBorderWidth, setCellFormatter, setCellPadding, setCellSpacing, setColumnFormatter, setHTML, setRowFormatter, setText, setWidget
 
Methods inherited from class com.google.gwt.user.client.ui.Panel
add, adopt, adopt, disown, doAttachChildren, doDetachChildren, onLoad, onUnload, orphan
 
Methods inherited from class com.google.gwt.user.client.ui.Widget
getParent, isAttached, onAttach, onDetach, removeFromParent
 
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, getTitle, isVisible, isVisible, removeStyleDependentName, removeStyleName, setElement, setElement, setHeight, setPixelSize, setSize, setStyleName, setStyleName, setStyleName, setStylePrimaryName, setStylePrimaryName, setTitle, setWidth, setVisible, setVisible, sinkEvents, toString, unsinkEvents
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ICalendarPanel

public ICalendarPanel(IDateField parent)

ICalendarPanel

public ICalendarPanel(IDateField parent,
                      Date min,
                      Date max)
Method Detail

updateCalendar

public void updateCalendar()
Parameters:
forceRedraw - Build all from scratch, in case of e.g. locale changes

onMouseDown

public void onMouseDown(com.google.gwt.user.client.ui.Widget sender,
                        int x,
                        int y)
Specified by:
onMouseDown in interface com.google.gwt.user.client.ui.MouseListener

onMouseEnter

public void onMouseEnter(com.google.gwt.user.client.ui.Widget sender)
Specified by:
onMouseEnter in interface com.google.gwt.user.client.ui.MouseListener

onMouseLeave

public void onMouseLeave(com.google.gwt.user.client.ui.Widget sender)
Specified by:
onMouseLeave in interface com.google.gwt.user.client.ui.MouseListener

onMouseMove

public void onMouseMove(com.google.gwt.user.client.ui.Widget sender,
                        int x,
                        int y)
Specified by:
onMouseMove in interface com.google.gwt.user.client.ui.MouseListener

onMouseUp

public void onMouseUp(com.google.gwt.user.client.ui.Widget sender,
                      int x,
                      int y)
Specified by:
onMouseUp in interface com.google.gwt.user.client.ui.MouseListener

setLimits

public void setLimits(Date min,
                      Date max)

setCalendarEntrySource

public void setCalendarEntrySource(ICalendarPanel.CalendarEntrySource entrySource)

getCalendarEntrySource

public ICalendarPanel.CalendarEntrySource getCalendarEntrySource()

setFocus

public void setFocus(boolean focus)
Sets focus to Calendar panel.

Parameters:
focus -


Copyright © 2000-2009 IT Mill Ltd. All Rights Reserved.