|
||||||||||
| PREV CLASS Documentation homepage NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectilog.views.IlvManagerViewInteractor
ilog.views.maps.interactor.IlvManagerViewRotateInteractor
public class IlvManagerViewRotateInteractor
A rotate interactor to edit the rotation of an IlvManagerView.
| Field Summary | |
|---|---|
static int |
DYNAMIC_CONTINUOUS_MODE
Specifies that the interactor will act in continuous dynamic mode. |
static int |
DYNAMIC_MODE
Specifies that the interactor will act in dynamic mode. |
static int |
STATIC_AUTOCENTER_MODE
Specifies that the interactor will act in continuous auto center static mode. |
static int |
STATIC_MODE
Specifies that the interactor will act in continuous static mode. |
| Constructor Summary | |
|---|---|
IlvManagerViewRotateInteractor()
Creates a IlvManagerViewRotateInteractor |
|
| Method Summary | |
|---|---|
protected void |
attach(IlvManagerView v)
Called when the interactor is attached to the manager view. |
protected void |
detach()
Called when the interactor is detached from the view. |
protected void |
drawGhost(Graphics g)
Draws the ghost. |
IlvPublicCompass |
getCompass()
Retrieves the compass drawn by the interactor. |
int |
getMode()
Retreives the interactor mode. |
int |
getResetButton()
Retrieves the mouse button that resets the rotation of the view. |
int |
getResetCode()
Returns the keycode that resets the rotation. |
int |
getRotateButton()
Retrieves the mouse button used to rotate the view. |
int |
getRotateClockCode()
Returns the keycode that rotates the view clockwise. |
int |
getRotateCounterClockCode()
Returns the keycode that rotates the view counterclockwise. |
void |
repaint()
Repaint the interactor when in IlvManagerViewRotateInteractor.STATIC_AUTOCENTER_MODE
or in IlvManagerViewRotateInteractor.STATIC_MODE mode. |
void |
setCompass(IlvPublicCompass compass)
Sets the compass providing feedback for the rotation. |
void |
setMode(int m)
Sets the interactor mode. |
void |
setResetButton(int resetButton)
Sets the mouse button that resets the rotation of the view. |
void |
setResetCode(int code)
Sets the keycode that resets the rotation. |
void |
setRotateButton(int rotateButton)
Sets the mouse button used to rotate the view. |
void |
setRotateClockCode(int code)
Sets the keycode that rotates the view clockwise. |
void |
setRotateCounterClockCode(int code)
Sets the keycode that rotates the view counterclockwise. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int DYNAMIC_MODE
public static final int DYNAMIC_CONTINUOUS_MODE
public static final int STATIC_MODE
public static final int STATIC_AUTOCENTER_MODE
| Constructor Detail |
|---|
public IlvManagerViewRotateInteractor()
IlvManagerViewRotateInteractor
| Method Detail |
|---|
public void setCompass(IlvPublicCompass compass)
compass - public IlvPublicCompass getCompass()
public int getRotateButton()
public void setRotateButton(int rotateButton)
rotateButton - the mouse button used to rotate the view.public int getResetButton()
public void setResetButton(int resetButton)
resetButton - The mouse button that resets the rotation of the view.public int getRotateCounterClockCode()
KeyEvent.KP_LEFT
public void setRotateCounterClockCode(int code)
code - The keycode that rotates the view counterclockwise.public int getRotateClockCode()
KeyEvent.KP_RIGHT
public void setRotateClockCode(int code)
code - The keycode that rotates the view clockwise.public int getResetCode()
KeyEvent.VK_ESCAPE
public void setResetCode(int code)
code - The keycode that resets the rotation.public void setMode(int m)
IlvManagerViewRotateInteractor.DYNAMIC_MODE,
IlvManagerViewRotateInteractor.DYNAMIC_CONTINUOUS_MODE,
IlvManagerViewRotateInteractor.STATIC_MODE and
IlvManagerViewRotateInteractor.STATIC_AUTOCENTER_MODE.
m - The interactor mode.public int getMode()
protected void drawGhost(Graphics g)
drawGhost in class IlvManagerViewInteractorg - The graphics.IlvManagerViewInteractor.drawGhost(java.awt.Graphics)protected void attach(IlvManagerView v)
attach in class IlvManagerViewInteractorv - The manager view.IlvManagerViewInteractor.attach(ilog.views.IlvManagerView)protected void detach()
detach in class IlvManagerViewInteractorIlvManagerViewInteractor.detach()public void repaint()
IlvManagerViewRotateInteractor.STATIC_AUTOCENTER_MODE
or in IlvManagerViewRotateInteractor.STATIC_MODE mode.
|
||||||||||
| PREV CLASS Documentation homepage NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||