|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sun.electric.database.hierarchy.View
public class View
A View is an object that represents a style of design, for example schematic, layout, etc. Each Cell has a View associated with it. Views have full names (such as "layout") and abbreviations which are used in cell names (for example "gate{lay}").
Electric has a set of Views at the start, and users can define their own.
Field Summary | |
---|---|
static View |
DOC
Defines the Documentation view (a text view). |
static View |
DOCWAVE
Defines the simulation snapshot view. |
static View |
ICON
Defines the Icon view. |
static View |
LAYOUT
Defines the Layout view. |
static View |
LAYOUTCOMP
Defines the Compensated view. |
static View |
LAYOUTSKEL
Defines the Skeleton view. |
static View |
NETLIST
Defines the general Netlist view (a text view). |
static View |
NETLISTALS
Defines the ALS (netlist) view (a text view). |
static View |
NETLISTNETLISP
Defines the NetLisp (netlist) view (a text view). |
static View |
NETLISTQUISC
Defines the QUISC (netlist) view (a text view). |
static View |
NETLISTRSIM
Defines the RSIM (netlist) view (a text view). |
static View |
NETLISTSILOS
Defines the SILOS (netlist) view (a text view). |
static View |
SCHEMATIC
Defines the Schematic view. |
static View |
UNKNOWN
Defines the unknown view. |
static View |
VERILOG
Defines the Verilog view (a text view). |
static View |
VHDL
Defines the VHDL view (a text view). |
Method Summary | |
---|---|
int |
compareTo(View that)
Compares two View objects. |
static View |
findView(java.lang.String name)
Method to return a View using its full or short name. |
java.lang.String |
getAbbreviation()
Method to return the short name of this View. |
java.lang.String |
getAbbreviationExtension()
Method to return the string containing the extension to be used for cell names |
java.lang.String |
getFullName()
Method to return the full name of this View. |
static int |
getNumViews()
Method to return the number of views. |
int |
getOrder()
Method to get the ordering of this View for sorting. |
static java.util.List<View> |
getOrderedViews()
Method to return a List of all libraries, sorted by name. |
static java.util.Iterator<View> |
getViews()
Method to return an iterator over the views. |
boolean |
isPermanentView()
Method to return true if this View is permanent. |
boolean |
isTextView()
Method to return true if this View is Text-only. |
void |
kill()
Method to delete this View. |
static View |
newInstance(java.lang.String fullName,
java.lang.String abbreviation)
Method to create a View with the given name. |
static View |
newTextInstance(java.lang.String fullName,
java.lang.String abbreviation)
Method to create a Text-only View with the given name. |
java.lang.String |
toString()
Returns a printable version of this View. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final View SCHEMATIC
public static final View ICON
public static final View LAYOUT
public static final View LAYOUTSKEL
public static final View LAYOUTCOMP
public static final View VHDL
public static final View VERILOG
public static final View DOC
public static final View DOCWAVE
public static final View NETLIST
public static final View NETLISTNETLISP
public static final View NETLISTRSIM
public static final View NETLISTSILOS
public static final View NETLISTQUISC
public static final View NETLISTALS
public static final View UNKNOWN
Method Detail |
---|
public static View newInstance(java.lang.String fullName, java.lang.String abbreviation)
fullName
- the full name of the View, for example "layout".abbreviation
- the short name of the View, for example "lay".
The short name is used inside of braces when naming a cell (for example "gate{lay}").
public static View newTextInstance(java.lang.String fullName, java.lang.String abbreviation)
fullName
- the full name of the View, for example "documentation".abbreviation
- the short name of the View, for example "doc".
The short name is used inside of braces when naming a cell (for example "gate{doc}").
public void kill()
public static View findView(java.lang.String name)
name
- the name of the View.
public java.lang.String getFullName()
public java.lang.String getAbbreviation()
public java.lang.String getAbbreviationExtension()
public int getOrder()
public boolean isTextView()
public boolean isPermanentView()
public static java.util.Iterator<View> getViews()
public static int getNumViews()
public static java.util.List<View> getOrderedViews()
public int compareTo(View that)
View
objects.
compareTo
in interface java.lang.Comparable<View>
that
- the View to be compared.
public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |