A B C D E F G I K L M N P R S T U V W 

A

ActivityPreferences - Annotation Type in net.orange_box.storebox.annotations.type
Annotation which should be used at interface-level to define that the preferences private to the Activity should be used.
adaptForPreferences(T) - Method in class net.orange_box.storebox.adapters.base.BaseStringSetTypeAdapter
 
adaptForPreferences(T) - Method in class net.orange_box.storebox.adapters.base.BaseStringTypeAdapter
 
adaptForPreferences(Date) - Method in class net.orange_box.storebox.adapters.extra.DateTypeAdapter
 
adaptForPreferences(Enum) - Method in class net.orange_box.storebox.adapters.extra.EnumTypeAdapter
 
adaptForPreferences(Uri) - Method in class net.orange_box.storebox.adapters.extra.UriTypeAdapter
 
adaptForPreferences(Boolean) - Method in class net.orange_box.storebox.adapters.standard.BooleanTypeAdapter
 
adaptForPreferences(Float) - Method in class net.orange_box.storebox.adapters.standard.FloatTypeAdapter
 
adaptForPreferences(Integer) - Method in class net.orange_box.storebox.adapters.standard.IntegerTypeAdapter
 
adaptForPreferences(Long) - Method in class net.orange_box.storebox.adapters.standard.LongTypeAdapter
 
adaptForPreferences(Set<String>) - Method in class net.orange_box.storebox.adapters.standard.StringSetTypeAdapter
 
adaptForPreferences(String) - Method in class net.orange_box.storebox.adapters.standard.StringTypeAdapter
 
adaptForPreferences(F) - Method in interface net.orange_box.storebox.adapters.StoreBoxTypeAdapter
 
adaptFromPreferences(Set<String>) - Method in class net.orange_box.storebox.adapters.base.BaseStringSetTypeAdapter
 
adaptFromPreferences(String) - Method in class net.orange_box.storebox.adapters.base.BaseStringTypeAdapter
 
adaptFromPreferences(Long) - Method in class net.orange_box.storebox.adapters.extra.DateTypeAdapter
 
adaptFromPreferences(String) - Method in class net.orange_box.storebox.adapters.extra.EnumTypeAdapter
 
adaptFromPreferences(String) - Method in class net.orange_box.storebox.adapters.extra.UriTypeAdapter
 
adaptFromPreferences(Boolean) - Method in class net.orange_box.storebox.adapters.standard.BooleanTypeAdapter
 
adaptFromPreferences(Float) - Method in class net.orange_box.storebox.adapters.standard.FloatTypeAdapter
 
adaptFromPreferences(Integer) - Method in class net.orange_box.storebox.adapters.standard.IntegerTypeAdapter
 
adaptFromPreferences(Long) - Method in class net.orange_box.storebox.adapters.standard.LongTypeAdapter
 
adaptFromPreferences(Set<String>) - Method in class net.orange_box.storebox.adapters.standard.StringSetTypeAdapter
 
adaptFromPreferences(String) - Method in class net.orange_box.storebox.adapters.standard.StringTypeAdapter
 
adaptFromPreferences(T) - Method in interface net.orange_box.storebox.adapters.StoreBoxTypeAdapter
 

B

BaseBooleanTypeAdapter<T> - Class in net.orange_box.storebox.adapters.base
A StoreBoxTypeAdapter which should be extended in order to provide an adapter implementation for storing T as a Boolean.
BaseBooleanTypeAdapter() - Constructor for class net.orange_box.storebox.adapters.base.BaseBooleanTypeAdapter
 
BaseFloatTypeAdapter<T> - Class in net.orange_box.storebox.adapters.base
A StoreBoxTypeAdapter which should be extended in order to provide an adapter implementation for storing T as a Float.
BaseFloatTypeAdapter() - Constructor for class net.orange_box.storebox.adapters.base.BaseFloatTypeAdapter
 
BaseIntegerTypeAdapter<T> - Class in net.orange_box.storebox.adapters.base
A StoreBoxTypeAdapter which should be extended in order to provide an adapter implementation for storing T as an Integer.
BaseIntegerTypeAdapter() - Constructor for class net.orange_box.storebox.adapters.base.BaseIntegerTypeAdapter
 
BaseLongTypeAdapter<T> - Class in net.orange_box.storebox.adapters.base
A StoreBoxTypeAdapter which should be extended in order to provide an adapter implementation for storing T as a Long.
BaseLongTypeAdapter() - Constructor for class net.orange_box.storebox.adapters.base.BaseLongTypeAdapter
 
BaseStringSetTypeAdapter<T> - Class in net.orange_box.storebox.adapters.base
A StoreBoxTypeAdapter which should be extended in order to provide an adapter implementation for storing T as a Set of Strings.
BaseStringSetTypeAdapter() - Constructor for class net.orange_box.storebox.adapters.base.BaseStringSetTypeAdapter
 
