Interface SymbolPreferences

All Known Implementing Classes:
DefaultSymbolPreferences

public interface SymbolPreferences
Preferences for symbol configuration and default values.
Author:
2009- César Ordiñana - gvSIG team
  • Method Details

    • getSymbolFileExtension

      String getSymbolFileExtension()
      Returns the file extension to use for persisted symbols.
      Returns:
      the symbol file extension
    • setSymbolFileExtension

      void setSymbolFileExtension(String extension)
      Sets the file extension to use for persisted symbols.
      Parameters:
      extension - the file extension to use for persisted symbols
    • getDefaultSymbolColor

      Color getDefaultSymbolColor()
      Returns the default color to use for symbols.
      Returns:
      the symbol default color
    • setDefaultSymbolColor

      void setDefaultSymbolColor(Color defaultSymbolColor)
      Sets the default color to use for symbols.
      Parameters:
      defaultSymbolColor - the symbol default color
    • resetDefaultSymbolColor

      void resetDefaultSymbolColor()
      Sets the default color for symbols to the original value.
    • getDefaultSymbolFillColor

      Color getDefaultSymbolFillColor()
      Returns the default fill color to use for symbols.
      Returns:
      the default fill color
    • setDefaultSymbolFillColor

      void setDefaultSymbolFillColor(Color defaultSymbolFillColor)
      Sets the default fill color to use for symbols.
      Parameters:
      defaultSymbolFillColor - the default fill color
    • resetDefaultSymbolFillColor

      void resetDefaultSymbolFillColor()
      Sets the default fill color for symbols to the original value.
    • isDefaultSymbolFillColorAleatory

      boolean isDefaultSymbolFillColorAleatory()
      Returns if the default symbol fill color has been generated in a aleatory way.
      Returns:
      if the default symbol fill color is aleatory
    • setDefaultSymbolFillColorAleatory

      void setDefaultSymbolFillColorAleatory(boolean defaultSymbolFillColorAleatory)
      Sets if the default symbol fill color has been generated in a aleatory way.
      Parameters:
      defaultSymbolFillColorAleatory - if the default symbol fill color is aleatory
    • resetDefaultSymbolFillColorAleatory

      void resetDefaultSymbolFillColorAleatory()
      Sets if the default symbol fill color is aleatory to the default value.
    • getDefaultSymbolFont

      Font getDefaultSymbolFont()
      Returns the default font to use for symbols.
      Returns:
      the default symbol font
    • setDefaultSymbolFont

      void setDefaultSymbolFont(Font defaultSymbolFont)
      Sets the default font to use for symbols.
      Parameters:
      defaultSymbolFont - the default symbol font
    • resetDefaultSymbolFont

      void resetDefaultSymbolFont()
      Sets the default font to use for symbols to the original value.
    • getSymbolLibraryPath

      String getSymbolLibraryPath()
      Returns the path to the symbol library, where the persisted symbols can be found.
      Returns:
      the path to the symbol library
    • setSymbolLibraryPath

      void setSymbolLibraryPath(String symbolLibraryPath)
      Sets the path to the symbol library, where the persisted symbols can be found.
      Parameters:
      symbolLibraryPath - the path to the symbol library
    • resetSymbolLibraryPath

      void resetSymbolLibraryPath()
      Sets the path to the symbol library to the original value.
    • getDefaultCartographicSupportMeasureUnit

      int getDefaultCartographicSupportMeasureUnit()
      Returns the unit that will be used when creating new symbols with Cartographic support.
      Returns:
      the default cartographic support measure unit
      See Also:
    • setDefaultCartographicSupportMeasureUnit

      void setDefaultCartographicSupportMeasureUnit(int defaultCartographicSupportMeasureUnit)
      Sets the unit that will be used when creating new symbols with Cartographic support.
      Parameters:
      defaultCartographicSupportMeasureUnit - the default cartographic support measure unit
      See Also:
      • invalid reference
        CartographicSupport#setUnit()
    • getDefaultCartographicSupportReferenceSystem

      int getDefaultCartographicSupportReferenceSystem()
      Returns the reference system that will be used when creating new symbols with Cartographic support.
      Returns:
      the cartographic reference system
      See Also:
    • setDefaultCartographicSupportReferenceSystem

      void setDefaultCartographicSupportReferenceSystem(int defaultCartographicSupportReferenceSystem)
      Sets the reference system that will be used when creating new symbols with Cartographic support.
      Parameters:
      defaultCartographicSupportReferenceSystem - the cartographic reference system
      See Also: