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 void
onActionEnter()
void
onActionLeave()
boolean
onKeyPressed(IKeyEvent evt)
boolean
onMouseMove(IMouseEvent evt, boolean drag)
boolean
onMouseUp(IMouseEvent ev)
Handles the MouseUp eventboolean
paint(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:
onActionEnter
in interfaceAction
- Overrides:
onActionEnter
in classDrawAction
-
onActionLeave
public void onActionLeave()
- Specified by:
onActionLeave
in interfaceAction
- Overrides:
onActionLeave
in classDrawAction
-
onKeyPressed
public boolean onKeyPressed(IKeyEvent evt)
- Specified by:
onKeyPressed
in interfaceAction
- Overrides:
onKeyPressed
in classAtomHighlightAction
-
onMouseMove
public boolean onMouseMove(IMouseEvent evt, boolean drag)
- Specified by:
onMouseMove
in interfaceAction
- Overrides:
onMouseMove
in classAtomHighlightAction
-
onMouseUp
public boolean onMouseUp(IMouseEvent ev)
Description copied from interface:Action
Handles the MouseUp event- Returns:
- true if the action handles the event
-
paint
public boolean paint(IDrawContext ctx)
- Specified by:
paint
in interfaceAction
- Overrides:
paint
in classAtomHighlightAction
-
-