|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.gswing.components.common.Properties
public class Properties
Purpose: Reads the properties files and sets global properties.
Constructor Summary | |
---|---|
Properties(IPropertyManagement propManager)
Constructor. |
|
Properties(URL url,
String propertiesFile)
Constructor. |
Method Summary | |
---|---|
static String |
getHome()
Get the path of the installation directory. |
static Color |
getPartyColour(String party)
Get the colour of a party from the map. |
boolean |
readProperties()
Read and load the property file. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Properties(IPropertyManagement propManager)
propManager
- The property manager.public Properties(URL url, String propertiesFile)
url
- The base URL where gswing is installed.propertiesFile
- The properties file name.Method Detail |
---|
public boolean readProperties()
public static String getHome()
public static Color getPartyColour(String party)
party
- The party abbreviation.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |