|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sun.electric.tool.user.ui.InvisibleLayerConfiguration
public class InvisibleLayerConfiguration
Class to manage saved collections of invisible layers. Each configuration has a name, a list of Layers, and an associated Technology (all Layers must be in the same Technology).
Method Summary | |
---|---|
void |
addConfiguration(java.lang.String cName,
int hardWiredIndex,
Technology tech,
java.util.List<Layer> layers)
Method to add a invisible layer configuration. |
void |
deleteConfiguration(java.lang.String cName)
Method to delete an invisible layer configuration. |
boolean |
exists(java.lang.String cName)
Method to tell whether a invisible layer configuration name exists. |
java.lang.String |
findHardWiredConfiguration(int index)
Method to find the configuration that is hard-wired to a given index. |
int |
getConfigurationHardwiredIndex(java.lang.String cName)
Method to get the "hard wired" index of this visibility configuration name. |
java.util.List<java.lang.String> |
getConfigurationNames()
Method to return the names of all invisible layer configurations. |
Technology |
getConfigurationTechnology(java.lang.String cName)
Method to get the Technology associated with a invisible layer configuration. |
java.util.Set<Layer> |
getConfigurationValue(java.lang.String cName)
Method to return the invisible layers in an invisible layer configuration. |
java.lang.String |
getMenuName(int index)
|
static InvisibleLayerConfiguration |
getOnly()
Method to return the singleton of this class. |
void |
renameConfiguration(java.lang.String cName,
java.lang.String newName)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public java.lang.String getMenuName(int index)
public static InvisibleLayerConfiguration getOnly()
public boolean exists(java.lang.String cName)
cName
- the name of the invisible layer configuration.
public void addConfiguration(java.lang.String cName, int hardWiredIndex, Technology tech, java.util.List<Layer> layers)
cName
- the name of the new invisible layer configuration.hardWiredIndex
- the hard-wired value (from 0-9) for pre-bound configurations.tech
- the Technology in which these layers reside.layers
- the list of invisible layers in the configuration.public void renameConfiguration(java.lang.String cName, java.lang.String newName)
public void deleteConfiguration(java.lang.String cName)
cName
- the name of the invisible layer configuration to delete.public java.util.List<java.lang.String> getConfigurationNames()
public Technology getConfigurationTechnology(java.lang.String cName)
cName
- the name of the invisible layer configuration.
public java.lang.String findHardWiredConfiguration(int index)
index
- the index (from 0 to 9).
public int getConfigurationHardwiredIndex(java.lang.String cName)
cName
- the name of the invisible layer configuration.
public java.util.Set<Layer> getConfigurationValue(java.lang.String cName)
cName
- the name of the invisible layer configuration.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |