Interface SkinProperties

All Known Subinterfaces:
SWTSkinProperties, SWTSkinPropertiesParam
All Known Implementing Classes:
SkinPropertiesImpl, SWTSkinPropertiesClone, SWTSkinPropertiesImpl, SWTSkinPropertiesParamImpl

public interface SkinProperties
Interface for reading Skin properties (might be better)
  • Method Details

    • addProperty

      void addProperty(String name, String value)
      Add a property key/value pair to the list
      Parameters:
      name - Name of Property
      value - Value of Property
    • getIntValue

      int getIntValue(String name, int def)
      Retrieve a property's int value
      Parameters:
      name - Name of property
      def - Default value if property not found
      Returns:
      value
    • getStringValue

      String getStringValue(String name)
      Retrieve a string value
      Parameters:
      name - Name of property
      Returns:
      the String value, or null if not found
    • getStringValue

      String getStringValue(String name, String def)
    • getStringArray

      String[] getStringArray(String name)
    • getStringValue

      String getStringValue(String name, String[] params)
    • getStringValue

      String getStringValue(String name, String[] params, String def)
    • getStringArray

      String[] getStringArray(String name, String[] params)
    • getColorValue

      int[] getColorValue(String name)
    • getBooleanValue

      boolean getBooleanValue(String name, boolean def)
    • clearCache

      void clearCache()
      Since:
      3.1.1.1
    • hasKey

      boolean hasKey(String name)
      Parameters:
      name -
      Returns:
      Since:
      3.1.1.1
    • getReferenceID

      String getReferenceID(String name)
      Parameters:
      name -
      Returns:
      Since:
      3.1.1.1
    • addResourceBundle

      void addResourceBundle(ResourceBundle subBundle, String skinPath)
      Parameters:
      subBundle -
      skinPath - TODO
      Since:
      4.0.0.5
    • addResourceBundle

      void addResourceBundle(ResourceBundle subBundle, String skinPath, ClassLoader loader)
      Parameters:
      subBundle -
      skinPath -
      loader -
      Since:
      4315
    • getClassLoader

      ClassLoader getClassLoader()
      Returns:
      Since:
      4.0.0.5
    • getEmHeightPX

      int getEmHeightPX()
      Returns:
      Since:
      5.6.2.1