V
- E
- public class AnnotatingModalGraphMouse<V,E> extends AbstractModalGraphMouse implements ModalGraphMouse, ItemSelectable
Modifier and Type | Class and Description |
---|---|
static class |
AnnotatingModalGraphMouse.ModeKeyAdapter |
ModalGraphMouse.Mode
Modifier and Type | Field and Description |
---|---|
protected AnnotatingGraphMousePlugin<V,E> |
annotatingPlugin |
protected MultiLayerTransformer |
basicTransformer |
protected RenderContext<V,E> |
rc |
animatedPickingPlugin, in, listenerList, mode, modeBox, modeKeyListener, modeListener, modeMenu, out, pickingPlugin, rotatingPlugin, scalingPlugin, shearingPlugin, translatingPlugin
Constructor and Description |
---|
AnnotatingModalGraphMouse(RenderContext<V,E> rc,
AnnotatingGraphMousePlugin<V,E> annotatingPlugin)
create an instance with default values
|
AnnotatingModalGraphMouse(RenderContext<V,E> rc,
AnnotatingGraphMousePlugin<V,E> annotatingPlugin,
float in,
float out)
create an instance with passed values
|
Modifier and Type | Method and Description |
---|---|
JComboBox |
getModeComboBox() |
JMenu |
getModeMenu()
create (if necessary) and return a menu that will change
the mode
|
protected void |
loadPlugins()
create the plugins, and load the plugins for TRANSFORMING mode
|
protected void |
setAnnotatingMode() |
protected void |
setEditingMode() |
void |
setMode(ModalGraphMouse.Mode mode)
setter for the Mode.
|
protected void |
setPickingMode() |
protected void |
setTransformingMode() |
addItemListener, fireItemStateChanged, getItemListeners, getModeKeyListener, getModeListener, getSelectedObjects, removeItemListener, setModeKeyListener, setZoomAtMouse
add, mouseClicked, mouseDragged, mouseEntered, mouseExited, mouseMoved, mousePressed, mouseReleased, mouseWheelMoved, remove
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getModeListener
mouseClicked, mouseEntered, mouseExited, mousePressed, mouseReleased
mouseDragged, mouseMoved
mouseWheelMoved
addItemListener, getSelectedObjects, removeItemListener
protected AnnotatingGraphMousePlugin<V,E> annotatingPlugin
protected MultiLayerTransformer basicTransformer
protected RenderContext<V,E> rc
public AnnotatingModalGraphMouse(RenderContext<V,E> rc, AnnotatingGraphMousePlugin<V,E> annotatingPlugin)
public AnnotatingModalGraphMouse(RenderContext<V,E> rc, AnnotatingGraphMousePlugin<V,E> annotatingPlugin, float in, float out)
in
- override value for scale inout
- override value for scale outprotected void loadPlugins()
loadPlugins
in class AbstractModalGraphMouse
public void setMode(ModalGraphMouse.Mode mode)
setMode
in interface ModalGraphMouse
setMode
in class AbstractModalGraphMouse
protected void setPickingMode()
setPickingMode
in class AbstractModalGraphMouse
protected void setTransformingMode()
setTransformingMode
in class AbstractModalGraphMouse
protected void setEditingMode()
protected void setAnnotatingMode()
public JComboBox getModeComboBox()
getModeComboBox
in class AbstractModalGraphMouse
public JMenu getModeMenu()
getModeMenu
in class AbstractModalGraphMouse
Copyright © 2015. All rights reserved.