metagloss 0.0.2

net.sf.metagloss.preference
Annotation Type PreferenceResource


@Target(value=TYPE)
@Retention(value=RUNTIME)
@Inherited
public @interface PreferenceResource

Annotation type to set the root XML preference screen. Compulsory for any class extending AnnotatedPreferenceActivity.


Required Element Summary
 int resource
          Holds the resource id of the preference screen.
 
Optional Element Summary
 BindPreference[] binds
           
 BooleanString[] booleanStrings
           
 FloatConstraint[] floatConstraints
           
 IntegerConstraint[] integerConstraints
           
 

Element Detail

resource

public abstract int resource
Holds the resource id of the preference screen.

Returns:
The XML resource ID to inflate.

binds

public abstract BindPreference[] binds
Default:
{}

booleanStrings

public abstract BooleanString[] booleanStrings
Default:
{}

floatConstraints

public abstract FloatConstraint[] floatConstraints
Default:
{}

integerConstraints

public abstract IntegerConstraint[] integerConstraints
Default:
{}