BaseStringTypeAdapter<T> - Class in net.orange_box.storebox.adapters.base
A StoreBoxTypeAdapter which should be extended in order to provide an adapter implementation for storing T as a String.
BaseStringTypeAdapter() - Constructor for class net.orange_box.storebox.adapters.base.BaseStringTypeAdapter
 
BooleanTypeAdapter - Class in net.orange_box.storebox.adapters.standard
 
BooleanTypeAdapter() - Constructor for class net.orange_box.storebox.adapters.standard.BooleanTypeAdapter
 
build() - Method in class net.orange_box.storebox.StoreBox.Builder
 

C

create(Context, Class<T>) - Static method in class net.orange_box.storebox.StoreBox
 

D

DateTypeAdapter - Class in net.orange_box.storebox.adapters.extra
A StoreBoxTypeAdapter for Date objects which uses Long.MIN_VALUE to represent an absent/null preference value internally.
DateTypeAdapter() - Constructor for class net.orange_box.storebox.adapters.extra.DateTypeAdapter
 
DEFAULT - Variable in class net.orange_box.storebox.adapters.base.BaseBooleanTypeAdapter
 
DEFAULT - Variable in class net.orange_box.storebox.adapters.base.BaseFloatTypeAdapter
 
DEFAULT - Variable in class net.orange_box.storebox.adapters.base.BaseIntegerTypeAdapter
 
DEFAULT - Variable in class net.orange_box.storebox.adapters.base.BaseLongTypeAdapter
 
DefaultSharedPreferences - Annotation Type in net.orange_box.storebox.annotations.type
Annotation which should be used at interface-level to define that the default shared preferences should be used.
DefaultValue - Annotation Type in net.orange_box.storebox.annotations.method
Annotation which should be used on set methods to declare the resource for the default value which should be returned when a preference with the requested key does not exist.

E

EnumTypeAdapter - Class in net.orange_box.storebox.adapters.extra
 
EnumTypeAdapter(Class<? extends Enum>) - Constructor for class net.orange_box.storebox.adapters.extra.EnumTypeAdapter
 

F

FilePreferences - Annotation Type in net.orange_box.storebox.annotations.type
Annotation which should be used at interface-level to define that the preferences should be opened from a file name.
FloatTypeAdapter - Class in net.orange_box.storebox.adapters.standard
 
FloatTypeAdapter() - Constructor for class net.orange_box.storebox.adapters.standard.FloatTypeAdapter
 

G

getDefaultValue() - Method in class net.orange_box.storebox.adapters.base.BaseBooleanTypeAdapter
 
getDefaultValue() - Method in class net.orange_box.storebox.adapters.base.BaseFloatTypeAdapter
 
getDefaultValue() - Method in class net.orange_box.storebox.adapters.base.BaseIntegerTypeAdapter
 
getDefaultValue() - Method in class net.orange_box.storebox.adapters.base.BaseLongTypeAdapter
 
getDefaultValue() - Method in class net.orange_box.storebox.adapters.base.BaseStringSetTypeAdapter
 
getDefaultValue() - Method in class net.orange_box.storebox.adapters.base.BaseStringTypeAdapter
 
getDefaultValue() - Method in class net.orange_box.storebox.adapters.extra.DateTypeAdapter
 
getDefaultValue() - Method in interface net.orange_box.storebox.adapters.StoreBoxTypeAdapter
 
getKeyForRemove(Resources, Object...) - Static method in class net.orange_box.storebox.utils.MethodUtils
 
getObjectMethod(String, Class...) - Static method in class net.orange_box.storebox.utils.MethodUtils
 
getStoreType() - Method in class net.orange_box.storebox.adapters.base.BaseBooleanTypeAdapter
 
getStoreType() - Method in class net.orange_box.storebox.adapters.base.BaseFloatTypeAdapter
 
getStoreType() - Method in class net.orange_box.storebox.adapters.base.BaseIntegerTypeAdapter
 
getStoreType() - Method in class net.orange_box.storebox.adapters.base.BaseLongTypeAdapter
 
getStoreType() - Method in class net.orange_box.storebox.adapters.base.BaseStringSetTypeAdapter
 
getStoreType() - Method in class net.orange_box.storebox.adapters.base.BaseStringTypeAdapter
 
getStoreType() - Method in interface net.orange_box.storebox.adapters.StoreBoxTypeAdapter
 
getTypeAdapter(Class<?>, TypeAdapter) - Static method in class net.orange_box.storebox.utils.TypeUtils
 
getValue(SharedPreferences, String, StoreType, Object) - Static method in class net.orange_box.storebox.utils.PreferenceUtils
 
getValueArg(Object...) - Static method in class net.orange_box.storebox.utils.MethodUtils
 
getValueParameterType(Method) - Static method in class net.orange_box.storebox.utils.MethodUtils
 

I

IntegerTypeAdapter - Class in net.orange_box.storebox.adapters.standard
 
IntegerTypeAdapter() - Constructor for class net.orange_box.storebox.adapters.standard.IntegerTypeAdapter
 

K

