public class JIPipeRewireGraphEditorTool extends Object implements JIPipeToggleableGraphEditorTool
Constructor and Description |
---|
JIPipeRewireGraphEditorTool() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
paintAfterNodesAndEdges, paintBelowNodesAndEdges
getGraphCanvas
public String getName()
getName
in interface JIPipeGraphEditorTool
public String getTooltip()
getTooltip
in interface JIPipeGraphEditorTool
public Icon getIcon()
getIcon
in interface JIPipeGraphEditorTool
public JIPipeGraphEditorUI getGraphEditor()
getGraphEditor
in interface JIPipeGraphEditorTool
public void setGraphEditor(JIPipeGraphEditorUI graphEditorUI)
setGraphEditor
in interface JIPipeGraphEditorTool
public boolean supports(JIPipeGraphEditorUI graphEditorUI)
supports
in interface JIPipeGraphEditorTool
public int getPriority()
getPriority
in interface JIPipeGraphEditorTool
public void activate()
activate
in interface JIPipeGraphEditorTool
public int getCategory()
getCategory
in interface JIPipeGraphEditorTool
public Cursor getCursor()
getCursor
in interface JIPipeGraphEditorTool
public void paintBelowNodesAfterEdges(Graphics2D graphics2D)
paintBelowNodesAfterEdges
in interface JIPipeToggleableGraphEditorTool
public void mouseClicked(MouseEvent e)
mouseClicked
in interface MouseListener
public void mousePressed(MouseEvent e)
mousePressed
in interface MouseListener
public void mouseReleased(MouseEvent e)
mouseReleased
in interface MouseListener
public void mouseEntered(MouseEvent e)
mouseEntered
in interface MouseListener
public void mouseExited(MouseEvent e)
mouseExited
in interface MouseListener
public void mouseDragged(MouseEvent e)
mouseDragged
in interface MouseMotionListener
public void mouseMoved(MouseEvent e)
mouseMoved
in interface MouseMotionListener
public JIPipeNodeUISlotActiveArea getCurrentRewireDragTarget()
public void setCurrentRewireDragTarget(JIPipeNodeUISlotActiveArea currentRewireDragTarget)
public JIPipeNodeUISlotActiveArea getCurrentRewireDragSource()
public void setCurrentRewireDragSource(JIPipeNodeUISlotActiveArea currentRewireDragSource)
public boolean canRenderEdge(JIPipeDataSlot source, JIPipeDataSlot target, JIPipeGraphEdge edge)
canRenderEdge
in interface JIPipeToggleableGraphEditorTool
public void deactivate()
deactivate
in interface JIPipeToggleableGraphEditorTool
public boolean allowsDragNodes()
allowsDragNodes
in interface JIPipeToggleableGraphEditorTool
public boolean allowsDragConnections()
allowsDragConnections
in interface JIPipeToggleableGraphEditorTool
Copyright © 2020–2023 Leibniz Institute for Natural Product Research and Infection Biology - Hans Knöll Institute (HKI). All rights reserved.