Package | Description |
---|---|
org.macroing.cit.configuration |
Provides an API for application- and system configuration.
|
org.macroing.cit.configuration.property |
Provides the Property API.
|
Modifier and Type | Method and Description |
---|---|
Configuration |
Configuration.clear()
Clears all configuration values currently held by this
Configuration instance. |
Configuration |
Configuration.setObject(java.lang.String id,
java.lang.Object object)
Sets or unsets a configuration value in this
Configuration instance. |
Modifier and Type | Method and Description |
---|---|
default void |
ConfigurationObserver.added(Configuration configuration)
Called by the
Configuration that this ConfigurationObserver instance was just added to. |
void |
ConfigurationObserver.objectSet(Configuration configuration,
java.lang.String id,
java.util.Optional<?> oldObject,
java.util.Optional<?> newObject)
Called by a
Configuration when a new Object has been set for a given ID. |
default void |
ConfigurationObserver.removed(Configuration configuration)
Called by the
Configuration that this ConfigurationObserver instance was just removed from. |
Modifier and Type | Method and Description |
---|---|
void |
ObjectProperty.added(Configuration configuration)
Called by the
Configuration that this ConfigurationObserver instance was just added to. |
void |
IntProperty.added(Configuration configuration)
Called by the
Configuration that this ConfigurationObserver instance was just added to. |
void |
DoubleProperty.added(Configuration configuration)
Called by the
Configuration that this ConfigurationObserver instance was just added to. |
void |
ObjectProperty.objectSet(Configuration configuration,
java.lang.String id,
java.util.Optional<?> oldObject,
java.util.Optional<?> newObject)
Called by a
Configuration when a new Object has been set for a given ID. |
void |
IntProperty.objectSet(Configuration configuration,
java.lang.String id,
java.util.Optional<?> oldObject,
java.util.Optional<?> newObject)
Called by a
Configuration when a new Object has been set for a given ID. |
void |
DoubleProperty.objectSet(Configuration configuration,
java.lang.String id,
java.util.Optional<?> oldObject,
java.util.Optional<?> newObject)
Called by a
Configuration when a new Object has been set for a given ID. |
void |
ObjectProperty.removed(Configuration configuration)
Called by the
Configuration that this ConfigurationObserver instance was just removed from. |
void |
IntProperty.removed(Configuration configuration)
Called by the
Configuration that this ConfigurationObserver instance was just removed from. |
void |
DoubleProperty.removed(Configuration configuration)
Called by the
Configuration that this ConfigurationObserver instance was just removed from. |