com.ibm.etools.systems.editor.actions
Class FindDateActionComposite
java.lang.Object
org.eclipse.swt.widgets.Widget
org.eclipse.swt.widgets.Control
org.eclipse.swt.widgets.Scrollable
org.eclipse.swt.widgets.Composite
com.ibm.etools.systems.editor.actions.FindDateActionComposite
- All Implemented Interfaces:
- EventListener, KeyListener, ModifyListener, SelectionListener, Drawable, org.eclipse.swt.internal.SWTEventListener
public class FindDateActionComposite
- extends Composite
- implements SelectionListener, KeyListener, ModifyListener
A composite which gets displayed when searching by date in RS LPEX
| Fields inherited from class org.eclipse.swt.widgets.Control |
handle |
| Methods inherited from class org.eclipse.swt.widgets.Composite |
changed, checkSubclass, computeSize, getBackgroundMode, getChildren, getLayout, getLayoutDeferred, getTabList, isLayoutDeferred, layout, layout, layout, layout, setBackgroundMode, setFocus, setLayout, setLayoutDeferred, setTabList |
| Methods inherited from class org.eclipse.swt.widgets.Control |
addControlListener, addDragDetectListener, addHelpListener, addKeyListener, addMenuDetectListener, addMouseListener, addMouseMoveListener, addMouseTrackListener, addMouseWheelListener, addPaintListener, addTraverseListener, computeSize, dragDetect, dragDetect, forceFocus, getAccessible, getBackground, getBackgroundImage, getBorderWidth, getBounds, getCursor, getDragDetect, getEnabled, getFont, getForeground, getLayoutData, getLocation, getMenu, getMonitor, getParent, getRegion, getShell, getSize, getToolTipText, getVisible, internal_dispose_GC, internal_new_GC, isEnabled, isFocusControl, isReparentable, isVisible, moveAbove, moveBelow, pack, pack, print, redraw, redraw, removeControlListener, removeDragDetectListener, removeFocusListener, removeHelpListener, removeKeyListener, removeMenuDetectListener, removeMouseListener, removeMouseMoveListener, removeMouseTrackListener, removeMouseWheelListener, removePaintListener, removeTraverseListener, setBackground, setBackgroundImage, setBounds, setBounds, setCapture, setCursor, setDragDetect, setEnabled, setFont, setForeground, setLayoutData, setLocation, setLocation, setMenu, setParent, setRedraw, setRegion, setSize, setSize, setToolTipText, setVisible, toControl, toControl, toDisplay, toDisplay, traverse, update |
| Methods inherited from class org.eclipse.swt.widgets.Widget |
addDisposeListener, addListener, checkWidget, dispose, getData, getData, getDisplay, getListeners, getStyle, isDisposed, isListening, notifyListeners, removeDisposeListener, removeListener, removeListener, setData, setData, toString |
copyright
public static final String copyright
- See Also:
- Constant Field Values
FindDateActionComposite
public FindDateActionComposite(Composite parent,
FindDateAction action)
- The constructor for this class
- Parameters:
parent - the parent composite
addFocusListener
public void addFocusListener(FocusListener listener)
- Overrides:
addFocusListener in class Control
init
public void init()
- Sets the composite to initial mode by:
- putting focus in the from date
- selecting the from date
- doing a search next on the existing date
keyPressed
public void keyPressed(KeyEvent e)
- Handles when the escape key is pressed
- Specified by:
keyPressed in interface KeyListener
- See Also:
KeyListener.keyPressed(org.eclipse.swt.events.KeyEvent)
keyReleased
public void keyReleased(KeyEvent e)
- Specified by:
keyReleased in interface KeyListener
modifyText
public void modifyText(ModifyEvent e)
- Specified by:
modifyText in interface ModifyListener
widgetDefaultSelected
public void widgetDefaultSelected(SelectionEvent e)
- Specified by:
widgetDefaultSelected in interface SelectionListener
widgetSelected
public void widgetSelected(SelectionEvent e)
- Specified by:
widgetSelected in interface SelectionListener
Copyright 2009 IBM Corp. All Rights Reserved.
Note: This documentation is for part of an interim API that is still under development and expected to change significantly before reaching stability. It is being made available at this early stage to solicit feedback from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken (repeatedly) as the API evolves.