Class DialogStateParser


  • public class DialogStateParser
    extends java.lang.Object
    Utility class to store or restore the dialog states to/from a file.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static void load​(@NotNull JXCSkin skin, @NotNull JXCWindowRenderer windowRenderer)
      Loads the dialogs state from a file.
      static void save​(@NotNull JXCSkin skin, @NotNull JXCWindowRenderer windowRenderer)
      Saves the dialogs state to a file.
      • Methods inherited from class java.lang.Object

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

      • load

        public static void load​(@NotNull
                                @NotNull JXCSkin skin,
                                @NotNull
                                @NotNull JXCWindowRenderer windowRenderer)
        Loads the dialogs state from a file.
        Parameters:
        skin - the skin to update
        windowRenderer - the window renderer instance to attach to
      • save

        public static void save​(@NotNull
                                @NotNull JXCSkin skin,
                                @NotNull
                                @NotNull JXCWindowRenderer windowRenderer)
        Saves the dialogs state to a file.
        Parameters:
        skin - the skin to update
        windowRenderer - the window renderer instance to attach to