com.sun.electric.database.text
Class TempPref

java.lang.Object
  extended by com.sun.electric.database.text.TempPref

public class TempPref
extends java.lang.Object

Non-persistent preference. Used in dialogs.


Method Summary
 boolean getBoolean()
          Method to get the boolean value on this TempPref object.
 boolean getBooleanFactoryValue()
          Method to get the factory-default boolean value of this TempPref object.
 double getDouble()
          Method to get the double value on this TempPref object.
 double getDoubleFactoryValue()
          Method to get the factory-default double value of this TempPref object.
 java.lang.Object getFactoryValue()
          Method to get the factory-default value of this TempPref object.
 int getInt()
          Method to get the integer value on this TempPref object.
 int getIntFactoryValue()
          Method to get the factory-default integer value of this TempPref object.
 long getLong()
          Method to get the long value on this TempPref object.
 long getLongFactoryValue()
          Method to get the factory-default long value of this TempPref object.
 java.lang.String getString()
          Method to get the string value on this TempPref object.
 java.lang.String getStringFactoryValue()
          Method to get the factory-default String value of this Pref object.
static TempPref makeBooleanPref(boolean factory)
          Factory methods to create a boolean TempPref objects.
static TempPref makeDoublePref(double factory)
          Factory methods to create a double TempPref objects.
static TempPref makeIntPref(int factory)
          Factory methods to create an integer TempPref objects.
static TempPref makeLongPref(long factory)
          Factory methods to create a long TempPref objects.
static TempPref makeStringPref(java.lang.String factory)
          Factory methods to create a string TempPref objects.
 void setBoolean(boolean v)
          Method to set a new boolean value on this TempPref object.
 void setDouble(double v)
          Method to set a new double value on this TempPref object.
 void setInt(int v)
          Method to set a new integer value on this TempPref object.
 void setLong(long v)
          Method to set a new long value on this TempPref object.
 void setString(java.lang.String str)
          Method to set a new string value on this TempPref object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

makeBooleanPref

public static TempPref makeBooleanPref(boolean factory)
Factory methods to create a boolean TempPref objects.

Parameters:
factory - the "factory" default value (if nothing is stored).

makeIntPref

public static TempPref makeIntPref(int factory)
Factory methods to create an integer TempPref objects.

Parameters:
factory - the "factory" default value (if nothing is stored).

makeLongPref

public static TempPref makeLongPref(long factory)
Factory methods to create a long TempPref objects.

Parameters:
factory - the "factory" default value (if nothing is stored).

makeDoublePref

public static TempPref makeDoublePref(double factory)
Factory methods to create a double TempPref objects.

Parameters:
factory - the "factory" default value (if nothing is stored).

makeStringPref

public static TempPref makeStringPref(java.lang.String factory)
Factory methods to create a string TempPref objects.

Parameters:
factory - the "factory" default value (if nothing is stored).

getBoolean

public boolean getBoolean()
Method to get the boolean value on this TempPref object. The object must have been created as "boolean".

Returns:
the boolean value on this TempPref object.

getInt

public int getInt()
Method to get the integer value on this TempPref object. The object must have been created as "integer".

Returns:
the integer value on this TempPref object.

getLong

public long getLong()
Method to get the long value on this TempPref object. The object must have been created as "long".

Returns:
the long value on this TempPref object.

getDouble

public double getDouble()
Method to get the double value on this TempPref object. The object must have been created as "double".

Returns:
the double value on this TempPref object.

getString

public java.lang.String getString()
Method to get the string value on this TempPref object. The object must have been created as "string".

Returns:
the string value on this TempPref object.

getFactoryValue

public java.lang.Object getFactoryValue()
Method to get the factory-default value of this TempPref object.

Returns:
the factory-default value of this TempPref object.

getBooleanFactoryValue

public boolean getBooleanFactoryValue()
Method to get the factory-default boolean value of this TempPref object.

Returns:
the factory-default boolean value of this TempPref object.

getIntFactoryValue

public int getIntFactoryValue()
Method to get the factory-default integer value of this TempPref object.

Returns:
the factory-default integer value of this TempPref object.

getLongFactoryValue

public long getLongFactoryValue()
Method to get the factory-default long value of this TempPref object.

Returns:
the factory-default long value of this TempPref object.

getDoubleFactoryValue

public double getDoubleFactoryValue()
Method to get the factory-default double value of this TempPref object.

Returns:
the factory-default double value of this TempPref object.

getStringFactoryValue

public java.lang.String getStringFactoryValue()
Method to get the factory-default String value of this Pref object.

Returns:
the factory-default String value of this Pref object.

setBoolean

public void setBoolean(boolean v)
Method to set a new boolean value on this TempPref object.

Parameters:
v - the new boolean value of this TempPref object.

setInt

public void setInt(int v)
Method to set a new integer value on this TempPref object.

Parameters:
v - the new integer value of this TempPref object.

setLong

public void setLong(long v)
Method to set a new long value on this TempPref object.

Parameters:
v - the new long value of this TempPref object.

setDouble

public void setDouble(double v)
Method to set a new double value on this TempPref object.

Parameters:
v - the new double value of this TempPref object.

setString

public void setString(java.lang.String str)
Method to set a new string value on this TempPref object.

Parameters:
str - the new string value of this TempPref object.