Class Configuration

java.lang.Object
com.myscript.iink.ParameterSet
com.myscript.iink.Configuration
All Implemented Interfaces:
AutoCloseable

public class Configuration extends ParameterSet
Represents the configuration values of the iink runtime environment.
  • Method Details

    • reset

      public final void reset()
      Resets this configuration to its default values.
    • addListener

      public final void addListener(@NotNull @NotNull IConfigurationListener listener)
      Adds the specified listener to this configuration.
      Parameters:
      listener - the listener to be added.
      Throws:
      IllegalStateException - when this configuration is closed.
      IllegalArgumentException - when listener is null.
    • removeListener

      public final void removeListener(@NotNull @NotNull IConfigurationListener listener)
      Removes the specified listener from this configuration.
      Parameters:
      listener - the listener to be removed.
      Throws:
      IllegalStateException - when this configuration is closed.
      IllegalArgumentException - when listener is null.