![]() |
Gridarta Editor
|
A MapRenderer implementation for testing purposes. More...
Public Member Functions | |
void | closeNotify () |
void | forceRepaint () |
BufferedImage | getFullImage () |
Size2D | getImageSize () |
Rectangle | getSquareBounds (@NotNull final Point p) |
boolean | getSquareLocationAt (@NotNull final Point point, @NotNull final Point retPoint) |
TestMapRenderer (@NotNull final MapModel< TestGameObject, TestMapArchObject, TestArchetype > mapModel) | |
Creates a new instance. More... | |
![]() | |
abstract void | closeNotify () |
Must be called when this renderer is not used anymore. More... | |
String | getToolTipText ( @NotNull final MouseEvent event) |
@noinspection RefusedBequest More... | |
void | printFullImage ( @NotNull final File file) throws IOException |
Saves an image of the entire view to a file. More... | |
void | setErroneousMapSquares ( @NotNull final Map< MapSquare< G, A, R >, ValidationError< G, A, R >> erroneousMapSquares) |
Sets the MapSquares that are known to contain errors. More... | |
void | setLightVisible (final boolean lightVisible) |
If set, inverts the setting of net.sf.gridarta.model.mapviewsettings.MapViewSettings#isLightVisible(). More... | |
Static Private Attributes | |
static final long | serialVersionUID = 1L |
The serial version UID. More... | |
Additional Inherited Members | |
![]() | |
AbstractMapRenderer ( @NotNull final MapModel< G, A, R > mapModel, @Nullable final GameObjectParser< G, A, R > gameObjectParser) | |
Creates a new instance. More... | |
boolean | isLightVisible () |
Returns whether the setting for lighted map squares should be inverted. More... | |
A MapRenderer implementation for testing purposes.
Definition at line 36 of file TestMapRenderer.java.
net.sf.gridarta.gui.map.renderer.TestMapRenderer.TestMapRenderer | ( | @NotNull final MapModel< TestGameObject, TestMapArchObject, TestArchetype > | mapModel | ) |
Creates a new instance.
mapModel | the rendered map model |
Definition at line 47 of file TestMapRenderer.java.
void net.sf.gridarta.gui.map.renderer.TestMapRenderer.closeNotify | ( | ) |
Definition at line 74 of file TestMapRenderer.java.
void net.sf.gridarta.gui.map.renderer.TestMapRenderer.forceRepaint | ( | ) |
Definition at line 69 of file TestMapRenderer.java.
BufferedImage net.sf.gridarta.gui.map.renderer.TestMapRenderer.getFullImage | ( | ) |
Definition at line 59 of file TestMapRenderer.java.
Size2D net.sf.gridarta.gui.map.renderer.TestMapRenderer.getImageSize | ( | ) |
Definition at line 53 of file TestMapRenderer.java.
Rectangle net.sf.gridarta.gui.map.renderer.TestMapRenderer.getSquareBounds | ( | @NotNull final Point | p | ) |
Definition at line 80 of file TestMapRenderer.java.
boolean net.sf.gridarta.gui.map.renderer.TestMapRenderer.getSquareLocationAt | ( | @NotNull final Point | point, |
@NotNull final Point | retPoint | ||
) |
Definition at line 64 of file TestMapRenderer.java.
|
staticprivate |
The serial version UID.
Definition at line 41 of file TestMapRenderer.java.