java.lang.Object
com.dlsc.gemsfx.incubator.templatepane.Visibility
- All Implemented Interfaces:
VisibilityPolicy
-
Constructor Summary
ConstructorsConstructorDescriptionVisibility(double minRequiredWidth, double minRequiredHeight, double maxSupportedWidth, double maxSupportedHeight) -
Method Summary
Modifier and TypeMethodDescriptionfinal doublefinal doublefinal doublefinal doublebooleanisTileVisible(Tile tile) static final VisibilityminRequiredHeight(double minRequiredHeight) static final VisibilityminRequiredSize(double minRequiredWidth, double minRequiredHeight) static final VisibilityminRequiredWidth(double minRequiredWidth) static final Visibilityof(double minRequiredWidth, double minRequiredHeight, double maxSupportedWidth, double maxSupportedHeight) final voidsetMaxSupportedHeight(double maxSupportedHeight) final voidsetMaxSupportedWidth(double maxSupportedWidth) final voidsetMinRequiredHeight(double minRequiredHeight) final voidsetMinRequiredWidth(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:
isTileVisiblein 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)
-