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

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.itmill.toolkit.terminal.gwt.client.ui.IDateField
All Implemented Interfaces:
com.google.gwt.user.client.EventListener, com.google.gwt.user.client.ui.HasWidgets, com.google.gwt.user.client.ui.IndexedPanel, Paintable, Field, Iterable<com.google.gwt.user.client.ui.Widget>
Direct Known Subclasses:
IDateFieldCalendar, ITextualDate

public class IDateField
extends com.google.gwt.user.client.ui.FlowPanel
implements Paintable, Field


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
static String CLASSNAME
           
protected  ApplicationConnection client
           
protected  String currentLocale
           
protected  int currentResolution
           
protected  Date date
           
protected  DateTimeService dts
           
protected  boolean enabled
           
protected  String id
           
protected  boolean immediate
           
protected  boolean readonly
           
static int RESOLUTION_DAY
           
static int RESOLUTION_HOUR
           
static int RESOLUTION_MIN
           
static int RESOLUTION_MONTH
           
static int RESOLUTION_MSEC
           
static int RESOLUTION_SEC
           
static int RESOLUTION_YEAR
           
protected  Date showingDate
           
 
Fields inherited from class com.google.gwt.user.client.ui.UIObject
DEBUG_ID_PREFIX
 
Constructor Summary
IDateField()
           
 
Method Summary
 ApplicationConnection getClient()
           
 Date getCurrentDate()
           
 String getCurrentLocale()
           
 int getCurrentResolution()
           
 DateTimeService getDateTimeService()
           
 String getId()
           
 int getMilliseconds()
           
 Date getShowingDate()
           
 int getShowingMilliseconds()
           
 boolean isEnabled()
           
 boolean isImmediate()
           
 boolean isReadonly()
           
 void onBrowserEvent(com.google.gwt.user.client.Event event)
           
 void setCurrentDate(Date date)
           
 void setCurrentLocale(String currentLocale)
           
 void setCurrentResolution(int currentResolution)
           
 void setMilliseconds(int ms)
           
 void setShowingDate(Date date)
           
 void setShowingMilliseconds(int ms)
           
 void updateFromUIDL(UIDL uidl, ApplicationConnection client)
           
 
Methods inherited from class com.google.gwt.user.client.ui.FlowPanel
add, insert
 
Methods inherited from class com.google.gwt.user.client.ui.ComplexPanel
add, adjustIndex, checkIndexBoundsForAccess, checkIndexBoundsForInsertion, getChildren, getWidget, getWidgetCount, getWidgetIndex, insert, insert, iterator, remove, remove
 
Methods inherited from class com.google.gwt.user.client.ui.Panel
adopt, adopt, clear, 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, onEnsureDebugId, 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
 

Field Detail

CLASSNAME

public static final String CLASSNAME
See Also:
Constant Field Values

id

protected String id

client

protected ApplicationConnection client

immediate

protected boolean immediate

RESOLUTION_YEAR

public static final int RESOLUTION_YEAR
See Also:
Constant Field Values

RESOLUTION_MONTH

public static final int RESOLUTION_MONTH
See Also:
Constant Field Values

RESOLUTION_DAY

public static final int RESOLUTION_DAY
See Also:
Constant Field Values

RESOLUTION_HOUR

public static final int RESOLUTION_HOUR
See Also:
Constant Field Values

RESOLUTION_MIN

public static final int RESOLUTION_MIN
See Also:
Constant Field Values

RESOLUTION_SEC

public static final int RESOLUTION_SEC
See Also:
Constant Field Values

RESOLUTION_MSEC

public static final int RESOLUTION_MSEC
See Also:
Constant Field Values

currentResolution

protected int currentResolution

currentLocale

protected String currentLocale

readonly

protected boolean readonly

enabled

protected boolean enabled

date

protected Date date

showingDate

protected Date showingDate

dts

protected DateTimeService dts
Constructor Detail

IDateField

public IDateField()
Method Detail

onBrowserEvent

public void onBrowserEvent(com.google.gwt.user.client.Event event)
Specified by:
onBrowserEvent in interface com.google.gwt.user.client.EventListener
Overrides:
onBrowserEvent in class com.google.gwt.user.client.ui.Widget

updateFromUIDL

public void updateFromUIDL(UIDL uidl,
                           ApplicationConnection client)
Specified by:
updateFromUIDL in interface Paintable

getMilliseconds

public int getMilliseconds()

setMilliseconds

public void setMilliseconds(int ms)

getShowingMilliseconds

public int getShowingMilliseconds()

setShowingMilliseconds

public void setShowingMilliseconds(int ms)

getCurrentResolution

public int getCurrentResolution()

setCurrentResolution

public void setCurrentResolution(int currentResolution)

getCurrentLocale

public String getCurrentLocale()

setCurrentLocale

public void setCurrentLocale(String currentLocale)

getCurrentDate

public Date getCurrentDate()

setCurrentDate

public void setCurrentDate(Date date)

getShowingDate

public Date getShowingDate()

setShowingDate

public void setShowingDate(Date date)

isImmediate

public boolean isImmediate()

isReadonly

public boolean isReadonly()

isEnabled

public boolean isEnabled()

getDateTimeService

public DateTimeService getDateTimeService()

getId

public String getId()

getClient

public ApplicationConnection getClient()


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