Class DeleteAction
- 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.BondHighlightAction
-
- com.actelion.research.share.gui.editor.actions.DeleteAction
-
- All Implemented Interfaces:
Action
public class DeleteAction extends BondHighlightAction
Project: User: rufenec Date: 3/26/13 Time: 4:15 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 DeleteAction(Model model)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getCursor()
boolean
onMouseUp(IMouseEvent evt)
Handles the MouseUp event-
Methods inherited from class com.actelion.research.share.gui.editor.actions.BondHighlightAction
onDrag, onKeyPressed, onMouseDown, onMouseMove, paint
-
Methods inherited from class com.actelion.research.share.gui.editor.actions.AtomHighlightAction
findAtom
-
Methods inherited from class com.actelion.research.share.gui.editor.actions.DrawAction
drawAtomHighlight, drawAtomKeyStrokes, drawBondHighlight, highlightAtom, isCommand, onActionEnter, onActionLeave, onCommand, onDoubleClick, onKeyReleased, suggestNewX2AndY2
-
-
-
-
Constructor Detail
-
DeleteAction
public DeleteAction(Model model)
-
-
Method Detail
-
onMouseUp
public boolean onMouseUp(IMouseEvent evt)
Description copied from interface:Action
Handles the MouseUp event- Returns:
- true if the action handles the event
-
getCursor
public int getCursor()
- Specified by:
getCursor
in interfaceAction
- Overrides:
getCursor
in classDrawAction
-
-