Class AtomMapAction
- java.lang.Object
-
- com.actelion.research.share.gui.editor.actions.DrawAction
-
- com.actelion.research.share.gui.editor.actions.AtomHighlightAction
-
- com.actelion.research.share.gui.editor.actions.AtomMapAction
-
- All Implemented Interfaces:
Action
public class AtomMapAction extends AtomHighlightAction
Project: User: rufenec Date: 5/22/13 Time: 4:00 PM
-
-
Field Summary
-
Fields inherited from class com.actelion.research.share.gui.editor.actions.AtomHighlightAction
lastHightlightPoint
-
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 AtomMapAction(Model model)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidonActionEnter()voidonActionLeave()booleanonKeyPressed(IKeyEvent evt)booleanonMouseMove(IMouseEvent evt, boolean drag)booleanonMouseUp(IMouseEvent ev)Handles the MouseUp eventbooleanpaint(IDrawContext ctx)-
Methods inherited from class com.actelion.research.share.gui.editor.actions.AtomHighlightAction
findAtom, onMouseDown
-
Methods inherited from class com.actelion.research.share.gui.editor.actions.DrawAction
drawAtomHighlight, drawAtomKeyStrokes, drawBondHighlight, getCursor, highlightAtom, isCommand, onCommand, onDoubleClick, onKeyReleased, suggestNewX2AndY2
-
-
-
-
Constructor Detail
-
AtomMapAction
public AtomMapAction(Model model)
-
-
Method Detail
-
onActionEnter
public void onActionEnter()
- Specified by:
onActionEnterin interfaceAction- Overrides:
onActionEnterin classDrawAction
-
onActionLeave
public void onActionLeave()
- Specified by:
onActionLeavein interfaceAction- Overrides:
onActionLeavein classDrawAction
-
onKeyPressed
public boolean onKeyPressed(IKeyEvent evt)
- Specified by:
onKeyPressedin interfaceAction- Overrides:
onKeyPressedin classAtomHighlightAction
-
onMouseMove
public boolean onMouseMove(IMouseEvent evt, boolean drag)
- Specified by:
onMouseMovein interfaceAction- Overrides:
onMouseMovein classAtomHighlightAction
-
onMouseUp
public boolean onMouseUp(IMouseEvent ev)
Description copied from interface:ActionHandles the MouseUp event- Returns:
- true if the action handles the event
-
paint
public boolean paint(IDrawContext ctx)
- Specified by:
paintin interfaceAction- Overrides:
paintin classAtomHighlightAction
-
-