Class: Sketchup::EnvironmentsObserver Abstract
- Inherits:
-
Object
- Object
- Sketchup::EnvironmentsObserver
Overview
To implement this observer, create a Ruby class of this type, override the desired methods, and add an instance of the observer to the Environment object.
This observer interface is implemented to react to Environment events.
Instance Method Summary # collapse
-
#onEnvironmentAdd(environments, environment) ⇒ nil
The #onEnvironmentAdd method is called whenever an environment is added to the Environments.
-
#onEnvironmentChange(environments, environment) ⇒ nil
The #onEnvironmentChange method is called whenever the environment properties are changed.
-
#onEnvironmentRemove(environments, environment) ⇒ nil
The #onEnvironmentRemove method is called whenever an environment is removed from the Environments.
-
#onEnvironmentSetCurrent(environments, environment) ⇒ nil
The #onEnvironmentSetCurrent method is called whenever the current environment is changed.
Instance Method Details
↑ #onEnvironmentAdd(environments, environment) ⇒ nil
The #onEnvironmentAdd method is called whenever an environment is added to the Sketchup::Environments.
↑ #onEnvironmentChange(environments, environment) ⇒ nil
The #onEnvironmentChange method is called whenever the environment properties are changed.
↑ #onEnvironmentRemove(environments, environment) ⇒ nil
The #onEnvironmentRemove method is called whenever an environment is removed from the Sketchup::Environments.
↑ #onEnvironmentSetCurrent(environments, environment) ⇒ nil
The #onEnvironmentSetCurrent method is called whenever the current environment is changed.