code: protected void addDefaultActions() {
          final LmlData data = lmlParser.getData();
          // Closes the application after screen transition.
          data.addActorConsumer("exit", new ActorConsumer<Void, Object>() {
              @Override
              public Void consume(final Object actor) {
                  GdxUtilities.clearInputProcessor();
                  exit();
                  return null;
              }
          });
          // Does nothing. Utility for dialogs: <dialog> ... <textButton onResult="close"> ...
          data.addActorConsumer("close", new ActorConsumer<Void, Object>() {
              @Override
              public Void consume(final Object actor) {
                  return null;
              }
          });
          // Changes current view. Uses actor ID to determine view's class.
          data.addActorConsumer("setView", new ActorConsumer<Void, Actor>() {
              @Override
              public Void consume(final Actor actor) {
                  final String viewClassName = LmlUtilities.getActorId(actor);
                  final Class<? extends AbstractLmlView> viewClass = LmlApplicationListener.this
                          .getViewClass(viewClassName);
                  setView(viewClass);
                  return null;
              }
          });
      }
docs: Called by {@link #create()} after creation of the {@link LmlParser} using {@link #createParser()} method.
  Registers default actions available in all views.