public class GraphicConfiguration extends ConfigurationGroup
ConfigurationGroup.ConfigurationChangedListener| Constructor and Description |
|---|
GraphicConfiguration()
Instantiates a new graphic configuration.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
antiAlising() |
boolean |
colorInterpolation() |
boolean |
enableResolutionScaling() |
DisplayMode |
getDisplayMode() |
Quality |
getGraphicQuality()
Gets the graphic quality.
|
java.awt.Dimension |
getResolution()
Gets the resolution.
|
int |
getResolutionHeight() |
int |
getResolutionWidth() |
boolean |
reduceFramesWhenNotFocused() |
boolean |
renderDynamicShadows() |
void |
setAntiAliasing(boolean antiAliasing) |
void |
setColorInterpolation(boolean colorInterpolation) |
void |
setDisplayMode(DisplayMode displayMode) |
void |
setEnableResolutionScale(boolean enableResolutionScale) |
void |
setGraphicQuality(Quality graphicQuality)
Sets the graphic quality.
|
void |
setReduceFramesWhenNotFocused(boolean reduceFramesWhenNotFocused) |
void |
setRenderDynamicShadows(boolean renderDynamicShadows) |
void |
setResolutionHeight(int resolutionHeight) |
void |
setResolutionWidth(int resolutionWidth) |
getPrefix, initializeByProperty, isDebug, onChanged, removeChangedListener, set, setDebug, storePropertiespublic GraphicConfiguration()
public Quality getGraphicQuality()
public java.awt.Dimension getResolution()
public int getResolutionHeight()
public int getResolutionWidth()
public boolean renderDynamicShadows()
public boolean antiAlising()
public boolean colorInterpolation()
public DisplayMode getDisplayMode()
public void setDisplayMode(DisplayMode displayMode)
public void setGraphicQuality(Quality graphicQuality)
graphicQuality - the new graphic qualitypublic void setRenderDynamicShadows(boolean renderDynamicShadows)
public void setResolutionHeight(int resolutionHeight)
public void setResolutionWidth(int resolutionWidth)
public boolean enableResolutionScaling()
public void setEnableResolutionScale(boolean enableResolutionScale)
public boolean reduceFramesWhenNotFocused()
public void setReduceFramesWhenNotFocused(boolean reduceFramesWhenNotFocused)
public void setAntiAliasing(boolean antiAliasing)
public void setColorInterpolation(boolean colorInterpolation)