Class ZoomRotateAction
- java.lang.Object
-
- com.actelion.research.share.gui.editor.actions.DrawAction
-
- com.actelion.research.share.gui.editor.actions.ZoomRotateAction
-
- All Implemented Interfaces:
Action
public class ZoomRotateAction extends DrawAction
Project: User: rufenec Date: 4/28/2014 Time: 12:39 PM
-
-
Field Summary
-
Fields inherited from class com.actelion.research.share.gui.editor.actions.DrawAction
HIGHLIGHT_ATOM_RADIUS, KEYSTROKEFONTSIZE, MAX_CONNATOMS, model, UNKNOWN
-
-
Constructor Summary
Constructors Constructor Description ZoomRotateAction(Model m)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getCursor()
void
onActionEnter()
boolean
onMouseDown(IMouseEvent ev)
Handles Mouse down eventsboolean
onMouseMove(IMouseEvent ev, boolean drag)
boolean
onMouseUp(IMouseEvent ev)
Handles the MouseUp eventboolean
paint(IDrawContext ctx)
-
Methods inherited from class com.actelion.research.share.gui.editor.actions.DrawAction
drawAtomHighlight, drawAtomKeyStrokes, drawBondHighlight, highlightAtom, isCommand, onActionLeave, onCommand, onDoubleClick, onKeyPressed, onKeyReleased, suggestNewX2AndY2
-
-
-
-
Constructor Detail
-
ZoomRotateAction
public ZoomRotateAction(Model m)
-
-
Method Detail
-
onActionEnter
public void onActionEnter()
- Specified by:
onActionEnter
in interfaceAction
- Overrides:
onActionEnter
in classDrawAction
-
onMouseDown
public boolean onMouseDown(IMouseEvent ev)
Description copied from interface:Action
Handles Mouse down events- Returns:
- true if the action handles the event
-
onMouseUp
public boolean onMouseUp(IMouseEvent ev)
Description copied from interface:Action
Handles the MouseUp event- Returns:
- true if the action handles the event
-
onMouseMove
public boolean onMouseMove(IMouseEvent ev, boolean drag)
-
paint
public boolean paint(IDrawContext ctx)
-
getCursor
public int getCursor()
- Specified by:
getCursor
in interfaceAction
- Overrides:
getCursor
in classDrawAction
-
-