|
||||||||||
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.Label
com.google.gwt.widgetideas.datepicker.client.impl.DatePickerCell
public class DatePickerCell
Public class DatePickerCell is being used by DatePicker class to keep the labels of controls and dates in the grid. It has the facility to attach and retrieve integer type and value fields. The type and value fields could be used by DatePicker to attach the type and specific nature of actions on click.
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface com.google.gwt.user.client.ui.HasHorizontalAlignment |
---|
com.google.gwt.user.client.ui.HasHorizontalAlignment.HorizontalAlignmentConstant |
Field Summary |
---|
Fields inherited from interface com.google.gwt.user.client.ui.HasHorizontalAlignment |
---|
ALIGN_CENTER, ALIGN_LEFT, ALIGN_RIGHT |
Constructor Summary | |
---|---|
DatePickerCell()
Default constructor. |
|
DatePickerCell(java.lang.String text)
Constructor of DatePickerCell. |
|
DatePickerCell(java.lang.String text,
int type,
int value)
Constructor of DatePickerCell. |
Method Summary | |
---|---|
java.lang.Object |
clone()
Creates a clone of the DatePickerCell object. |
void |
setType(int type)
Sets type of the DatePickerCell. |
void |
setValue(int value)
Sets value of the DatePickerCell. |
int |
type()
Gets the type of the DatePickerCell. |
int |
value()
Gets the value of the DatePickerCell. |
Methods inherited from class com.google.gwt.user.client.ui.Label |
---|
addClickListener, addMouseListener, addMouseWheelListener, getHorizontalAlignment, getText, getWordWrap, onBrowserEvent, removeClickListener, removeMouseListener, removeMouseWheelListener, setHorizontalAlignment, setText, setWordWrap |
Methods inherited from class com.google.gwt.user.client.ui.Widget |
---|
doAttachChildren, doDetachChildren, getParent, isAttached, onAttach, onDetach, onLoad, onUnload, removeFromParent, setElement |
Methods inherited from class com.google.gwt.user.client.ui.UIObject |
---|
addStyleDependentName, addStyleName, getAbsoluteLeft, getAbsoluteTop, getElement, getOffsetHeight, getOffsetWidth, getStyleElement, getStyleName, getStyleName, getStylePrimaryName, getStylePrimaryName, getTitle, isVisible, isVisible, removeStyleDependentName, removeStyleName, setHeight, setPixelSize, setSize, setStyleName, setStyleName, setStyleName, setStylePrimaryName, setStylePrimaryName, setTitle, setVisible, setVisible, setWidth, sinkEvents, toString, unsinkEvents |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public DatePickerCell()
public DatePickerCell(java.lang.String text)
text
- - string to be set to the labelpublic DatePickerCell(java.lang.String text, int type, int value)
text
- - string to be set to the labeltype
- - type to be associated to the labelvalue
- - value to be associated to the labelMethod Detail |
---|
public java.lang.Object clone()
clone
in class java.lang.Object
public void setType(int type)
type
- - int indicating the type of the objectpublic void setValue(int value)
value
- - int indicating the value of the objectpublic int type()
public int value()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |