Package org.parts3492.partslib
Class PARTsPreferences.PARTsPreference
java.lang.Object
org.parts3492.partslib.PARTsPreferences.PARTsPreference
- Enclosing class:
- PARTsPreferences
Prefrence object that gets assigned to a variable.
This class is designed to work with its parent, PARTsPrefrences.
It holds the key and type and returns and sets the prefrence value.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionPARTsPreference(String key, Boolean value) PARTsPreference(String key, Double value) PARTsPreference(String key, Float value) PARTsPreference(String key, Integer value) PARTsPreference(String key, String value) -
Method Summary
Modifier and TypeMethodDescriptiongetFloat()getKey()getType()voidsetBoolean(Boolean value) voidsetBoolean(Double value) voidsetBoolean(Float value) voidsetBoolean(Integer value) voidsetBoolean(String value)
-
Field Details
-
key
-
type
-
-
Constructor Details
-
PARTsPreference
-
PARTsPreference
-
PARTsPreference
-
PARTsPreference
-
PARTsPreference
-
-
Method Details
-
getKey
-
getType
-
getBoolean
-
getInteger
-
getDouble
-
getFloat
-
getString
-
setBoolean
-
setBoolean
-
setBoolean
-
setBoolean
-
setBoolean
-