|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.partnersoft.preferences.model.AbstractSubsystemPreferences
com.partnersoft.preferences.model.GraphicsPreferences
public class GraphicsPreferences
SubsystemPreferences for graphics settings, including both Java2D/AWT settings and map rendering settings.
Copyright 2010 Partner Software, Inc.
| Constructor Summary | |
|---|---|
GraphicsPreferences(Cog state)
|
|
| Method Summary | |
|---|---|
Java2dPreferences |
getJava2dPreferences()
Specific settings for Java2D rendering engine. |
OpenglPreferences |
getOpenglPreferences()
Specific settings for OpenGL rendering engine. |
RenderEngine |
getRenderer()
Map rendering engine to use. |
boolean |
getShowFramerate()
If true, a framerate display will appear in the bottom right of the map view. |
boolean |
getShowImageTiles()
If true, lines are drawn at the boundaries of the underlying image tiles for background image sets such as aerial photos. |
boolean |
getShowVectorTiles()
If true, lines are drawn at the boundaries of the underlying vector tiles for published vector sets such as background maps. |
boolean |
getUseDirectDraw()
If true, enables the Windows DirectDraw pipeline of Java2D throughout the platform. |
boolean |
getUseOpenglPipeline()
If true, enables the OpenGL pipeline of Java2D throughout the platform. |
boolean |
isAnimated()
If true, selection and indication animation is enabled. |
void |
setAnimated(boolean animated)
|
void |
setJava2dPreferences(Java2dPreferences java2dPreferences)
|
void |
setOpenglPreferences(OpenglPreferences openglPreferences)
|
void |
setRenderer(RenderEngine renderer)
|
void |
setShowFramerate(boolean showFramerate)
|
void |
setShowImageTiles(boolean showImageTiles)
|
void |
setShowVectorTiles(boolean showVectorTiles)
|
void |
setUseDirectDraw(boolean useDirectDraw)
|
void |
setUseOpenglPipeline(boolean useOpenglPipeline)
|
Cog |
toCog()
Returns the complete internal state of this object in the form of a Cog. |
| Methods inherited from class com.partnersoft.preferences.model.AbstractSubsystemPreferences |
|---|
getName, setName |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public GraphicsPreferences(Cog state)
| Method Detail |
|---|
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 getUseDirectDraw()
If in doubt, leaving this off is safe.
public void setUseDirectDraw(boolean useDirectDraw)
public boolean getUseOpenglPipeline()
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 setUseOpenglPipeline(boolean useOpenglPipeline)
public boolean getShowFramerate()
public void setShowFramerate(boolean showFramerate)
public boolean getShowImageTiles()
public void setShowImageTiles(boolean showImageTiles)
public boolean getShowVectorTiles()
public void setShowVectorTiles(boolean showVectorTiles)
public Java2dPreferences getJava2dPreferences()
public void setJava2dPreferences(Java2dPreferences java2dPreferences)
public OpenglPreferences getOpenglPreferences()
public void setOpenglPreferences(OpenglPreferences openglPreferences)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||