Class FeatureTableStyles
- java.lang.Object
-
- mil.nga.geopackage.extension.nga.style.FeatureTableStyles
-
public class FeatureTableStyles extends Object
Feature Table Styles, styles and icons for an individual feature table- Since:
- 3.2.0
-
-
Constructor Summary
Constructors Constructor Description FeatureTableStyles(GeoPackage geoPackage, String featureTable)ConstructorFeatureTableStyles(GeoPackage geoPackage, Contents contents)ConstructorFeatureTableStyles(GeoPackage geoPackage, GeometryColumns geometryColumns)ConstructorFeatureTableStyles(GeoPackage geoPackage, FeatureTable featureTable)Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclearCachedTableFeatureStyles()Clear the cached table feature stylesvoidclearCachedTableIcons()Clear the cached table iconsvoidclearCachedTableStyles()Clear the cached table stylesvoidcreateIconRelationship()Create an icon relationship for the feature tablevoidcreateRelationships()Create style, icon, table style, and table icon relationships for the feature tablevoidcreateStyleRelationship()Create a style relationship for the feature tablevoidcreateTableIconRelationship()Create a feature table icon relationshipvoidcreateTableStyleRelationship()Create a feature table style relationshipvoiddeleteAllFeatureStyles()Delete all feature styles including table styles, table icons, style, and iconsvoiddeleteAllIcons()Delete all icons including table icons and feature row iconsvoiddeleteAllStyles()Delete all styles including table styles and feature row stylesvoiddeleteFeatureStyles()Delete all feature stylesvoiddeleteIcon(long featureId, GeometryType geometryType)Delete the feature row icon for the geometry typevoiddeleteIcon(FeatureRow featureRow)Delete the feature row icon for the feature row geometry typevoiddeleteIcon(FeatureRow featureRow, GeometryType geometryType)Delete the feature row icon for the geometry typevoiddeleteIconDefault(long featureId)Delete the feature row default iconvoiddeleteIconDefault(FeatureRow featureRow)Delete the feature row default iconvoiddeleteIconRelationship()Delete a icon relationship for the feature tablevoiddeleteIcons()Delete all iconsvoiddeleteIcons(long featureId)Delete feature row iconsvoiddeleteIcons(FeatureRow featureRow)Delete feature row iconsvoiddeleteRelationships()Delete the style and icon table and row relationships for the feature tablevoiddeleteStyle(long featureId, GeometryType geometryType)Delete the feature row style for the geometry typevoiddeleteStyle(FeatureRow featureRow)Delete the feature row style for the feature row geometry typevoiddeleteStyle(FeatureRow featureRow, GeometryType geometryType)Delete the feature row style for the geometry typevoiddeleteStyleDefault(long featureId)Delete the feature row default stylevoiddeleteStyleDefault(FeatureRow featureRow)Delete the feature row default stylevoiddeleteStyleRelationship()Delete a style relationship for the feature tablevoiddeleteStyles()Delete all stylesvoiddeleteStyles(long featureId)Delete feature row stylesvoiddeleteStyles(FeatureRow featureRow)Delete feature row stylesvoiddeleteTableFeatureStyles()Delete the feature table feature stylesvoiddeleteTableIcon(GeometryType geometryType)Delete the feature table icon for the geometry typevoiddeleteTableIconDefault()Delete the feature table default iconvoiddeleteTableIconRelationship()Delete a table icon relationship for the feature tablevoiddeleteTableIcons()Delete the feature table iconsvoiddeleteTableStyle(GeometryType geometryType)Delete the feature table style for the geometry typevoiddeleteTableStyleDefault()Delete the feature table default stylevoiddeleteTableStyleRelationship()Delete a table style relationship for the feature tablevoiddeleteTableStyles()Delete the feature table stylesList<Long>getAllIconIds()Get all the unique icon row ids the features map toList<Long>getAllStyleIds()Get all the unique style row ids the features map toList<Long>getAllTableIconIds()Get all the unique icon row ids the table maps toList<Long>getAllTableStyleIds()Get all the unique style row ids the table maps toIconsgetCachedTableIcons()Get the cached table icons, querying and caching if neededStylesgetCachedTableStyles()Get the cached table styles, querying and caching if neededFeatureStylegetFeatureStyle(long featureId, GeometryType geometryType)Get the feature style (style and icon) of the feature, searching in order: feature geometry type style or icon, feature default style or icon, table geometry type style or icon, table default style or iconFeatureStylegetFeatureStyle(FeatureRow featureRow)Get the feature style (style and icon) of the feature row, searching in order: feature geometry type style or icon, feature default style or icon, table geometry type style or icon, table default style or iconFeatureStylegetFeatureStyle(FeatureRow featureRow, GeometryType geometryType)Get the feature style (style and icon) of the feature row with the provided geometry type, searching in order: feature geometry type style or icon, feature default style or icon, table geometry type style or icon, table default style or iconFeatureStylegetFeatureStyleDefault(long featureId)Get the feature style (style and icon) of the feature, searching in order: feature geometry type style or icon, feature default style or icon, table geometry type style or icon, table default style or iconFeatureStylegetFeatureStyleDefault(FeatureRow featureRow)Get the feature style default (style and icon) of the feature row, searching in order: feature default style or icon, table default style or iconFeatureStyleExtensiongetFeatureStyleExtension()Get the feature style extensionFeatureStylesgetFeatureStyles(long featureId)Get the feature styles for the feature idFeatureStylesgetFeatureStyles(FeatureRow featureRow)Get the feature styles for the feature rowIconRowgetIcon(long featureId, GeometryType geometryType)Get the icon of the feature, searching in order: feature geometry type icon, feature default icon, table geometry type icon, table default iconIconRowgetIcon(FeatureRow featureRow)Get the icon of the feature row, searching in order: feature geometry type icon, feature default icon, table geometry type icon, table default iconIconRowgetIcon(FeatureRow featureRow, GeometryType geometryType)Get the icon of the feature row with the provided geometry type, searching in order: feature geometry type icon, feature default icon, table geometry type icon, table default iconIconDaogetIconDao()Get a icon DAOIconRowgetIconDefault(long featureId)Get the default icon of the feature, searching in order: feature default icon, table default iconIconRowgetIconDefault(FeatureRow featureRow)Get the default icon of the feature row, searching in order: feature default icon, table default iconStyleMappingDaogetIconMappingDao()Get a Icon Mapping DAOIconsgetIcons(long featureId)Get the icons for the feature idIconsgetIcons(FeatureRow featureRow)Get the icons for the feature rowStyleRowgetStyle(long featureId, GeometryType geometryType)Get the style of the feature, searching in order: feature geometry type style, feature default style, table geometry type style, table default styleStyleRowgetStyle(FeatureRow featureRow)Get the style of the feature row, searching in order: feature geometry type style, feature default style, table geometry type style, table default styleStyleRowgetStyle(FeatureRow featureRow, GeometryType geometryType)Get the style of the feature row with the provided geometry type, searching in order: feature geometry type style, feature default style, table geometry type style, table default styleStyleDaogetStyleDao()Get a style DAOStyleRowgetStyleDefault(long featureId)Get the default style of the feature, searching in order: feature default style, table default styleStyleRowgetStyleDefault(FeatureRow featureRow)Get the default style of the feature row, searching in order: feature default style, table default styleStyleMappingDaogetStyleMappingDao()Get a Style Mapping DAOStylesgetStyles(long featureId)Get the styles for the feature idStylesgetStyles(FeatureRow featureRow)Get the styles for the feature rowFeatureStylesgetTableFeatureStyles()Get the table feature stylesIconRowgetTableIcon(GeometryType geometryType)Get the table icon of the geometry typeIconRowgetTableIconDefault()Get the table icon defaultStyleMappingDaogetTableIconMappingDao()Get a Table Icon Mapping DAOIconsgetTableIcons()Get the table iconsStringgetTableName()Get the feature table nameStyleRowgetTableStyle(GeometryType geometryType)Get the table style of the geometry typeStyleRowgetTableStyleDefault()Get the table style defaultStyleMappingDaogetTableStyleMappingDao()Get a Table Style Mapping DAOStylesgetTableStyles()Get the table stylesbooleanhas()Determine if the GeoPackage has the extension for the tablebooleanhasIconRelationship()Determine if an icon relationship exists for the feature tablebooleanhasRelationship()Check if feature table has a style, icon, table style, or table icon relationshipsbooleanhasStyleRelationship()Determine if a style relationship exists for the feature tablebooleanhasTableIconRelationship()Determine if feature table icon relationship existsbooleanhasTableStyleRelationship()Determine if feature table style relationship existsvoidsetFeatureStyle(long featureId, GeometryType geometryType, FeatureStyle featureStyle)Set the feature style (style and icon) of the featurevoidsetFeatureStyle(FeatureRow featureRow, FeatureStyle featureStyle)Set the feature style (style and icon) of the feature rowvoidsetFeatureStyle(FeatureRow featureRow, GeometryType geometryType, FeatureStyle featureStyle)Set the feature style (style and icon) of the feature row for the specified geometry typevoidsetFeatureStyleDefault(long featureId, FeatureStyle featureStyle)Set the feature style (style and icon) of the featurevoidsetFeatureStyleDefault(FeatureRow featureRow, FeatureStyle featureStyle)Set the feature style default (style and icon) of the feature rowvoidsetFeatureStyles(long featureId, FeatureStyles featureStyles)Set the feature styles for the feature table and feature idvoidsetFeatureStyles(FeatureRow featureRow, FeatureStyles featureStyles)Set the feature styles for the feature rowvoidsetIcon(long featureId, GeometryType geometryType, IconRow icon)Get the icon of the feature, searching in order: feature geometry type icon, feature default icon, table geometry type icon, table default iconvoidsetIcon(FeatureRow featureRow, IconRow icon)Set the icon of the feature rowvoidsetIcon(FeatureRow featureRow, GeometryType geometryType, IconRow icon)Set the icon of the feature row for the specified geometry typevoidsetIconDefault(long featureId, IconRow icon)Set the default icon of the featurevoidsetIconDefault(FeatureRow featureRow, IconRow icon)Set the default icon of the feature rowvoidsetIcons(long featureId, Icons icons)Set the icons for the feature table and feature idvoidsetIcons(FeatureRow featureRow, Icons icons)Set the icons for the feature rowvoidsetStyle(long featureId, GeometryType geometryType, StyleRow style)Set the style of the featurevoidsetStyle(FeatureRow featureRow, StyleRow style)Set the style of the feature rowvoidsetStyle(FeatureRow featureRow, GeometryType geometryType, StyleRow style)Set the style of the feature row for the specified geometry typevoidsetStyleDefault(long featureId, StyleRow style)Set the default style of the featurevoidsetStyleDefault(FeatureRow featureRow, StyleRow style)Set the default style of the feature rowvoidsetStyles(long featureId, Styles styles)Set the styles for the feature table and feature idvoidsetStyles(FeatureRow featureRow, Styles styles)Set the styles for the feature rowvoidsetTableFeatureStyles(FeatureStyles featureStyles)Set the feature table default feature stylesvoidsetTableIcon(GeometryType geometryType, IconRow icon)Set the feature table icon for the geometry typevoidsetTableIconDefault(IconRow icon)Set the feature table icon defaultvoidsetTableIcons(Icons icons)Set the feature table default iconsvoidsetTableStyle(GeometryType geometryType, StyleRow style)Set the feature table style for the geometry typevoidsetTableStyleDefault(StyleRow style)Set the feature table style defaultvoidsetTableStyles(Styles styles)Set the feature table default styles
-
-
-
Constructor Detail
-
FeatureTableStyles
public FeatureTableStyles(GeoPackage geoPackage, FeatureTable featureTable)
Constructor- Parameters:
geoPackage- GeoPackagefeatureTable- feature table
-
FeatureTableStyles
public FeatureTableStyles(GeoPackage geoPackage, GeometryColumns geometryColumns)
Constructor- Parameters:
geoPackage- GeoPackagegeometryColumns- geometry columns
-
FeatureTableStyles
public FeatureTableStyles(GeoPackage geoPackage, Contents contents)
Constructor- Parameters:
geoPackage- GeoPackagecontents- feature contents
-
FeatureTableStyles
public FeatureTableStyles(GeoPackage geoPackage, String featureTable)
Constructor- Parameters:
geoPackage- GeoPackagefeatureTable- feature table
-
-
Method Detail
-
getFeatureStyleExtension
public FeatureStyleExtension getFeatureStyleExtension()
Get the feature style extension- Returns:
- feature style extension
-
getTableName
public String getTableName()
Get the feature table name- Returns:
- feature table name
-
has
public boolean has()
Determine if the GeoPackage has the extension for the table- Returns:
- true if has extension
-
createRelationships
public void createRelationships()
Create style, icon, table style, and table icon relationships for the feature table
-
hasRelationship
public boolean hasRelationship()
Check if feature table has a style, icon, table style, or table icon relationships- Returns:
- true if has a relationship
-
createStyleRelationship
public void createStyleRelationship()
Create a style relationship for the feature table
-
hasStyleRelationship
public boolean hasStyleRelationship()
Determine if a style relationship exists for the feature table- Returns:
- true if relationship exists
-
createTableStyleRelationship
public void createTableStyleRelationship()
Create a feature table style relationship
-
hasTableStyleRelationship
public boolean hasTableStyleRelationship()
Determine if feature table style relationship exists- Returns:
- true if relationship exists
-
createIconRelationship
public void createIconRelationship()
Create an icon relationship for the feature table
-
hasIconRelationship
public boolean hasIconRelationship()
Determine if an icon relationship exists for the feature table- Returns:
- true if relationship exists
-
createTableIconRelationship
public void createTableIconRelationship()
Create a feature table icon relationship
-
hasTableIconRelationship
public boolean hasTableIconRelationship()
Determine if feature table icon relationship exists- Returns:
- true if relationship exists
-
deleteRelationships
public void deleteRelationships()
Delete the style and icon table and row relationships for the feature table
-
deleteStyleRelationship
public void deleteStyleRelationship()
Delete a style relationship for the feature table
-
deleteTableStyleRelationship
public void deleteTableStyleRelationship()
Delete a table style relationship for the feature table
-
deleteIconRelationship
public void deleteIconRelationship()
Delete a icon relationship for the feature table
-
deleteTableIconRelationship
public void deleteTableIconRelationship()
Delete a table icon relationship for the feature table
-
getStyleMappingDao
public StyleMappingDao getStyleMappingDao()
Get a Style Mapping DAO- Returns:
- style mapping DAO
-
getTableStyleMappingDao
public StyleMappingDao getTableStyleMappingDao()
Get a Table Style Mapping DAO- Returns:
- table style mapping DAO
-
getIconMappingDao
public StyleMappingDao getIconMappingDao()
Get a Icon Mapping DAO- Returns:
- icon mapping DAO
-
getTableIconMappingDao
public StyleMappingDao getTableIconMappingDao()
Get a Table Icon Mapping DAO- Returns:
- table icon mapping DAO
-
getStyleDao
public StyleDao getStyleDao()
Get a style DAO- Returns:
- style DAO
-
getIconDao
public IconDao getIconDao()
Get a icon DAO- Returns:
- icon DAO
-
getTableFeatureStyles
public FeatureStyles getTableFeatureStyles()
Get the table feature styles- Returns:
- table feature styles or null
-
getTableStyles
public Styles getTableStyles()
Get the table styles- Returns:
- table styles or null
-
getCachedTableStyles
public Styles getCachedTableStyles()
Get the cached table styles, querying and caching if needed- Returns:
- cached table styles
-
getTableStyle
public StyleRow getTableStyle(GeometryType geometryType)
Get the table style of the geometry type- Parameters:
geometryType- geometry type- Returns:
- style row
-
getTableStyleDefault
public StyleRow getTableStyleDefault()
Get the table style default- Returns:
- style row
-
getTableIcons
public Icons getTableIcons()
Get the table icons- Returns:
- table icons or null
-
getCachedTableIcons
public Icons getCachedTableIcons()
Get the cached table icons, querying and caching if needed- Returns:
- cached table icons
-
getTableIcon
public IconRow getTableIcon(GeometryType geometryType)
Get the table icon of the geometry type- Parameters:
geometryType- geometry type- Returns:
- icon row
-
getTableIconDefault
public IconRow getTableIconDefault()
Get the table icon default- Returns:
- icon row
-
getFeatureStyles
public FeatureStyles getFeatureStyles(FeatureRow featureRow)
Get the feature styles for the feature row- Parameters:
featureRow- feature row- Returns:
- feature styles or null
-
getFeatureStyles
public FeatureStyles getFeatureStyles(long featureId)
Get the feature styles for the feature id- Parameters:
featureId- feature id- Returns:
- feature styles or null
-
getFeatureStyle
public FeatureStyle getFeatureStyle(FeatureRow featureRow)
Get the feature style (style and icon) of the feature row, searching in order: feature geometry type style or icon, feature default style or icon, table geometry type style or icon, table default style or icon- Parameters:
featureRow- feature row- Returns:
- feature style
-
getFeatureStyle
public FeatureStyle getFeatureStyle(FeatureRow featureRow, GeometryType geometryType)
Get the feature style (style and icon) of the feature row with the provided geometry type, searching in order: feature geometry type style or icon, feature default style or icon, table geometry type style or icon, table default style or icon- Parameters:
featureRow- feature rowgeometryType- geometry type- Returns:
- feature style
-
getFeatureStyleDefault
public FeatureStyle getFeatureStyleDefault(FeatureRow featureRow)
Get the feature style default (style and icon) of the feature row, searching in order: feature default style or icon, table default style or icon- Parameters:
featureRow- feature row- Returns:
- feature style
-
getFeatureStyle
public FeatureStyle getFeatureStyle(long featureId, GeometryType geometryType)
Get the feature style (style and icon) of the feature, searching in order: feature geometry type style or icon, feature default style or icon, table geometry type style or icon, table default style or icon- Parameters:
featureId- feature idgeometryType- geometry type- Returns:
- feature style
-
getFeatureStyleDefault
public FeatureStyle getFeatureStyleDefault(long featureId)
Get the feature style (style and icon) of the feature, searching in order: feature geometry type style or icon, feature default style or icon, table geometry type style or icon, table default style or icon- Parameters:
featureId- feature id- Returns:
- feature style
-
getStyles
public Styles getStyles(FeatureRow featureRow)
Get the styles for the feature row- Parameters:
featureRow- feature row- Returns:
- styles or null
-
getStyles
public Styles getStyles(long featureId)
Get the styles for the feature id- Parameters:
featureId- feature id- Returns:
- styles or null
-
getStyle
public StyleRow getStyle(FeatureRow featureRow)
Get the style of the feature row, searching in order: feature geometry type style, feature default style, table geometry type style, table default style- Parameters:
featureRow- feature row- Returns:
- style row
-
getStyle
public StyleRow getStyle(FeatureRow featureRow, GeometryType geometryType)
Get the style of the feature row with the provided geometry type, searching in order: feature geometry type style, feature default style, table geometry type style, table default style- Parameters:
featureRow- feature rowgeometryType- geometry type- Returns:
- style row
-
getStyleDefault
public StyleRow getStyleDefault(FeatureRow featureRow)
Get the default style of the feature row, searching in order: feature default style, table default style- Parameters:
featureRow- feature row- Returns:
- style row
-
getStyle
public StyleRow getStyle(long featureId, GeometryType geometryType)
Get the style of the feature, searching in order: feature geometry type style, feature default style, table geometry type style, table default style- Parameters:
featureId- feature idgeometryType- geometry type- Returns:
- style row
-
getStyleDefault
public StyleRow getStyleDefault(long featureId)
Get the default style of the feature, searching in order: feature default style, table default style- Parameters:
featureId- feature id- Returns:
- style row
-
getIcons
public Icons getIcons(FeatureRow featureRow)
Get the icons for the feature row- Parameters:
featureRow- feature row- Returns:
- icons or null
-
getIcons
public Icons getIcons(long featureId)
Get the icons for the feature id- Parameters:
featureId- feature id- Returns:
- icons or null
-
getIcon
public IconRow getIcon(FeatureRow featureRow)
Get the icon of the feature row, searching in order: feature geometry type icon, feature default icon, table geometry type icon, table default icon- Parameters:
featureRow- feature row- Returns:
- icon row
-
getIcon
public IconRow getIcon(FeatureRow featureRow, GeometryType geometryType)
Get the icon of the feature row with the provided geometry type, searching in order: feature geometry type icon, feature default icon, table geometry type icon, table default icon- Parameters:
featureRow- feature rowgeometryType- geometry type- Returns:
- icon row
-
getIconDefault
public IconRow getIconDefault(FeatureRow featureRow)
Get the default icon of the feature row, searching in order: feature default icon, table default icon- Parameters:
featureRow- feature row- Returns:
- icon row
-
getIcon
public IconRow getIcon(long featureId, GeometryType geometryType)
Get the icon of the feature, searching in order: feature geometry type icon, feature default icon, table geometry type icon, table default icon- Parameters:
featureId- feature idgeometryType- geometry type- Returns:
- icon row
-
getIconDefault
public IconRow getIconDefault(long featureId)
Get the default icon of the feature, searching in order: feature default icon, table default icon- Parameters:
featureId- feature id- Returns:
- icon row
-
setTableFeatureStyles
public void setTableFeatureStyles(FeatureStyles featureStyles)
Set the feature table default feature styles- Parameters:
featureStyles- default feature styles
-
setTableStyles
public void setTableStyles(Styles styles)
Set the feature table default styles- Parameters:
styles- default styles
-
setTableStyleDefault
public void setTableStyleDefault(StyleRow style)
Set the feature table style default- Parameters:
style- style row
-
setTableStyle
public void setTableStyle(GeometryType geometryType, StyleRow style)
Set the feature table style for the geometry type- Parameters:
geometryType- geometry typestyle- style row
-
setTableIcons
public void setTableIcons(Icons icons)
Set the feature table default icons- Parameters:
icons- default icons
-
setTableIconDefault
public void setTableIconDefault(IconRow icon)
Set the feature table icon default- Parameters:
icon- icon row
-
setTableIcon
public void setTableIcon(GeometryType geometryType, IconRow icon)
Set the feature table icon for the geometry type- Parameters:
geometryType- geometry typeicon- icon row
-
setFeatureStyles
public void setFeatureStyles(FeatureRow featureRow, FeatureStyles featureStyles)
Set the feature styles for the feature row- Parameters:
featureRow- feature rowfeatureStyles- feature styles
-
setFeatureStyles
public void setFeatureStyles(long featureId, FeatureStyles featureStyles)Set the feature styles for the feature table and feature id- Parameters:
featureId- feature idfeatureStyles- feature styles
-
setFeatureStyle
public void setFeatureStyle(FeatureRow featureRow, FeatureStyle featureStyle)
Set the feature style (style and icon) of the feature row- Parameters:
featureRow- feature rowfeatureStyle- feature style
-
setFeatureStyle
public void setFeatureStyle(FeatureRow featureRow, GeometryType geometryType, FeatureStyle featureStyle)
Set the feature style (style and icon) of the feature row for the specified geometry type- Parameters:
featureRow- feature rowgeometryType- geometry typefeatureStyle- feature style
-
setFeatureStyleDefault
public void setFeatureStyleDefault(FeatureRow featureRow, FeatureStyle featureStyle)
Set the feature style default (style and icon) of the feature row- Parameters:
featureRow- feature rowfeatureStyle- feature style
-
setFeatureStyle
public void setFeatureStyle(long featureId, GeometryType geometryType, FeatureStyle featureStyle)Set the feature style (style and icon) of the feature- Parameters:
featureId- feature idgeometryType- geometry typefeatureStyle- feature style
-
setFeatureStyleDefault
public void setFeatureStyleDefault(long featureId, FeatureStyle featureStyle)Set the feature style (style and icon) of the feature- Parameters:
featureId- feature idfeatureStyle- feature style
-
setStyles
public void setStyles(FeatureRow featureRow, Styles styles)
Set the styles for the feature row- Parameters:
featureRow- feature rowstyles- styles
-
setStyles
public void setStyles(long featureId, Styles styles)Set the styles for the feature table and feature id- Parameters:
featureId- feature idstyles- styles
-
setStyle
public void setStyle(FeatureRow featureRow, StyleRow style)
Set the style of the feature row- Parameters:
featureRow- feature rowstyle- style row
-
setStyle
public void setStyle(FeatureRow featureRow, GeometryType geometryType, StyleRow style)
Set the style of the feature row for the specified geometry type- Parameters:
featureRow- feature rowgeometryType- geometry typestyle- style row
-
setStyleDefault
public void setStyleDefault(FeatureRow featureRow, StyleRow style)
Set the default style of the feature row- Parameters:
featureRow- feature rowstyle- style row
-
setStyle
public void setStyle(long featureId, GeometryType geometryType, StyleRow style)Set the style of the feature- Parameters:
featureId- feature idgeometryType- geometry typestyle- style row
-
setStyleDefault
public void setStyleDefault(long featureId, StyleRow style)Set the default style of the feature- Parameters:
featureId- feature idstyle- style row
-
setIcons
public void setIcons(FeatureRow featureRow, Icons icons)
Set the icons for the feature row- Parameters:
featureRow- feature rowicons- icons
-
setIcons
public void setIcons(long featureId, Icons icons)Set the icons for the feature table and feature id- Parameters:
featureId- feature idicons- icons
-
setIcon
public void setIcon(FeatureRow featureRow, IconRow icon)
Set the icon of the feature row- Parameters:
featureRow- feature rowicon- icon row
-
setIcon
public void setIcon(FeatureRow featureRow, GeometryType geometryType, IconRow icon)
Set the icon of the feature row for the specified geometry type- Parameters:
featureRow- feature rowgeometryType- geometry typeicon- icon row
-
setIconDefault
public void setIconDefault(FeatureRow featureRow, IconRow icon)
Set the default icon of the feature row- Parameters:
featureRow- feature rowicon- icon row
-
setIcon
public void setIcon(long featureId, GeometryType geometryType, IconRow icon)Get the icon of the feature, searching in order: feature geometry type icon, feature default icon, table geometry type icon, table default icon- Parameters:
featureId- feature idgeometryType- geometry typeicon- icon row
-
setIconDefault
public void setIconDefault(long featureId, IconRow icon)Set the default icon of the feature- Parameters:
featureId- feature idicon- icon row
-
deleteAllFeatureStyles
public void deleteAllFeatureStyles()
Delete all feature styles including table styles, table icons, style, and icons
-
deleteAllStyles
public void deleteAllStyles()
Delete all styles including table styles and feature row styles
-
deleteAllIcons
public void deleteAllIcons()
Delete all icons including table icons and feature row icons
-
deleteTableFeatureStyles
public void deleteTableFeatureStyles()
Delete the feature table feature styles
-
deleteTableStyles
public void deleteTableStyles()
Delete the feature table styles
-
deleteTableStyleDefault
public void deleteTableStyleDefault()
Delete the feature table default style
-
deleteTableStyle
public void deleteTableStyle(GeometryType geometryType)
Delete the feature table style for the geometry type- Parameters:
geometryType- geometry type
-
deleteTableIcons
public void deleteTableIcons()
Delete the feature table icons
-
deleteTableIconDefault
public void deleteTableIconDefault()
Delete the feature table default icon
-
deleteTableIcon
public void deleteTableIcon(GeometryType geometryType)
Delete the feature table icon for the geometry type- Parameters:
geometryType- geometry type
-
clearCachedTableFeatureStyles
public void clearCachedTableFeatureStyles()
Clear the cached table feature styles
-
clearCachedTableStyles
public void clearCachedTableStyles()
Clear the cached table styles
-
clearCachedTableIcons
public void clearCachedTableIcons()
Clear the cached table icons
-
deleteFeatureStyles
public void deleteFeatureStyles()
Delete all feature styles
-
deleteStyles
public void deleteStyles()
Delete all styles
-
deleteStyles
public void deleteStyles(FeatureRow featureRow)
Delete feature row styles- Parameters:
featureRow- feature row
-
deleteStyles
public void deleteStyles(long featureId)
Delete feature row styles- Parameters:
featureId- feature id
-
deleteStyleDefault
public void deleteStyleDefault(FeatureRow featureRow)
Delete the feature row default style- Parameters:
featureRow- feature row
-
deleteStyleDefault
public void deleteStyleDefault(long featureId)
Delete the feature row default style- Parameters:
featureId- feature id
-
deleteStyle
public void deleteStyle(FeatureRow featureRow)
Delete the feature row style for the feature row geometry type- Parameters:
featureRow- feature row
-
deleteStyle
public void deleteStyle(FeatureRow featureRow, GeometryType geometryType)
Delete the feature row style for the geometry type- Parameters:
featureRow- feature rowgeometryType- geometry type
-
deleteStyle
public void deleteStyle(long featureId, GeometryType geometryType)Delete the feature row style for the geometry type- Parameters:
featureId- feature idgeometryType- geometry type
-
deleteIcons
public void deleteIcons()
Delete all icons
-
deleteIcons
public void deleteIcons(FeatureRow featureRow)
Delete feature row icons- Parameters:
featureRow- feature row
-
deleteIcons
public void deleteIcons(long featureId)
Delete feature row icons- Parameters:
featureId- feature id
-
deleteIconDefault
public void deleteIconDefault(FeatureRow featureRow)
Delete the feature row default icon- Parameters:
featureRow- feature row
-
deleteIconDefault
public void deleteIconDefault(long featureId)
Delete the feature row default icon- Parameters:
featureId- feature id
-
deleteIcon
public void deleteIcon(FeatureRow featureRow)
Delete the feature row icon for the feature row geometry type- Parameters:
featureRow- feature row
-
deleteIcon
public void deleteIcon(FeatureRow featureRow, GeometryType geometryType)
Delete the feature row icon for the geometry type- Parameters:
featureRow- feature rowgeometryType- geometry type
-
deleteIcon
public void deleteIcon(long featureId, GeometryType geometryType)Delete the feature row icon for the geometry type- Parameters:
featureId- feature idgeometryType- geometry type
-
getAllTableStyleIds
public List<Long> getAllTableStyleIds()
Get all the unique style row ids the table maps to- Returns:
- style row ids
-
getAllTableIconIds
public List<Long> getAllTableIconIds()
Get all the unique icon row ids the table maps to- Returns:
- icon row ids
-
getAllStyleIds
public List<Long> getAllStyleIds()
Get all the unique style row ids the features map to- Returns:
- style row ids
-
-