 |
Gridarta Editor
|
Go to the documentation of this file.
20 package net.sf.gridarta.gui.dialog.newmap;
22 import java.awt.Component;
32 import org.jetbrains.annotations.NotNull;
33 import org.jetbrains.annotations.Nullable;
121 public NewMapDialogFactory(@NotNull
final MapViewsManager<G, A, R> mapViewsManager, @NotNull
final MapArchObjectFactory<A> mapArchObjectFactory,
final int defaultMapWidth,
final int defaultMapHeight,
final int defaultMapDifficulty,
final boolean showMapDifficulty,
final boolean showMapSizeDefault,
final int defaultPickmapWidth,
final int defaultPickmapHeight, @NotNull
final PickmapChooserView<G, A, R> pickmapChooserView, @NotNull
final Component
parent) {
ObjectChooser< G, A, R > objectChooser
The object chooser instance.
A View for choosing pickmaps.
Classes implementing the pickmap chooser.
Base package of all Gridarta classes.
final int defaultMapHeight
The default height for new maps.
NewMapDialogFactory(@NotNull final MapViewsManager< G, A, R > mapViewsManager, @NotNull final MapArchObjectFactory< A > mapArchObjectFactory, final int defaultMapWidth, final int defaultMapHeight, final int defaultMapDifficulty, final boolean showMapDifficulty, final boolean showMapSizeDefault, final int defaultPickmapWidth, final int defaultPickmapHeight, @NotNull final PickmapChooserView< G, A, R > pickmapChooserView, @NotNull final Component parent)
Creates a new instance.
Stores all known MapFiles.
void showNewPickmapFolderDialog(@NotNull final MapFolderTree< G, A, R > mapFolderTree, @Nullable final MapFolder< G, A, R > parent)
Shows a dialog for creating a new pickmap folder.
final PickmapChooserView< G, A, R > pickmapChooserView
The pickmap chooser control.
Reflects a game object (object on a map).
final boolean showMapSizeDefault
Whether to show the "mapDifficulty" field.
final int defaultMapDifficulty
The default difficulty for new maps.
Graphical User Interface of Gridarta.
GameObjects are the objects based on Archetypes found on maps.
void showNewPickmapDialog()
Shows a dialog for creating a new pickmap.
void showNewMapDialog()
Shows a dialog for creating a new map.
Dialog to create a new pickmap file.
Interface for MapArchObjects.
Model class representing a folder of MapFiles.
final int defaultPickmapHeight
The default height for new pickmaps.
final MapArchObjectFactory< A > mapArchObjectFactory
The gridarta objects factory instance.
Utility class to create NewMapDialog instances.
Dialog to create a new pickmap folder.
Common base interface for ObjectChoosers.
final int defaultPickmapWidth
The default width for new pickmaps.
void setObjectChooser(@NotNull final ObjectChooser< G, A, R > objectChooser)
Base classes for rendering maps.
Dialog to create a new map file.
final MapViewsManager< G, A, R > mapViewsManager
The MapViewsManager to use.
final boolean showMapDifficulty
Whether to show the "mapSizeDefault" checkbox.
final int defaultMapWidth
The default width for new maps.
Stores all existing MapViews.
final Component parent
The parent component for dialog windows.
Factory for creating MapArchObject instances.