public class Clipboard
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static int |
CLIPBOARD_CELL_INDEX |
static java.lang.String |
CLIPBOARD_CELL_NAME |
static java.lang.String |
CLIPBOARD_LIBRAY_NAME
The Clipboard CellId.
|
Modifier and Type | Method and Description |
---|---|
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 fromRight,
boolean uniqueArcs,
boolean convertSchLay,
EDimension alignment,
FixpTransform inPlace,
Orientation inPlaceOrient,
NodeInst.ExpansionState expansionState,
java.util.List<NodeInst> nodesToExpand,
EditingPreferences ep)
Method to copy the list of Geometrics to a new Cell.
|
static void |
cut()
Method to copy the selected objects to the clipboard and then delete them.
|
static void |
databaseChanged(DatabaseChangeEvent e) |
static void |
duplicate()
Method to duplicate the selected objects.
|
static void |
editClipboard() |
static CellId |
getClipCellId()
CHANGE JOB SUPPORT
|
static void |
paste()
Method to paste the clipboard back into the current cell.
|
java.lang.String |
toString()
Returns a printable version of this Clipboard.
|
public static final java.lang.String CLIPBOARD_LIBRAY_NAME
public static final java.lang.String CLIPBOARD_CELL_NAME
public static final int CLIPBOARD_CELL_INDEX
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 databaseChanged(DatabaseChangeEvent e)
public static CellId getClipCellId()
public static void clear()
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 fromRight, boolean uniqueArcs, boolean convertSchLay, EDimension alignment, FixpTransform inPlace, Orientation inPlaceOrient, NodeInst.ExpansionState expansionState, java.util.List<NodeInst> nodesToExpand, EditingPreferences ep)
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.fromRight
- true to increment the rightmost index of multidimensional arrays.uniqueArcs
- true to generate unique arc names.convertSchLay
- true to convert between schematic and layout cells as needed by the current cell.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.ep
- EditingPreferneces