public class VideoPreferences extends AbstractSubsystemPreferences
Copyright 2010 Partner Software, Inc.
| Constructor and Description |
|---|
VideoPreferences() |
VideoPreferences(Cog state) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
getFramerateShown()
If true, a framerate display will appear in the bottom right of the map view.
|
boolean |
getImageTilesShown()
If true, lines are drawn at the boundaries of the underlying image tiles for background image sets such as aerial photos.
|
Java2dPreferences |
getJava2dPreferences()
Specific settings for Java2D rendering engine.
|
OpenglPreferences |
getOpenglPreferences()
Specific settings for OpenGL rendering engine.
|
RenderEngine |
getRenderer()
Map rendering engine to use.
|
boolean |
getVectorTilesShown()
If true, lines are drawn at the boundaries of the underlying vector tiles for published vector sets such as background maps.
|
boolean |
isAnimated()
If true, selection and indication animation is enabled.
|
boolean |
isDirectDrawEnabled()
If true, enables the Windows DirectDraw pipeline of Java2D throughout the platform.
|
boolean |
isOpenglPipelineEnabled()
If true, enables the OpenGL pipeline of Java2D throughout the platform.
|
void |
setAnimated(boolean animated) |
void |
setDirectDrawEnabled(boolean directDrawEnabled) |
void |
setFramerateShown(boolean framerateShown) |
void |
setImageTilesShown(boolean imageTilesShown) |
void |
setJava2dPreferences(Java2dPreferences java2dPreferences) |
void |
setOpenglPipelineEnabled(boolean openglPipelineEnabled) |
void |
setOpenglPreferences(OpenglPreferences openglPreferences) |
void |
setRenderer(RenderEngine renderer) |
void |
setVectorTilesShown(boolean vectorTilesShown) |
Cog |
toCog()
Returns the complete internal state of this object in the form of a
Cog. |
getName, setNamepublic VideoPreferences()
public VideoPreferences(Cog state)
public Cog toCog()
CoggableCog.toCog in interface CoggabletoCog in class AbstractSubsystemPreferencespublic RenderEngine getRenderer()
public void setRenderer(RenderEngine renderer)
public boolean isAnimated()
public void setAnimated(boolean animated)
public boolean isDirectDrawEnabled()
If in doubt, leaving this off is safe.
public void setDirectDrawEnabled(boolean directDrawEnabled)
public boolean isOpenglPipelineEnabled()
Like the useDirectDraw switch, this may cause instability on machines with poor video hardware or drivers. It may also interact strangely with Java2D, the Java2D rendering engine, or even the OpenGL rendering engine; the exact behaviors and effects on performance are highly machine dependent.
If in doubt, leaving this off is safe.
public void setOpenglPipelineEnabled(boolean openglPipelineEnabled)
public boolean getFramerateShown()
public void setFramerateShown(boolean framerateShown)
public boolean getImageTilesShown()
public void setImageTilesShown(boolean imageTilesShown)
public boolean getVectorTilesShown()
public void setVectorTilesShown(boolean vectorTilesShown)
public Java2dPreferences getJava2dPreferences()
public void setJava2dPreferences(Java2dPreferences java2dPreferences)
public OpenglPreferences getOpenglPreferences()
public void setOpenglPreferences(OpenglPreferences openglPreferences)