|
||||||||||
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.DayPlugin
public class DayPlugin
Divides a day into several pieces of time and allows the selection of one or more time intervals.
java.util.Vector;
,
Serialized FormNested Class Summary |
---|
Nested classes/interfaces inherited from class java.awt.Component |
---|
java.awt.Component.BaselineResizeBehavior |
Field Summary |
---|
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 | |
---|---|
DayPlugin()
Constructor |
|
DayPlugin(java.awt.LayoutManager layout)
NotePlugin constructor comment. |
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 |
addActionPerformedEventListener(ActionPerformedEventListener newListener)
Adds an ActionPerformedEventListener to the listener list. |
void |
addInvalidPropertyValueListener(InvalidPropertyValueListener newListener)
Adds an InvalidPropertyValueListener to the listener list. |
void |
addPropertyChangeListener(java.beans.PropertyChangeListener listener)
Adds an PropertyChangeListener to the listener list. |
void |
cancelButton_ActionEvents()
To Hide the DayPlugin |
void |
firePropertyChange(java.lang.String propertyName,
java.lang.Object oldValue,
java.lang.Object newValue)
The firePropertyChange method was generated to support the propertyChange field. |
java.lang.String |
getAboutThisBean()
Gets the aboutThisBean property (java.lang.String) value. |
java.lang.String |
getInitialTimeInterval()
Gets the initialTimeInterval property (java.lang.String) value. |
java.lang.String |
getResultSelectedEndTime()
Gets the resultSelectedEndTime property (java.lang.String) value. |
java.lang.String |
getResultSelectedIntervalAsString()
Gets the resultSelectedIntervalAsString property (java.lang.String) value. |
java.lang.String |
getResultSelectedStartTime()
Gets the resultSelectedSatrtTime property (java.lang.String) value. |
boolean |
getTimeFormat24h()
Gets the timeFormat24h property (boolean) value. |
long |
getTimeStep()
Gets the timeStep property (long) value. |
void |
initPlugin()
used to initialize the init List in the DayPlugin |
void |
keyPressed(java.awt.event.KeyEvent e)
Method to handle events for the KeyListener interface. |
void |
keyReleased(java.awt.event.KeyEvent e)
Method to handle events for the KeyListener interface. |
void |
keyTyped(java.awt.event.KeyEvent e)
Method to handle events for the KeyListener interface. |
void |
mouseClicked(java.awt.event.MouseEvent e)
Method to handle events for the MouseListener interface. |
void |
mouseEntered(java.awt.event.MouseEvent e)
Method to handle events for the MouseListener interface. |
void |
mouseExited(java.awt.event.MouseEvent e)
Method to handle events for the MouseListener interface. |
void |
mousePressed(java.awt.event.MouseEvent e)
Method to handle events for the MouseListener interface. |
void |
mouseReleased(java.awt.event.MouseEvent e)
Method to handle events for the MouseListener interface. |
void |
paint(java.awt.Graphics g)
paint method is used to draw the dayPlugin. |
void |
removeActionCanceledEventListener(ActionCanceledEventListener newListener)
Removes an ActionCanceledEventListener to the listener list. |
void |
removeActionPerformedEventListener(ActionPerformedEventListener newListener)
Removes an ActionPerformedEventListener to the listener list. |
void |
removeInvalidPropertyValueListener(InvalidPropertyValueListener newListener)
Removes an InvalidPropertyValueListener 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 |
setInfo(java.util.Calendar c,
java.awt.Image i,
int x,
int y)
initialize the plugin data. |
void |
setInitialTimeInterval(java.lang.String initialTimeInterval)
Sets the initialTimeInterval property (java.lang.String) value. |
void |
setTimeFormat24h(boolean timeFormat24h)
Sets the timeFormat24h property (boolean) value. |
void |
setTimeStep(int timeStep)
Sets the timeStep property (long) value. |
void |
setTimeStep(long timeStep)
Sets the timeStep property (long) 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, 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, preferredSize, print, printComponents, remove, remove, removeAll, removeContainerListener, removeNotify, setComponentZOrder, setFocusCycleRoot, setFocusTraversalKeys, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setFont, setLayout, transferFocusBackward, transferFocusDownCycle, update, validate |
Methods inherited from class java.awt.Component |
---|
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, contains, contains, createImage, createImage, createVolatileImage, createVolatileImage, disable, dispatchEvent, enable, enable, enableInputMethods, 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, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, repaint, repaint, repaint, repaint, requestFocus, 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 |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public DayPlugin()
public DayPlugin(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 addActionPerformedEventListener(ActionPerformedEventListener newListener)
newListener
- The ActionPerformedEventListener to be addedActionPerformedEventListener
,
removeActionPerformedEventListener(com.ibm.calendar.events.ActionPerformedEventListener)
public void addInvalidPropertyValueListener(InvalidPropertyValueListener newListener)
newListener
- The InvalidPropertyValueListener to be addedInvalidPropertyValueListener
,
removeInvalidPropertyValueListener(com.ibm.calendar.events.InvalidPropertyValueListener)
public void addPropertyChangeListener(java.beans.PropertyChangeListener listener)
addPropertyChangeListener
in class java.awt.Container
listener
- The PropertyChangeListener to be addedcom.ibm.calendar.events.PropertyChangeListener
,
removePropertyChangeListener(java.beans.PropertyChangeListener)
public void cancelButton_ActionEvents()
public void firePropertyChange(java.lang.String propertyName, java.lang.Object oldValue, java.lang.Object newValue)
firePropertyChange
in class java.awt.Component
propertyName
- StringoldValue
- ObjectnewValue
- Objectpublic java.lang.String getAboutThisBean()
setAboutThisBean(java.lang.String)
public java.lang.String getInitialTimeInterval()
setInitialTimeInterval(java.lang.String)
public java.lang.String getResultSelectedEndTime()
public java.lang.String getResultSelectedIntervalAsString()
public java.lang.String getResultSelectedStartTime()
public boolean getTimeFormat24h()
setTimeFormat24h(boolean)
public long getTimeStep()
setTimeStep(int)
public void initPlugin()
initPlugin
in interface Plugin
public void keyPressed(java.awt.event.KeyEvent e)
keyPressed
in interface java.awt.event.KeyListener
e
- java.awt.event.KeyEvent
/* WARNING: THIS METHOD WILL BE REGENERATED.public void keyReleased(java.awt.event.KeyEvent e)
keyReleased
in interface java.awt.event.KeyListener
e
- java.awt.event.KeyEvent
/* WARNING: THIS METHOD WILL BE REGENERATED.public void keyTyped(java.awt.event.KeyEvent e)
keyTyped
in interface java.awt.event.KeyListener
e
- java.awt.event.KeyEvent
/* WARNING: THIS METHOD WILL BE REGENERATED.public void mouseClicked(java.awt.event.MouseEvent e)
mouseClicked
in interface java.awt.event.MouseListener
e
- java.awt.event.MouseEvent
/* WARNING: THIS METHOD WILL BE REGENERATED.public void mouseEntered(java.awt.event.MouseEvent e)
mouseEntered
in interface java.awt.event.MouseListener
e
- java.awt.event.MouseEvent
/* WARNING: THIS METHOD WILL BE REGENERATED.public void mouseExited(java.awt.event.MouseEvent e)
mouseExited
in interface java.awt.event.MouseListener
e
- java.awt.event.MouseEvent
/* WARNING: THIS METHOD WILL BE REGENERATED.public void mousePressed(java.awt.event.MouseEvent e)
mousePressed
in interface java.awt.event.MouseListener
e
- java.awt.event.MouseEventpublic void mouseReleased(java.awt.event.MouseEvent e)
mouseReleased
in interface java.awt.event.MouseListener
e
- java.awt.event.MouseEventpublic 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 removeActionPerformedEventListener(ActionPerformedEventListener newListener)
newListener
- The ActionPerformedEventListener to be removedActionPerformedEventListener
,
addActionPerformedEventListener(com.ibm.calendar.events.ActionPerformedEventListener)
public void removeInvalidPropertyValueListener(InvalidPropertyValueListener newListener)
newListener
- The InvalidPropertyValueListener to be removedInvalidPropertyValueListener
,
addInvalidPropertyValueListener(com.ibm.calendar.events.InvalidPropertyValueListener)
public void removePropertyChangeListener(java.beans.PropertyChangeListener listener)
removePropertyChangeListener
in class java.awt.Component
listener
- 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 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 setInitialTimeInterval(java.lang.String initialTimeInterval)
initialTimeInterval
- The new value for the property.getInitialTimeInterval()
public void setTimeFormat24h(boolean timeFormat24h)
timeFormat24h
- The new value for the property.getTimeFormat24h()
public void setTimeStep(int timeStep)
timeStep
- The new value for the property.getTimeStep()
public void setTimeStep(long timeStep)
timeStep
- The new value for the property.getTimeStep()
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 |