public interface SymbolPreferences
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 defaultSymbolColor)
Sets the default color to use for symbols.
|
void |
setDefaultSymbolFillColor(java.awt.Color defaultSymbolFillColor)
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 extension)
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.
|
java.lang.String getSymbolFileExtension()
void setSymbolFileExtension(java.lang.String extension)
extension
- the file extension to use for persisted symbolsjava.awt.Color getDefaultSymbolColor()
void setDefaultSymbolColor(java.awt.Color defaultSymbolColor)
defaultSymbolColor
- the symbol default colorvoid resetDefaultSymbolColor()
java.awt.Color getDefaultSymbolFillColor()
void setDefaultSymbolFillColor(java.awt.Color defaultSymbolFillColor)
defaultSymbolFillColor
- the default fill colorvoid resetDefaultSymbolFillColor()
boolean isDefaultSymbolFillColorAleatory()
void setDefaultSymbolFillColorAleatory(boolean defaultSymbolFillColorAleatory)
defaultSymbolFillColorAleatory
- if the default symbol fill color is aleatoryvoid resetDefaultSymbolFillColorAleatory()
java.awt.Font getDefaultSymbolFont()
void setDefaultSymbolFont(java.awt.Font defaultSymbolFont)
defaultSymbolFont
- the default symbol fontvoid resetDefaultSymbolFont()
java.lang.String getSymbolLibraryPath()
void setSymbolLibraryPath(java.lang.String symbolLibraryPath)
symbolLibraryPath
- the path to the symbol libraryvoid resetSymbolLibraryPath()
int getDefaultCartographicSupportMeasureUnit()
CartographicSupport.getUnit()
void setDefaultCartographicSupportMeasureUnit(int defaultCartographicSupportMeasureUnit)
defaultCartographicSupportMeasureUnit
- the default cartographic support measure unitCartographicSupport#setUnit()
int getDefaultCartographicSupportReferenceSystem()
CartographicSupport.PAPER
,
CartographicSupport.WORLD
void setDefaultCartographicSupportReferenceSystem(int defaultCartographicSupportReferenceSystem)
defaultCartographicSupportReferenceSystem
- the cartographic reference systemCartographicSupport.PAPER
,
CartographicSupport.WORLD