Class DefaultActionFactory

    • Constructor Detail

      • DefaultActionFactory

        public DefaultActionFactory()
    • Method Detail

      • configureAction

        protected void configureAction​(ActionProxy annotation,
                                       AnnotatedAction action)
        Configures the newly-created action before it is returned to ActionMap. Subclasses can override this method to change configuration behavior.
        Parameters:
        annotation - The annotation specified on the method.
        action - The newly-created action.
      • resolveGraphic

        protected Node resolveGraphic​(ActionProxy annotation)
        Resolve the graphical representation of this action. The default implementation of this method implements the protocol described in ActionProxy.graphic(), but subclasses can override this method to provide alternative behavior.
        Parameters:
        annotation - The annotation specified on the method.
        Returns:
        A JavaFX Node for the graphic associated with this action.