public class GUIModifier extends java.lang.Object
Load allows you to pass in a PropertiesFile object from which we take the various GUI properties and set the GUI to match these options
AlterProperty allows you to specify a single property and the value you wish to change it to.
Be aware that there are some properties that will not update live and must be set before the GUI is created, in these cases it is recommended to set the value within the properties file instead of changing it manually.
Please note, this updates the GUI only, if you wish to alter the values that are stored within you properties.xml file you need to use the following method.
PropertiesFile.setValue(final String elementName, final String newValue)
|Modifier and Type||Method||Description|
The method alters a single property value related to the GUI.
This method loads all GUI properties from a PropertiesFile object.
public static void load(PropertiesFile properties, org.jpedal.gui.GUIFactory currentGUI)
properties- The PropertiesFile to load values from.
currentGUI- The GUI to have the properties loaded into.
public static void alterProperty(java.lang.String value, boolean set, org.jpedal.gui.GUIFactory currentGUI)
value- Name of the property to be altered as a String.
set- The value you wish to set for the property as a boolean.
currentGUI- The GUI interface the property is applied to.
Copyright 2017 IDRsolutions ltd. All rights reserved.