Class ArchTab<G extends GameObject<G,​A,​R>,​A extends MapArchObject<A>,​R extends Archetype<G,​A,​R>>

    • Constructor Detail

      • ArchTab

        public ArchTab​(@NotNull
                       @NotNull ArchetypeTypeSet archetypeTypeSet,
                       @NotNull
                       @NotNull GameObjectAttributesModel<G,​A,​R> gameObjectAttributesModel)
        Creates a new instance.
        Parameters:
        archetypeTypeSet - the archetype type set
        gameObjectAttributesModel - the model to track
    • Method Detail

      • getPanel

        @NotNull
        public @NotNull javax.swing.JPanel getPanel()
        Description copied from interface: GameObjectAttributesTab
        Creates the contents panel.
        Returns:
        the contents panel
      • canApply

        public boolean canApply()
        Description copied from interface: GameObjectAttributesTab
        Returns whether a selected game object exists and the current value differs from the initially set value.
        Returns:
        whether apply() should be called
      • activate

        public void activate()
        Description copied from interface: GameObjectAttributesTab
        Sets the focus to this component.
      • direction0

        @ActionMethod
        public void direction0()
        Action method for direction.
      • direction1

        @ActionMethod
        public void direction1()
        Action method for direction.
      • direction2

        @ActionMethod
        public void direction2()
        Action method for direction.
      • direction3

        @ActionMethod
        public void direction3()
        Action method for direction.
      • direction4

        @ActionMethod
        public void direction4()
        Action method for direction.
      • direction5

        @ActionMethod
        public void direction5()
        Action method for direction.
      • direction6

        @ActionMethod
        public void direction6()
        Action method for direction.
      • direction7

        @ActionMethod
        public void direction7()
        Action method for direction.
      • direction8

        @ActionMethod
        public void direction8()
        Action method for direction.