net.sf.latexdraw.instruments
Class ShapeGridCustomiser.Spinner2ModifySelectionGridCoords

java.lang.Object
  extended by org.malai.instrument.Link<A,SpinnerModified,N>
      extended by net.sf.latexdraw.instruments.SpinnerForCustomiser<A,ShapeGridCustomiser>
          extended by net.sf.latexdraw.instruments.ShapeGridCustomiser.Spinner2ModifyGridCoords<ModifyShapeProperty>
              extended by net.sf.latexdraw.instruments.ShapeGridCustomiser.Spinner2ModifySelectionGridCoords
All Implemented Interfaces:
InteractionHandler
Enclosing class:
ShapeGridCustomiser

private static class ShapeGridCustomiser.Spinner2ModifySelectionGridCoords
extends ShapeGridCustomiser.Spinner2ModifyGridCoords<ModifyShapeProperty>

The link that maps a spinner to an action that modifies the selected shapes.


Field Summary
 
Fields inherited from class org.malai.instrument.Link
action, clazzAction, execute, instrument, interaction
 
Constructor Summary
protected ShapeGridCustomiser.Spinner2ModifySelectionGridCoords(ShapeGridCustomiser ins)
           
 
Method Summary
 void initAction()
          After being created by method createAction, the action must be initialised by this method.
 boolean isConditionRespected()
           
 
Methods inherited from class net.sf.latexdraw.instruments.ShapeGridCustomiser.Spinner2ModifyGridCoords
updateAction
 
Methods inherited from class org.malai.instrument.Link
addEventable, clearEvents, createAction, getAction, getInstrument, getInteraction, interactionAborts, interactionStarts, interactionStops, interactionUpdates, interimFeedback, isActivated, isExecute, isInteractionMustBeAborted, isRunnable, isRunning, setActivated
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ShapeGridCustomiser.Spinner2ModifySelectionGridCoords

protected ShapeGridCustomiser.Spinner2ModifySelectionGridCoords(ShapeGridCustomiser ins)
                                                         throws java.lang.InstantiationException,
                                                                java.lang.IllegalAccessException
Throws:
java.lang.InstantiationException
java.lang.IllegalAccessException
Method Detail

initAction

public void initAction()
Description copied from class: Link
After being created by method createAction, the action must be initialised by this method.

Overrides:
initAction in class ShapeGridCustomiser.Spinner2ModifyGridCoords<ModifyShapeProperty>

isConditionRespected

public boolean isConditionRespected()
Overrides:
isConditionRespected in class ShapeGridCustomiser.Spinner2ModifyGridCoords<ModifyShapeProperty>
Returns:
True if the condition of the link is respected.