com.sun.electric.tool.user.ncc
Class NccMsgsFrame

java.lang.Object
  extended by com.sun.electric.tool.user.ncc.NccMsgsFrame

public class NccMsgsFrame
extends java.lang.Object

This is the top-level class of NCC GUI. Call display() to display the frame.


Field Summary
protected static java.awt.Container frame
          current frame of NCC GUI
 
Constructor Summary
NccMsgsFrame()
           
 
Method Summary
 void display()
          Display NCC window.
static java.awt.Container getCurrentFrame()
          Method returns the current Frame of NCC GUI.
 void setMismatches(java.util.List<NccGuiInfo> misms, NccOptions options)
          Method to update the list of mismatched NCC comparisons
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

frame

protected static java.awt.Container frame
current frame of NCC GUI

Constructor Detail

NccMsgsFrame

public NccMsgsFrame()
Method Detail

getCurrentFrame

public static java.awt.Container getCurrentFrame()
Method returns the current Frame of NCC GUI. No more than one NCC GUI Frame exists at any time.

Returns:
current NCC GUI Frame. The retuned frame is an instance of either JInternalFrame (if in MDI mode) or of JFrame (otherwise)

setMismatches

public void setMismatches(java.util.List<NccGuiInfo> misms,
                          NccOptions options)
Method to update the list of mismatched NCC comparisons

Parameters:
misms - list of mismatches
options - NCC options

display

public void display()
Display NCC window. If no errors were found, only a small message window will appear.