KeyByResource - Annotation Type in net.orange_box.storebox.annotations.method
Can be used when it is more convenient for keys to be declared using an integer resource, rather than a String.
KeyByString - Annotation Type in net.orange_box.storebox.annotations.method
Annotation which should be used on set/get methods to declare the key under which the value should be stored/retrieved.

L

LongTypeAdapter - Class in net.orange_box.storebox.adapters.standard
 
LongTypeAdapter() - Constructor for class net.orange_box.storebox.adapters.standard.LongTypeAdapter
 

M

MethodUtils - Class in net.orange_box.storebox.utils
 

N

net.orange_box.storebox - package net.orange_box.storebox
 
net.orange_box.storebox.adapters - package net.orange_box.storebox.adapters
 
net.orange_box.storebox.adapters.base - package net.orange_box.storebox.adapters.base
 
net.orange_box.storebox.adapters.extra - package net.orange_box.storebox.adapters.extra
 
net.orange_box.storebox.adapters.standard - package net.orange_box.storebox.adapters.standard
 
net.orange_box.storebox.annotations.method - package net.orange_box.storebox.annotations.method
 
net.orange_box.storebox.annotations.option - package net.orange_box.storebox.annotations.option
 
net.orange_box.storebox.annotations.type - package net.orange_box.storebox.annotations.type
 
net.orange_box.storebox.enums - package net.orange_box.storebox.enums
 
net.orange_box.storebox.utils - package net.orange_box.storebox.utils
 

P

PreferencesMode - Enum in net.orange_box.storebox.enums
 
preferencesMode(PreferencesMode) - Method in class net.orange_box.storebox.StoreBox.Builder
 
PreferencesType - Enum in net.orange_box.storebox.enums
 
preferencesType(PreferencesType) - Method in class net.orange_box.storebox.StoreBox.Builder
 
preferencesType(PreferencesType, String) - Method in class net.orange_box.storebox.StoreBox.Builder
 
PreferenceUtils - Class in net.orange_box.storebox.utils
 
putValue(SharedPreferences.Editor, String, StoreType, Object) - Static method in class net.orange_box.storebox.utils.PreferenceUtils
 

R

RemoveMethod - Annotation Type in net.orange_box.storebox.annotations.method
Annotation which should be used for a remove method.

S

saveChanges(SharedPreferences.Editor, SaveMode) - Static method in class net.orange_box.storebox.utils.PreferenceUtils
 
SaveMode - Enum in net.orange_box.storebox.enums
 
saveMode(SaveMode) - Method in class net.orange_box.storebox.StoreBox.Builder
 
SaveOption - Annotation Type in net.orange_box.storebox.annotations.option
Annotation which should be used to define what SaveMode will be applied for get methods which don't specify a default value.
StoreBox - Class in net.orange_box.storebox
Creates a no-thrills instance of the supplied interface, by reading any options provided through interface-level annotations.
StoreBox.Builder<T> - Class in net.orange_box.storebox
Can be used to provide a customised instance of the supplied interface, by setting custom options through builder methods.
StoreBox.Builder(Context, Class<T>) - Constructor for class net.orange_box.storebox.StoreBox.Builder
 
StoreBoxTypeAdapter<F,T> - Interface in net.orange_box.storebox.adapters
Interface defining a type adapter for adapting type F to T, which can be natively stored in the preferences.
StoreType - Enum in net.orange_box.storebox.adapters
 
StringSetTypeAdapter - Class in net.orange_box.storebox.adapters.standard
 
StringSetTypeAdapter() - Constructor for class net.orange_box.storebox.adapters.standard.StringSetTypeAdapter
 
StringTypeAdapter - Class in net.orange_box.storebox.adapters.standard
 
StringTypeAdapter() - Constructor for class net.orange_box.storebox.adapters.standard.StringTypeAdapter
 

T

TypeAdapter - Annotation Type in net.orange_box.storebox.annotations.method
Annotation which should be used on set and get methods to declare the StoreBoxTypeAdapter to be used for adapting the type for the preferences.
TypeUtils - Class in net.orange_box.storebox.utils
 

U

UriTypeAdapter - Class in net.orange_box.storebox.adapters.extra
 
UriTypeAdapter() - Constructor for class net.orange_box.storebox.adapters.extra.UriTypeAdapter
 

V

value() - Method in enum net.orange_box.storebox.enums.PreferencesMode
 
valueOf(String) - Static method in enum net.orange_box.storebox.adapters.StoreType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum net.orange_box.storebox.enums.PreferencesMode
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum net.orange_box.storebox.enums.PreferencesType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum net.orange_box.storebox.enums.SaveMode
Returns the enum constant of this type with the specified name.
values() - Static method in enum net.orange_box.storebox.adapters.StoreType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum net.orange_box.storebox.enums.PreferencesMode
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum net.orange_box.storebox.enums.PreferencesType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum net.orange_box.storebox.enums.SaveMode
Returns an array containing the constants of this enum type, in the order they are declared.

W

wrapToBoxedType(Class<?>) - Static method in class net.orange_box.storebox.utils.TypeUtils
 
A B C D E F G I K L M N P R S T U V W