Gridarta Editor
net.sf.gridarta.model.settings.VolatileSettings Interface Reference

Settings that are not retained across editor restarts. More...

+ Inheritance diagram for net.sf.gridarta.model.settings.VolatileSettings:
+ Collaboration diagram for net.sf.gridarta.model.settings.VolatileSettings:

Public Member Functions

File getCurrentSaveMapDirectory ()
 Returns the default directory for saving maps. More...
 
File getImageDirectory ()
 Returns the directory to save images to. More...
 
void setCurrentSaveMapDirectory (@NotNull File currentSaveMapDirectory)
 Sets the default directory for saving maps. More...
 
void setImageDirectory (@NotNull File imageDirectory)
 Sets the directory to save created image to. More...
 

Detailed Description

Settings that are not retained across editor restarts.

Author
Andreas Kirschbaum

Definition at line 29 of file VolatileSettings.java.

Member Function Documentation

◆ getCurrentSaveMapDirectory()

File net.sf.gridarta.model.settings.VolatileSettings.getCurrentSaveMapDirectory ( )

Returns the default directory for saving maps.

Returns
the default directory for saving maps

Implemented in net.sf.gridarta.model.settings.DefaultVolatileSettings.

Referenced by net.sf.gridarta.gui.misc.DefaultFileControl< G, A, R >.saveMapAs().

+ Here is the caller graph for this function:

◆ getImageDirectory()

File net.sf.gridarta.model.settings.VolatileSettings.getImageDirectory ( )

Returns the directory to save images to.

Returns
the image directory

Implemented in net.sf.gridarta.model.settings.DefaultVolatileSettings.

Referenced by net.sf.gridarta.gui.map.renderer.ImageCreator2< G, A, R >.createImage().

+ Here is the caller graph for this function:

◆ setCurrentSaveMapDirectory()

void net.sf.gridarta.model.settings.VolatileSettings.setCurrentSaveMapDirectory ( @NotNull File  currentSaveMapDirectory)

Sets the default directory for saving maps.

Parameters
currentSaveMapDirectorythe default directory for saving maps

Implemented in net.sf.gridarta.model.settings.DefaultVolatileSettings.

Referenced by net.sf.gridarta.gui.misc.DefaultFileControl< G, A, R >.saveMapAs().

+ Here is the caller graph for this function:

◆ setImageDirectory()

void net.sf.gridarta.model.settings.VolatileSettings.setImageDirectory ( @NotNull File  imageDirectory)

Sets the directory to save created image to.

It defaults to the maps directory and is not retained across editor restarts.

Parameters
imageDirectorythe image directory

Implemented in net.sf.gridarta.model.settings.DefaultVolatileSettings.

Referenced by net.sf.gridarta.gui.map.renderer.ImageCreator2< G, A, R >.createImage().

+ Here is the caller graph for this function:

The documentation for this interface was generated from the following file: