|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sun.electric.database.hierarchy.Cell.FrameDescription
public static class Cell.FrameDescription
Class for creating a description of a frame around a schematic cell.
Field Summary | |
---|---|
static double |
MULTIPAGESEPARATION
|
Constructor Summary | |
---|---|
Cell.FrameDescription(Cell cell,
int pageNo)
Constructor for cell frame descriptions. |
Method Summary | |
---|---|
static int |
getCellFrameInfo(Cell cell,
java.awt.Dimension d)
Method to determine the size of the schematic frame in the current Cell. |
void |
renderFrame()
Method called to render the frame information. |
void |
showFrameLine(java.awt.geom.Point2D from,
java.awt.geom.Point2D to)
Method to draw a line in a frame. |
void |
showFrameText(java.awt.geom.Point2D ctr,
double size,
double maxWid,
double maxHei,
java.lang.String string)
Method to draw text in a frame. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final double MULTIPAGESEPARATION
Constructor Detail |
---|
public Cell.FrameDescription(Cell cell, int pageNo)
cell
- the Cell that is having a frame drawn.Method Detail |
---|
public void showFrameLine(java.awt.geom.Point2D from, java.awt.geom.Point2D to)
from
- the starting point of the line (in database units).to
- the ending point of the line (in database units).public void showFrameText(java.awt.geom.Point2D ctr, double size, double maxWid, double maxHei, java.lang.String string)
ctr
- the anchor point of the text.size
- the size of the text (in database units).maxWid
- the maximum width of the text (ignored if zero).maxHei
- the maximum height of the text (ignored if zero).string
- the text to be displayed.public void renderFrame()
public static int getCellFrameInfo(Cell cell, java.awt.Dimension d)
d
- a Dimension in which the size (database units) will be placed.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |