public class GraphZoomMouseListener
extends java.lang.Object
implements java.awt.event.MouseWheelListener
Constructor and Description |
---|
GraphZoomMouseListener(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 |
mouseWheelMoved(java.awt.event.MouseWheelEvent 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) |
void |
setZoomType(int zoomType) |
public GraphZoomMouseListener(ObjectModelJGraphXPanel graphPanel, AttributesHierarchyPanel attributesPanel, XOCLog log)
public void addGraphPanel(ObjectModelJGraphXPanel graphPanel)
public void addInformationPanel(InformationPanel informationPanel)
public void addEditorPanel(EditorPanel editorPanel)
public void setZoomType(int zoomType)
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 mouseWheelMoved(java.awt.event.MouseWheelEvent e)
mouseWheelMoved
in interface java.awt.event.MouseWheelListener