Advertisement
Guest User

Untitled

a guest
Jul 17th, 2019
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.94 KB | None | 0 0
  1. package util;
  2.  
  3. /**
  4. *
  5. * @author Uellington Damasceno
  6. */
  7. public class Settings {
  8.  
  9. public enum Path{
  10.  
  11. TELA_CONECTAR_SERVIDOR("src\\telas\\ConectarServer.fxml"),
  12. TELA_PRINCIPAL("src\\telas\\Home.fxml");
  13.  
  14. private final String value;
  15.  
  16. Path(String value){
  17. this.value = value;
  18. }
  19.  
  20. public String getValue(){
  21. return this.value;
  22. }
  23. }
  24.  
  25. public enum Scenes{
  26. HOME("src\\telas\\..", false);
  27.  
  28. private final String value;
  29. private final boolean cache;
  30.  
  31. Scenes(String value, boolean inCache){
  32. this.value = value;
  33. this.cache = inCache;
  34. }
  35.  
  36. public String getValue(){
  37. return this.value;
  38. }
  39.  
  40. public boolean isCache(){
  41. return this.cache;
  42. }
  43. }
  44. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement