Back to project page ShowCast.
The source code is released under:
GNU General Public License
If you think the Android project ShowCast listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package prezcast.sgu.fr.showcast.db.setting; //from w ww .j a v a2 s. co m /** * Represent the differents part in the settings list. */ public enum EnumSettingsZone { GENERAL(1,"setting.zone.general"); public int id; public String name; private EnumSettingsZone(int id,String name){ this.id = id; this.name = name; } public static EnumSettingsZone getFromId(int id){ for(EnumSettingsZone e:EnumSettingsZone.values()){ if(e.id == id){ return e; } } return null; } }