Package org.freeplane.plugin.script
Class FreeplaneScriptBaseClass.ConfigProperties
java.lang.Object
org.freeplane.plugin.script.FreeplaneScriptBaseClass.ConfigProperties
- Enclosing class:
- FreeplaneScriptBaseClass
Accessor for Freeplane's configuration: In scripts available
as "global variable"
config.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionString[]getArrayProperty(String key, String separator) support config['key'] from Groovy.booleangetBooleanProperty(String key) booleangetBooleanProperty(String key, boolean defaultValue) getColorProperty(String name) getDefaultProperty(String key) doublegetDoubleProperty(String key) doublegetDoubleProperty(String key, double defaultValue) <T extends Enum<T>>
TgetEnumProperty(String propertyName, Enum<T> defaultValue) getIconResource(String resourcePath) getImageIcon(String iconKey) intgetIntProperty(String key) intgetIntProperty(String key, int defaultValue) intgetLengthProperty(String name) longgetLongProperty(String key, long defaultValue) getProperty(String key) booleangetProperty(String key, boolean defaultValue) doublegetProperty(String key, double defaultValue) intgetProperty(String key, int defaultValue) longgetProperty(String key, long defaultValue) <T extends Enum<T>>
TgetProperty(String propertyName, Enum<T> defaultValue) getProperty(String key, String value) Collection<org.freeplane.core.resources.IFreeplanePropertyListener>getResource(String resourcePath) getResourceStream(String resFileName) intgetTimeProperty(String name) Quantity<org.freeplane.core.ui.TimePeriodUnits>voidvoidsetDefaultProperty(String key, String value) voidsetProperty(String property, boolean value) voidsetProperty(String name, double value) voidsetProperty(String name, int value) voidsetProperty(String name, long value) voidsetProperty(String property, String value)
-
Constructor Details
-
ConfigProperties
public ConfigProperties()
-
-
Method Details
-
getBooleanProperty
-
getBooleanProperty
-
getProperty
-
getEnumProperty
-
getProperty
-
getDoubleProperty
-
getDoubleProperty
-
getProperty
-
getIntProperty
-
getIntProperty
-
getProperty
-
getLongProperty
-
getProperty
-
getLengthProperty
-
getLengthQuantityProperty
-
getTimeProperty
-
getTimeQuantityProperty
-
getColorProperty
-
getProperty
-
getProperty
-
getDefaultProperty
-
getPropertyChangeListeners
public Collection<org.freeplane.core.resources.IFreeplanePropertyListener> getPropertyChangeListeners() -
getResource
-
getResourceStream
- Throws:
IOException
-
getResourceBaseDir
-
getInstallationBaseDir
-
getLanguageCode
-
getDefaultLanguageCode
-
setDefaultProperty
-
setProperty
-
setProperty
-
setProperty
-
setProperty
-
setProperty
-
getIcon
-
getIconResource
-
getImageIcon
-
getSystemLocale
-
getArrayProperty
-
getProperties
-
getAt
support config['key'] from Groovy. -
setAt
-
getResources
-
getFreeplaneUserDirectory
-