20 package net.sf.gridarta.gui.map.mapview;
22 import java.awt.Component;
23 import java.awt.Point;
24 import java.util.List;
25 import javax.swing.JInternalFrame;
26 import javax.swing.JScrollPane;
35 import org.jetbrains.annotations.NotNull;
36 import org.jetbrains.annotations.Nullable;
JScrollPane getScrollPane()
Returns the JScrollPane of this map view.
void closeNotify()
This function must be called when the view is closed.
List< MapSquare< G, A, R > > getSelectedSquares()
Returns the selected squares.
Graphical User Interface of Gridarta.
MapGrid getMapGrid()
Returns the MapGrid of this view.
MapCursor provides methods to move and drag on map.
void activate()
Activate this map view.
MapControl< G, A, R > getMapControl()
Return the controller of this view.
Base package of all Gridarta classes.
Reflects a game object (object on a map).
String getWindowTitle()
Returns the title for the map window.
GameObjects are the objects based on Archetypes found on maps.
MapRenderer getRenderer()
Returns the MapRenderer for this view.
2D-Grid containing flags for selection, pre-selection, cursor, warnings and errors.
Base classes for rendering maps.
void setCursorLocation(@NotNull Point point)
Sets the cursor location.
List< G > getSelectedGameObjects()
Return all selected game objects.
MapCursor< G, A, R > getMapCursor()
Returns the MapCursor of this view.
Currently nothing more than a marker interface for unification.
A map view consists of a map grid and a map cursor, and is attached to a map control.
Common interface for renderers of map control instances.
G getSelectedGameObject()
Return one selected game object.
Component getComponent()
Returns the component associated with this MapView that can be used as parent for dialogs...
Interface for MapArchObjects.
JInternalFrame getInternalFrame()
Returns the JInternalFrame instance for this map view.