Created
May 3, 2020 15:11
-
-
Save benyaminbeyzaie/99f0b82be340e49f79d8c4126fa9f906 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class Setting { | |
private String TITLE; | |
private int STANDARD_STATES_WIDTH; | |
private int STANDARD_STATES_HEIGHT; | |
private Color BUTTON_COLOR_1; | |
void setColor(String name, Color color){ | |
switch (name){ | |
case "Constants.BUTTON_COLOR_1": BUTTON_COLOR_1 = color; | |
break; | |
} | |
} | |
public String getTITLE() { | |
return TITLE; | |
} | |
public void setTITLE(String TITLE) { | |
this.TITLE = TITLE; | |
} | |
public int getSTANDARD_STATES_WIDTH() { | |
return STANDARD_STATES_WIDTH; | |
} | |
public void setSTANDARD_STATES_WIDTH(int STANDARD_STATES_WIDTH) { | |
this.STANDARD_STATES_WIDTH = STANDARD_STATES_WIDTH; | |
} | |
public int getSTANDARD_STATES_HEIGHT() { | |
return STANDARD_STATES_HEIGHT; | |
} | |
public void setSTANDARD_STATES_HEIGHT(int STANDARD_STATES_HEIGHT) { | |
this.STANDARD_STATES_HEIGHT = STANDARD_STATES_HEIGHT; | |
} | |
public Color getBUTTON_COLOR_1() { | |
return BUTTON_COLOR_1; | |
} | |
public void setBUTTON_COLOR_1(Color BUTTON_COLOR_1) { | |
this.BUTTON_COLOR_1 = BUTTON_COLOR_1; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment