public abstract class RoutingInteractionHandler extends Object implements DelegatingInteractionHandler
| Modifier and Type | Field and Description |
|---|---|
protected List |
handlers |
protected InteractionHandler |
interactionHandler |
| Constructor and Description |
|---|
RoutingInteractionHandler(String name)
Creates a DelegatingInteractionHandler.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetDescriptionprotected List handlers
protected InteractionHandler interactionHandler
public RoutingInteractionHandler(String name)
public void add(InteractionHandler h)
public void add(InteractionHandler h, boolean selected)
public void setInteractionHandler(InteractionHandler interactionHandler)
public InteractionHandler getInteractionHandler()
getInteractionHandler in interface DelegatingInteractionHandlerpublic Icon getIcon(int size)
getIcon in interface InteractionHandlerpublic boolean isSupportedBy(GraphicsPanel panel)
isSupportedBy in interface InteractionHandlerpublic void changeCursor(RecordPlot plot, InputEvent event)
changeCursor in interface InteractionHandlerpublic String getID()
getID in interface WiredRegistry.IDpublic void setRecord(RecordPlot plot, Object record)
setRecord in interface InteractionHandlerpublic void setSelected(RecordPlot plot, boolean selected)
setSelected in interface InteractionHandlerpublic void setSize(RecordPlot plot, int width, int height)
setSize in interface InteractionHandlerpublic void reset(RecordPlot plot, InputEvent event)
reset in interface InteractionHandlerpublic void mouseButton1Clicked(RecordPlot plot, MouseEvent event)
mouseButton1Clicked in interface InteractionHandlerpublic void mouseButton1Pressed(RecordPlot plot, MouseEvent event)
mouseButton1Pressed in interface InteractionHandlerpublic void mouseButton1Released(RecordPlot plot, MouseEvent event)
mouseButton1Released in interface InteractionHandlerpublic void mouseButton1DragStarted(RecordPlot plot, MouseEvent event)
mouseButton1DragStarted in interface InteractionHandlerpublic void mouseButton1Dragged(RecordPlot plot, MouseEvent event)
mouseButton1Dragged in interface InteractionHandlerpublic void mouseButton1DragEnded(RecordPlot plot, MouseEvent event)
mouseButton1DragEnded in interface InteractionHandlerpublic void mouseMoved(RecordPlot plot, MouseEvent event)
mouseMoved in interface InteractionHandlerpublic void mouseEntered(RecordPlot plot, MouseEvent event)
mouseEntered in interface InteractionHandlerpublic void mouseExited(RecordPlot plot, MouseEvent event)
mouseExited in interface InteractionHandlerpublic void mouseWheelMoved(RecordPlot plot, MouseWheelEvent event)
mouseWheelMoved in interface InteractionHandlerpublic boolean escKeyPressed(RecordPlot plot, KeyEvent event)
escKeyPressed in interface InteractionHandlerpublic boolean escKeyReleased(RecordPlot plot, KeyEvent event)
escKeyReleased in interface InteractionHandlerpublic boolean altKeyPressed(RecordPlot plot, KeyEvent event)
altKeyPressed in interface InteractionHandlerpublic boolean altKeyReleased(RecordPlot plot, KeyEvent event)
altKeyReleased in interface InteractionHandlerpublic boolean ctrlKeyPressed(RecordPlot plot, KeyEvent event)
ctrlKeyPressed in interface InteractionHandlerpublic boolean ctrlKeyReleased(RecordPlot plot, KeyEvent event)
ctrlKeyReleased in interface InteractionHandlerpublic boolean shiftKeyPressed(RecordPlot plot, KeyEvent event)
shiftKeyPressed in interface InteractionHandlerpublic boolean shiftKeyReleased(RecordPlot plot, KeyEvent event)
shiftKeyReleased in interface InteractionHandlerpublic boolean metaKeyPressed(RecordPlot plot, KeyEvent event)
metaKeyPressed in interface InteractionHandlerpublic boolean metaKeyReleased(RecordPlot plot, KeyEvent event)
metaKeyReleased in interface InteractionHandlerpublic boolean ctrlMetaKeyPressed(RecordPlot plot, KeyEvent event)
ctrlMetaKeyPressed in interface InteractionHandlerpublic boolean ctrlMetaKeyReleased(RecordPlot plot, KeyEvent event)
ctrlMetaKeyReleased in interface InteractionHandlerpublic boolean otherKeyPressed(RecordPlot plot, KeyEvent event)
otherKeyPressed in interface InteractionHandlerpublic boolean otherKeyReleased(RecordPlot plot, KeyEvent event)
otherKeyReleased in interface InteractionHandlerpublic boolean keyTyped(RecordPlot plot, KeyEvent event)
keyTyped in interface InteractionHandlerpublic int getWidth()
getWidth in interface InteractionHandlerpublic int getHeight()
getHeight in interface InteractionHandlerpublic Component getControl()
public String getName()
getName in interface InteractionHandlerpublic void save(org.freehep.xml.io.XMLIOManager xmlioManager,
org.jdom.Element nodeEl)
save in interface org.freehep.xml.io.XMLIOpublic void restore(org.freehep.xml.io.XMLIOManager xmlioManager,
org.jdom.Element nodeEl)
restore in interface org.freehep.xml.io.XMLIOCopyright © 1996-2014 FreeHEP. All Rights Reserved.