junit.extensions.jfcunit.eventdata
Interface EventDataConstants

All Known Subinterfaces:
JFCXMLConstants
All Known Implementing Classes:
AbstractEventData, AWTEventQueueTagHandler, BaseEventDataTagHandler, BaseFindTagHandler, ClickTagHandler, DragTagHandler, FindTagHandler, JFCEventManager, JFCEventManagerTagHandler, JFCXMLTestCase, KeyTagHandler, PathTagHandler, SleepTagHandler, TestTagHandler, XMLRecorder

public interface EventDataConstants

An interface defining the default values of the common attributes used in all EventDataContainer classes. Package level access is enough for this class.

Author:
Vijay Aravamudhan : ThoughtWorks Inc.

Field Summary
static int CENTER
          Identifier for the mouse position at the center of the Component.
static int CUSTOM
          Identifier for the mouse position at a point in the component specified by the user.
static long DEFAULT_HOLDTIME
          Default value specifying the hold time in ms before ejecting a event from the event manager.
static boolean DEFAULT_ISPOPUPTRIGGER
          Default value specifying whether the MouseEvent being fired would trigger a popup or not.
static int DEFAULT_KEY_MODIFIERS
          Default value specifying the modifiers key values that need to be passed by KeyEvents.
static int DEFAULT_MOUSE_MODIFIERS
          Default value specifying the modifier key values that need to be passed onto the MouseEvent.
static int DEFAULT_NUMBEROFCLICKS
          Default value specifying the number of clicks for the MouseEvents.
static int DEFAULT_POPUP_MODIFIERS
          Default value specifying the modifier key values that need to be passed onto the MouseEvent.
static int DEFAULT_POSITION
          Default value specifying the position of the mouse relative to the Component.
static int DEFAULT_SCROLL_AMOUNT
          The amount to scroll by default.
static long DEFAULT_SLEEPTIME
          Default value specifying the wait time in ms between each event.
static int DEFAULT_WHEEL_ROTATION
          The amount to scroll by default.
static int DOWN_ARROW_SUBCOMPONENT
          Identifier used to refer to the down-arrow sub-component (used only for JSpinner).
static int EAST
          Identifier for the mouse position at the center of the right edge of the Component.
static int EDITOR_SUBCOMPONENT
          Identifier used to refer to the editor sub-component (used only for JSpinner).
static int INVALID_SUBCOMPONENT
          Identifier used to refer to an invalid sub-component (used only for JSpinner).
static int INVALID_TEXT_OFFSET
          Invalid text offset.
static int NORTH
          Identifier for the mouse position at the center of the top edge Component.
static int NORTH_EAST
          Identifier for the mouse position at the top right corner of the Component.
static int NORTH_WEST
          Identifier for the mouse position at the top left corner of the Component.
static int OFFSET
          Identifier for the mouse position at a point specified by the offset.
static int PERCENT
          Identifier for the mouse position at a point in the component specified by percentage of width and height.
static java.lang.String[] POSITIONSTRINGS
          String description of the positions.
static int SOUTH
          Identifier for the mouse position at the center of the bottom edge of the Component.
static int SOUTH_EAST
          Identifier for the mouse position at the bottom right corner of the Component.
static int SOUTH_WEST
          Identifier for the mouse position at the bottom left corner of the Component.
static int UP_ARROW_SUBCOMPONENT
          Identifier used to refer to the up-arrow sub-component (used only for JSpinner).
static int WEST
          Identifier for the mouse position at the center of the left edge of the Component.
 

Field Detail

POSITIONSTRINGS

public static final java.lang.String[] POSITIONSTRINGS
String description of the positions.


DEFAULT_ISPOPUPTRIGGER

public static final boolean DEFAULT_ISPOPUPTRIGGER
Default value specifying whether the MouseEvent being fired would trigger a popup or not.

See Also:
Constant Field Values

CENTER

public static final int CENTER
Identifier for the mouse position at the center of the Component.

See Also:
Constant Field Values

CUSTOM

public static final int CUSTOM
Identifier for the mouse position at a point in the component specified by the user. Skip other SwingConstants in case they are needed in future.

See Also:
Constant Field Values

DEFAULT_KEY_MODIFIERS

