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.
|
Color |
getDefaultSymbolColor()
Returns the default color to use for symbols.
|
Color |
getDefaultSymbolFillColor()
Returns the default fill color to use for symbols.
|
Font |
getDefaultSymbolFont()
Returns the default font to use for symbols.
|
String |
getSymbolFileExtension()
Returns the file extension to use for persisted symbols.
|
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(Color defaultSymbolColor)
Sets the default color to use for symbols.
|
void |
setDefaultSymbolFillColor(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(Font defaultSymbolFont)
Sets the default font to use for symbols.
|
void |
setSymbolFileExtension(String extension)
Sets the file extension to use for persisted symbols.
|
void |
setSymbolLibraryPath(String symbolLibraryPath)
Sets the path to the symbol library, where the persisted symbols can be
found.
|
String getSymbolFileExtension()
void setSymbolFileExtension(String extension)
extension
- the file extension to use for persisted symbolsColor getDefaultSymbolColor()
void setDefaultSymbolColor(Color defaultSymbolColor)
defaultSymbolColor
- the symbol default colorvoid resetDefaultSymbolColor()
Color getDefaultSymbolFillColor()
void setDefaultSymbolFillColor(Color defaultSymbolFillColor)
defaultSymbolFillColor
- the default fill colorvoid resetDefaultSymbolFillColor()
boolean isDefaultSymbolFillColorAleatory()
void setDefaultSymbolFillColorAleatory(boolean defaultSymbolFillColorAleatory)
defaultSymbolFillColorAleatory
- if the default symbol fill color is aleatoryvoid resetDefaultSymbolFillColorAleatory()
Font getDefaultSymbolFont()
void setDefaultSymbolFont(Font defaultSymbolFont)
defaultSymbolFont
- the default symbol fontvoid resetDefaultSymbolFont()
String getSymbolLibraryPath()
void setSymbolLibraryPath(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