Rational Developer for i
7.5.0

com.ibm.etools.systems.editor.actions
Class FindDateActionComposite

java.lang.Object
  extended by org.eclipse.swt.widgets.Widget
      extended by org.eclipse.swt.widgets.Control
          extended by org.eclipse.swt.widgets.Scrollable
              extended by org.eclipse.swt.widgets.Composite
                  extended by 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


Field Summary
static String copyright
           
 
Fields inherited from class org.eclipse.swt.widgets.Control
handle
 
Constructor Summary
FindDateActionComposite(Composite parent, FindDateAction action)
          The constructor for this class
 
Method Summary
 void addFocusListener(FocusListener listener)
           
 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
 void keyPressed(KeyEvent e)
          Handles when the escape key is pressed
 void keyReleased(KeyEvent e)
           
 void modifyText(ModifyEvent e)
           
 void widgetDefaultSelected(SelectionEvent e)
           
 void widgetSelected(SelectionEvent e)
           
 
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.Scrollable
computeTrim, getClientArea, getHorizontalBar, getVerticalBar
 
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

copyright

public static final String copyright
See Also:
Constant Field Values
Constructor Detail

FindDateActionComposite

public FindDateActionComposite(Composite parent,
                               FindDateAction action)
The constructor for this class

Parameters:
parent - the parent composite
Method Detail

addFocusListener

public void addFocusListener(FocusListener listener)
Overrides:
addFocusListener in class Control

init

public void init()
Sets the composite to initial mode by:
  1. putting focus in the from date
  2. selecting the from date
  3. 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

Rational Developer for i
7.5.0

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.