public class RandomFillDialog
extends java.lang.Object
Constructor and Description |
---|
RandomFillDialog()
Creates a new instance.
|
Modifier and Type | Method and Description |
---|---|
int |
getFillDensity()
Returns the fill density.
|
boolean |
isRandomFillSkipAdjacentSquares()
Action method for "skip adjacent squares" action.
|
void |
randomFillCancel()
Action method to close the dialog with "Cancel".
|
void |
randomFillOkay()
Action method to close the dialog with "OK".
|
void |
setRandomFillSkipAdjacentSquares(boolean skipAdjacentSquares)
Action method for "skip adjacent squares" action.
|
boolean |
showRandomFillDialog(@NotNull java.awt.Component parent)
Displays the random fill dialog.
|
public boolean showRandomFillDialog(@NotNull @NotNull java.awt.Component parent)
parent
- the parent component for the dialog@ActionMethod public void randomFillOkay()
@ActionMethod public boolean isRandomFillSkipAdjacentSquares()
@ActionMethod public void setRandomFillSkipAdjacentSquares(boolean skipAdjacentSquares)
skipAdjacentSquares
- whether the checkbox is checked@ActionMethod public void randomFillCancel()
public int getFillDensity()