|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sun.electric.tool.user.CircuitChanges
public class CircuitChanges
Class for user-level changes to the circuit.
Method Summary | |
---|---|
static void |
alignNodes(boolean horizontal,
int direction)
Method to align the selected nodes. |
static void |
alignToGrid()
Method to align the selected objects to the grid. |
static void |
arcDirectionalCommand()
This method toggles the directionality of highlighted arcs. |
static void |
arcFixedAngleCommand()
This method sets the highlighted arcs to Fixed-Angle |
static void |
arcHeadExtendCommand()
This method sets the highlighted arcs to have their head end extended. |
static void |
arcNotFixedAngleCommand()
This method sets the highlighted arcs to Not-Fixed-Angle |
static void |
arcNotRigidCommand()
This method sets the highlighted arcs to Non-Rigid |
static void |
arcRigidCommand()
This method sets the highlighted arcs to Rigid |
static void |
arcTailExtendCommand()
This method sets the highlighted arcs to have their tail end extended. |
static void |
checkAndRepairCommand(boolean repair)
Method to implement the "Repair Libraries" command. |
static void |
cleanCellRef(Cell cell)
Method to delete cell "cell". |
static void |
cleanupPinsCommand(boolean everywhere)
CLEAN-UP |
static void |
deleteArcsOnSelected(boolean both)
Method to delete arcs connected to selected nodes. |
static boolean |
deleteCell(Cell cell,
boolean confirm,
boolean quiet)
Method to delete a cell. |
static void |
deleteSelected()
Method to delete all selected objects. |
static void |
DoExpandCommands(boolean unExpand,
int amount)
Method to change the expansion of the selected instances. |
static void |
extractCells(int depth)
Method to yank the contents of complex node instance "topno" into its parent cell. |
static void |
findUnusedLibraryFiles()
Method to implement the "Find unused library files" command. |
static java.util.List<Highlight2> |
getHighlighted()
Get list of Highlights in current highlighter |
static void |
graphCellsFromCell()
Method to graph the cells, starting from the current cell. |
static void |
graphCellsInLibrary()
Method to graph all cells in the current Library. |
static boolean |
isBox(java.awt.geom.Point2D[] points)
Method to return a Rectangle that describes the orthogonal box in this Poly. |
static void |
listLibrariesCommand()
Method to implement the "List Libraries" command. |
static void |
manyMove(double dX,
double dY)
Method to move the selected geometry by (dX, dY). |
static void |
mirrorObjects(boolean horizontally)
Method to handle the command to mirror the selected objects. |
static void |
newVersionOfCell(Cell cell)
MAKE A NEW VERSION OF A CELL |
static void |
packageIntoCell()
Method to package the selected objects into a new cell. |
static void |
removeUnusedLayers(Library lib)
Method to remove nodes containing metal layers that have been disabled. |
static void |
renameCellGroupInJob(Cell.CellGroup cellGroup,
java.lang.String newName)
|
static void |
renameCellInJob(Cell cell,
java.lang.String newName)
RENAME CELLS |
static void |
renameCurrentTechnology()
Method to implement the "Rename Current Technology" command. |
static void |
renameLibrary(Library lib)
Method to implement the "Rename Library" command. |
static void |
ripBus()
Method to rip the currently selected bus arc out into individual wires. |
static void |
rotateObjects(int amount)
Method to handle the command to rotate the selected objects by an amount. |
static void |
shortenArcsCommand()
Method to shorten all selected arcs. |
static void |
showNonmanhattanCommand()
Method to analyze the current cell and show all nonmanhattan geometry. |
static void |
showPureLayerCommand()
Method to highlight all pure layer nodes in the current cell. |
static void |
showRedundantPureLayerNodes()
Method to show all redundant pure-layer nodes in the Cell. |
static void |
toggleNegatedCommand()
This method sets the highlighted ports to be negated. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static void rotateObjects(int amount)
amount
- the amount to rotate. If the amount is zero, prompt for an amount.public static void mirrorObjects(boolean horizontally)
horizontally
- true to mirror horizontally (about the horizontal, flipping the Y value).
False to mirror vertically (about the vertical, flipping the X value).public static void alignToGrid()
public static void alignNodes(boolean horizontal, int direction)
horizontal
- true to align them horizontally; false for vertically.direction
- if horizontal is true, meaning is 0 for left, 1 for right, 2 for center.
If horizontal is false, meaning is 0 for top, 1 for bottom, 2 for center.public static void arcRigidCommand()
public static void arcNotRigidCommand()
public static void arcFixedAngleCommand()
public static void arcNotFixedAngleCommand()
public static void arcDirectionalCommand()
public static void arcHeadExtendCommand()
public static void arcTailExtendCommand()
public static void toggleNegatedCommand()
public static java.util.List<Highlight2> getHighlighted()
public static void ripBus()
public static void deleteSelected()
public static void deleteArcsOnSelected(boolean both)
both
- true if both ends of the arc must be selected.public static boolean deleteCell(Cell cell, boolean confirm, boolean quiet)
cell
- the cell to delete.confirm
- true to prompt the user to confirm the deletion.quiet
- true not to warn the user of the cell being used.
public static void cleanCellRef(Cell cell)
public static void renameCellInJob(Cell cell, java.lang.String newName)
public static void renameCellGroupInJob(Cell.CellGroup cellGroup, java.lang.String newName)
public static void graphCellsFromCell()
public static void graphCellsInLibrary()
public static void packageIntoCell()
public static void extractCells(int depth)
public static void cleanupPinsCommand(boolean everywhere)
public static void showNonmanhattanCommand()
public static void showPureLayerCommand()
public static void shortenArcsCommand()
public static void showRedundantPureLayerNodes()
public static boolean isBox(java.awt.geom.Point2D[] points)
public static void newVersionOfCell(Cell cell)
public static void manyMove(double dX, double dY)
public static void DoExpandCommands(boolean unExpand, int amount)
unExpand
- true to unexpand the instances (draw them as black boxes),
false to expand them (draw their contents).amount
- the number of levels of hierarchy to expand/unexpand.
If negative, prompt for an amount.public static void listLibrariesCommand()
public static void renameCurrentTechnology()
public static void renameLibrary(Library lib)
public static void checkAndRepairCommand(boolean repair)
public static void findUnusedLibraryFiles()
public static void removeUnusedLayers(Library lib)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |