|
|||||||||
| Home >> All >> org >> schooltool >> client >> gui >> [ widgets overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
org.schooltool.client.gui.widgets
Class DateComboBox

java.lang.Objectjava.awt.Component
java.awt.Container
javax.swing.JComponent
javax.swing.JComboBox
org.schooltool.client.gui.widgets.DateComboBox
- All Implemented Interfaces:
- javax.accessibility.Accessible, java.awt.event.ActionListener, java.util.EventListener, java.awt.image.ImageObserver, java.awt.ItemSelectable, javax.swing.event.ListDataListener, java.awt.MenuContainer, java.io.Serializable
- public class DateComboBox
- extends javax.swing.JComboBox
- Version:
- 1.0 11/02/2000
| Nested Class Summary | |
(package private) class |
DateComboBox.DatePopup
|
(package private) class |
DateComboBox.MetalDateComboBoxUI
|
(package private) class |
DateComboBox.MotifDateComboBoxUI
|
(package private) class |
DateComboBox.WindowsDateComboBoxUI
|
| Nested classes inherited from class javax.swing.JComboBox |
javax.swing.JComboBox.AccessibleJComboBox, javax.swing.JComboBox.KeySelectionManager |
| Nested classes inherited from class javax.swing.JComponent |
javax.swing.JComponent.AccessibleJComponent |
| Nested classes inherited from class java.awt.Container |
java.awt.Container.AccessibleAWTContainer |
| Nested classes inherited from class java.awt.Component |
java.awt.Component.AccessibleAWTComponent, java.awt.Component.BltBufferStrategy, java.awt.Component.FlipBufferStrategy |
| Field Summary | |
protected java.text.SimpleDateFormat |
dateFormat
|
protected java.util.Date |
dateObject
|
private java.util.Vector |
listeners
|
| Fields inherited from class javax.swing.JComboBox |
actionCommand, dataModel, editor, isEditable, keySelectionManager, lightWeightPopupEnabled, maximumRowCount, renderer, selectedItemReminder |
| Fields inherited from class javax.swing.JComponent |
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW |
| Fields inherited from class java.awt.Container |
|
| Fields inherited from class java.awt.Component |
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT |
| Fields inherited from interface java.awt.image.ImageObserver |
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
| Constructor Summary | |
DateComboBox()
|
|
DateComboBox(boolean setEmpty)
|
|
DateComboBox(java.util.Date dateObject)
|
|
| Method Summary | |
void |
addDateComboBoxListener(org.schooltool.client.gui.widgets.widgetevents.DateComboBoxListener listener)
|
java.text.SimpleDateFormat |
getDateFormat()
|
java.util.Date |
getDateObject()
Getter for property dateObject. |
java.util.Date |
getSelectedDate()
|
static void |
main(java.lang.String[] args)
|
protected void |
notifyActionOccurred(org.schooltool.client.gui.widgets.widgetevents.DateComboBoxEvent event)
|
void |
removeDateComboBoxListener(org.schooltool.client.gui.widgets.widgetevents.DateComboBoxListener listener)
|
void |
setDateFormat(java.text.SimpleDateFormat dateFormat)
|
void |
setDateObject(java.util.Date value)
Setter for property dateObject. |
void |
setSelectedDate(java.util.Date value)
|
void |
setSelectedDate(java.lang.String value)
|
void |
setSelectedItem(java.lang.Object item)
Forces combo box to select given item |
void |
updateUI()
This method sets this comboBox's UI to the UIManager's default for the current look and feel. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
listeners
private java.util.Vector listeners
dateObject
protected java.util.Date dateObject
dateFormat
protected java.text.SimpleDateFormat dateFormat
| Constructor Detail |
DateComboBox
public DateComboBox()
DateComboBox
public DateComboBox(boolean setEmpty)
DateComboBox
public DateComboBox(java.util.Date dateObject)
| Method Detail |
addDateComboBoxListener
public void addDateComboBoxListener(org.schooltool.client.gui.widgets.widgetevents.DateComboBoxListener listener)
removeDateComboBoxListener
public void removeDateComboBoxListener(org.schooltool.client.gui.widgets.widgetevents.DateComboBoxListener listener)
notifyActionOccurred
protected void notifyActionOccurred(org.schooltool.client.gui.widgets.widgetevents.DateComboBoxEvent event)
setDateFormat
public void setDateFormat(java.text.SimpleDateFormat dateFormat)
getDateFormat
public java.text.SimpleDateFormat getDateFormat()
getSelectedDate
public java.util.Date getSelectedDate()
setSelectedDate
public void setSelectedDate(java.lang.String value)
setSelectedDate
public void setSelectedDate(java.util.Date value)
setSelectedItem
public void setSelectedItem(java.lang.Object item)
- Description copied from class:
javax.swing.JComboBox - Forces combo box to select given item
updateUI
public void updateUI()
- Description copied from class:
javax.swing.JComboBox - This method sets this comboBox's UI to the UIManager's default for the
current look and feel.
main
public static void main(java.lang.String[] args)
getDateObject
public java.util.Date getDateObject()
- Getter for property dateObject.
setDateObject
public void setDateObject(java.util.Date value)
- Setter for property dateObject.
|
|||||||||
| Home >> All >> org >> schooltool >> client >> gui >> [ widgets overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC