java.lang.Object
com.dlsc.gemsfx.incubator.templatepane.Visibility
- All Implemented Interfaces:
VisibilityPolicy
-
Constructor Summary
ConstructorDescriptionVisibility
(double minRequiredWidth, double minRequiredHeight, double maxSupportedWidth, double maxSupportedHeight) -
Method Summary
Modifier and TypeMethodDescriptionfinal double
final double
final double
final double
boolean
isTileVisible
(Tile tile) static final Visibility
minRequiredHeight
(double minRequiredHeight) static final Visibility
minRequiredSize
(double minRequiredWidth, double minRequiredHeight) static final Visibility
minRequiredWidth
(double minRequiredWidth) static final Visibility
of
(double minRequiredWidth, double minRequiredHeight, double maxSupportedWidth, double maxSupportedHeight) final void
setMaxSupportedHeight
(double maxSupportedHeight) final void
setMaxSupportedWidth
(double maxSupportedWidth) final void
setMinRequiredHeight
(double minRequiredHeight) final void
setMinRequiredWidth
(double minRequiredWidth)
-
Constructor Details
-
Visibility
public Visibility(double minRequiredWidth, double minRequiredHeight, double maxSupportedWidth, double maxSupportedHeight)
-
-
Method Details
-
minRequiredWidth
-
minRequiredHeight
-
minRequiredSize
-
of
public static final Visibility of(double minRequiredWidth, double minRequiredHeight, double maxSupportedWidth, double maxSupportedHeight) -
isTileVisible
- Specified by:
isTileVisible
in interfaceVisibilityPolicy
-
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)
-