Package | Description |
---|---|
com.sun.electric.database.change |
Package for handling changes to the Electric database.
|
com.sun.electric.database.constraint |
Package for handling constraint propagation in the Electric database.
|
com.sun.electric.database.geometry |
Package for geometric support in Electric.
|
com.sun.electric.database.hierarchy |
Package for hierarchy (cell instances inside of cells).
|
com.sun.electric.database.topology |
Package for connected Nodes and Arcs.
|
com.sun.electric.database.variable |
Package for handling variables.
|
com.sun.electric.technology.technologies |
Package for the individual technologies.
|
com.sun.electric.tool |
Package for all synthesis and analysis tools.
|
com.sun.electric.tool.cvspm |
Package for the CVS tool which synchronizes circuitry using source-code control.
|
com.sun.electric.tool.routing |
Package for handling the Routing tools.
|
com.sun.electric.tool.user |
Package for handling the user-interface tool.
|
com.sun.electric.tool.user.dialogs | |
com.sun.electric.tool.user.ui |
Modifier and Type | Method and Description |
---|---|
void |
Changes.killObject(ElectricObject obj)
Method to announce the deletion of an ElectricObject.
|
void |
Changes.newObject(ElectricObject obj)
Method to announce the creation of a new ElectricObject.
|
boolean |
DatabaseChangeEvent.objectChanged(ElectricObject eObj)
Returns true if ElectricObject eObj was created, killed or modified
in the new database state.
|
void |
Changes.renameObject(ElectricObject obj,
java.lang.Object oldName)
Method to announce the renaming of an ElectricObject.
|
Modifier and Type | Method and Description |
---|---|
void |
Constraints.killObject(ElectricObject obj)
Method to handle the deletion of an ElectricObject.
|
void |
Layout.newObject(ElectricObject obj)
Method to handle the creation of a new ElectricObject.
|
void |
Constraints.newObject(ElectricObject obj)
Method to handle the creation of a new ElectricObject.
|
void |
Constraints.redrawObject(ElectricObject obj)
Method to request that an object be redrawn.
|
void |
Constraints.renameObject(ElectricObject obj,
java.lang.Object oldName)
Method to handle the renaming of an ElectricObject.
|
Modifier and Type | Method and Description |
---|---|
static Poly.Type |
PolyBase.rotateType(Poly.Type origType,
ElectricObject eObj)
Method to rotate a text Type according to the rotation of the object on which it resides.
|
boolean |
Poly.setExactTextBounds(EditWindow0 wnd,
ElectricObject eObj)
Method to convert text Polys to their precise bounds in a given window.
|
static Poly.Type |
PolyBase.unRotateType(Poly.Type origType,
ElectricObject eObj)
Method to unrotate a text Type according to the rotation of the object on which it resides.
|
Modifier and Type | Class and Description |
---|---|
class |
Cell
A Cell is a non-primitive NodeProto.
|
class |
Export
An Export is a PortProto at the Cell level.
|
class |
Library
A Library represents a collection of Cells.
|
Modifier and Type | Method and Description |
---|---|
void |
Export.copyVarsFrom(ElectricObject other)
Method to copy all variables from another Export to this Export.
|
boolean |
Cell.isUniqueName(Name name,
java.lang.Class cls,
ElectricObject exclude)
Method to determine whether a name is unique in this Cell.
|
boolean |
Cell.isUniqueName(java.lang.String name,
java.lang.Class cls,
ElectricObject exclude)
Method to determine whether a name is unique in this Cell.
|
boolean |
Cell.objInCell(ElectricObject eObj)
Method to tell whether an ElectricObject exists in this Cell.
|
Modifier and Type | Class and Description |
---|---|
class |
ArcInst
An ArcInst is an instance of an ArcProto (a wire type)
An ArcInst points to its prototype, the Cell on which it has been
instantiated, and the connection at either end of the wire.
|
class |
Geometric
This class is the superclass for the Electric classes that have visual
bounds on the screen, specifically NodeInst and ArcInst.
|
class |
NodeInst
A NodeInst is an instance of a NodeProto (a PrimitiveNode or a Cell).
|
class |
PortInst
The PortInst class represents an instance of a Port.
|
Modifier and Type | Method and Description |
---|---|
ElectricObject |
DisplayedText.getElectricObject() |
ElectricObject |
EditWindow_.getOneElectricObject(java.lang.Class clz) |
Modifier and Type | Method and Description |
---|---|
void |
EditWindow_.addElectricObject(ElectricObject ni,
Cell cell) |
void |
EditWindow_.addHighlightText(ElectricObject eobj,
Cell cell,
Variable.Key varKey) |
void |
ElectricObject.copyTextDescriptorFrom(ElectricObject other,
Variable.Key varKey)
Method to copy text descriptor from another ElectricObject to this ElectricObject.
|
void |
ElectricObject.copyVarsFrom(ElectricObject other)
Method to copy all variables from another ElectricObject to this ElectricObject.
|
java.lang.String |
Variable.getFullDescription(ElectricObject eobj)
Method to return a full description of this Variable.
|
java.lang.String |
Variable.getReadableName(ElectricObject owner)
Method to return a more readable name for this Variable.
|
boolean |
Variable.isLinked(ElectricObject owner)
Returns true if variable is linked to a linked owner, false otherwise.
|
static Variable.Key |
Variable.newKey(java.lang.String name,
ElectricObject parent)
Method to find or create the Key object for a given Variable name.
|
static boolean |
DisplayedText.objectMovesWithText(ElectricObject eObj,
Variable.Key key)
Method to tell whether text stays with its node.
|
Constructor and Description |
---|
DisplayedText(ElectricObject eObj,
Variable.Key key) |
Modifier and Type | Method and Description |
---|---|
EGraphics |
Artwork.makeGraphics(ElectricObject eObj)
Method to create an EGraphics for an ElectricObject with color and pattern Variables.
|
Modifier and Type | Method and Description |
---|---|
void |
Listener.killObject(ElectricObject obj)
Method to handle the deletion of an ElectricObject.
|
void |
Listener.newObject(ElectricObject obj)
Method to handle the creation of a new ElectricObject.
|
void |
Listener.renameObject(ElectricObject obj,
java.lang.Object oldName)
Method to handle the renaming of an ElectricObject.
|
void |
Tool.setVarInJob(ElectricObject obj,
Variable.Key key,
java.lang.Object newVal)
Method to set a variable on an ElectricObject in a new Job.
|
Modifier and Type | Field and Description |
---|---|
ElectricObject |
Log.LogEntry.obj |
Modifier and Type | Method and Description |
---|---|
ElectricObject |
Edit.Editor.findObject() |
Modifier and Type | Method and Description |
---|---|
abstract ElectricObject |
RouteElement.doAction()
Perform the action specified by RouteElementAction action.
|
ElectricObject |
RouteElementPort.doAction()
Perform the action specified by RouteElementAction action.
|
ElectricObject |
RouteElementArc.doAction()
Perform the action specified by RouteElementAction action.
|
protected static ElectricObject |
InteractiveRouter.filterRouteObject(ElectricObject routeObj,
java.awt.geom.Point2D clicked)
If routeObj is a NodeInst, first thing we do is get the nearest PortInst
to where the user clicked, and use that instead.
|
Modifier and Type | Method and Description |
---|---|
protected static ElectricObject |
InteractiveRouter.filterRouteObject(ElectricObject routeObj,
java.awt.geom.Point2D clicked)
If routeObj is a NodeInst, first thing we do is get the nearest PortInst
to where the user clicked, and use that instead.
|
static double |
Router.getArcWidthToUse(ElectricObject obj,
ArcProto ap,
int arcAngle,
boolean ignoreAngle)
Get arc width to use to connect to PortInst pi.
|
protected static java.awt.geom.Rectangle2D |
InteractiveRouter.getBounds(ElectricObject obj)
Get bounds of primitive instance.
|
protected static void |
InteractiveRouter.getConnectingPoints(ElectricObject startObj,
ElectricObject endObj,
java.awt.geom.Point2D clicked,
java.awt.geom.Point2D startPoint,
java.awt.geom.Point2D endPoint,
Poly startPoly,
Poly endPoly,
ArcProto startArc,
ArcProto endArc)
Get the connecting points for the start and end objects of the route.
|
protected static Poly |
InteractiveRouter.getConnectingSite(ElectricObject obj,
java.awt.geom.Point2D clicked,
double arcWidth)
Get the connecting site of the electric object.
|
protected static java.awt.geom.Rectangle2D |
InteractiveRouter.getLayerArea(ElectricObject obj,
Layer layer) |
protected static PortProto |
InteractiveRouter.getRoutePort(ElectricObject routeObj)
Get the PortProto associated with routeObj (it should be either
a ArcInst or a PortInst, otherwise this will return null).
|
void |
InteractiveRouter.highlightRoute(EditWindow wnd,
Cell cell,
ElectricObject startObj,
ElectricObject endObj,
java.awt.geom.Point2D clicked)
Make a route and highlight it in the window.
|
void |
InteractiveRouter.makeRoute(EditWindow wnd,
Cell cell,
ElectricObject startObj,
ElectricObject endObj,
java.awt.geom.Point2D clicked)
Make a route between startObj and endObj in the EditWindow_ wnd.
|
Route |
InteractiveRouter.planRoute(Cell cell,
ElectricObject startObj,
ElectricObject endObj,
java.awt.geom.Point2D clicked,
PolyMerge stayInside,
boolean extendArcHead,
boolean extendArcTail)
Plan a route from startObj to endObj, taking into account
where the user clicked in the cell.
|
Route |
InteractiveRouter.planRoute(Cell cell,
ElectricObject startObj,
ElectricObject endObj,
java.awt.geom.Point2D clicked,
PolyMerge stayInside,
boolean extendArcHead,
boolean extendArcTail,
java.awt.geom.Rectangle2D contactArea)
Plan a route from startObj to endObj, taking into account
where the user clicked in the cell.
|
Constructor and Description |
---|
ContactSize(ElectricObject startObj,
ElectricObject endObj,
java.awt.geom.Point2D startLoc,
java.awt.geom.Point2D endLoc,
java.awt.geom.Point2D cornerLoc,
ArcProto startArc,
ArcProto endArc,
boolean ignoreAngles)
Determine the contact size, arc sizes, and arc angles based on the
ElectricObjects to be connected, and the start, end, and corner location.
|
Modifier and Type | Method and Description |
---|---|
ElectricObject |
Highlight2.getElectricObject()
Method to return the ElectricObject associated with this Highlight object.
|
ElectricObject |
Highlighter.getOneElectricObject(java.lang.Class type)
Method to return the only highlighted object.
|
Modifier and Type | Method and Description |
---|---|
Highlight2 |
Highlighter.addElectricObject(ElectricObject eobj,
Cell cell)
Method to add an ElectricObject to the list of highlighted objects.
|
Highlight2 |
Highlighter.addElectricObject(ElectricObject eobj,
Cell cell,
boolean highlightConnected)
Method to add an ElectricObject to the list of highlighted objects.
|
Highlight2 |
Highlighter.addElectricObject(ElectricObject eobj,
Cell cell,
boolean highlightConnected,
java.awt.Color col)
Method to add an ElectricObject to the list of highlighted objects.
|
Highlight2 |
Highlighter.addElectricObject(ElectricObject eobj,
Cell cell,
java.awt.Color col)
Method to add an ElectricObject to the list of highlighted objects.
|
Highlight2 |
Highlighter.addText(ElectricObject eobj,
Cell cell,
Variable.Key varKey)
Method to add a text selection to the list of highlighted objects.
|
static java.awt.geom.Point2D[] |
Highlighter.describeHighlightText(EditWindow wnd,
ElectricObject eObj,
Variable.Key varKey)
Method to describe an object/variable-key pair as a set of points to draw.
|
Modifier and Type | Method and Description |
---|---|
static void |
CircuitChangeJobs.eraseObjectsInList(Cell cell,
java.util.List<Geometric> list,
boolean reconstructArcsAndExports,
java.util.Set<ElectricObject> stuffToHighlight)
Method to delete all of the Geometrics in a list.
|
Constructor and Description |
---|
ManyMove(Cell cell,
java.util.List<ElectricObject> highlightedObjs,
java.util.List<DisplayedText> highlightedText,
double dX,
double dY) |
Modifier and Type | Method and Description |
---|---|
static void |
BusParameters.addTemplateWithString(ElectricObject owner,
java.lang.String suffix)
Creates a template with a suffix appended to the owners's name.
|
void |
AttributesTable.setElectricObject(ElectricObject eobj)
Set the ElectricObject whose Variables will be shown
|
void |
TextInfoPanel.setTextDescriptor(Variable.Key varKey,
ElectricObject owner)
Set what the dialog displays: It can display and allow editing of the settings
for an existing text descriptor, or it can display and allow editing of default values
for a text descriptor of a variable that has not yet been created.
|
void |
TextAttributesPanel.setVariable(Variable.Key varKey,
ElectricObject owner)
Set the Variable that can be edited through this Panel.
|
Constructor and Description |
---|
AttributesTable(ElectricObject owner,
boolean showCode,
boolean showDispPos,
boolean showUnits)
Create a new Attributes Table
|
Modifier and Type | Method and Description |
---|---|
ElectricObject |
EditWindow.getOneElectricObject(java.lang.Class clz) |
Modifier and Type | Method and Description |
---|---|
void |
EditWindow.addElectricObject(ElectricObject eObj,
Cell cell) |
void |
EditWindow.addHighlightText(ElectricObject eObj,
Cell cell,
Variable.Key varKey) |