20 package net.sf.gridarta.model.mapviewsettings;
23 import org.jetbrains.annotations.NotNull;
boolean isAlphaType(int v)
Returns whether the specified edit type is to be shown transparent.
int getEditType()
Returns the currently set edit type.
void toggleEditType(int editType)
Toggle an edit type.
boolean isAutojoin()
Returns whether "autojoin" is enabled.
void setTileStretching(boolean tileStretching)
Sets the tile-stretching setting.
void setAutojoin(boolean autojoin)
Sets the "autojoin" state.
boolean isEditType(int editType)
Get information on the current state of edit type.
boolean isLightVisible()
Get the visibility of the light.
boolean isSmoothing()
Returns the smoothing setting.
void addMapViewSettingsListener(@NotNull MapViewSettingsListener listener)
Register a MapViewSettingsListener.
Base package of all Gridarta classes.
void setDoubleFaces(boolean doubleFaces)
Sets whether double faces should be drawn double height.
boolean isGridVisible()
Get the visibility of the grid.
Interface for event listeners that are interested in changes on MapViewSettings.
void removeMapViewSettingsListener(@NotNull MapViewSettingsListener listener)
Unregister a MapViewSettingsListener.
void setLightVisible(boolean lightVisible)
Set the visibility of the light.
Container for settings that affect the rendering of maps.
void setSmoothing(boolean smoothing)
Sets the smoothing setting.
boolean isEditTypeSet()
Returns whether a editType value is set so that not all squares are displayed.
void unsetEditType(int editType)
Set the map view to hide squares of the given type.
void setAlphaType(int v, boolean state)
Sets whether the specified edit type is to be shown transparent.
void clearAlpha()
Clear the transparency.
boolean isTileStretching()
Returns the tile-stretching setting.
void setGridVisible(boolean gridVisible)
Set the visibility of the grid.
boolean isDoubleFaces()
Get whether double faces are drawn double height.