Top Fields Constructors Methods
com.dlsc.gemsfx.incubator.templatepane

public Class Visibility

extends Object
implements VisibilityPolicy
Class Inheritance
All Implemented Interfaces
com.dlsc.gemsfx.incubator.templatepane.VisibilityPolicy

Field Summary

Modifier and TypeField and Description
private double
private double
private double
private double

Constructor Summary

AccessConstructor and Description
public
Visibility(double minRequiredWidth, double minRequiredHeight, double maxSupportedWidth, double maxSupportedHeight)

Method Summary

Modifier and TypeMethod and Description
public final double
public final double
public final double
public final double
public boolean
public static final Visibility
minRequiredHeight(double minRequiredHeight)

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

public static final Visibility
minRequiredWidth(double minRequiredWidth)

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

public final void
setMaxSupportedHeight(double maxSupportedHeight)

public final void
setMaxSupportedWidth(double maxSupportedWidth)

public final void
setMinRequiredHeight(double minRequiredHeight)

public final void
setMinRequiredWidth(double minRequiredWidth)

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

maxSupportedHeightback to summary
private double maxSupportedHeight
maxSupportedWidthback to summary
private double maxSupportedWidth
minRequiredHeightback to summary
private double minRequiredHeight
minRequiredWidthback to summary
private double minRequiredWidth

Constructor Detail

Visibilityback to summary
public Visibility(double minRequiredWidth, double minRequiredHeight, double maxSupportedWidth, double maxSupportedHeight)

Method Detail

getMaxSupportedHeightback to summary
public final double getMaxSupportedHeight()
getMaxSupportedWidthback to summary
public final double getMaxSupportedWidth()
getMinRequiredHeightback to summary
public final double getMinRequiredHeight()
getMinRequiredWidthback to summary
public final double getMinRequiredWidth()
isTileVisibleback to summary
public boolean isTileVisible(Tile tile)

Overrides default com.dlsc.gemsfx.incubator.templatepane.VisibilityPolicy.isTileVisible.

Annotations
@Override
minRequiredHeightback to summary
public static final Visibility minRequiredHeight(double minRequiredHeight)
minRequiredSizeback to summary
public static final Visibility minRequiredSize(double minRequiredWidth, double minRequiredHeight)
minRequiredWidthback to summary
public static final Visibility minRequiredWidth(double minRequiredWidth)
ofback to summary
public static final Visibility of(double minRequiredWidth, double minRequiredHeight, double maxSupportedWidth, double maxSupportedHeight)
setMaxSupportedHeightback to summary
public final void setMaxSupportedHeight(double maxSupportedHeight)
setMaxSupportedWidthback to summary
public final void setMaxSupportedWidth(double maxSupportedWidth)
setMinRequiredHeightback to summary
public final void setMinRequiredHeight(double minRequiredHeight)
setMinRequiredWidthback to summary
public final void setMinRequiredWidth(double minRequiredWidth)