Class ActionInteractor

    • Constructor Detail

      • ActionInteractor

        public ActionInteractor()
        Create a new interactor that will throw a NullPointerException when a mouse button is pressed. (In some cases we have to set the action after creating it.)
      • ActionInteractor

        public ActionInteractor​(javax.swing.Action action)
        Create a new interactor that will activate the given action.
    • Method Detail

      • getAction

        public javax.swing.Action getAction()
        Return the action associated with this interactor.
      • setAction

        public void setAction​(javax.swing.Action action)
        Set the action associated with this interactor.