Class ScriptingEnvironment.ScriptingEventListener

  • All Implemented Interfaces:
    org.w3c.dom.events.EventListener
    Enclosing class:
    ScriptingEnvironment

    protected class ScriptingEnvironment.ScriptingEventListener
    extends java.lang.Object
    implements org.w3c.dom.events.EventListener
    To handle a scripting event.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected java.lang.String attribute
      The script attribute.
    • Constructor Summary

      Constructors 
      Constructor Description
      ScriptingEventListener​(java.lang.String attr)
      Creates a new ScriptingEventListener.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void handleEvent​(org.w3c.dom.events.Event evt)
      Runs the script.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • attribute

        protected java.lang.String attribute
        The script attribute.
    • Constructor Detail

      • ScriptingEventListener

        public ScriptingEventListener​(java.lang.String attr)
        Creates a new ScriptingEventListener.
    • Method Detail

      • handleEvent

        public void handleEvent​(org.w3c.dom.events.Event evt)
        Runs the script.
        Specified by:
        handleEvent in interface org.w3c.dom.events.EventListener