|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.caff.maze.MazePropertyOwner
de.caff.maze.MazePaintProperties
de.caff.maze.MazeSaveImageProperties
public class MazeSaveImageProperties
Properties describing how a maze is painted.
![]() |
![]() |
Nested Class Summary |
---|
Nested classes/interfaces inherited from class de.caff.maze.MazePropertyOwner |
---|
MazePropertyOwner.BooleanPropertyInformation, MazePropertyOwner.EnumPropertyInformation, MazePropertyOwner.InfoPropertyDisplay, MazePropertyOwner.IntegerPropertyInformation, MazePropertyOwner.PaintPropertyInformation |
Field Summary | |
---|---|
static int |
DEFAULT_EXTENT
The default width and height. |
static java.lang.String |
PROPERTY_EXTENT
Property key of extent property describing the extent (longer side of the image). |
Fields inherited from interface de.caff.maze.MazeSaveImagePropertiesProvider |
---|
RESOURCE_EXTENT |
Constructor Summary | |
---|---|
MazeSaveImageProperties(java.lang.String myKey)
Create a maze print properties element with the given key. |
Method Summary | |
---|---|
int |
getExtent()
Get the image extent. |
static MazeSaveImageProperties |
getMazeSaveImageProperties(DataStorage systemAccess)
Get save image properties. |
java.util.Collection<PropertyInformation> |
getPropertyInformations()
Get the property informations. |
(package private) void |
overwriteFromPersistentData(DataStorage dataStorage)
Overwrite the properties from the given data storage. |
void |
setExtent(int extent)
Set the image extent. |
(package private) void |
storePersistentData(DataStorage dataStorage)
Store the settings in a data storage. |
Methods inherited from class de.caff.maze.MazePropertyOwner |
---|
addPropertyChangeListener, firePropertyChange, removePropertyChangeListener |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface de.caff.maze.MazePaintPropertiesProvider |
---|
getBackgroundPaint, getCellBorderPaint, getInnerWallsPaint, getOuterWallPaint, getSolutionPaint, getWayEndPaint, getWayStartPaint, isShowingCellBorders, isShowingSolution |
Field Detail |
---|
public static final java.lang.String PROPERTY_EXTENT
public static final int DEFAULT_EXTENT
Constructor Detail |
---|
public MazeSaveImageProperties(java.lang.String myKey)
myKey
- key of the propertiesMethod Detail |
---|
public static MazeSaveImageProperties getMazeSaveImageProperties(DataStorage systemAccess)
systemAccess
- system access used to overwrite default settings
public int getExtent()
getExtent
in interface MazeSaveImagePropertiesProvider
public void setExtent(int extent)
extent
- image extentpublic java.util.Collection<PropertyInformation> getPropertyInformations()
getPropertyInformations
in class MazePaintProperties
void overwriteFromPersistentData(DataStorage dataStorage)
overwriteFromPersistentData
in class MazePaintProperties
dataStorage
- data storage to use for access to stored settingsvoid storePersistentData(DataStorage dataStorage)
storePersistentData
in class MazePaintProperties
dataStorage
- storage to store to
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |