If you think the Android project my-wallpaper listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
Java Source Code
package com.koonen.photostream.settings;
/*fromwww.java2s.com*/import com.koonen.utils.Enumeration;
/**
*
* @author dryganets
*
*/publicclass BackgroundSource extends Enumeration {
publicstaticfinal BackgroundSource RANDOM = new BackgroundSource(
"random", "random");
publicstaticfinal BackgroundSource PERSONAL = new BackgroundSource(
"personal", "personal");
publicstaticfinal BackgroundSource MY_TAGS = new BackgroundSource(
"my_tags", "my_tags");
publicstaticfinal BackgroundSource FAVORITES = new BackgroundSource(
"favorites", "favorites");
publicstaticfinal BackgroundSource FILE_SYSTEM_INTERNAL = new BackgroundSource(
"telephone", "telephone");
publicstaticfinal BackgroundSource FILE_SYSTEM_EXTERNAL = new BackgroundSource(
"sdcard", "sdcard");
publicstaticfinal BackgroundSource GROUP = new BackgroundSource(
"group", "group");
static {
add(BackgroundSource.class, RANDOM);
add(BackgroundSource.class, PERSONAL);
add(BackgroundSource.class, MY_TAGS);
add(BackgroundSource.class, FAVORITES);
add(BackgroundSource.class, FILE_SYSTEM_INTERNAL);
add(BackgroundSource.class, FILE_SYSTEM_EXTERNAL);
add(BackgroundSource.class, GROUP);
}
publicstatic BackgroundSource valueOf(String name) {
BackgroundSource result = null;
result = (BackgroundSource) valueOf(BackgroundSource.class, name);
return result;
}
public BackgroundSource(String name, String value) {
super(name, value);
}
}