java.lang.Object
io.github.tonywasher.joceanus.tethys.api.base.TethysUIProgram
Direct Known Subclasses:
TethysUILaunchProgram

public abstract class TethysUIProgram extends Object
Program Definitions.
  • Constructor Details

    • TethysUIProgram

      protected TethysUIProgram(InputStream pProperties)
      Constructor.
      Parameters:
      pProperties - the inputStream of the properties
  • Method Details

    • getPanelDimensions

      public int[] getPanelDimensions()
      Obtain the dimensions (width, height) of the panel.
      Returns:
      the width/height (or null for default)
    • useSliderStatus

      public boolean useSliderStatus()
      Does the panel use a slider status?
      Returns:
      true/false
    • getIcons

      public abstract TethysUIIconId[] getIcons()
      Obtain the program iconIds.
      Returns:
      the icon Ids.
    • getSplash

      public TethysUIIconId getSplash()
      Obtain the splash iconId.
      Returns:
      the iconId.
    • getName

      public String getName()
      Obtain program name.
      Returns:
      the name.
    • getVersion

      public String getVersion()
      Obtain program version.
      Returns:
      the version.
    • getRevision

      public String getRevision()
      Obtain program revision.
      Returns:
      the revision.
    • getCopyright

      public String getCopyright()
      Obtain program copyright.
      Returns:
      the copyright.
    • getBuiltOn

      public String getBuiltOn()
      Obtain program build date.
      Returns:
      the build date.
    • dependencyIterator

      public Iterator<Map.Entry<String,String>> dependencyIterator()
      Obtain iterator for the dependencies.
      Returns:
      the iterator.