Class ArrowAction
- java.lang.Object
-
- com.actelion.research.share.gui.editor.actions.DrawAction
-
- com.actelion.research.share.gui.editor.actions.ArrowAction
-
- All Implemented Interfaces:
Action
public class ArrowAction extends DrawAction
Project: User: rufenec Date: 5/16/13 Time: 3:46 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 ArrowAction(Model model)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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, getCursor, highlightAtom, isCommand, onActionEnter, onActionLeave, onCommand, onDoubleClick, onKeyPressed, onKeyReleased, suggestNewX2AndY2
-
-
-
-
Constructor Detail
-
ArrowAction
public ArrowAction(Model model)
-
-
Method Detail
-
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)
-
-