public class GraphMoveMouseListener
extends java.lang.Object
implements java.awt.event.MouseMotionListener
Constructor and Description |
---|
GraphMoveMouseListener(ObjectModelJGraphXPanel graphPanel,
AttributesHierarchyPanel attributesPanel,
XOCLog log) |
Modifier and Type | Method and Description |
---|---|
void |
addEditorPanel(EditorPanel editorPanel) |
void |
addGraphPanel(ObjectModelJGraphXPanel graphPanel) |
void |
addInformationPanel(InformationPanel informationPanel) |
java.lang.String |
getElementType() |
java.lang.String |
getPreviouslyElementType() |
javax.swing.JButton |
getPreviouslySelectedButton() |
java.util.UUID |
getPreviouslySelectedID() |
javax.swing.JButton |
getSelectedButton() |
MyOriginalCell |
getSelectedCell() |
java.util.UUID |
getSelectedID() |
void |
mouseDragged(java.awt.event.MouseEvent e) |
void |
mouseMoved(java.awt.event.MouseEvent e) |
void |
setElementType(java.lang.String elementType)
Sets the selected elementType, can be used for variables and originators (it will raise a mousePressed event)
|
void |
setSelectedButton(javax.swing.JButton focusedButton)
Sets the selected ID, can be used for variables and originators (it will raise a mousePressed event)
|
void |
setSelectedCell(MyOriginalCell cell) |
void |
setSelectedEvent(XOCEvent selectEvent) |
void |
setSelectedID(java.util.UUID newID) |
public GraphMoveMouseListener(ObjectModelJGraphXPanel graphPanel, AttributesHierarchyPanel attributesPanel, XOCLog log)
public void addGraphPanel(ObjectModelJGraphXPanel graphPanel)
public void addInformationPanel(InformationPanel informationPanel)
public void addEditorPanel(EditorPanel editorPanel)
public java.util.UUID getSelectedID()
public java.util.UUID getPreviouslySelectedID()
public void setSelectedButton(javax.swing.JButton focusedButton)
newID
- public javax.swing.JButton getSelectedButton()
public void setSelectedCell(MyOriginalCell cell)
public void setSelectedEvent(XOCEvent selectEvent)
public MyOriginalCell getSelectedCell()
public javax.swing.JButton getPreviouslySelectedButton()
public void setSelectedID(java.util.UUID newID)
public java.lang.String getElementType()
public java.lang.String getPreviouslyElementType()
public void setElementType(java.lang.String elementType)
newID
- public void mouseDragged(java.awt.event.MouseEvent e)
mouseDragged
in interface java.awt.event.MouseMotionListener
public void mouseMoved(java.awt.event.MouseEvent e)
mouseMoved
in interface java.awt.event.MouseMotionListener