public class AppSymbolPreferences extends java.lang.Object implements SymbolPreferences
SymbolPreferences implementation based on object attributes.| Constructor and Description |
|---|
AppSymbolPreferences() |
| Modifier and Type | Method and Description |
|---|---|
int |
getDefaultCartographicSupportMeasureUnit()
Returns the unit that will be used when creating new symbols with
Cartographic support.
|
int |
getDefaultCartographicSupportReferenceSystem()
Returns the reference system that will be used when creating new symbols
with Cartographic support.
|
java.awt.Color |
getDefaultSymbolColor()
Returns the default color to use for symbols.
|
java.awt.Color |
getDefaultSymbolFillColor()
Returns the default fill color to use for symbols.
|
java.awt.Font |
getDefaultSymbolFont()
Returns the default font to use for symbols.
|
java.lang.String |
getSymbolFileExtension()
Returns the file extension to use for persisted symbols.
|
java.lang.String |
getSymbolLibraryPath()
Returns the path to the symbol library, where the persisted symbols can
be found.
|
boolean |
isDefaultSymbolFillColorAleatory()
Returns if the default symbol fill color has been generated in a aleatory
way.
|
void |
resetDefaultSymbolColor()
Sets the default color for symbols to the original value.
|
void |
resetDefaultSymbolFillColor()
Sets the default fill color for symbols to the original value.
|
void |
resetDefaultSymbolFillColorAleatory()
Sets if the default symbol fill color is aleatory to the default value.
|
void |
resetDefaultSymbolFont()
Sets the default font to use for symbols to the original value.
|
void |
resetSymbolLibraryPath()
Sets the path to the symbol library to the original value.
|
void |
setDefaultCartographicSupportMeasureUnit(int defaultCartographicSupportMeasureUnit)
Sets the unit that will be used when creating new symbols with
Cartographic support.
|
void |
setDefaultCartographicSupportReferenceSystem(int defaultCartographicSupportReferenceSystem)
Sets the reference system that will be used when creating new symbols
with Cartographic support.
|
void |
setDefaultSymbolColor(java.awt.Color symbolColor)
Sets the default color to use for symbols.
|
void |
setDefaultSymbolFillColor(java.awt.Color symbolFillColor)
Sets the default fill color to use for symbols.
|
void |
setDefaultSymbolFillColorAleatory(boolean defaultSymbolFillColorAleatory)
Sets if the default symbol fill color has been generated in a aleatory
way.
|
void |
setDefaultSymbolFont(java.awt.Font defaultSymbolFont)
Sets the default font to use for symbols.
|
void |
setSymbolFileExtension(java.lang.String symbolFileExtension)
Sets the file extension to use for persisted symbols.
|
void |
setSymbolLibraryPath(java.lang.String symbolLibraryPath)
Sets the path to the symbol library, where the persisted symbols can be
found.
|
public java.lang.String getSymbolFileExtension()
SymbolPreferencesgetSymbolFileExtension in interface SymbolPreferencespublic void setSymbolFileExtension(java.lang.String symbolFileExtension)
SymbolPreferencessetSymbolFileExtension in interface SymbolPreferencessymbolFileExtension - the file extension to use for persisted symbolspublic java.lang.String getSymbolLibraryPath()
SymbolPreferencesgetSymbolLibraryPath in interface SymbolPreferencespublic void setSymbolLibraryPath(java.lang.String symbolLibraryPath)
SymbolPreferencessetSymbolLibraryPath in interface SymbolPreferencessymbolLibraryPath - the path to the symbol librarypublic java.awt.Color getDefaultSymbolColor()
SymbolPreferencesgetDefaultSymbolColor in interface SymbolPreferencespublic void setDefaultSymbolColor(java.awt.Color symbolColor)
SymbolPreferencessetDefaultSymbolColor in interface SymbolPreferencessymbolColor - the symbol default colorpublic java.awt.Color getDefaultSymbolFillColor()
SymbolPreferencesgetDefaultSymbolFillColor in interface SymbolPreferencespublic void setDefaultSymbolFillColor(java.awt.Color symbolFillColor)
SymbolPreferencessetDefaultSymbolFillColor in interface SymbolPreferencessymbolFillColor - the default fill colorpublic boolean isDefaultSymbolFillColorAleatory()
SymbolPreferencesisDefaultSymbolFillColorAleatory in interface SymbolPreferencespublic void setDefaultSymbolFillColorAleatory(boolean defaultSymbolFillColorAleatory)
SymbolPreferencessetDefaultSymbolFillColorAleatory in interface SymbolPreferencesdefaultSymbolFillColorAleatory - if the default symbol fill color is aleatorypublic java.awt.Font getDefaultSymbolFont()
SymbolPreferencesgetDefaultSymbolFont in interface SymbolPreferencespublic void setDefaultSymbolFont(java.awt.Font defaultSymbolFont)
SymbolPreferencessetDefaultSymbolFont in interface SymbolPreferencesdefaultSymbolFont - the default symbol fontpublic int getDefaultCartographicSupportMeasureUnit()
SymbolPreferencesgetDefaultCartographicSupportMeasureUnit in interface SymbolPreferencesCartographicSupport.getUnit()public void setDefaultCartographicSupportMeasureUnit(int defaultCartographicSupportMeasureUnit)
SymbolPreferencessetDefaultCartographicSupportMeasureUnit in interface SymbolPreferencesdefaultCartographicSupportMeasureUnit - the default cartographic support measure unitCartographicSupport#setUnit()public int getDefaultCartographicSupportReferenceSystem()
SymbolPreferencesgetDefaultCartographicSupportReferenceSystem in interface SymbolPreferencesCartographicSupport.PAPER,
CartographicSupport.WORLDpublic void setDefaultCartographicSupportReferenceSystem(int defaultCartographicSupportReferenceSystem)
SymbolPreferencessetDefaultCartographicSupportReferenceSystem in interface SymbolPreferencesdefaultCartographicSupportReferenceSystem - the cartographic reference systemCartographicSupport.PAPER,
CartographicSupport.WORLDpublic void resetDefaultSymbolColor()
SymbolPreferencesresetDefaultSymbolColor in interface SymbolPreferencespublic void resetDefaultSymbolFillColor()
SymbolPreferencesresetDefaultSymbolFillColor in interface SymbolPreferencespublic void resetDefaultSymbolFillColorAleatory()
SymbolPreferencesresetDefaultSymbolFillColorAleatory in interface SymbolPreferencespublic void resetDefaultSymbolFont()
SymbolPreferencesresetDefaultSymbolFont in interface SymbolPreferencespublic void resetSymbolLibraryPath()
SymbolPreferencesresetSymbolLibraryPath in interface SymbolPreferences