public static final int DEFAULT_KEY_MODIFIERS
Default value specifying the modifiers key values that need to be passed by KeyEvents.

See Also:
Constant Field Values

DEFAULT_MOUSE_MODIFIERS

public static final int DEFAULT_MOUSE_MODIFIERS
Default value specifying the modifier key values that need to be passed onto the MouseEvent.

See Also:
Constant Field Values

DEFAULT_NUMBEROFCLICKS

public static final int DEFAULT_NUMBEROFCLICKS
Default value specifying the number of clicks for the MouseEvents.

See Also:
Constant Field Values

DEFAULT_POPUP_MODIFIERS

public static final int DEFAULT_POPUP_MODIFIERS
Default value specifying the modifier key values that need to be passed onto the MouseEvent.

See Also:
Constant Field Values

DEFAULT_POSITION

public static final int DEFAULT_POSITION
Default value specifying the position of the mouse relative to the Component.

See Also:
Constant Field Values

DEFAULT_SCROLL_AMOUNT

public static final int DEFAULT_SCROLL_AMOUNT
The amount to scroll by default.

See Also:
Constant Field Values

DEFAULT_WHEEL_ROTATION

public static final int DEFAULT_WHEEL_ROTATION
The amount to scroll by default.

See Also:
Constant Field Values

DOWN_ARROW_SUBCOMPONENT

public static final int DOWN_ARROW_SUBCOMPONENT
Identifier used to refer to the down-arrow sub-component (used only for JSpinner).

See Also:
Constant Field Values

EAST

public static final int EAST
Identifier for the mouse position at the center of the right edge of the Component.

See Also:
Constant Field Values

EDITOR_SUBCOMPONENT

public static final int EDITOR_SUBCOMPONENT
Identifier used to refer to the editor sub-component (used only for JSpinner).

See Also:
Constant Field Values

INVALID_SUBCOMPONENT

public static final int INVALID_SUBCOMPONENT
Identifier used to refer to an invalid sub-component (used only for JSpinner).

See Also:
Constant Field Values

INVALID_TEXT_OFFSET

public static final int INVALID_TEXT_OFFSET
Invalid text offset.

See Also:
Constant Field Values

NORTH

public static final int NORTH
Identifier for the mouse position at the center of the top edge Component.

See Also:
Constant Field Values

NORTH_EAST

public static final int NORTH_EAST
Identifier for the mouse position at the top right corner of the Component.

See Also:
Constant Field Values

NORTH_WEST

public static final int NORTH_WEST
Identifier for the mouse position at the top left corner of the Component.

See Also:
Constant Field Values

OFFSET

public static final int OFFSET
Identifier for the mouse position at a point specified by the offset.

See Also:
Constant Field Values

PERCENT

public static final int PERCENT
Identifier for the mouse position at a point in the component specified by percentage of width and height. The point argument should contain the percentages. For example: to get a position in the center the arguments to the event for position and point would be PERCENT, new Point(50, 50).

See Also:
Constant Field Values

SOUTH

public static final int SOUTH
Identifier for the mouse position at the center of the bottom edge of the Component.

See Also:
Constant Field Values

SOUTH_EAST

public static final int SOUTH_EAST
Identifier for the mouse position at the bottom right corner of the Component.

See Also:
Constant Field Values

SOUTH_WEST

public static final int SOUTH_WEST
Identifier for the mouse position at the bottom left corner of the Component.

See Also:
Constant Field Values

UP_ARROW_SUBCOMPONENT

public static final int UP_ARROW_SUBCOMPONENT
Identifier used to refer to the up-arrow sub-component (used only for JSpinner).

See Also:
Constant Field Values

WEST

public static final int WEST
Identifier for the mouse position at the center of the left edge of the Component.

See Also:
Constant Field Values

DEFAULT_HOLDTIME

public static final long DEFAULT_HOLDTIME
Default value specifying the hold time in ms before ejecting a event from the event manager.

See Also:
Constant Field Values

DEFAULT_SLEEPTIME

public static final long DEFAULT_SLEEPTIME
Default value specifying the wait time in ms between each event.

See Also:
Constant Field Values


Licensed under: GNU Lesser General Public License, Ver 2.1, February 1999