public class DefaultR2VectorMouseTranslateHandler extends MMHandler
MMDefaultR2Vector
by using the mouse.m_master, m_specialCaseListenersList
MAX_UPDATER_INVOCATION_COUNT
Constructor and Description |
---|
DefaultR2VectorMouseTranslateHandler(javax.swing.JComponent display) |
Modifier and Type | Method and Description |
---|---|
void |
setMaster(MMObjectIF master)
|
void |
userDefinedAction(MMEvent event)
Implement this method in the user specific implementation of a
MMHandler to describe what handler specific action should be done within the doAction
method of this
MMHandler . |
boolean |
userDefinedDealsWith(MMEvent event)
Implement this method in the user specific implementation of a
MMHandler to define on which MMEvents this MMHandler shall react. |
void |
userDefinedFinish()
Implement this method in the user specific implementation of a
MMHandler to define how this MMHandler must reset it's internal settings to be prepared for a new
action cycle. |
addSpecialCaseListener, clone, dealsWith, doAction, finish, fireSpecialCaseEvent, getDisplay, getMaster, isActive, isReDrawDuringAction, isUpdateDuringAction, setActive, setDisplay, setDrawDuringAction, setUpdateDuringAction
addInvokedUpdater, addObjectToRedraw, addUpdatableEntryObject, finishUpdaters, getActionCallCount, getEntryObject, getMaxUpdateInvocationCount, increaseActionCallCount, isUpdatableEntryObject, performActionCycleFromObject, performActionCycleFromObjects, redrawObjectsInCurrentCycle, reset, setEntryObject, setMaxUpdateInvocationCount
public DefaultR2VectorMouseTranslateHandler(javax.swing.JComponent display)
public boolean userDefinedDealsWith(MMEvent event)
MMHandler
MMHandler
to define on which MMEvents
this MMHandler
shall react.userDefinedDealsWith
in class MMHandler
public void userDefinedAction(MMEvent event)
MMHandler
MMHandler
to describe what handler specific action should be done within the doAction
method of this
MMHandler
.userDefinedAction
in class MMHandler
MMHandler.doAction(net.mumie.mathletfactory.action.MMEvent)
public void userDefinedFinish()
MMHandler
MMHandler
to define how this MMHandler
must reset it's internal settings to be prepared for a new
action cycle.userDefinedFinish
in class MMHandler
public void setMaster(MMObjectIF master)
MMHandler
master
to be the master MMObjectIF
of this MMHandler
. MMHandler
is added to a
MMObjectIF
(see addHandler
in MMObjectIF
for
more information on this issue).setMaster
in class MMHandler
InteractivityIF.addHandler(net.mumie.mathletfactory.action.handler.MMHandler)
Further documentation and examples can be found under www.mathletfactory.de.