public class InvisibleLayerConfiguration
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static int |
NUM_CONFIGS |
Modifier and Type | Method and Description |
---|---|
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,
Technology tech)
Method to delete an invisible layer configuration for a given Technology.
|
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.
|
java.util.List<Technology> |
getConfigurationTechnology(java.lang.String cName)
Method to get the Technologies associated with a invisible layer configuration.
|
java.util.Map<Technology,java.util.List<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)
Method to rename an invisible layer configuration.
|
public static InvisibleLayerConfiguration getOnly()
public java.lang.String getMenuName(int index)
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)
cName
- the name of the configuration to rename.newName
- the new configuration name.public void deleteConfiguration(java.lang.String cName, Technology tech)
cName
- the name of the invisible layer configuration to delete.tech
- the Technology to delete.public java.util.List<java.lang.String> getConfigurationNames()
public java.util.List<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.Map<Technology,java.util.List<Layer>> getConfigurationValue(java.lang.String cName)
cName
- the name of the invisible layer configuration.