|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sun.electric.tool.user.Clipboard
public class Clipboard
Class for managing the circuitry clipboard (for copy and paste).
Field Summary | |
---|---|
static CellId |
clipCellId
The Clipboard CellId. |
Method Summary | |
---|---|
static void |
clear()
Method to clear the contents of the clipboard. |
static void |
copy()
Method to copy the selected objects to the clipboard. |
static NodeInst |
copyListToCell(Cell toCell,
java.util.List<Geometric> geomList,
java.util.List<DisplayedText> textList,
java.util.List<Geometric> newGeomList,
java.util.List<DisplayedText> newTextList,
java.awt.geom.Point2D delta,
boolean copyExports,
boolean uniqueArcs,
Dimension2D alignment,
java.awt.geom.AffineTransform inPlace,
Orientation inPlaceOrient)
Method to copy the list of Geometrics to a new Cell. |
static void |
copyListToClipboard(java.util.List<Geometric> geomList,
java.util.List<DisplayedText> textList,
Dimension2D alignment,
java.awt.geom.AffineTransform inPlace,
Orientation inPlaceOrient)
|
static void |
cut()
Method to copy the selected objects to the clipboard and then delete them. |
static void |
duplicate()
Method to duplicate the selected objects. |
static void |
editClipboard()
|
static void |
paste()
Method to paste the clipboard back into the current cell. |
java.lang.String |
toString()
Returns a printable version of this Clipboard. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final CellId clipCellId
Method Detail |
---|
public java.lang.String toString()
toString
in class java.lang.Object
public static void editClipboard()
public static void copy()
public static void cut()
public static void paste()
public static void duplicate()
public static void clear()
public static void copyListToClipboard(java.util.List<Geometric> geomList, java.util.List<DisplayedText> textList, Dimension2D alignment, java.awt.geom.AffineTransform inPlace, Orientation inPlaceOrient)
public static NodeInst copyListToCell(Cell toCell, java.util.List<Geometric> geomList, java.util.List<DisplayedText> textList, java.util.List<Geometric> newGeomList, java.util.List<DisplayedText> newTextList, java.awt.geom.Point2D delta, boolean copyExports, boolean uniqueArcs, Dimension2D alignment, java.awt.geom.AffineTransform inPlace, Orientation inPlaceOrient)
toCell
- the destination cell of the Geometrics.geomList
- the list of Geometrics to copy.textList
- the list of text to copy.newGeomList
- the list of Geometrics that were created.newTextList
- the list of text objects that were created.delta
- an offset for all of the copied Geometrics.copyExports
- true to copy exports.uniqueArcs
- true to generate unique arc names.alignment
- the grid alignment to use (0 for none).inPlace
- the transformation to use which accounts for "down in place" editing.inPlaceOrient
- the orientation to use which accounts for "down in place" editing.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |