Class HandlerUtils


  • public class HandlerUtils
    extends java.lang.Object
    Utility class for action handlers.
    • Constructor Summary

      Constructors 
      Constructor Description
      HandlerUtils()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static void performAction​(com.apple.eawt.AppEvent ae, javax.swing.Action action, java.lang.String message)
      Perform action with AppEvent and message.
      • Methods inherited from class java.lang.Object

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

      • HandlerUtils

        public HandlerUtils()
    • Method Detail

      • performAction

        public static void performAction​(com.apple.eawt.AppEvent ae,
                                         javax.swing.Action action,
                                         java.lang.String message)
        Perform action with AppEvent and message. AppEvent is converted to standard ActionEvent object and then it is sent to desired Action.
        Parameters:
        ae - event
        action - action
        message - message