Package net.sf.gridarta.mainactions
Class TileStretchingDialog
- java.lang.Object
-
- net.sf.gridarta.mainactions.TileStretchingDialog
-
public class TileStretchingDialog extends java.lang.ObjectDisplays a dialog asking for parameters for the "tile stretching set" function.
-
-
Constructor Summary
Constructors Constructor Description TileStretchingDialog()Creates a new instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetHeightValue()Returns the height value.@NotNull java.lang.Integer @NotNull []getSubLayers()Returns the sub-layers to affect.booleanisTileStretchingAbsolute()Action method for "absolute" action.voidsetTileStretchingAbsolute(boolean isAbsolute)Action method for "absolute" action.booleanshowTileStretchingDialog(@NotNull java.awt.Component parent)Displays the tile stretching dialog.voidtileStretchingCancel()Action method to close the dialog with "Cancel".voidtileStretchingOkay()Action method to close the dialog with "OK".
-
-
-
Method Detail
-
showTileStretchingDialog
public boolean showTileStretchingDialog(@NotNull @NotNull java.awt.Component parent)Displays the tile stretching dialog.- Parameters:
parent- the parent component for the dialog- Returns:
- whether the dialog was closed with "OK"
-
tileStretchingOkay
@ActionMethod public void tileStretchingOkay()
Action method to close the dialog with "OK".
-
isTileStretchingAbsolute
@ActionMethod public boolean isTileStretchingAbsolute()
Action method for "absolute" action.- Returns:
- whether the checkbox is checked
-
setTileStretchingAbsolute
@ActionMethod public void setTileStretchingAbsolute(boolean isAbsolute)
Action method for "absolute" action.- Parameters:
isAbsolute- whether the checkbox is checked
-
tileStretchingCancel
@ActionMethod public void tileStretchingCancel()
Action method to close the dialog with "Cancel".
-
getHeightValue
public int getHeightValue()
Returns the height value.- Returns:
- the height value
-
getSubLayers
@NotNull public @NotNull java.lang.Integer @NotNull [] getSubLayers()
Returns the sub-layers to affect.- Returns:
- the sub-layers.
-
-