public interface ViewController
Modifier and Type | Field and Description |
---|---|
static int |
DEFAULT_CURSOR
Default cursor
|
static int |
DRILL_CURSOR
cursor on an edge component to expand or collapse
the data in a view
|
static int |
E_RESIZE_CURSOR
east-resize cursor
|
static int |
HORIZONTAL_SPLIT_CURSOR
Resize cell in horizontal direction
|
static int |
MOVE_CURSOR
cursor over a component that is selected and is
movable
|
static int |
N_RESIZE_CURSOR
north-resize cursor
|
static int |
NE_RESIZE_CURSOR
north-east-resize cursor
|
static int |
NO_DROP_CURSOR
cursor over a component that is not appropriate target
edge component during a rotate or a move
|
static int |
NW_RESIZE_CURSOR
north-west-resize cursor
|
static int |
S_RESIZE_CURSOR
south-resize cursor
|
static int |
SE_RESIZE_CURSOR
south-east-resize cursor
|
static int |
SELECT_CURSOR
cursor over a selectable area(e.g.
|
static int |
SW_RESIZE_CURSOR
south-west-resize cursor
|
static int |
TEXT_CURSOR
cursor when Data cell is selectable for editing
|
static int |
VERTICAL_SPLIT_CURSOR
Resize cell in vertical direction
|
static int |
W_RESIZE_CURSOR
west-resize cursor
|
static int |
WAIT_CURSOR
Waiting for a process to be over.
|
Modifier and Type | Method and Description |
---|---|
void |
addControllerListener(ControllerListener l)
Set non-data related event listener on bean.
|
void |
addViewFocusListener(ViewFocusListener l)
Add ViewFocusListener to presentation engine.
|
void |
addViewKeyListener(ViewKeyListener l)
Add
ViewKeyListener to presentation engine. |
void |
addViewMouseListener(ViewMouseListener l)
Add
ViewMouseListener to presentation engine. |
void |
addViewMouseMotionListener(ViewMouseMotionListener l)
Add
ViewMouseMotionListener to presentation engine. |
void |
cleanUp()
Clean up listeners, etc.
|
java.awt.Cursor |
getCursorType(int type)
gets the currently set cursor for the given type
|
boolean |
isWaitCursorForced()
Indicates if the view is currently displaying wait cursor.
|
void |
removeControllerListener(ControllerListener l)
Remove non-data related event listener on bean.
|
void |
removeViewFocusListener(ViewFocusListener l)
Remove ViewFocusListener from presentation engine.
|
void |
removeViewKeyListener(ViewKeyListener l)
Remove ViewKeyListener from presentation engine.
|
void |
removeViewMouseListener(ViewMouseListener l)
Remove
ViewMouseListener from presentation engine. |
void |
removeViewMouseMotionListener(ViewMouseMotionListener l)
Remove
ViewMouseMotionListener from presentation engine. |
void |
setCursorType(java.awt.Cursor c,
int type)
sets the cursor for the given type
|
void |
setWaitCursorForced(boolean yesNo)
Specifies if the view is forced to display wait cursor.
|
static final int DEFAULT_CURSOR
static final int MOVE_CURSOR
static final int WAIT_CURSOR
static final int N_RESIZE_CURSOR
static final int S_RESIZE_CURSOR
static final int E_RESIZE_CURSOR
static final int W_RESIZE_CURSOR
static final int NE_RESIZE_CURSOR
static final int SW_RESIZE_CURSOR
static final int NW_RESIZE_CURSOR
static final int SE_RESIZE_CURSOR
static final int SELECT_CURSOR
static final int TEXT_CURSOR
static final int DRILL_CURSOR
static final int NO_DROP_CURSOR
static final int VERTICAL_SPLIT_CURSOR
static final int HORIZONTAL_SPLIT_CURSOR
void addControllerListener(ControllerListener l)
l
- listener instancevoid removeControllerListener(ControllerListener l)
l
- listener instancevoid addViewMouseListener(ViewMouseListener l)
ViewMouseListener
to presentation engine.l
- reference to a ViewMouseListener
void removeViewMouseListener(ViewMouseListener l)
ViewMouseListener
from presentation engine.l
- reference to a ViewMouseListener
void addViewMouseMotionListener(ViewMouseMotionListener l)
ViewMouseMotionListener
to presentation engine.l
- reference to a ViewMouseMotionListener
void removeViewMouseMotionListener(ViewMouseMotionListener l)
ViewMouseMotionListener
from presentation engine.l
- reference to a ViewMouseMotionListener
void addViewKeyListener(ViewKeyListener l)
ViewKeyListener
to presentation engine.l
- reference to a ViewKeyListener
void removeViewKeyListener(ViewKeyListener l)
l
- reference to a ViewKeyListener
void addViewFocusListener(ViewFocusListener l)
l
- reference to a ViewFocusListener
void removeViewFocusListener(ViewFocusListener l)
l
- reference to a ViewFocusListener
void cleanUp()
void setCursorType(java.awt.Cursor c, int type)
c
- Object of type Cursortype
- an integer specifying the type of the cursorjava.awt.Cursor getCursorType(int type)
type
- an integer specifying the type of the cursorboolean isWaitCursorForced()
true
if view is displaying wait cursor
false
if view is not displaying wait cursorvoid setWaitCursorForced(boolean yesNo)
yesNo
- true
display wait cursor
false
do not display wait cursor