byucc.jhdl.apps.Viewers.Schematic
Class SchematicNet

java.lang.Object
  extended bybyucc.jhdl.apps.Viewers.Schematic.SchematicNet

public class SchematicNet
extends java.lang.Object


Field Summary
 int busSize
           
 boolean selected
           
 
Constructor Summary
SchematicNet(SchematicCanvas p)
           
 
Method Summary
 NetConnection addConnection(SchematicNode sNode, PortRecord record, Net net)
           
 void AddMessage(java.lang.String message)
           
 void allocatePath(int r1, int r2, int c1, int pC1)
           
 void createWires()
           
 java.util.Vector getConnections()
           
 java.lang.String getName()
           
 java.lang.String getNameInfo()
          This function returns the name of the net and the info string
 boolean getSelected(int xin, int yin)
           
 boolean isSelected()
           
 void paint(java.awt.Graphics g)
           
 boolean toggleSelection(int xin, int yin)
           
 java.lang.String toString()
           
 void updateColors()
           
 void updateInfo(java.lang.String wName)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

selected

public boolean selected

busSize

public int busSize
Constructor Detail

SchematicNet

public SchematicNet(SchematicCanvas p)
Method Detail

updateColors

public void updateColors()

updateInfo

public void updateInfo(java.lang.String wName)

AddMessage

public void AddMessage(java.lang.String message)

toString

public java.lang.String toString()

toggleSelection

public boolean toggleSelection(int xin,
                               int yin)

isSelected

public boolean isSelected()

getName

public java.lang.String getName()

getSelected

public boolean getSelected(int xin,
                           int yin)

getNameInfo

public java.lang.String getNameInfo()
This function returns the name of the net and the info string


addConnection

public NetConnection addConnection(SchematicNode sNode,
                                   PortRecord record,
                                   Net net)

createWires

public void createWires()

allocatePath

public void allocatePath(int r1,
                         int r2,
                         int c1,
                         int pC1)

getConnections

public java.util.Vector getConnections()

paint

public void paint(java.awt.Graphics g)


Copyright ? 2006 Brigham Young University, Configurable Computing Laboratory. All Rights Reserved.