Modifier and Type | Field and Description |
---|---|
private MapView<G,A,R> |
AbstractMapCursorAction.currentMapView
The active map view, or
null if no map view exists. |
private MapView<G,A,R> |
ArchAttributesAction.currentMapView
The active map view, or
null if no map view exists. |
private MapView<G,A,R> |
ShrinkSelectionAction.currentMapView
The active map view, or
null if no map view exists. |
private MapView<G,A,R> |
GrowSelectionAction.currentMapView
The active map view, or
null if no map view exists. |
Modifier and Type | Method and Description |
---|---|
protected MapView<G,A,R> |
AbstractMapCursorAction.getActiveMapView()
Return the current map view.
|
Modifier and Type | Field and Description |
---|---|
private MapView<G,A,R> |
AbstractServerActions.currentMapView
The currently active map or
null if no map is active. |
Modifier and Type | Method and Description |
---|---|
void |
CopyBuffer.clear(MapView<G,A,R> mapView,
Rectangle selectedRec)
Executing the Clear command.
|
void |
CopyBuffer.copy(MapView<G,A,R> mapView,
Rectangle selectedRec)
Executing the Copy command.
|
private void |
CopyBuffer.copyNCut(MapView<G,A,R> mapView,
Rectangle selectedRec,
CopyMode copyMode)
copyNCut implements clear, cut and copy in one function (since they are
so similar).
|
void |
CopyBuffer.cut(MapView<G,A,R> mapView,
Rectangle selectedRec)
Executing the Cut command.
|
void |
CopyBuffer.paste(MapView<G,A,R> mapView,
Point startLocation)
Executing the Paste command.
|
void |
CopyBuffer.pasteTiled(MapView<G,A,R> mapView,
Iterable<MapSquare<G,A,R>> selectedSquares,
Point origin)
Executing the Paste Tiled command.
|
Modifier and Type | Field and Description |
---|---|
private MapView<G,A,R> |
FindDialog.mapView
The
MapView to operate on. |
Modifier and Type | Method and Description |
---|---|
void |
FindDialog.display(MapView<G,A,R> mapView)
Replace objects on the map.
|
void |
FindDialog.dispose(MapView<G,A,R> mapView)
Disposes the find dialog.
|
private void |
FindDialogManager.disposeDialog(MapView<G,A,R> mapView)
Dispose the replace dialog.
|
boolean |
FindDialog.findAgain(MapView<G,A,R> mapView,
boolean forward,
boolean performAction)
Re-executes the previous find operation.
|
boolean |
FindDialogManager.findNext(MapView<G,A,R> mapView,
boolean performAction)
Executes the "find next" action.
|
boolean |
FindDialogManager.findPrev(MapView<G,A,R> mapView,
boolean performAction)
Executes the "find next" action.
|
void |
FindDialogManager.showDialog(MapView<G,A,R> mapView)
Displays the replace dialog.
|
Modifier and Type | Field and Description |
---|---|
private MapView<G,A,R> |
GoExitDialog.mapView
The
MapView for this dialog. |
Constructor and Description |
---|
GoExitDialog(Component parent,
MapView<G,A,R> mapView,
GameObjectMatcher exitGameObjectMatcher,
PathManager pathManager,
EnterMap<G,A,R> enterMap,
FaceObjectProviders faceObjectProviders)
Creates a new instance.
|
Modifier and Type | Field and Description |
---|---|
private MapView<G,A,R> |
GoLocationDialog.mapView
The affected map view this go location dialog affects.
|
Modifier and Type | Method and Description |
---|---|
protected GoLocationDialog<G,A,R> |
GoLocationDialogManager.allocate(MapView<G,A,R> mapView)
Creates a new instance.
|
Constructor and Description |
---|
GoLocationDialog(AbstractPerMapDialogManager<G,A,R,GoLocationDialog<G,A,R>> goLocationDialogManager,
MapView<G,A,R> mapView)
Creates a new instance.
|
Modifier and Type | Field and Description |
---|---|
private MapView<G,A,R> |
ReplaceDialog.mapView
The
MapView to operate on. |
Modifier and Type | Method and Description |
---|---|
void |
ReplaceDialog.display(MapView<G,A,R> mapView)
Replace objects on the map.
|
void |
ReplaceDialog.dispose(MapView<G,A,R> mapView)
Disposes the replace dialog.
|
private void |
ReplaceDialogManager.disposeDialog(MapView<G,A,R> mapView)
Dispose the replace dialog.
|
void |
ReplaceDialogManager.showDialog(MapView<G,A,R> mapView)
Displays the replace dialog.
|
Modifier and Type | Field and Description |
---|---|
private MapView<G,A,R> |
ShrinkMapSizeDialog.mapView
The affected map view of this dialog.
|
Modifier and Type | Field and Description |
---|---|
private Map<MapView<G,A,R>,ShrinkMapSizeDialog<G,A,R>> |
ShrinkMapSizeDialogManager.dialogs
Dialog for each map view.
|
Modifier and Type | Method and Description |
---|---|
void |
ShrinkMapSizeDialogManager.disposeDialog(MapView<G,A,R> mapView)
Disposes a dialog.
|
void |
ShrinkMapSizeDialogManager.showDialog(MapView<G,A,R> mapView)
Shows a dialog to shrink the map size.
|
Constructor and Description |
---|
ShrinkMapSizeDialog(ShrinkMapSizeDialogManager<G,A,R> shrinkMapSizeDialogManager,
MapView<G,A,R> mapView)
Creates a new instance.
|
Modifier and Type | Field and Description |
---|---|
private MapView<G,A,R> |
ExitConnectorController.currentMapView
The active
MapView or null if no map view exists. |
Modifier and Type | Method and Description |
---|---|
private void |
ExitConnectorController.setCurrentMapView(MapView<G,A,R> currentMapView)
Updates
ExitConnectorController.currentMapView , registering or de-registering listeners
as needed. |
Modifier and Type | Field and Description |
---|---|
private MapView<G,A,R> |
MapFileActions.currentMapView
The current map view, or
null if no map view is active. |
Modifier and Type | Field and Description |
---|---|
private Map<MapView<G,A,R>,D> |
AbstractPerMapDialogManager.dialogs
Dialog for each map view.
|
Modifier and Type | Method and Description |
---|---|
protected abstract D |
AbstractPerMapDialogManager.allocate(MapView<G,A,R> mapView)
Creates a new instance.
|
void |
AbstractPerMapDialogManager.disposeDialog(MapView<G,A,R> mapView)
Dispose a dialog.
|
void |
AbstractPerMapDialogManager.showDialog(MapView<G,A,R> mapView)
Show a dialog for positioning the cursor of a map.
|
Modifier and Type | Field and Description |
---|---|
private MapView<G,A,R> |
MouseOpEvent.mapView
The map view on which this event occurred.
|
Modifier and Type | Method and Description |
---|---|
MapView<G,A,R> |
MouseOpEvent.getMapView()
Returns the map view on which this event occurred.
|
Constructor and Description |
---|
MouseOpEvent(MapView<G,A,R> mapView)
Create an empty MouseOpEvent.
|
Modifier and Type | Field and Description |
---|---|
private MapView<G,A,R> |
MapActions.currentMapView
The current map view, or
null if no map view is active. |
Modifier and Type | Method and Description |
---|---|
private Point |
EnterMap.calculateNewCursorLocation(MapView<G,A,R> oldMapView,
MapView<G,A,R> newMapView,
Direction direction)
Calculate the map cursor location for the new viewport.
|
private Point |
EnterMap.calculateNewCursorLocation(MapView<G,A,R> oldMapView,
MapView<G,A,R> newMapView,
Direction direction)
Calculate the map cursor location for the new viewport.
|
boolean |
EnterMap.enterExit(MapView<G,A,R> mapView,
GameObject<G,A,R> exit,
boolean allowRandomMapParameters)
Opens the map an exit game object points to.
|
boolean |
EnterMap.enterMap(MapView<G,A,R> mapView,
File mapFile,
Point destinationPoint,
Direction direction)
Enters a map.
|
boolean |
EnterMap.enterMap(MapView<G,A,R> mapView,
String path,
Direction direction,
Point destinationPoint)
Enters a map wanted.
|
private void |
MapActions.selectExit(MapView<G,A,R> mapView,
int direction)
Selects an exit square.
|
void |
EnterMap.showLocation(MapView<G,A,R> mapView,
Point point)
Scrolls a map view to make a give tile visible.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractMapView<G extends GameObject<G,A,R>,A extends MapArchObject<A>,R extends Archetype<G,A,R>>
Abstract base class for
MapView implementations. |
class |
DefaultMapView<G extends GameObject<G,A,R>,A extends MapArchObject<A>,R extends Archetype<G,A,R>>
Default
MapView implementation. |
class |
TestMapView
A
MapView implementation for regression tests. |
Modifier and Type | Field and Description |
---|---|
private MapView<G,A,R> |
MapViewManager.activeMapView
The active map view.
|
Modifier and Type | Field and Description |
---|---|
private List<MapView<G,A,R>> |
MapViews.mapViews
The list contains all views of the map.
|
private List<MapView<G,A,R>> |
MapViewManager.mapViewsList
All open map views as a list.
|
Modifier and Type | Method and Description |
---|---|
MapView<G,A,R> |
MapViewManager.getActiveMapView()
Returns the active top map view we are working with.
|
MapView<G,A,R> |
MapViews.getMapViewFrame()
Returns the last used view of a
MapControl . |
MapView<G,A,R> |
MapViewsManager.getMapViewFrame(MapControl<G,A,R> mapControl)
Returns the last used view of a
MapControl . |
MapView<G,A,R> |
DefaultMapViewFactory.newMapView(MapControl<G,A,R> mapControl,
Point viewPosition,
int viewCounter)
Creates a new map view instance for a map control.
|
MapView<G,A,R> |
MapViewFactory.newMapView(MapControl<G,A,R> mapControl,
Point viewPosition,
int viewCounter)
Creates a new map view instance for a map control.
|
MapView<G,A,R> |
MapViewsManager.newMapView(MapControl<G,A,R> mapControl,
Point viewPosition,
Point centerSquare)
Creates a new map view.
|
MapView<G,A,R> |
MapViews.newMapView(MapControl<G,A,R> mapControl,
Point viewPosition,
Point centerSquare,
MapViewFactory<G,A,R> mapViewFactory)
Creates a new
MapView . |
MapView<TestGameObject,TestMapArchObject,TestArchetype> |
TestMapViewFactory.newMapView(MapControl<TestGameObject,TestMapArchObject,TestArchetype> mapControl,
Point viewPosition,
int viewCounter)
Creates a new map view instance for a map control.
|
MapView<G,A,R> |
MapViewsManager.newMapWithView(List<G> objects,
A mapArchObject,
Point viewPosition,
File file)
Create a new map control and an initial map view.
|
MapView<G,A,R> |
MapViewsManager.openMapFileWithView(File file,
Point viewPosition,
Point centerSquare)
Load a map file and create a map view.
|
Modifier and Type | Method and Description |
---|---|
Iterator<MapView<G,A,R>> |
MapViews.getMapViewIterator()
|
Iterator<MapView<G,A,R>> |
MapViewsManager.getMapViewIterator(MapControl<G,A,R> mapControl)
|
Iterator<MapView<G,A,R>> |
MapViewManager.iterator()
Returns all opened map views.
|
Modifier and Type | Method and Description |
---|---|
void |
MapViewManager.activateMapView(MapView<G,A,R> mapView)
Activates a map view.
|
void |
MapViewManagerListener.activeMapViewChanged(MapView<G,A,R> mapView)
This event handler is called when the current map view has changed.
|
void |
MapViewManager.addMapView(MapView<G,A,R> mapView)
Adds a map view.
|
void |
MapViewsManager.closeMapView(MapView<G,A,R> mapView)
Invoked when the user wants to close a map view.
|
void |
MapViewsManager.closeView(MapView<G,A,R> mapView)
Closes a view of a
MapControl . |
void |
MapViews.closeView(MapView<G,A,R> mapView)
Closes a view of a
MapControl . |
void |
MapViewManager.deactivateMapView(MapView<G,A,R> mapView)
Deactivates a map view.
|
void |
MapViewManagerListener.mapViewClosing(MapView<G,A,R> mapView)
This event handler is called when a map view is to be closed.
|
void |
MapViewsListener.mapViewClosing(MapView<G,A,R> mapView)
A
MapView has been closed. |
void |
MapViewManagerListener.mapViewCreated(MapView<G,A,R> mapView)
This event handler is called when a map view was created.
|
void |
MapViewsListener.mapViewCreated(MapView<G,A,R> mapView)
A new
MapView has been created. |
void |
MapViewManager.removeMapView(MapView<G,A,R> mapView)
Removes a map view.
|
void |
MapViewManager.setActiveMapView(MapView<G,A,R> mapView)
Sets the active map view.
|
void |
MapViewsManager.setFocus(MapView<G,A,R> mapView)
Sets a
MapView as the main view. |
void |
MapViews.setFocus(MapView<G,A,R> mapView)
Sets a
MapView as the main view. |
Modifier and Type | Method and Description |
---|---|
static MapView<TestGameObject,TestMapArchObject,TestArchetype> |
TestMapControlCreatorUtils.newMapView(MapControl<TestGameObject,TestMapArchObject,TestArchetype> mapControl)
Creates a new
MapView instance. |
Modifier and Type | Field and Description |
---|---|
private MapView<G,A,R> |
MapCursorActions.currentMapView
The active map view, or
null if no map view exists. |
Modifier and Type | Field and Description |
---|---|
private MapView<G,A,R> |
WindowAction.mapView
The associated map view.
|
private MapView<G,A,R> |
MapDesktop.MapViewFrameListener.mapView
The associated
MapView . |
Modifier and Type | Field and Description |
---|---|
private Map<MapView<G,A,R>,MapDesktop.MapViewFrameListener> |
MapDesktop.mapViewFrameListeners
The
MapViewFrameListeners
associated with MapViews . |
private Iterable<MapView<G,A,R>> |
WindowMenuManager.mapViewManager
The
MapViewManager to use. |
private Map<MapView<G,A,R>,WindowAction<G,A,R>> |
MapDesktop.windowActions
The actions to select windows.
|
Modifier and Type | Method and Description |
---|---|
private void |
MapDesktop.activateAndRaiseMapView(MapView<G,A,R> mapView)
Activates and raises the given map view.
|
private void |
MapDesktop.addMapView(MapView<G,A,R> mapView)
Adds the map view.
|
void |
MapDesktop.addWindowAction(JMenu menu,
MapView<G,A,R> mapView,
int index)
Adds an action for selecting this window to a menu.
|
private void |
MapDesktop.mapViewFocusGainedNotify(MapView<G,A,R> mapView)
Notifies that the given map view is now set as the current one.
|
private void |
MapDesktop.mapViewFocusLostNotify(MapView<G,A,R> mapView)
Notifies that the map views focus is lost it is inserted as the second in
line to the map view vector.
|
private void |
MapDesktop.removeMapView(MapView<G,A,R> mapView)
Removes (closes) the map view.
|
void |
MapDesktop.setCurrentMapView(MapView<G,A,R> mapView)
Sets the given level view as the current one.
|
private void |
MapDesktop.updateFrameIcon(MapView<G,A,R> mapView)
Updates the frame icon to the current icon image.
|
Constructor and Description |
---|
MapDesktop.MapViewFrameListener(MapView<G,A,R> mapView)
Creates a new instance.
|
WindowAction(MapDesktop<G,A,R> mapDesktop,
MapView<G,A,R> mapView,
MapManager<G,A,R> mapManager)
Create a new instance.
|
Modifier and Type | Field and Description |
---|---|
private MapView<G,A,R> |
MapFile.pickmapView
|
Modifier and Type | Method and Description |
---|---|
MapView<G,A,R> |
MapFile.getMapView()
Returns the
MapView instance for this pickmap. |
Modifier and Type | Field and Description |
---|---|
private MapView<G,A,R> |
MapKeyListener.mapView
The
MapView being tracked for key actions. |
Modifier and Type | Field and Description |
---|---|
private Map<MapView<G,A,R>,MapMouseListener<G,A,R>> |
MapUserListenerManager.mapUserListeners
Maps
MapView instance to attached MapMouseListener . |
Modifier and Type | Method and Description |
---|---|
private void |
MapKeyListener.setMapView(MapView<G,A,R> mapView)
Sets the
current map view . |
Constructor and Description |
---|
MapMouseListener(MapRenderer renderer,
ToolPalette<G,A,R> toolPalette,
MapView<G,A,R> mapView)
Creates a new instance.
|
Modifier and Type | Field and Description |
---|---|
private MapView<G,A,R> |
ShiftProcessor.mapView
The map view to operate on.
|
private MapView<G,A,R> |
StatusBar.mapView
The map view for which
StatusBar.mapCursorListener is registered, or
null if none is registered. |
Modifier and Type | Method and Description |
---|---|
private void |
StatusBar.setCurrentMapView(MapView<G,A,R> mapView) |
Constructor and Description |
---|
ShiftProcessor(MapViewSettings mapViewSettings,
MapView<G,A,R> mapView,
MapModel<G,A,R> mapModel,
InsertionModeSet<G,A,R> insertionModeSet)
Create a new instance.
|
Modifier and Type | Field and Description |
---|---|
private MapView<G,A,R> |
View.mapView
Map view corresponding to
View.connectionList . |
Modifier and Type | Method and Description |
---|---|
MapView<G,A,R> |
View.getMapView()
Return the current map view.
|
Modifier and Type | Field and Description |
---|---|
private MapView<G,A,R> |
ErrorListView.mapView
The
MapView for displaying map errors. |
Modifier and Type | Field and Description |
---|---|
private MapView<G,A,R> |
DefaultObjectChooser.activePickmapView
|
Modifier and Type | Field and Description |
---|---|
private MapView<G,A,R> |
MainActions.currentMapView
The last known active map view, or
null if no map is
active. |
Modifier and Type | Method and Description |
---|---|
private MapView<G,A,R> |
MainActions.getSelection()
Determine if the current map has a selection.
|
Modifier and Type | Method and Description |
---|---|
private void |
MainActions.fill(MapView<G,A,R> mapView,
InsertionMode<G,A,R> insertionMode)
"Fill" was selected from the Edit menu.
|
private void |
MainActions.fillRandom(MapView<G,A,R> mapView,
InsertionMode<G,A,R> insertionMode)
"RandomFill" was selected from the Edit menu.
|
Modifier and Type | Method and Description |
---|---|
MapView<G,A,R> |
GUIMainControl.openFile(File file)
Loads a map file.
|
Feedback: webmaster
© 2003-2010 The Gridarta Developers. All rights reserved.