Class Visibility

java.lang.Object
com.dlsc.gemsfx.incubator.templatepane.Visibility
All Implemented Interfaces:
VisibilityPolicy

public class Visibility extends Object implements VisibilityPolicy
  • Constructor Details

    • Visibility

      public Visibility(double minRequiredWidth, double minRequiredHeight, double maxSupportedWidth, double maxSupportedHeight)
  • Method Details

    • minRequiredWidth

      public static final Visibility minRequiredWidth(double minRequiredWidth)
    • minRequiredHeight

      public static final Visibility minRequiredHeight(double minRequiredHeight)
    • minRequiredSize

      public static final Visibility minRequiredSize(double minRequiredWidth, double minRequiredHeight)
    • of

      public static final Visibility of(double minRequiredWidth, double minRequiredHeight, double maxSupportedWidth, double maxSupportedHeight)
    • isTileVisible

      public boolean isTileVisible(Tile tile)
      Specified by:
      isTileVisible in interface VisibilityPolicy
    • getMinRequiredHeight

      public final double getMinRequiredHeight()
    • setMinRequiredHeight

      public final void setMinRequiredHeight(double minRequiredHeight)
    • getMinRequiredWidth

      public final double getMinRequiredWidth()
    • setMinRequiredWidth

      public final void setMinRequiredWidth(double minRequiredWidth)
    • getMaxSupportedHeight

      public final double getMaxSupportedHeight()
    • setMaxSupportedHeight

      public final void setMaxSupportedHeight(double maxSupportedHeight)
    • getMaxSupportedWidth

      public final double getMaxSupportedWidth()
    • setMaxSupportedWidth

      public final void setMaxSupportedWidth(double maxSupportedWidth)