public class DefaultMapViewSettings extends AbstractMapViewSettings
MapViewSettings
implementation. Attributes are retained
across editor restarts. The attributes are stored in the Preferences
.Constructor and Description |
---|
DefaultMapViewSettings() |
Modifier and Type | Method and Description |
---|---|
protected int |
loadAlphaType()
Loads the default value for
AbstractMapViewSettings.alphaType . |
protected boolean |
loadAutojoin()
Loads the default value for
AbstractMapViewSettings.autojoin . |
protected boolean |
loadDoubleFaces()
Loads the default value for
AbstractMapViewSettings.doubleFaces . |
protected int |
loadEditType()
Loads the default value for
AbstractMapViewSettings.editType . |
protected boolean |
loadGridVisible()
Loads the default value for
AbstractMapViewSettings.gridVisible . |
protected boolean |
loadLightVisible()
Loads the default value for
AbstractMapViewSettings.lightVisible . |
protected boolean |
loadSmoothing()
Loads the default value for
AbstractMapViewSettings.smoothing . |
protected boolean |
loadTileStretching()
Loads the default value for
AbstractMapViewSettings.tileStretching . |
protected void |
saveAlphaType(int alphaType)
Saves the
AbstractMapViewSettings.alphaType value. |
protected void |
saveAutojoin(boolean autojoin)
Saves the autojoin value.
|
protected void |
saveDoubleFaces(boolean doubleFaces)
Saves the
AbstractMapViewSettings.doubleFaces value. |
protected void |
saveGridVisible(boolean gridVisible)
Saves the
AbstractMapViewSettings.gridVisible value. |
protected void |
saveLightVisible(boolean lightVisible)
Saves the
AbstractMapViewSettings.lightVisible value. |
protected void |
saveSmoothing(boolean smoothing)
Saves the
AbstractMapViewSettings.smoothing value. |
protected void |
saveTileStretching(boolean tileStretching)
Saves the
AbstractMapViewSettings.tileStretching value. |
addMapViewSettingsListener, clearAlpha, getEditType, isAlphaType, isAutojoin, isDoubleFaces, isEditType, isEditType, isEditTypeSet, isGridVisible, isLightVisible, isSmoothing, isTileStretching, removeMapViewSettingsListener, setAlphaType, setAutojoin, setDoubleFaces, setGridVisible, setLightVisible, setSmoothing, setTileStretching, toggleEditType, unsetEditType
protected boolean loadGridVisible()
AbstractMapViewSettings.gridVisible
.loadGridVisible
in class AbstractMapViewSettings
protected void saveGridVisible(boolean gridVisible)
AbstractMapViewSettings.gridVisible
value.saveGridVisible
in class AbstractMapViewSettings
gridVisible
- the grid visible valueprotected boolean loadLightVisible()
AbstractMapViewSettings.lightVisible
.loadLightVisible
in class AbstractMapViewSettings
protected void saveLightVisible(boolean lightVisible)
AbstractMapViewSettings.lightVisible
value.saveLightVisible
in class AbstractMapViewSettings
lightVisible
- the light visible valueprotected boolean loadSmoothing()
AbstractMapViewSettings.smoothing
.loadSmoothing
in class AbstractMapViewSettings
protected void saveSmoothing(boolean smoothing)
AbstractMapViewSettings.smoothing
value.saveSmoothing
in class AbstractMapViewSettings
smoothing
- the smoothing valueprotected boolean loadTileStretching()
AbstractMapViewSettings.tileStretching
.loadTileStretching
in class AbstractMapViewSettings
protected void saveTileStretching(boolean tileStretching)
AbstractMapViewSettings.tileStretching
value.saveTileStretching
in class AbstractMapViewSettings
tileStretching
- the smoothing valueprotected boolean loadDoubleFaces()
AbstractMapViewSettings.doubleFaces
.loadDoubleFaces
in class AbstractMapViewSettings
protected void saveDoubleFaces(boolean doubleFaces)
AbstractMapViewSettings.doubleFaces
value.saveDoubleFaces
in class AbstractMapViewSettings
doubleFaces
- the double faces valueprotected int loadAlphaType()
AbstractMapViewSettings.alphaType
.loadAlphaType
in class AbstractMapViewSettings
protected void saveAlphaType(int alphaType)
AbstractMapViewSettings.alphaType
value.saveAlphaType
in class AbstractMapViewSettings
alphaType
- the alpha type valueprotected int loadEditType()
AbstractMapViewSettings.editType
.loadEditType
in class AbstractMapViewSettings
protected boolean loadAutojoin()
AbstractMapViewSettings.autojoin
.loadAutojoin
in class AbstractMapViewSettings
protected void saveAutojoin(boolean autojoin)
saveAutojoin
in class AbstractMapViewSettings
autojoin
- the autojoin value