Class VariableEvent

java.lang.Object
java.util.EventObject
org.episteme.core.mathematics.loaders.mathml.beans.VariableEvent
All Implemented Interfaces:
Serializable

public final class VariableEvent extends EventObject
Event fired when a MathML variable value changes.
Since:
1.0
Author:
Silvere Martin-Michiellot, Gemini AI (Google DeepMind)
See Also:
  • Constructor Details

    • VariableEvent

      public VariableEvent(Object src, String var, Object val)
      Creates a new VariableEvent object.
      Parameters:
      src - the source of the event
      var - the variable name
      val - the variable value
  • Method Details

    • getVariable

      public String getVariable()
      Returns the name of the variable.
      Returns:
      the variable name
    • getValue

      public Object getValue()
      Returns the value of the variable.
      Returns:
      the variable value