|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sun.electric.database.hierarchy.Cell.CellGroup
public static class Cell.CellGroup
A CellGroup contains a list of cells that are related. This includes different Views of a cell (e.g. the schematic, layout, and icon Views), alternative icons, all the parts of a multi-part icon.
Method Summary | |
---|---|
void |
addParam(Variable param)
Method to add a parameter on icons/schematics of this CellGroup. |
boolean |
containsCell(Cell cell)
Method to tell whether this CellGroup contains a specified Cell. |
void |
delParam(Variable.AttrKey key)
Method to delete a parameter from icons/scheamtics this CellGroup. |
boolean |
equals(java.lang.Object obj)
Method to compare two CellGroups. |
java.util.Iterator<Cell> |
getCells()
Method to return an Iterator over all the Cells that are in this CellGroup. |
java.util.List<Cell> |
getCellsSortedByView()
Method to return a List of all cells in this Group, sorted by View. |
EDatabase |
getDatabase()
|
Cell |
getMainSchematics()
Method to return main schematics Cell in this CellGroup. |
java.lang.String |
getName()
Returns a string representing the name of the cell group |
int |
getNumCells()
Method to return the number of Cells that are in this CellGroup. |
Cell |
getParameterOwner()
Method to return parameter owner Cell in this CellGroup. |
void |
renameParam(Variable.AttrKey key,
Variable.AttrKey newName)
Rename a parameter. |
java.lang.String |
toString()
Returns a printable version of this CellGroup. |
void |
updateParam(Variable.AttrKey key,
java.lang.Object value)
Method to update a parameter on icons/schematics of this CellGroup with the specified values. |
void |
updateParamText(Variable.AttrKey key,
java.lang.String text)
Method to update a text parameter on icons/schematics of this ElectricObject with the specified values. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Method Detail |
---|
public java.util.Iterator<Cell> getCells()
public int getNumCells()
public java.util.List<Cell> getCellsSortedByView()
public Cell getMainSchematics()
public Cell getParameterOwner()
public void addParam(Variable param)
param
- parameter to add.public void delParam(Variable.AttrKey key)
key
- the key of the parameter to delete.public void renameParam(Variable.AttrKey key, Variable.AttrKey newName)
key
- the name key of the parameter to renamenewName
- the new name of the parameterpublic void updateParam(Variable.AttrKey key, java.lang.Object value)
key
- the key of the parameter.value
- the object to store in the parameter.public void updateParamText(Variable.AttrKey key, java.lang.String text)
key
- the key of the parameter.text
- the text to store in the patameter.public boolean containsCell(Cell cell)
cell
- the Cell in question.
public java.lang.String toString()
toString
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public java.lang.String getName()
public EDatabase getDatabase()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |