|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object JGraph edu.jhu.ece.iacl.jist.pipeline.graph.PipeJGraph
public class PipeJGraph
MAPS customized graph.
Field Summary | |
---|---|
protected PipePort |
portCheck
The port check. |
Constructor Summary | |
---|---|
PipeJGraph(PipeInternalFrame parent)
References the folding manager. |
Method Summary | |
---|---|
void |
connectAction(PipePort owner)
Connect action. |
protected DefaultGraphCell |
createDefaultGraphCell(DraggableNode node)
Creates the default graph cell. |
PipeModuleCell |
createGraphNode(PipeModule mod)
Creates the graph node. |
boolean |
createUniqueName(PipeModule pipe)
Creates the unique name. |
void |
disconnectAction(PipePort owner,
PipePort child,
PipeConnector wire)
Disconnect action. |
void |
dispose()
Dispose. |
void |
dragEnter(java.awt.dnd.DropTargetDragEvent e)
|
void |
dragExit(java.awt.dnd.DropTargetEvent e)
|
void |
dragOver(java.awt.dnd.DropTargetDragEvent e)
DropTaregetListener interface method. |
void |
drop(java.awt.dnd.DropTargetDropEvent e)
DropTargetListener interface method - What we do when drag is released. |
void |
dropActionChanged(java.awt.dnd.DropTargetDragEvent arg0)
|
java.awt.Point |
getCurrentLocation()
Gets the current location. |
PipeLayout |
getPipelineLayout()
Gets the pipeline layout. |
PipePort |
getPortToCheck()
Get port to check for compatibility. |
void |
graphChanged(GraphModelEvent e)
|
void |
insert(DraggableNode node,
java.awt.Point cursorLocationBins)
Insert. |
void |
refresh()
Refresh. |
void |
setPipelineLayout(PipeLayout layout,
javax.swing.ProgressMonitor monitor)
Sets the pipeline layout. |
void |
setPortToCheck(PipePort port)
Set port to check for compatibility. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected PipePort portCheck
Constructor Detail |
---|
public PipeJGraph(PipeInternalFrame parent)
parent
- the parentMethod Detail |
---|
public void connectAction(PipePort owner)
PipePort.PortListener
connectAction
in interface PipePort.PortListener
owner
- the ownerprotected DefaultGraphCell createDefaultGraphCell(DraggableNode node)
node
- the node
public PipeModuleCell createGraphNode(PipeModule mod)
mod
- the mod
public boolean createUniqueName(PipeModule pipe)
pipe
- the pipe
public void disconnectAction(PipePort owner, PipePort child, PipeConnector wire)
PipePort.PortListener
disconnectAction
in interface PipePort.PortListener
owner
- the ownerchild
- the childwire
- the wirepublic void dispose()
public void dragEnter(java.awt.dnd.DropTargetDragEvent e)
dragEnter
in interface java.awt.dnd.DropTargetListener
public void dragExit(java.awt.dnd.DropTargetEvent e)
dragExit
in interface java.awt.dnd.DropTargetListener
public void dragOver(java.awt.dnd.DropTargetDragEvent e)
dragOver
in interface java.awt.dnd.DropTargetListener
e
- the epublic void drop(java.awt.dnd.DropTargetDropEvent e)
drop
in interface java.awt.dnd.DropTargetListener
e
- the epublic void dropActionChanged(java.awt.dnd.DropTargetDragEvent arg0)
dropActionChanged
in interface java.awt.dnd.DropTargetListener
public java.awt.Point getCurrentLocation()
public PipeLayout getPipelineLayout()
public PipePort getPortToCheck()
public void graphChanged(GraphModelEvent e)
public void insert(DraggableNode node, java.awt.Point cursorLocationBins)
node
- the nodecursorLocationBins
- the cursor location binspublic void refresh()
public void setPipelineLayout(PipeLayout layout, javax.swing.ProgressMonitor monitor)
layout
- the layoutmonitor
- the monitorpublic void setPortToCheck(PipePort port)
port
- the port
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |