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 intgetCursor()voidonActionEnter()booleanonMouseDown(IMouseEvent ev)Handles Mouse down eventsbooleanonMouseMove(IMouseEvent ev, boolean drag)booleanonMouseUp(IMouseEvent ev)Handles the MouseUp eventbooleanpaint(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:
onActionEnterin interfaceAction- Overrides:
onActionEnterin classDrawAction
-
onMouseDown
public boolean onMouseDown(IMouseEvent ev)
Description copied from interface:ActionHandles Mouse down events- Returns:
- true if the action handles the event
-
onMouseUp
public boolean onMouseUp(IMouseEvent ev)
Description copied from interface:ActionHandles 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:
getCursorin interfaceAction- Overrides:
getCursorin classDrawAction
-
-