|
Gridarta Editor
|
Abstract base class for MapViewSettings implementations. More...
Inheritance diagram for net.sf.gridarta.model.mapviewsettings.AbstractMapViewSettings:
Collaboration diagram for net.sf.gridarta.model.mapviewsettings.AbstractMapViewSettings:Public Member Functions | |
| void | addMapViewSettingsListener (@NotNull final MapViewSettingsListener listener) |
| Register a MapViewSettingsListener. More... | |
| void | clearAlpha () |
| Clear the transparency. More... | |
| int | getEditType () |
| Returns the currently set edit type. More... | |
| boolean | isAlphaType (final int v) |
| Returns whether the specified edit type is to be shown transparent. More... | |
| boolean | isAutojoin () |
| Returns whether "autojoin" is enabled. More... | |
| boolean | isDoubleFaces () |
| Get whether double faces are drawn double height. More... | |
| boolean | isEditType (final int editType) |
| Get information on the current state of edit type. More... | |
| boolean | isEditType (@NotNull final BaseObject<?, ?, ?, ?> gameObject) |
| Get information whether the gameObject is edited. More... | |
| boolean | isEditTypeSet () |
| Returns whether a editType value is set so that not all squares are displayed. More... | |
| boolean | isGridVisible () |
| Get the visibility of the grid. More... | |
| boolean | isLightVisible () |
| Get the visibility of the light. More... | |
| boolean | isSmoothing () |
| Returns the smoothing setting. More... | |
| boolean | isTileStretching () |
| Returns the tile-stretching setting. More... | |
| void | removeMapViewSettingsListener (@NotNull final MapViewSettingsListener listener) |
| Unregister a MapViewSettingsListener. More... | |
| void | setAlphaType (final int v, final boolean state) |
| Sets whether the specified edit type is to be shown transparent. More... | |
| void | setAutojoin (final boolean autojoin) |
| Sets the "autojoin" state. More... | |
| void | setDoubleFaces (final boolean doubleFaces) |
| Sets whether double faces should be drawn double height. More... | |
| void | setGridVisible (final boolean gridVisible) |
| Set the visibility of the grid. More... | |
| void | setLightVisible (final boolean lightVisible) |
| Set the visibility of the light. More... | |
| void | setSmoothing (final boolean smoothing) |
| Sets the smoothing setting. More... | |
| void | setTileStretching (final boolean tileStretching) |
| Sets the tile-stretching setting. More... | |
| void | toggleEditType (final int editType) |
| Toggle an edit type. More... | |
| void | unsetEditType (final int editType) |
| Set the map view to hide squares of the given type. More... | |
Protected Member Functions | |
| abstract int | loadAlphaType () |
| Loads the default value for alphaType. More... | |
| abstract boolean | loadAutojoin () |
| Loads the default value for autojoin. More... | |
| abstract boolean | loadDoubleFaces () |
| Loads the default value for doubleFaces. More... | |
| abstract int | loadEditType () |
| Loads the default value for editType. More... | |
| abstract boolean | loadGridVisible () |
| Loads the default value for gridVisible. More... | |
| abstract boolean | loadLightVisible () |
| Loads the default value for lightVisible. More... | |
| abstract boolean | loadSmoothing () |
| Loads the default value for smoothing. More... | |
| abstract boolean | loadTileStretching () |
| Loads the default value for tileStretching. More... | |
| abstract void | saveAlphaType (int alphaType) |
| Saves the alphaType value. More... | |
| abstract void | saveAutojoin (boolean autojoin) |
| Saves the autojoin value. More... | |
| abstract void | saveDoubleFaces (boolean doubleFaces) |
| Saves the doubleFaces value. More... | |
| abstract void | saveGridVisible (boolean gridVisible) |
| Saves the gridVisible value. More... | |
| abstract void | saveLightVisible (boolean lightVisible) |
| Saves the lightVisible value. More... | |
| abstract void | saveSmoothing (boolean smoothing) |
| Saves the smoothing value. More... | |
| abstract void | saveTileStretching (boolean tileStretching) |
| Saves the tileStretching value. More... | |
Private Member Functions | |
| void | fireAlphaTypeChanged () |
| Informs all registered listeners that the alpha type haves changed. More... | |
| void | fireAutojoinChanged () |
| Notify all listeners about changed autojoin. More... | |
| void | fireDoubleFacesChanged () |
| Informs all registered listeners that the double faces visibility has changed. More... | |
| void | fireEditTypeChanged () |
| Notify all listeners about changed editType. More... | |
| void | fireGridVisibleChanged () |
| Informs all registered listeners that the grid visibility has changed. More... | |
| void | fireLightVisibleChanged () |
| Informs all registered listeners that the light visibility has changed. More... | |
| void | fireSmoothingChanged () |
| Informs all registered listeners that the smoothing setting has changed. More... | |
| void | fireTileStretchingChanged () |
| Informs all registered listeners that the tile-stretching setting has changed. More... | |
| void | setEditType (final int editType) |
| Set the map view to show squares of the given type. More... | |
Private Attributes | |
| int | alphaType = loadAlphaType() |
| Bit field of edit types to show transparent. More... | |
| boolean | autojoin = loadAutojoin() |
| Whether autojoining is on/off. More... | |
| boolean | doubleFaces = loadDoubleFaces() |
| Whether double faces should be drawn double height. More... | |
| int | editType = loadEditType() |
| Bit field of edit types to show only. More... | |
| boolean | gridVisible = loadGridVisible() |
| The visibility of the grid. More... | |
| boolean | lightVisible = loadLightVisible() |
| The visibility of the light. More... | |
| final EventListenerList2< MapViewSettingsListener > | listenerList = new EventListenerList2<>(MapViewSettingsListener.class) |
| The MapViewSettingsListeners to inform of changes. More... | |
| boolean | smoothing = loadSmoothing() |
| Whether smoothing display is active. More... | |
| boolean | tileStretching = loadTileStretching() |
| Whether tile-stretching display is active. More... | |
| final ViewGameObjectMatcherManager | transparencyManager = null |
| The transparency settings. More... | |
| final ViewGameObjectMatcherManager | visibilityManager = null |
| The visibility settings. More... | |
Abstract base class for MapViewSettings implementations.
Definition at line 32 of file AbstractMapViewSettings.java.
| void net.sf.gridarta.model.mapviewsettings.AbstractMapViewSettings.addMapViewSettingsListener | ( | @NotNull final MapViewSettingsListener | listener | ) |
Register a MapViewSettingsListener.
| listener | MapViewSettingsListener to register |
Implements net.sf.gridarta.model.mapviewsettings.MapViewSettings.
Definition at line 95 of file AbstractMapViewSettings.java.
References net.sf.gridarta.utils.EventListenerList2< T extends EventListener >.add().
Here is the call graph for this function:| void net.sf.gridarta.model.mapviewsettings.AbstractMapViewSettings.clearAlpha | ( | ) |
Clear the transparency.
Implements net.sf.gridarta.model.mapviewsettings.MapViewSettings.
Definition at line 201 of file AbstractMapViewSettings.java.
References net.sf.gridarta.model.mapviewsettings.AbstractMapViewSettings.fireAlphaTypeChanged(), and net.sf.gridarta.model.mapviewsettings.AbstractMapViewSettings.saveAlphaType().
Here is the call graph for this function:
|
private |
Informs all registered listeners that the alpha type haves changed.
Definition at line 327 of file AbstractMapViewSettings.java.
References net.sf.gridarta.utils.EventListenerList2< T extends EventListener >.getListeners().
Referenced by net.sf.gridarta.model.mapviewsettings.AbstractMapViewSettings.clearAlpha(), and net.sf.gridarta.model.mapviewsettings.AbstractMapViewSettings.setAlphaType().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Notify all listeners about changed autojoin.
Definition at line 345 of file AbstractMapViewSettings.java.
References net.sf.gridarta.utils.EventListenerList2< T extends EventListener >.getListeners(), net.sf.gridarta.model.mapviewsettings.AbstractMapViewSettings.loadAlphaType(), net.sf.gridarta.model.mapviewsettings.AbstractMapViewSettings.loadAutojoin(), net.sf.gridarta.model.mapviewsettings.AbstractMapViewSettings.loadDoubleFaces(), net.sf.gridarta.model.mapviewsettings.AbstractMapViewSettings.loadEditType(), net.sf.gridarta.model.mapviewsettings.AbstractMapViewSettings.loadGridVisible(), net.sf.gridarta.model.mapviewsettings.AbstractMapViewSettings.loadLightVisible(), net.sf.gridarta.model.mapviewsettings.AbstractMapViewSettings.loadSmoothing(), net.sf.gridarta.model.mapviewsettings.AbstractMapViewSettings.loadTileStretching(), net.sf.gridarta.model.mapviewsettings.AbstractMapViewSettings.saveAlphaType(), net.sf.gridarta.model.mapviewsettings.AbstractMapViewSettings.saveAutojoin(), net.sf.gridarta.model.mapviewsettings.AbstractMapViewSettings.saveDoubleFaces(), net.sf.gridarta.model.mapviewsettings.AbstractMapViewSettings.saveGridVisible(), net.sf.gridarta.model.mapviewsettings.AbstractMapViewSettings.saveLightVisible(), net.sf.gridarta.model.mapviewsettings.AbstractMapViewSettings.saveSmoothing(), and net.sf.gridarta.model.mapviewsettings.AbstractMapViewSettings.saveTileStretching().
Referenced by net.sf.gridarta.model.mapviewsettings.AbstractMapViewSettings.setAutojoin().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Informs all registered listeners that the double faces visibility has changed.
Definition at line 318 of file AbstractMapViewSettings.java.
References net.sf.gridarta.utils.EventListenerList2< T extends EventListener >.getListeners().
Referenced by net.sf.gridarta.model.mapviewsettings.AbstractMapViewSettings.setDoubleFaces().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Notify all listeners about changed editType.
Definition at line 336 of file AbstractMapViewSettings.java.
References net.sf.gridarta.utils.EventListenerList2< T extends EventListener >.getListeners().
Referenced by net.sf.gridarta.model.mapviewsettings.AbstractMapViewSettings.setEditType(), and net.sf.gridarta.model.mapviewsettings.AbstractMapViewSettings.unsetEditType().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Informs all registered listeners that the grid visibility has changed.
Definition at line 280 of file AbstractMapViewSettings.java.
References net.sf.gridarta.utils.EventListenerList2< T extends EventListener >.getListeners().
Referenced by net.sf.gridarta.model.mapviewsettings.AbstractMapViewSettings.setGridVisible().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Informs all registered listeners that the light visibility has changed.
Definition at line 289 of file AbstractMapViewSettings.java.
References net.sf.gridarta.utils.EventListenerList2< T extends EventListener >.getListeners().
Referenced by net.sf.gridarta.model.mapviewsettings.AbstractMapViewSettings.setLightVisible().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Informs all registered listeners that the smoothing setting has changed.
Definition at line 298 of file AbstractMapViewSettings.java.
References net.sf.gridarta.utils.EventListenerList2< T extends EventListener >.getListeners().
Referenced by net.sf.gridarta.model.mapviewsettings.AbstractMapViewSettings.setSmoothing().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Informs all registered listeners that the tile-stretching setting has changed.
Definition at line 308 of file AbstractMapViewSettings.java.
References net.sf.gridarta.utils.EventListenerList2< T extends EventListener >.getListeners().
Referenced by net.sf.gridarta.model.mapviewsettings.AbstractMapViewSettings.setTileStretching().
Here is the call graph for this function:
Here is the caller graph for this function:| int net.sf.gridarta.model.mapviewsettings.AbstractMapViewSettings.getEditType | ( | ) |
Returns the currently set edit type.
Implements net.sf.gridarta.model.mapviewsettings.MapViewSettings.
Definition at line 208 of file AbstractMapViewSettings.java.
References net.sf.gridarta.model.mapviewsettings.AbstractMapViewSettings.editType.
| boolean net.sf.gridarta.model.mapviewsettings.AbstractMapViewSettings.isAlphaType | ( | final int | v | ) |
Returns whether the specified edit type is to be shown transparent.
| v | edit type to check |
Implements net.sf.gridarta.model.mapviewsettings.MapViewSettings.
Definition at line 185 of file AbstractMapViewSettings.java.
| boolean net.sf.gridarta.model.mapviewsettings.AbstractMapViewSettings.isAutojoin | ( | ) |
Returns whether "autojoin" is enabled.
Implements net.sf.gridarta.model.mapviewsettings.MapViewSettings.
Definition at line 262 of file AbstractMapViewSettings.java.
References net.sf.gridarta.model.mapviewsettings.AbstractMapViewSettings.autojoin.
| boolean net.sf.gridarta.model.mapviewsettings.AbstractMapViewSettings.isDoubleFaces | ( | ) |
Get whether double faces are drawn double height.
Implements net.sf.gridarta.model.mapviewsettings.MapViewSettings.
Definition at line 169 of file AbstractMapViewSettings.java.
References net.sf.gridarta.model.mapviewsettings.AbstractMapViewSettings.doubleFaces.
| boolean net.sf.gridarta.model.mapviewsettings.AbstractMapViewSettings.isEditType | ( | final int | editType | ) |
Get information on the current state of edit type.
Are squares of type 'editType' displayed?
| editType | are squares of this type displayed? |
Implements net.sf.gridarta.model.mapviewsettings.MapViewSettings.
Definition at line 237 of file AbstractMapViewSettings.java.
References net.sf.gridarta.model.baseobject.BaseObject< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R, T extends BaseObject< G, A, R, T >.EDIT_TYPE_NONE, and net.sf.gridarta.model.mapviewsettings.AbstractMapViewSettings.editType.
Referenced by net.sf.gridarta.model.mapviewsettings.AbstractMapViewSettings.isEditType(), and net.sf.gridarta.model.mapviewsettings.AbstractMapViewSettings.toggleEditType().
Here is the caller graph for this function:| boolean net.sf.gridarta.model.mapviewsettings.AbstractMapViewSettings.isEditType | ( | @NotNull final BaseObject<?, ?, ?, ?> | gameObject | ) |
Get information whether the gameObject is edited.
Are squares of type 'v' displayed?
| gameObject | are squares of this type displayed? |
Implements net.sf.gridarta.model.mapviewsettings.MapViewSettings.
Definition at line 243 of file AbstractMapViewSettings.java.
References net.sf.gridarta.model.mapviewsettings.AbstractMapViewSettings.isEditType().
Here is the call graph for this function:| boolean net.sf.gridarta.model.mapviewsettings.AbstractMapViewSettings.isEditTypeSet | ( | ) |
Returns whether a editType value is set so that not all squares are displayed.
Implements net.sf.gridarta.model.mapviewsettings.MapViewSettings.
Definition at line 248 of file AbstractMapViewSettings.java.
| boolean net.sf.gridarta.model.mapviewsettings.AbstractMapViewSettings.isGridVisible | ( | ) |
Get the visibility of the grid.
Implements net.sf.gridarta.model.mapviewsettings.MapViewSettings.
Definition at line 105 of file AbstractMapViewSettings.java.
References net.sf.gridarta.model.mapviewsettings.AbstractMapViewSettings.gridVisible.
| boolean net.sf.gridarta.model.mapviewsettings.AbstractMapViewSettings.isLightVisible | ( | ) |
Get the visibility of the light.
Implements net.sf.gridarta.model.mapviewsettings.MapViewSettings.
Definition at line 121 of file AbstractMapViewSettings.java.
References net.sf.gridarta.model.mapviewsettings.AbstractMapViewSettings.lightVisible.
| boolean net.sf.gridarta.model.mapviewsettings.AbstractMapViewSettings.isSmoothing | ( | ) |
Returns the smoothing setting.
Implements net.sf.gridarta.model.mapviewsettings.MapViewSettings.
Definition at line 137 of file AbstractMapViewSettings.java.
References net.sf.gridarta.model.mapviewsettings.AbstractMapViewSettings.smoothing.
| boolean net.sf.gridarta.model.mapviewsettings.AbstractMapViewSettings.isTileStretching | ( | ) |
Returns the tile-stretching setting.
Implements net.sf.gridarta.model.mapviewsettings.MapViewSettings.
Definition at line 153 of file AbstractMapViewSettings.java.
References net.sf.gridarta.model.mapviewsettings.AbstractMapViewSettings.tileStretching.
|
abstractprotected |
Loads the default value for alphaType.
Referenced by net.sf.gridarta.model.mapviewsettings.AbstractMapViewSettings.fireAutojoinChanged().
Here is the caller graph for this function:
|
abstractprotected |
Loads the default value for autojoin.
Referenced by net.sf.gridarta.model.mapviewsettings.AbstractMapViewSettings.fireAutojoinChanged().
Here is the caller graph for this function:
|
abstractprotected |
Loads the default value for doubleFaces.
Referenced by net.sf.gridarta.model.mapviewsettings.AbstractMapViewSettings.fireAutojoinChanged().
Here is the caller graph for this function:
|
abstractprotected |
Loads the default value for editType.
Referenced by net.sf.gridarta.model.mapviewsettings.AbstractMapViewSettings.fireAutojoinChanged().
Here is the caller graph for this function:
|
abstractprotected |
Loads the default value for gridVisible.
Referenced by net.sf.gridarta.model.mapviewsettings.AbstractMapViewSettings.fireAutojoinChanged().
Here is the caller graph for this function:
|
abstractprotected |
Loads the default value for lightVisible.
Referenced by net.sf.gridarta.model.mapviewsettings.AbstractMapViewSettings.fireAutojoinChanged().
Here is the caller graph for this function:
|
abstractprotected |
Loads the default value for smoothing.
Referenced by net.sf.gridarta.model.mapviewsettings.AbstractMapViewSettings.fireAutojoinChanged().
Here is the caller graph for this function:
|
abstractprotected |
Loads the default value for tileStretching.
Referenced by net.sf.gridarta.model.mapviewsettings.AbstractMapViewSettings.fireAutojoinChanged().
Here is the caller graph for this function:| void net.sf.gridarta.model.mapviewsettings.AbstractMapViewSettings.removeMapViewSettingsListener | ( | @NotNull final MapViewSettingsListener | listener | ) |
Unregister a MapViewSettingsListener.
| listener | MapViewSettingsListener to unregister |
Implements net.sf.gridarta.model.mapviewsettings.MapViewSettings.
Definition at line 100 of file AbstractMapViewSettings.java.
References net.sf.gridarta.utils.EventListenerList2< T extends EventListener >.remove().
Here is the call graph for this function:
|
abstractprotected |
Saves the alphaType value.
| alphaType | the alpha type value |
Referenced by net.sf.gridarta.model.mapviewsettings.AbstractMapViewSettings.clearAlpha(), net.sf.gridarta.model.mapviewsettings.AbstractMapViewSettings.fireAutojoinChanged(), and net.sf.gridarta.model.mapviewsettings.AbstractMapViewSettings.setAlphaType().
Here is the caller graph for this function:
|
abstractprotected |
Saves the autojoin value.
| autojoin | the autojoin value |
Referenced by net.sf.gridarta.model.mapviewsettings.AbstractMapViewSettings.fireAutojoinChanged(), and net.sf.gridarta.model.mapviewsettings.AbstractMapViewSettings.setAutojoin().
Here is the caller graph for this function:
|
abstractprotected |
Saves the doubleFaces value.
| doubleFaces | the double faces value |
Referenced by net.sf.gridarta.model.mapviewsettings.AbstractMapViewSettings.fireAutojoinChanged(), and net.sf.gridarta.model.mapviewsettings.AbstractMapViewSettings.setDoubleFaces().
Here is the caller graph for this function:
|
abstractprotected |
Saves the gridVisible value.
| gridVisible | the grid visible value |
Referenced by net.sf.gridarta.model.mapviewsettings.AbstractMapViewSettings.fireAutojoinChanged(), and net.sf.gridarta.model.mapviewsettings.AbstractMapViewSettings.setGridVisible().
Here is the caller graph for this function:
|
abstractprotected |
Saves the lightVisible value.
| lightVisible | the light visible value |
Referenced by net.sf.gridarta.model.mapviewsettings.AbstractMapViewSettings.fireAutojoinChanged(), and net.sf.gridarta.model.mapviewsettings.AbstractMapViewSettings.setLightVisible().
Here is the caller graph for this function:
|
abstractprotected |
Saves the smoothing value.
| smoothing | the smoothing value |
Referenced by net.sf.gridarta.model.mapviewsettings.AbstractMapViewSettings.fireAutojoinChanged(), and net.sf.gridarta.model.mapviewsettings.AbstractMapViewSettings.setSmoothing().
Here is the caller graph for this function:
|
abstractprotected |
Saves the tileStretching value.
| tileStretching | the smoothing value |
Referenced by net.sf.gridarta.model.mapviewsettings.AbstractMapViewSettings.fireAutojoinChanged(), and net.sf.gridarta.model.mapviewsettings.AbstractMapViewSettings.setTileStretching().
Here is the caller graph for this function:| void net.sf.gridarta.model.mapviewsettings.AbstractMapViewSettings.setAlphaType | ( | final int | v, |
| final boolean | state | ||
| ) |
Sets whether the specified edit type is to be shown transparent.
| v | edit type to set |
| state | state, true true false |
Implements net.sf.gridarta.model.mapviewsettings.MapViewSettings.
Definition at line 190 of file AbstractMapViewSettings.java.
References net.sf.gridarta.model.mapviewsettings.AbstractMapViewSettings.fireAlphaTypeChanged(), and net.sf.gridarta.model.mapviewsettings.AbstractMapViewSettings.saveAlphaType().
Here is the call graph for this function:| void net.sf.gridarta.model.mapviewsettings.AbstractMapViewSettings.setAutojoin | ( | final boolean | autojoin | ) |
Sets the "autojoin" state.
| autojoin | if set, enable autojoining |
Implements net.sf.gridarta.model.mapviewsettings.MapViewSettings.
Definition at line 267 of file AbstractMapViewSettings.java.
References net.sf.gridarta.model.mapviewsettings.AbstractMapViewSettings.autojoin, net.sf.gridarta.model.mapviewsettings.AbstractMapViewSettings.fireAutojoinChanged(), and net.sf.gridarta.model.mapviewsettings.AbstractMapViewSettings.saveAutojoin().
Here is the call graph for this function:| void net.sf.gridarta.model.mapviewsettings.AbstractMapViewSettings.setDoubleFaces | ( | final boolean | doubleFaces | ) |
Sets whether double faces should be drawn double height.
| doubleFaces | whether double faces should be drawn double height |
Implements net.sf.gridarta.model.mapviewsettings.MapViewSettings.
Definition at line 174 of file AbstractMapViewSettings.java.
References net.sf.gridarta.model.mapviewsettings.AbstractMapViewSettings.doubleFaces, net.sf.gridarta.model.mapviewsettings.AbstractMapViewSettings.fireDoubleFacesChanged(), and net.sf.gridarta.model.mapviewsettings.AbstractMapViewSettings.saveDoubleFaces().
Here is the call graph for this function:
|
private |
Set the map view to show squares of the given type.
(If no edit type is set, everything is displayed)
| editType | edit type bitmask of types to show |
Definition at line 217 of file AbstractMapViewSettings.java.
References net.sf.gridarta.model.mapviewsettings.AbstractMapViewSettings.editType, and net.sf.gridarta.model.mapviewsettings.AbstractMapViewSettings.fireEditTypeChanged().
Referenced by net.sf.gridarta.model.mapviewsettings.AbstractMapViewSettings.toggleEditType().
Here is the call graph for this function:
Here is the caller graph for this function:| void net.sf.gridarta.model.mapviewsettings.AbstractMapViewSettings.setGridVisible | ( | final boolean | gridVisible | ) |
Set the visibility of the grid.
| gridVisible | new visibility of the grid ( true false |
Implements net.sf.gridarta.model.mapviewsettings.MapViewSettings.
Definition at line 110 of file AbstractMapViewSettings.java.
References net.sf.gridarta.model.mapviewsettings.AbstractMapViewSettings.fireGridVisibleChanged(), net.sf.gridarta.model.mapviewsettings.AbstractMapViewSettings.gridVisible, and net.sf.gridarta.model.mapviewsettings.AbstractMapViewSettings.saveGridVisible().
Here is the call graph for this function:| void net.sf.gridarta.model.mapviewsettings.AbstractMapViewSettings.setLightVisible | ( | final boolean | lightVisible | ) |
Set the visibility of the light.
| lightVisible | new visibility of the light ( true false |
Implements net.sf.gridarta.model.mapviewsettings.MapViewSettings.
Definition at line 126 of file AbstractMapViewSettings.java.
References net.sf.gridarta.model.mapviewsettings.AbstractMapViewSettings.fireLightVisibleChanged(), net.sf.gridarta.model.mapviewsettings.AbstractMapViewSettings.lightVisible, and net.sf.gridarta.model.mapviewsettings.AbstractMapViewSettings.saveLightVisible().
Here is the call graph for this function:| void net.sf.gridarta.model.mapviewsettings.AbstractMapViewSettings.setSmoothing | ( | final boolean | smoothing | ) |
Sets the smoothing setting.
| smoothing | the new smoothing setting |
Implements net.sf.gridarta.model.mapviewsettings.MapViewSettings.
Definition at line 142 of file AbstractMapViewSettings.java.
References net.sf.gridarta.model.mapviewsettings.AbstractMapViewSettings.fireSmoothingChanged(), net.sf.gridarta.model.mapviewsettings.AbstractMapViewSettings.saveSmoothing(), and net.sf.gridarta.model.mapviewsettings.AbstractMapViewSettings.smoothing.
Here is the call graph for this function:| void net.sf.gridarta.model.mapviewsettings.AbstractMapViewSettings.setTileStretching | ( | final boolean | tileStretching | ) |
Sets the tile-stretching setting.
| tileStretching | the new tile-stretching setting |
Implements net.sf.gridarta.model.mapviewsettings.MapViewSettings.
Definition at line 158 of file AbstractMapViewSettings.java.
References net.sf.gridarta.model.mapviewsettings.AbstractMapViewSettings.fireTileStretchingChanged(), net.sf.gridarta.model.mapviewsettings.AbstractMapViewSettings.saveTileStretching(), and net.sf.gridarta.model.mapviewsettings.AbstractMapViewSettings.tileStretching.
Here is the call graph for this function:| void net.sf.gridarta.model.mapviewsettings.AbstractMapViewSettings.toggleEditType | ( | final int | editType | ) |
Toggle an edit type.
| editType | the edit type to toggle |
Implements net.sf.gridarta.model.mapviewsettings.MapViewSettings.
Definition at line 253 of file AbstractMapViewSettings.java.
References net.sf.gridarta.model.mapviewsettings.AbstractMapViewSettings.isEditType(), net.sf.gridarta.model.mapviewsettings.AbstractMapViewSettings.setEditType(), and net.sf.gridarta.model.mapviewsettings.AbstractMapViewSettings.unsetEditType().
Here is the call graph for this function:| void net.sf.gridarta.model.mapviewsettings.AbstractMapViewSettings.unsetEditType | ( | final int | editType | ) |
Set the map view to hide squares of the given type.
(If no edit type is set, everything is displayed)
| editType | edit type bitmask of types to hide |
Implements net.sf.gridarta.model.mapviewsettings.MapViewSettings.
Definition at line 227 of file AbstractMapViewSettings.java.
References net.sf.gridarta.model.mapviewsettings.AbstractMapViewSettings.fireEditTypeChanged().
Referenced by net.sf.gridarta.model.mapviewsettings.AbstractMapViewSettings.toggleEditType().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Bit field of edit types to show transparent.
Definition at line 62 of file AbstractMapViewSettings.java.
|
private |
Whether autojoining is on/off.
Definition at line 72 of file AbstractMapViewSettings.java.
Referenced by net.sf.gridarta.model.mapviewsettings.AbstractMapViewSettings.isAutojoin(), and net.sf.gridarta.model.mapviewsettings.AbstractMapViewSettings.setAutojoin().
|
private |
Whether double faces should be drawn double height.
Definition at line 57 of file AbstractMapViewSettings.java.
Referenced by net.sf.gridarta.model.mapviewsettings.AbstractMapViewSettings.isDoubleFaces(), and net.sf.gridarta.model.mapviewsettings.AbstractMapViewSettings.setDoubleFaces().
|
private |
Bit field of edit types to show only.
Definition at line 67 of file AbstractMapViewSettings.java.
Referenced by net.sf.gridarta.model.mapviewsettings.AbstractMapViewSettings.getEditType(), net.sf.gridarta.model.mapviewsettings.AbstractMapViewSettings.isEditType(), and net.sf.gridarta.model.mapviewsettings.AbstractMapViewSettings.setEditType().
|
private |
The visibility of the grid.
Definition at line 37 of file AbstractMapViewSettings.java.
Referenced by net.sf.gridarta.model.mapviewsettings.AbstractMapViewSettings.isGridVisible(), and net.sf.gridarta.model.mapviewsettings.AbstractMapViewSettings.setGridVisible().
|
private |
The visibility of the light.
Definition at line 42 of file AbstractMapViewSettings.java.
Referenced by net.sf.gridarta.model.mapviewsettings.AbstractMapViewSettings.isLightVisible(), and net.sf.gridarta.model.mapviewsettings.AbstractMapViewSettings.setLightVisible().
|
private |
The MapViewSettingsListeners to inform of changes.
Definition at line 92 of file AbstractMapViewSettings.java.
|
private |
Whether smoothing display is active.
Definition at line 47 of file AbstractMapViewSettings.java.
Referenced by net.sf.gridarta.model.mapviewsettings.AbstractMapViewSettings.isSmoothing(), and net.sf.gridarta.model.mapviewsettings.AbstractMapViewSettings.setSmoothing().
|
private |
Whether tile-stretching display is active.
Definition at line 52 of file AbstractMapViewSettings.java.
Referenced by net.sf.gridarta.model.mapviewsettings.AbstractMapViewSettings.isTileStretching(), and net.sf.gridarta.model.mapviewsettings.AbstractMapViewSettings.setTileStretching().
|
private |
The transparency settings.
Definition at line 79 of file AbstractMapViewSettings.java.
|
private |
The visibility settings.
Definition at line 86 of file AbstractMapViewSettings.java.