public class GraphMouseListener
extends java.awt.event.MouseAdapter
Constructor and Description |
---|
GraphMouseListener(ObjectModelJGraphXPanel graphPanel,
AttributesHierarchyPanel attributesPanel,
XOCLog log) |
Modifier and Type | Method and Description |
---|---|
void |
addEditorPanel(EditorPanel editorPanel) |
void |
addGraphOutlinePanel(mxGraphOutline graphOutlinePanel) |
void |
addGraphPanel(ObjectModelJGraphXPanel graphPanel) |
void |
addInformationPanel(InformationPanel informationPanel) |
void |
addLogEvolutionPanel(XOCLogEvolution logEvolutionPanel) |
void |
clearHightlightColor() |
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 |
mouseReleased(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 GraphMouseListener(ObjectModelJGraphXPanel graphPanel, AttributesHierarchyPanel attributesPanel, XOCLog log)
public void addGraphPanel(ObjectModelJGraphXPanel graphPanel)
public void addGraphOutlinePanel(mxGraphOutline graphOutlinePanel)
public void addLogEvolutionPanel(XOCLogEvolution logEvolutionPanel)
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
mouseDragged
in class java.awt.event.MouseAdapter
public void mouseReleased(java.awt.event.MouseEvent e)
mouseReleased
in interface java.awt.event.MouseListener
mouseReleased
in class java.awt.event.MouseAdapter
public void clearHightlightColor()