|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.awt.Component
java.awt.Container
java.awt.Panel
com.ibm.calendar.ToDoPlugin
public class ToDoPlugin
ToDoPlugin bean let the user to determin the date and time of a taske and return it to the user in the form of (date + time + todoitem).
Vector
,
Serialized FormNested Class Summary |
---|
Nested classes/interfaces inherited from class java.awt.Panel |
---|
java.awt.Panel.AccessibleAWTPanel |
Nested classes/interfaces inherited from class java.awt.Container |
---|
java.awt.Container.AccessibleAWTContainer |
Nested classes/interfaces inherited from class java.awt.Component |
---|
java.awt.Component.AccessibleAWTComponent, java.awt.Component.BaselineResizeBehavior, java.awt.Component.BltBufferStrategy, java.awt.Component.FlipBufferStrategy |
Field Summary | |
---|---|
protected java.util.Vector |
aActionCanceledEventListener
|
protected java.util.Vector |
aActionDiscardEventListener
|
protected java.util.Vector |
aActionPerformedEventListener
|
protected java.beans.PropertyChangeSupport |
propertyChange
|
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 | |
---|---|
ToDoPlugin()
Constructor to ToDoPlugin. |
|
ToDoPlugin(java.awt.LayoutManager layout)
NotePlugin constructor. |
Method Summary | |
---|---|
void |
actionPerformed(java.awt.event.ActionEvent e)
Method to handle events for the ActionListener interface. |
void |
addActionCanceledEventListener(ActionCanceledEventListener newListener)
Adds an ActionCanceledEventListener to the listener list. |
void |
addActionDiscardEventListener(ActionDiscardEventListener newListener)
Adds an ActionDiscardEventListener to the listener list. |
void |
addActionPerformedEventListener(ActionPerformedEventListener newListener)
Adds an ActionPerformedEventListener to the listener list. |
void |
addPropertyChangeListener(java.beans.PropertyChangeListener listener)
Adds an PropertyChangeListener to the listener list. |
void |
cancelButton_ActionEvents()
The cancelButton_ActionEvents method excuted when cancelButton is pressed |
void |
changeTimeButton_ActionPerformed(java.awt.event.ActionEvent actionEvent)
The changeTimeButton_ActionPerformed method excuted when cancelButton is pressed |
void |
choice1_ItemEvent()
The choice1_ItemEvent method excuted when item selected |
void |
choice2_ItemEvent()
The choice2_ItemEvent method excuted when item selected |
void |
discardButton_ActionPerformed(java.awt.event.ActionEvent actionEvent)
Clear ToDo Plugin and Delete the Note From allToDoItems |
protected void |
fireOnActionCanceledEvent(ActionCanceledEvent e)
Method to support listener events. |
protected void |
fireOnActionDiscardEvent(ActionDiscardEvent e)
Method to support listener events. |
protected void |
fireOnActionPerformedEvent(ActionPerformedEvent e)
Method to support listener events. |
void |
firePropertyChange(java.lang.String propertyName,
java.lang.Object oldValue,
java.lang.Object newValue)
The firePropertyChange method was generated to support the propertyChange field. |
void |
focusGained(java.awt.event.FocusEvent e)
Method to handle events for the FocusListener interface. |
void |
focusLost(java.awt.event.FocusEvent e)
Method to handle events for the FocusListener interface. |
java.lang.String |
getAboutThisBean()
Gets the aboutThisBean property (java.lang.String) value. |
java.util.Vector |
getAllToDoItems()
Gets the allNoteItems property (java.util.Vector) value. |
protected java.beans.PropertyChangeSupport |
getPropertyChange()
Accessor for the propertyChange field. |
java.lang.String |
getSelectedDate()
Gets the selectedDate property (java.lang.String) value. |
java.lang.String |
getText()
Gets the text property (java.lang.String) value. |
void |
initPlugin()
Initialize The Plugin |
void |
itemStateChanged(java.awt.event.ItemEvent e)
Method to handle events for the ItemListener interface. |
void |
newToDoButton_ActionPerformed(java.awt.event.ActionEvent actionEvent)
Clears The ToDo Plugin |
void |
noteText_FocusGained(java.awt.event.FocusEvent focusEvent)
Set the Time Choice boxes To Enabled False |
void |
paint(java.awt.Graphics g)
Draw The ToDo Plugin |
void |
removeActionCanceledEventListener(ActionCanceledEventListener newListener)
Removes an ActionCanceledEventListener to the listener list. |
void |
removeActionDiscardEventListener(ActionDiscardEventListener newListener)
Removes an ActionDiscardEventListener to the listener list. |
void |
removeActionPerformedEventListener(ActionPerformedEventListener newListener)
Removes an ActionPerformedEventListener to the listener list. |
void |
removePropertyChangeListener(java.beans.PropertyChangeListener listener)
Removes an PropertyChangeListener to the listener list. |
void |
setAboutThisBean(java.lang.String aboutThisBean)
Sets the aboutThisBean property (java.lang.String) value. |
void |
setAllToDoItems(java.util.Vector allToDoItems)
Sets the allToDoItems property (java.util.Vector) value. |
void |
setInfo(java.util.Calendar c,
java.awt.Image i,
int x,
int y)
initialize the plugin data. |
void |
setSelectedDate(java.lang.String selectedDate)
Sets the selectedDate property (java.lang.String) value. |
void |
setText(java.lang.String text)
Sets the text property (java.lang.String) value. |
void |
updateButton_ActionPerformed(java.awt.event.ActionEvent actionEvent)
This method calls doOperation function to set the dayPlugin resultSelectedIntervalAsString property |
Methods inherited from class java.awt.Panel |
---|
addNotify, getAccessibleContext |
Methods inherited from class java.awt.Container |
---|
add, add, add, add, add, addContainerListener, addImpl, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getAlignmentX, getAlignmentY, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getInsets, getLayout, getListeners, getMaximumSize, getMinimumSize, getMousePosition, getPreferredSize, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, paramString, preferredSize, print, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, removeNotify, setComponentZOrder, setFocusCycleRoot, setFocusTraversalKeys, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setFont, setLayout, transferFocusBackward, transferFocusDownCycle, update, validate, validateTree |
Methods inherited from class java.awt.Component |
---|
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, contains, createImage, createImage, createVolatileImage, createVolatileImage, disable, disableEvents, dispatchEvent, enable, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBaseline, getBaselineResizeBehavior, getBounds, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getFontMetrics, getForeground, getGraphics, getGraphicsConfiguration, getHeight, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getSize, getToolkit, getTreeLock, getWidth, getX, getY, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isDoubleBuffered, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isOpaque, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, printAll, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processKeyEvent, processMouseEvent, processMouseMotionEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, repaint, repaint, repaint, repaint, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, reshape, resize, resize, setBackground, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setEnabled, setFocusable, setFocusTraversalKeysEnabled, setForeground, setIgnoreRepaint, setLocale, setLocation, setLocation, setMaximumSize, setMinimumSize, setName, setPreferredSize, setSize, setSize, setVisible, show, show, size, toString, transferFocus, transferFocusUpCycle |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected transient java.util.Vector aActionCanceledEventListener
protected transient java.util.Vector aActionPerformedEventListener
protected transient java.beans.PropertyChangeSupport propertyChange
protected transient java.util.Vector aActionDiscardEventListener
Constructor Detail |
---|
public ToDoPlugin()
public ToDoPlugin(java.awt.LayoutManager layout)
layout
- java.awt.LayoutManagerMethod Detail |
---|
public void actionPerformed(java.awt.event.ActionEvent e)
actionPerformed
in interface java.awt.event.ActionListener
e
- java.awt.event.ActionEventpublic void addActionCanceledEventListener(ActionCanceledEventListener newListener)
newListener
- The ActionCanceledEventListener to be addedActionCanceledEventListener
,
removeActionCanceledEventListener(com.ibm.calendar.events.ActionCanceledEventListener)
public void addActionDiscardEventListener(ActionDiscardEventListener newListener)
newListener
- The ActionDiscardEventListener to be addedActionDiscardEventListener
,
removeActionDiscardEventListener(com.ibm.calendar.events.ActionDiscardEventListener)
public void addActionPerformedEventListener(ActionPerformedEventListener newListener)
newListener
- The ActionPerformedEventListener to be addedActionPerformedEventListener
,
removeActionPerformedEventListener(com.ibm.calendar.events.ActionPerformedEventListener)
public void addPropertyChangeListener(java.beans.PropertyChangeListener listener)
addPropertyChangeListener
in class java.awt.Container
newListener
- The PropertyChangeListener to be addedcom.ibm.calendar.events.PropertyChangeListener
,
removePropertyChangeListener(java.beans.PropertyChangeListener)
public void cancelButton_ActionEvents()
public void changeTimeButton_ActionPerformed(java.awt.event.ActionEvent actionEvent)
actionEvent
- java.awt.event.ActionEventpublic void choice1_ItemEvent()
public void choice2_ItemEvent()
public void discardButton_ActionPerformed(java.awt.event.ActionEvent actionEvent)
actionEvent
- java.awt.event.ActionEventprotected void fireOnActionCanceledEvent(ActionCanceledEvent e)
e
- com.ibm.calendar.events.ActionCanceledEventprotected void fireOnActionDiscardEvent(ActionDiscardEvent e)
e
- com.ibm.calendar.events.ActionDiscardEventprotected void fireOnActionPerformedEvent(ActionPerformedEvent e)
e
- com.ibm.calendar.events.ActionPerformedEventpublic void firePropertyChange(java.lang.String propertyName, java.lang.Object oldValue, java.lang.Object newValue)
firePropertyChange
in class java.awt.Component
propertyName
- StringoldValue
- ObjectnewValue
- Objectpublic void focusGained(java.awt.event.FocusEvent e)
focusGained
in interface java.awt.event.FocusListener
e
- java.awt.event.FocusEventpublic void focusLost(java.awt.event.FocusEvent e)
focusLost
in interface java.awt.event.FocusListener
e
- java.awt.event.FocusEventpublic java.lang.String getAboutThisBean()
setAboutThisBean(java.lang.String)
public java.util.Vector getAllToDoItems()
#setAllNoteItems
protected java.beans.PropertyChangeSupport getPropertyChange()
public java.lang.String getSelectedDate()
setSelectedDate(java.lang.String)
public java.lang.String getText()
setText(java.lang.String)
public void initPlugin()
initPlugin
in interface Plugin
public void itemStateChanged(java.awt.event.ItemEvent e)
itemStateChanged
in interface java.awt.event.ItemListener
e
- java.awt.event.ItemEventpublic void newToDoButton_ActionPerformed(java.awt.event.ActionEvent actionEvent)
actionEvent
- java.awt.event.ActionEventpublic void noteText_FocusGained(java.awt.event.FocusEvent focusEvent)
focusEvent
- java.awt.event.FocusEventpublic void paint(java.awt.Graphics g)
paint
in class java.awt.Container
g
- java.awt.Graphicspublic void removeActionCanceledEventListener(ActionCanceledEventListener newListener)
newListener
- The ActionCanceledEventListener to be removedActionCanceledEventListener
,
addActionCanceledEventListener(com.ibm.calendar.events.ActionCanceledEventListener)
public void removeActionDiscardEventListener(ActionDiscardEventListener newListener)
newListener
- The ActionDiscardEventListener to be removedActionDiscardEventListener
,
addActionDiscardEventListener(com.ibm.calendar.events.ActionDiscardEventListener)
public void removeActionPerformedEventListener(ActionPerformedEventListener newListener)
newListener
- The ActionPerformedEventListener to be removedActionPerformedEventListener
,
addActionPerformedEventListener(com.ibm.calendar.events.ActionPerformedEventListener)
public void removePropertyChangeListener(java.beans.PropertyChangeListener listener)
removePropertyChangeListener
in class java.awt.Component
newListener
- The PropertyChangeListener to be removedcom.ibm.calendar.events.PropertyChangeListener
,
addPropertyChangeListener(java.beans.PropertyChangeListener)
public void setAboutThisBean(java.lang.String aboutThisBean)
aboutThisBean
- The new value for the property.getAboutThisBean()
public void setAllToDoItems(java.util.Vector allToDoItems)
allToDoItems
- The new value for the property.getAllToDoItems()
public void setInfo(java.util.Calendar c, java.awt.Image i, int x, int y)
setInfo
in interface Plugin
C
- java.util.Calendari
- java.awt.Imagex
- inty
- intpublic void setSelectedDate(java.lang.String selectedDate)
selectedDate
- The new value for the property.getSelectedDate()
public void setText(java.lang.String text)
text
- The new value for the property.getText()
public void updateButton_ActionPerformed(java.awt.event.ActionEvent actionEvent)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |