edu.southern.computing.oopj
Interface InteractiveArea

All Superinterfaces:
java.util.EventListener, java.awt.event.KeyListener, java.awt.event.MouseListener, java.awt.event.MouseMotionListener
All Known Implementing Classes:
GraphicalButton, GraphicalObject, GraphicalText, Viewport

public interface InteractiveArea
extends java.awt.event.MouseListener, java.awt.event.MouseMotionListener, java.awt.event.KeyListener

InteractiveArea is an interface that defines many constants used by the OOPJ classes. Viewport, for example, implements this interface.


Field Summary
static java.awt.Color BLACK
          The color black.
static java.awt.Color BLUE
          The color blue.
static java.awt.Cursor CROSSHAIR
          A cursor shaped like crosshairs.
static java.awt.Color CYAN
          The color cyan.
static java.awt.Color DARK_GRAY
          The color dark gray.
static java.awt.Color GRAY
          The color gray.
static java.awt.Color GREEN
          The color green.
static java.awt.Cursor HAND
          A cursor shaped like a hand with a pointing finger.
static java.awt.Color LIGHT_GRAY
          The color light gray.
static java.awt.Color MAGENTA
          The color magenta.
static java.awt.Cursor MOVE
          A cursor useful to display when moving objects on the screen.
static java.awt.Color ORANGE
          The color orange.
static java.awt.Color PINK
          The color pink.
static java.awt.Color RED
          The color red.
static java.awt.Color TRANSPARENT
          No color.
static java.lang.String VERSION
          The current version of OOPJ library.
static java.awt.Color WHITE
          The color white.
static java.awt.Color YELLOW
          The color yellow.
 
Method Summary
 void setContextMenu(ContextMenu menu)
          Sets the context-sensitive popup menu for this panel.
 
Methods inherited from interface java.awt.event.MouseListener
mouseClicked, mouseEntered, mouseExited, mousePressed, mouseReleased
 
Methods inherited from interface java.awt.event.MouseMotionListener
mouseDragged, mouseMoved
 
Methods inherited from interface java.awt.event.KeyListener
keyPressed, keyReleased, keyTyped
 

Field Detail

BLACK

static final java.awt.Color BLACK
The color black.


WHITE

static final java.awt.Color WHITE
The color white.


RED

static final java.awt.Color RED
The color red.


BLUE

static final java.awt.Color BLUE
The color blue.


GREEN

static final java.awt.Color GREEN
The color green.


YELLOW

static final java.awt.Color YELLOW
The color yellow.


CYAN

static final java.awt.Color CYAN
The color cyan.


GRAY

static final java.awt.Color GRAY
The color gray.


DARK_GRAY

static final java.awt.Color DARK_GRAY
The color dark gray.


LIGHT_GRAY

static final java.awt.Color LIGHT_GRAY
The color light gray.


MAGENTA

static final java.awt.Color MAGENTA
The color magenta.


ORANGE

static final java.awt.Color ORANGE
The color orange.


PINK

static final java.awt.Color PINK
The color pink.


TRANSPARENT

static final java.awt.Color TRANSPARENT
No color.


CROSSHAIR

static final java.awt.Cursor CROSSHAIR
A cursor shaped like crosshairs.


HAND

static final java.awt.Cursor HAND
A cursor shaped like a hand with a pointing finger.


MOVE

static final java.awt.Cursor MOVE
A cursor useful to display when moving objects on the screen.


VERSION

static final java.lang.String VERSION
The current version of OOPJ library.

See Also:
Constant Field Values
Method Detail

setContextMenu

void setContextMenu(ContextMenu menu)
Sets the context-sensitive popup menu for this panel.