private class Canvas.DialogCallback<T>
extends java.lang.Object
implements java.lang.Runnable
Modifier and Type | Field and Description |
---|---|
private FreeColDialog<T> |
fcd
The dialog to show.
|
private DialogHandler<T> |
handler
The handler for the dialog response.
|
private Tile |
tile
An optional tile to guide the dialog placement.
|
Constructor and Description |
---|
DialogCallback(FreeColDialog<T> fcd,
Tile tile,
DialogHandler<T> handler)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
run() |
private final FreeColDialog<T> fcd
private final Tile tile
private final DialogHandler<T> handler
public DialogCallback(FreeColDialog<T> fcd, Tile tile, DialogHandler<T> handler)