Documentation of 'org.jplot2d.env.StylePreferences' Java class
StylePreferences
org.jplot2d.env

Class 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
      void applyTo(Element element)
      Apply profile to the given element
      <T extends Element>
      T
      getProxyBean(java.lang.Class<T> elementInterface)
      Returns a element instance who can proxy get/set values from/to this profile.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 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:
        applyTo in interface StyleConfiguration
        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:
        getProxyBean in interface StyleConfiguration
        Parameters:
        elementInterface - the element interface
        Returns:

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.