|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectch.sahits.game.graphic.display.gameplay.OpenPatricianGameDialog
public abstract class OpenPatricianGameDialog
This is a dialog that renderes a wooden frame with an inlaid parchment at a given
position. Based on what the dialog represents the subclass may implement a RenderablePart.
| Nested Class Summary | |
|---|---|
protected static class |
OpenPatricianGameDialog.CloseAction
|
| Field Summary | |
|---|---|
private Rectangle |
bounds
Top left corner of the frame |
private BufferedImage |
img
Frame that is rendered |
private Insets |
inset
|
protected ch.sahits.game.graphic.image.ImagesLoader |
loader
|
| Constructor Summary | |
|---|---|
OpenPatricianGameDialog(Point topLeft,
ch.sahits.game.graphic.image.ImagesLoader loader,
double scale)
|
|
| Method Summary | |
|---|---|
void |
gameRender(Graphics gScr)
|
Rectangle |
getBounds()
|
Insets |
getInset()
Retrieve the insets of the dialog border |
protected BufferedImage |
initBackgroundImage(ch.sahits.game.graphic.image.ImagesLoader loader,
Point topLeft)
Initialize the background image that is stored as a reference. |
protected void |
initiatePolygons()
Instanciate the any polygon member variables |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private final BufferedImage img
private final Rectangle bounds
private final Insets inset
protected ch.sahits.game.graphic.image.ImagesLoader loader
| Constructor Detail |
|---|
public OpenPatricianGameDialog(Point topLeft,
ch.sahits.game.graphic.image.ImagesLoader loader,
double scale)
| Method Detail |
|---|
protected void initiatePolygons()
protected BufferedImage initBackgroundImage(ch.sahits.game.graphic.image.ImagesLoader loader,
Point topLeft)
loader - ImageLoader to retrieve images
public final Rectangle getBounds()
public void gameRender(Graphics gScr)
public Insets getInset()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||