Interface Toggler

All Known Implementing Classes:
SceneController

public interface Toggler
An interface for an object that can toggle the visibility of various user interface components.
  • Method Details

    • toggle

      void toggle(@NotNull @NotNull Toggler.ToggleableComponent component)
      Toggle the component. i.e. switch it between invisible and visible.
      Parameters:
      component - the component to toggle.
    • getCurrentComponent

      @NotNull @NotNull Toggler.ToggleableComponent getCurrentComponent()
      Get the current visible component.
      Returns:
      the current visible component.