org.malai.interaction
Interface InteractionHandler
- All Known Implementing Classes:
- Border.DnD2MoveCtrlPoint, Border.DnD2MovePoint, Border.DnD2Rotate, Border.DnD2Scale, Button2ArcStyle, Button2LoadLink, Button2NewLink, Button2PencilArcStyle, Button2SaveLink, Button2SelectionArcStyle, Button2Zoom, ButtonClose2SaveLink, ButtonPress2RotateShape, ButtonPress2ShowExceptionFrame, ButtonPressed2ActivateIns, ButtonPressed2AddText, ButtonPressed2ChangePencil, ButtonPressed2ChangeTextPosition, ButtonPressed2DefineStylePencil, ButtonPressed2DeleteShapes, ButtonPressed2Export, ButtonPressed2Redo, ButtonPressed2Undo, ButtonPressedForCustomiser, CheckBox2MagneticGrid, CheckBox2PencilDoubleBorder, CheckBox2PencilShadow, CheckBox2SelectionDoubleBorder, CheckBox2SelectionShadow, CheckBoxForCustomiser, CloseFrame2SavePreferences, ColourButton2PencilBorder, ColourButton2PencilDoubleBorder, ColourButton2PencilFilling, ColourButton2PencilShadow, ColourButton2SelectionBorder, ColourButton2SelectionDoubleBorder, ColourButton2SelectionFilling, ColourButton2SelectionShadow, ColourButtonForCustomiser, DeleteShapesLink, DnD2AddShape, DnD2Select, DnD2Translate, DoubleClick2InitTextSetter, DrawingPropertiesCustomiser.CheckBox2CustDrawing, DrawingPropertiesCustomiser.ComboBox2CustDrawing, DrawingPropertiesCustomiser.TextField2CustDrawing, Enter2AddText, Enter2SetText, Interaction2AbstractCopy, Interaction2IOLink, Interaction2LoadLink, Interaction2NewLink, Interaction2PasteShapes, Interaction2SaveLink, KeyPress2Desactivate, KeyPressed2DeleteShapes, KeysTyped2ChangePackages, Link, List2ChangeStyle, List2PencilArrowStyle, List2PencilBorder, List2PencilFilling, List2SelectionBorder, List2SelectionFilling, List2ShapeArrowStyle, ListForCustomiser, Menu2LoadLink, Menu2NewLink, Menu2SaveAsLink, Menu2SaveLink, MenuItem2AboutFrame, MenuItem2ActivateSetterLink, MenuItem2CopyShapes, MenuItem2CutShapes, MenuItem2OpenWebPageLink, MenuItem2PasteShapes, MenuItem2SetUnit, MenuItem2ShowComponentLink, MenuItem2ShowHideCodeScaleRuler, MenuItem2ShowPreferencesLink, MenuPressed2Export, MultiClic2AddShape, PencilLink, Press2AddShape, Press2AddText, Press2InitTextSetter, Press2InsertPicture, Press2Select, RecentMenuItem2LoadLink, Scroll2Zoom, Scrolling2Scroll, ShapeAxesCustomiser.CheckBox2CustomAxes, ShapeAxesCustomiser.CheckBox2CustomPencilAxes, ShapeAxesCustomiser.CheckBox2CustomSelectedAxes, ShapeAxesCustomiser.Combobox2CustomAxes, ShapeAxesCustomiser.Combobox2CustomPencilAxes, ShapeAxesCustomiser.Combobox2CustomSelectedAxes, ShapeAxesCustomiser.Spinner2CustomAxes, ShapeAxesCustomiser.Spinner2CustomPencilAxes, ShapeAxesCustomiser.Spinner2CustomSelectedAxes, ShapeCoordDimCustomiser.Spinner2TranslateShape, ShapeDotCustomiser.FillingButton2PencilFilling, ShapeDotCustomiser.FillingButton2SelectionFilling, ShapeDotCustomiser.List2PencilDotStyle, ShapeDotCustomiser.List2SelectionDotStyle, ShapeDotCustomiser.Spinner2PencilDotSize, ShapeDotCustomiser.Spinner2SelectionDotSize, ShapeGridCustomiser.CheckBox2ModifyPencilGrid, ShapeGridCustomiser.CheckBox2ModifySelectionGrid, ShapeGridCustomiser.CheckBox4ShapeGridCust, ShapeGridCustomiser.Spinner2ModifyGridCoords, ShapeGridCustomiser.Spinner2ModifyPencilGridCoords, ShapeGridCustomiser.Spinner2ModifySelectionGridCoords, ShapeGrouper.Button2GroupShapes, ShapeGrouper.Button2SeparateShapes, Shortcut2CopyShapes, Shortcut2CutShapes, Shortcut2LoadLink, Shortcut2NewLink, Shortcut2PasteShapes, Shortcut2SaveLink, Shortcut2SavePrefLink, Spinner2ArrowParam, Spinner2GridSpacing, Spinner2PencilArrowParam, Spinner2PencilBorder, Spinner2PencilDoubleBorder, Spinner2PencilEndAngle, Spinner2PencilFilling, Spinner2PencilShadow, Spinner2PencilStartAngle, Spinner2RotateShape, Spinner2SelectionArrowParam, Spinner2SelectionBorder, Spinner2SelectionDoubleBorder, Spinner2SelectionEndAngle, Spinner2SelectionFilling, Spinner2SelectionShadow, Spinner2SelectionStartAngle, Spinner2Zoom, SpinnerForCustomiser, TabSelector.TabSelected2ActivateInstruments
public interface InteractionHandler
Defines an interaction for objects that want to by notified when the state of an interaction changed.
This file is part of Malai.
Copyright (c) 2009-2012 Arnaud BLOUIN
Malai is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free Software
Foundation; either version 2 of the License, or (at your option) any later version.
Malai is distributed without any warranty; without even the implied
warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
General Public License for more details.
10/10/2009
- Since:
- 0.1
- Author:
- Arnaud BLOUIN
interactionStarts
void interactionStarts(Interaction interaction)
throws MustAbortStateMachineException
- Happens when the interaction quits its initial state.
- Parameters:
interaction
- The concerned interaction.
- Throws:
MustAbortStateMachineException
- If the interaction must be aborted.- Since:
- 0.1
interactionUpdates
void interactionUpdates(Interaction interaction)
throws MustAbortStateMachineException
- Happens when the interaction goes to standard state.
- Parameters:
interaction
- The concerned interaction.
- Throws:
MustAbortStateMachineException
- If the interaction must be aborted.- Since:
- 0.1
interactionStops
void interactionStops(Interaction interaction)
throws MustAbortStateMachineException
- Happens when the interaction goes to a terminal state.
- Parameters:
interaction
- The concerned interaction.
- Throws:
MustAbortStateMachineException
- If the interaction must be aborted.- Since:
- 0.1
interactionAborts
void interactionAborts(Interaction interaction)
- Happens when the interaction goes to an aborting state.
- Parameters:
interaction
- The concerned interaction.- Since:
- 0.1