public class JIPipeRewireGraphEditorTool extends Object implements JIPipeToggleableGraphEditorTool
Constructor and Description |
---|
JIPipeRewireGraphEditorTool() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
paintAfterNodesAndEdges, paintBelowNodesAndEdges, paintMouse
getGraphCanvas
public String getName()
getName
in interface JIPipeGraphEditorTool
public String getTooltip()
getTooltip
in interface JIPipeGraphEditorTool
public Icon getIcon()
getIcon
in interface JIPipeGraphEditorTool
public KeyStroke getKeyBinding()
getKeyBinding
in interface JIPipeGraphEditorTool
public AbstractJIPipeDesktopGraphEditorUI getGraphEditor()
getGraphEditor
in interface JIPipeGraphEditorTool
public void setGraphEditor(AbstractJIPipeDesktopGraphEditorUI graphEditorUI)
setGraphEditor
in interface JIPipeGraphEditorTool
public boolean supports(AbstractJIPipeDesktopGraphEditorUI 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 JIPipeDesktopGraphNodeUISlotActiveArea getCurrentRewireDragTarget()
public void setCurrentRewireDragTarget(JIPipeDesktopGraphNodeUISlotActiveArea currentRewireDragTarget)
public JIPipeDesktopGraphNodeUISlotActiveArea getCurrentRewireDragSource()
public void setCurrentRewireDragSource(JIPipeDesktopGraphNodeUISlotActiveArea 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–2025 Leibniz Institute for Natural Product Research and Infection Biology - Hans Knöll Institute (HKI). All rights reserved.