org.jplot2d.env
Class StylePreferences
- java.lang.Object
-
- org.jplot2d.env.StylePreferences
-
- All Implemented Interfaces:
- StyleConfiguration
public class StylePreferences extends java.lang.Object implements StyleConfiguration
StyleConfiguration who can persist in java Preferences.
-
-
Constructor Summary
Constructors Constructor and Description StylePreferences()Create a profile who store data in Preferences node "org/jplot2d/profile/default".StylePreferences(java.lang.String pathName)Create a profile who store data in Preferences node in the given path.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description voidapplyTo(Element element)Apply profile to the given element<T extends Element>
TgetProxyBean(java.lang.Class<T> elementInterface)Returns a element instance who can proxy get/set values from/to this profile.
-
-
-
Constructor Detail
-
StylePreferences
public StylePreferences()
Create a profile who store data in Preferences node "org/jplot2d/profile/default".
-
StylePreferences
public StylePreferences(java.lang.String pathName)
Create a profile who store data in Preferences node in the given path.- Parameters:
profileName-
-
-
Method Detail
-
applyTo
public void applyTo(Element element)
Apply profile to the given element- Specified by:
applyToin interfaceStyleConfiguration- Parameters:
element-
-
getProxyBean
public <T extends Element> T getProxyBean(java.lang.Class<T> elementInterface)
Returns a element instance who can proxy get/set values from/to this profile.- Specified by:
getProxyBeanin interfaceStyleConfiguration- Parameters:
elementInterface- the element interface- Returns:
-
-
DMelt 3.0 © DataMelt by jWork.ORG