|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object us.nj.nwk.overlapping_analysis.Model.Mode
public class Model.Mode
Field Summary | |
---|---|
static int |
MOVE_VIEW
The MOVE mode allows the cameras to be moved in a view. |
static int |
NONE
No Mode |
static int |
ROTATE_VIEW
The ZOOM mode allows the cameras to be zoomed in a view. |
static int |
ZOOM_VIEW
The ZOOM mode allows the cameras to be zoomed in a view. |
Constructor Summary | |
---|---|
Model.Mode()
Constructs a new Mode |
Method Summary | |
---|---|
void |
addModeListener(Model.ModeListener listener)
Adds a mode listener |
protected void |
fireModeChangedEvent(int mode,
int old_mode)
|
int |
getMode()
return the current mode. |
void |
removeModeListener(Model.ModeListener listener)
Removes a mode listener |
void |
setMode(int mode)
Sets the Mode to mode |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int NONE
public static final int MOVE_VIEW
public static final int ZOOM_VIEW
public static final int ROTATE_VIEW
Constructor Detail |
---|
public Model.Mode()
Method Detail |
---|
public void setMode(int mode)
mode
- mode to set to.public int getMode()
public void addModeListener(Model.ModeListener listener)
listener
- listener to addpublic void removeModeListener(Model.ModeListener listener)
listener
- listener to removeprotected void fireModeChangedEvent(int mode, int old_mode)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |