V - E - public class AnnotatingModalGraphMouse<V,E> extends AbstractModalGraphMouse implements ModalGraphMouse, java.awt.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 |
|---|---|
javax.swing.JComboBox |
getModeComboBox() |
javax.swing.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, setZoomAtMouseadd, mouseClicked, mouseDragged, mouseEntered, mouseExited, mouseMoved, mousePressed, mouseReleased, mouseWheelMoved, removeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetModeListenerprotected 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 AbstractModalGraphMousepublic void setMode(ModalGraphMouse.Mode mode)
setMode in interface ModalGraphMousesetMode in class AbstractModalGraphMouseprotected void setPickingMode()
setPickingMode in class AbstractModalGraphMouseprotected void setTransformingMode()
setTransformingMode in class AbstractModalGraphMouseprotected void setEditingMode()
protected void setAnnotatingMode()
public javax.swing.JComboBox getModeComboBox()
getModeComboBox in class AbstractModalGraphMousepublic javax.swing.JMenu getModeMenu()
getModeMenu in class AbstractModalGraphMouse