Package | Description |
---|---|
com.sun.electric.database.text |
Package for handling text.
|
com.sun.electric.tool.user |
Package for handling the user-interface tool.
|
Modifier and Type | Field and Description |
---|---|
static TextUtils.UnitScale |
TextUtils.UnitScale.ATTO
Describes atto scale (10 to the -18th).
|
static TextUtils.UnitScale |
TextUtils.UnitScale.FEMTO
Describes femto scale (10 to the -15th).
|
static TextUtils.UnitScale |
TextUtils.UnitScale.GIGA
Describes giga scale (1 billion).
|
static TextUtils.UnitScale |
TextUtils.UnitScale.KILO
Describes kilo scale (1 thousand).
|
static TextUtils.UnitScale |
TextUtils.UnitScale.MEGA
Describes mega scale (1 million).
|
static TextUtils.UnitScale |
TextUtils.UnitScale.MICRO
Describes micro scale (1 millionth).
|
static TextUtils.UnitScale |
TextUtils.UnitScale.MILLI
Describes milli scale (1 thousandth).
|
static TextUtils.UnitScale |
TextUtils.UnitScale.NANO
Describes nano scale (1 billionth).
|
static TextUtils.UnitScale |
TextUtils.UnitScale.NONE
Describes unit scale (1).
|
static TextUtils.UnitScale |
TextUtils.UnitScale.PICO
Describes pico scale (10 to the -12th).
|
static TextUtils.UnitScale |
TextUtils.UnitScale.YOCTO
Describes yocto scale (10 to the -24th).
|
static TextUtils.UnitScale |
TextUtils.UnitScale.ZEPTO
Describes zepto scale (10 to the -21st).
|
Modifier and Type | Method and Description |
---|---|
static TextUtils.UnitScale |
TextUtils.UnitScale.findFromIndex(int index)
Method to convert the index value to a UnitScale.
|
static TextUtils.UnitScale[] |
TextUtils.UnitScale.getUnitScales()
Method to return a list of all scales.
|
Modifier and Type | Method and Description |
---|---|
static double |
TextUtils.convertDistance(double value,
Technology tech,
TextUtils.UnitScale unitScale)
Method to convert a database coordinate into real spacing.
|
static double |
TextUtils.convertFromDistance(double value,
Technology tech,
TextUtils.UnitScale unitScale)
Method to convert real spacing into a database coordinate.
|
static java.lang.Number |
TextUtils.parsePostFixNumber(java.lang.String s,
TextUtils.UnitScale us)
Try to parse the user input String s into a Number.
|
Modifier and Type | Method and Description |
---|---|
static TextUtils.UnitScale |
User.getAmperageUnits()
Method to get current amperage (current) units.
|
static TextUtils.UnitScale |
User.getCapacitanceUnits()
Method to get current capacitance units.
|
static TextUtils.UnitScale |
User.getDistanceUnits()
Method to get current distance units.
|
static TextUtils.UnitScale |
User.getFactoryAmperageUnits()
Method to get default amperage (current) units.
|
static TextUtils.UnitScale |
User.getFactoryCapacitanceUnits()
Method to get default capacitance units.
|
static TextUtils.UnitScale |
User.getFactoryDistanceUnits()
Method to get default distance units.
|
static TextUtils.UnitScale |
User.getFactoryInductanceUnits()
Method to get default inductance units.
|
static TextUtils.UnitScale |
User.getFactoryResistanceUnits()
Method to get default resistance units.
|
static TextUtils.UnitScale |
User.getFactoryTimeUnits()
Method to get default time units.
|
static TextUtils.UnitScale |
User.getFactoryVoltageUnits()
Method to get default voltage units.
|
static TextUtils.UnitScale |
User.getInductanceUnits()
Method to get current inductance units.
|
static TextUtils.UnitScale |
User.getResistanceUnits()
Method to get current resistance units.
|
static TextUtils.UnitScale |
User.getTimeUnits()
Method to get current time units.
|
static TextUtils.UnitScale |
User.getVoltageUnits()
Method to get current voltage units.
|
Modifier and Type | Method and Description |
---|---|
static void |
User.setAmperageUnits(TextUtils.UnitScale us)
Method to set the current amperage (current) units.
|
static void |
User.setCapacitanceUnits(TextUtils.UnitScale us)
Method to set the current capacitance units.
|
static void |
User.setDistanceUnits(TextUtils.UnitScale us)
Method to set the current distance units.
|
static void |
User.setInductanceUnits(TextUtils.UnitScale us)
Method to set the current inductance units.
|
static void |
User.setResistanceUnits(TextUtils.UnitScale us)
Method to set the current resistance units.
|
static void |
User.setTimeUnits(TextUtils.UnitScale us)
Method to set the current time units.
|
static void |
User.setVoltageUnits(TextUtils.UnitScale us)
Method to set the current voltage units.
|