All Packages Class Hierarchy This Package Previous Next Index
Class com.bulletproof.gui.CalendarPicker
java.lang.Object
|
+----com.bulletproof.gui.Component
|
+----com.bulletproof.gui.CalendarPicker
- public class CalendarPicker
- extends Component
- implements ActionListener
Class CalendarPicker represents a class that allows a date to be selected.
-
CalendarPicker()
- Creates a Date Picker Panel.
-
actionPerformed(ActionEvent)
-
-
addActionListener(ActionListener)
-
-
getDate()
- Get the currently displayed date.
-
getDateString()
- Get the currently displayed date in the correct String fomat
-
getMinimumSize()
- Gets the minimum size of this component.
-
paint(Graphics)
-
Paints the component.
-
processMouseEvent(MouseEvent)
-
Processes mouse events occurring on this component by
dispatching them to any registered MouseListener objects.
-
removeActionListener(ActionListener)
-
-
setDate(Date)
- Set the currently displayed date.
-
setDays(String[])
- Set the text names of the days.
-
setMonths(String[])
- Set the text names of the months.
CalendarPicker
public CalendarPicker()
- Creates a Date Picker Panel.
setMonths
public static void setMonths(String monthValues[])
- Set the text names of the months.
- Parameters:
- months - the text names of the months.
setDays
public static void setDays(String dayValues[])
- Set the text names of the days.
- Parameters:
- days - the text names of the days.
setDate
public void setDate(Date date)
- Set the currently displayed date.
- Parameters:
- date - the current date to select.
getDate
public Date getDate()
- Get the currently displayed date.
- Returns:
- the currently displayed date.
getDateString
public String getDateString()
- Get the currently displayed date in the correct String fomat
- Returns:
- the currently displayed date.
paint
public void paint(Graphics g)
- Paints the component.
- Overrides:
- paint in class Component
processMouseEvent
public synchronized void processMouseEvent(MouseEvent me)
- Processes mouse events occurring on this component by
dispatching them to any registered MouseListener objects.
- Overrides:
- processMouseEvent in class Component
actionPerformed
public void actionPerformed(ActionEvent e)
addActionListener
public void addActionListener(ActionListener al)
removeActionListener
public void removeActionListener(ActionListener al)
getMinimumSize
public Dimension getMinimumSize()
- Gets the minimum size of this component.
- Overrides:
- getMinimumSize in class Component
All Packages Class Hierarchy This Package Previous Next Index