public class UserProperties extends Properties
Modifier and Type | Field and Description |
---|---|
protected Properties |
altDefaults |
defaults
Constructor and Description |
---|
UserProperties() |
UserProperties(Properties defaults) |
UserProperties(Properties defaults,
Properties altDefaults)
Constructs UserProperties with a defaults and altDefaults table,
which are searched in that order.
|
list, list, load, load, loadFromXML, save, store, store, storeToXML, storeToXML, stringPropertyNames
protected Properties altDefaults
public UserProperties()
public UserProperties(Properties defaults)
public UserProperties(Properties defaults, Properties altDefaults)
public Enumeration<?> propertyNames()
propertyNames
in class Properties
public void setProperties(Properties properties)
public Object setProperty(String key, String value)
setProperty
in class Properties
public static Object setProperty(Properties properties, String key, String[] value)
public static Object setProperty(Properties properties, String key, Color value)
public static Object setProperty(Properties properties, String key, Rectangle value)
public static Object setProperty(Properties properties, String key, Insets value)
public static Object setProperty(Properties properties, String key, Dimension value)
public static Object setProperty(Properties properties, String key, int value)
public static Object setProperty(Properties properties, String key, double value)
public static Object setProperty(Properties properties, String key, float value)
public static Object setProperty(Properties properties, String key, boolean value)
public String getProperty(String key)
getProperty
in class Properties
public String getProperty(String key, String def)
getProperty
in class Properties
public int getPropertyInt(String key)
public int getPropertyInt(String key, int def)
public double getPropertyDouble(String key)
public double getPropertyDouble(String key, double def)
public float getPropertyFloat(String key)
public float getPropertyFloat(String key, float def)
public boolean isProperty(String key)
public boolean isProperty(String key, boolean def)
Copyright © 2014. All rights reserved.