Class ViewTreasurelistsAction

  • All Implemented Interfaces:
    EditorAction

    public class ViewTreasurelistsAction
    extends java.lang.Object
    implements EditorAction
    An EditorAction tha shows the treasurelists dialog.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void setAction​(@NotNull javax.swing.Action action, @NotNull java.lang.String name)
      Sets the Action instance for this editor action.
      void viewTreasurelists()
      Shows the treasurelists dialog.
      • Methods inherited from class java.lang.Object

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

      • ViewTreasurelistsAction

        public ViewTreasurelistsAction​(@NotNull
                                       @NotNull CFTreasureListTree treasureListTree,
                                       @NotNull
                                       @NotNull java.awt.Frame parent)
        Creates a new instance.
        Parameters:
        treasureListTree - the treasurelists instance
        parent - the parent component for the treasurelists dialog
    • Method Detail

      • viewTreasurelists

        @ActionMethod
        public void viewTreasurelists()
        Shows the treasurelists dialog.
      • setAction

        public void setAction​(@NotNull
                              @NotNull javax.swing.Action action,
                              @NotNull
                              @NotNull java.lang.String name)
        Description copied from interface: EditorAction
        Sets the Action instance for this editor action.
        Specified by:
        setAction in interface EditorAction
        Parameters:
        action - the action instance
        name - the name of the action