Package | Description |
---|---|
net.sf.gridarta.gui.mapfiles | |
net.sf.gridarta.gui.panel.objectchooser | |
net.sf.gridarta.gui.panel.pickmapchooser |
Classes implementing the pickmap chooser.
|
Modifier and Type | Field and Description |
---|---|
static Comparator<MapFile<?,?,?>> |
MapFileNameComparator.INSTANCE
A
Comparator that compares MapFile instances by name. |
private List<MapFile<G,A,R>> |
MapFolder.mapFiles
The pickmaps of this folder.
|
Modifier and Type | Method and Description |
---|---|
MapFile<G,A,R> |
MapFolder.addPickmap(String name,
MapReaderFactory<G,A> mapReaderFactory,
MapManager<G,A,R> pickmapManager)
Adds a new
MapFile to this folder. |
Modifier and Type | Method and Description |
---|---|
Iterator<MapFile<G,A,R>> |
MapFolder.iterator()
Returns an
Iterator returning all pickmaps of this folder in
arbitrary order. |
Modifier and Type | Method and Description |
---|---|
int |
MapFileNameComparator.compare(MapFile<?,?,?> o1,
MapFile<?,?,?> o2) |
int |
MapFileNameComparator.compare(MapFile<?,?,?> o1,
MapFile<?,?,?> o2) |
void |
MapFolder.firePickmapReverted(MapFile<G,A,R> mapFile,
MapControl<G,A,R> oldPickmap)
Notifies all listeners about a reverted pickmap.
|
void |
MapFolderListener.pickmapAdded(MapFile<G,A,R> mapFile)
A pickmap has been added to the folder.
|
void |
MapFolderListener.pickmapRemoved(MapFile<G,A,R> mapFile)
A pickmap has been removed from the folder.
|
void |
MapFolderListener.pickmapReverted(MapFile<G,A,R> mapFile,
MapControl<G,A,R> oldPickmap)
A pickmap has been reverted to the contents of its underlying file.
|
void |
MapFolder.removePickmap(MapFile<G,A,R> mapFile,
boolean deleteFile)
Removes a
MapFile from this folder. |
Modifier and Type | Field and Description |
---|---|
private MapFile<G,A,R> |
DefaultObjectChooser.activeMapFile
The last known active
MapFile . |
Modifier and Type | Method and Description |
---|---|
private void |
DefaultObjectChooser.updateActivePickmap(MapFile<G,A,R> mapFile)
Records an active pickmap.
|
Modifier and Type | Field and Description |
---|---|
private MapFile<G,A,R> |
PickmapChooserControl.currentMapFile
The current active pickmap on top.
|
Modifier and Type | Field and Description |
---|---|
private List<MapFile<G,A,R>> |
PickmapChooserModel.mapFiles
All open pickmaps.
|
Modifier and Type | Method and Description |
---|---|
MapFile<G,A,R> |
PickmapChooserModel.get(int index)
Returns a map file by index.
|
private MapFile<G,A,R> |
PickmapChooserControl.getOpenPickmapMap()
Determine if "open pickmap as map" is enabled.
|
MapFile<G,A,R> |
PickmapChooserModel.getPickmap(File file)
Returns the pickmap by file name.
|
MapFile<G,A,R> |
PickmapChooserControl.getSelectedPickmap()
Returns the selected pickmap.
|
Modifier and Type | Method and Description |
---|---|
Iterator<MapFile<G,A,R>> |
PickmapChooserModel.iterator() |
Modifier and Type | Method and Description |
---|---|
void |
PickmapChooserModelListener.activePickmapChanged(MapFile<G,A,R> mapFile)
Notifies that the active pickmap has changed.
|
int |
PickmapChooserModel.addMapFile(MapFile<G,A,R> mapFile)
Adds a map file.
|
private void |
PickmapChooserView.addPickmap(MapFile<G,A,R> mapFile)
Called when a new pickmap has been added to the model.
|
void |
PickmapChooserModel.fireActivePickmapChanged(MapFile<G,A,R> mapFile)
Notifies all listeners that the active pickmap has changes.
|
private void |
PickmapChooserModel.firePickmapModifiedChanged(int index,
MapFile<G,A,R> mapFile)
Notifies all listeners that a pickmap has been modified.
|
private void |
PickmapChooserModel.firePickmapReverted(MapFile<G,A,R> mapFile)
Notifies all listeners that the a pickmap has been reverted.
|
String |
PickmapChooserView.getTitle(MapFile<G,A,R> mapFile)
Returns the title of a pickmap to use as the tab name.
|
int |
PickmapChooserModel.indexOf(MapFile<G,A,R> mapFile)
Returns the index of a map file.
|
void |
PickmapChooserModelListener.pickmapModifiedChanged(int index,
MapFile<G,A,R> mapFile)
Notifies that one pickmap's modified flag has changed.
|
void |
PickmapChooserModelListener.pickmapReverted(MapFile<G,A,R> mapFile)
Notifies that one pickmap has been reverted.
|
int |
PickmapChooserModel.removeMapFile(MapFile<G,A,R> mapFile)
Removes a map file.
|
private void |
PickmapChooserView.removePickmap(MapFile<G,A,R> mapFile)
Called when a pickmap has been removed from the model.
|
int |
PickmapChooserModel.revertMapFile(MapControl<G,A,R> oldPickmap,
MapFile<G,A,R> mapFile)
Reverts a map file.
|
private void |
PickmapChooserView.revertPickmap(MapFile<G,A,R> mapFile,
MapControl<G,A,R> oldPickmap)
Called when a pickmap in the model has been reverted.
|
void |
PickmapChooserView.setActivePickmap(MapFile<G,A,R> mapFile)
Sets the active pickmap.
|
private void |
PickmapChooserControl.setCurrentPickmap(MapFile<G,A,R> currentMapFile)
Set the currently active pickmap.
|
Feedback: webmaster
© 2003-2010 The Gridarta Developers. All rights reserved.