Interface Orientable

All Known Implementing Classes:
Label, MasonryPane, OutlinePane, PercentageBar, Slider, VariableBar

public interface Orientable
An interface for panes that can have different orientations
Since:
0.3.0
  • Method Details

    • getOrientation

      @NotNull @Contract(pure=true) @NotNull Orientable.Orientation getOrientation()
      Gets the orientation of this outline pane
      Returns:
      the orientation
      Since:
      0.3.0
    • setOrientation

      void setOrientation(@NotNull @NotNull Orientable.Orientation orientation)
      Sets the orientation of this outline pane
      Parameters:
      orientation - the new orientation
      Since:
      0.3.0
    • load

      static void load(@NotNull @NotNull Orientable orientable, @NotNull @NotNull Element element)
      Loads all elements regarding a Orientable Pane for the specified pane. The mutable pane contains the changes made.
      Parameters:
      orientable - the orientable pane's elements to be applied
      element - the XML element for this pane
      Since:
      0.3.0