byucc.jhdl.DRC
Class DesignRuleBrowser

java.lang.Object
  extended bybyucc.jhdl.DRC.DesignRuleBrowser

public class DesignRuleBrowser
extends java.lang.Object

Graphical browser for using with the Design Rule Checker.

Author:
Michael Halcrow

Field Summary
 javax.swing.JList appliedRuleList
           
 javax.swing.DefaultListModel appliedRules
           
 javax.swing.JList availableRuleList
           
 javax.swing.DefaultListModel availableRules
           
 javax.swing.JTextField circuit
           
 DesignRuleChecker drc
          The DesignRuleChecker associated with this browser.
 javax.swing.JFrame frame
           
static int IMPORT_CIRCUIT
          States
static int RULES_ONLY
           
 javax.swing.JTree tree
           
 javax.swing.JTextArea violationBreakdown
           
 
Constructor Summary
DesignRuleBrowser()
          Constructor.
DesignRuleBrowser(DesignRuleChecker drc)
           
 
Method Summary
 void createNodes(javax.swing.tree.DefaultMutableTreeNode top, DesignRuleViolation[] drvs)
          Places the registered violations on the tree.
 void init(DesignRuleChecker drc)
          Initializes the GUI.
static void main(java.lang.String[] argv)
          The Design Rule Browser may be run from the command line.
 void run()
           
 void setState(int newState)
           
 void show()
          Show the constructed frame.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

drc

public DesignRuleChecker drc
The DesignRuleChecker associated with this browser.


frame

public javax.swing.JFrame frame

violationBreakdown

public javax.swing.JTextArea violationBreakdown

availableRuleList

public javax.swing.JList availableRuleList

appliedRuleList

public javax.swing.JList appliedRuleList

availableRules

public javax.swing.DefaultListModel availableRules

appliedRules

public javax.swing.DefaultListModel appliedRules

circuit

public javax.swing.JTextField circuit

tree

public javax.swing.JTree tree

IMPORT_CIRCUIT

public static final int IMPORT_CIRCUIT
States

See Also:
Constant Field Values

RULES_ONLY

public static final int RULES_ONLY
See Also:
Constant Field Values
Constructor Detail

DesignRuleBrowser

public DesignRuleBrowser()
Constructor.


DesignRuleBrowser

public DesignRuleBrowser(DesignRuleChecker drc)
Method Detail

main

public static void main(java.lang.String[] argv)
The Design Rule Browser may be run from the command line. The GUI contains all the functionality necessary to select a set of rules to check against and a circuit to test.


init

public void init(DesignRuleChecker drc)
Initializes the GUI.


setState

public void setState(int newState)

show

public void show()
Show the constructed frame.


run

public void run()

createNodes

public void createNodes(javax.swing.tree.DefaultMutableTreeNode top,
                        DesignRuleViolation[] drvs)
Places the registered violations on the tree.



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