Interface EventAcceptor

    • Method Detail

      • isEnabled

        boolean isEnabled()
        Test the enabled flag of this object. If true, the object is prepared to handle events with processEvent().
        Returns:
        true if the object is prepared to handle events with processEvent()
      • setEnabled

        void setEnabled​(boolean flag)
        Set the enabled flag of this object. If true, the object is prepared to handle events with processEvent().
        Parameters:
        flag - True if the object is prepared to handle events with processEvent();
      • dispatchEvent

        void dispatchEvent​(java.awt.AWTEvent event)
        Dispatch an AWT event within this component. The implementing object should test if it is enabled first, and return if not. Otherwise, it should handle the event in whatever way it thinks appropriate.
        Parameters:
        event - the event.