Class FeatureStyleExtension
java.lang.Object
mil.nga.geopackage.extension.BaseExtension
mil.nga.geopackage.extension.nga.style.FeatureCoreStyleExtension
mil.nga.geopackage.extension.nga.style.FeatureStyleExtension
Feature Style extension for styling features
http://ngageoint.github.io/GeoPackage/docs/extensions/feature-style.html
- Since:
- 3.2.0
-
Field Summary
FieldsFields inherited from class mil.nga.geopackage.extension.nga.style.FeatureCoreStyleExtension
contentsId, EXTENSION_AUTHOR, EXTENSION_DEFINITION, EXTENSION_NAME, EXTENSION_NAME_NO_AUTHOR, TABLE_MAPPING_ICON, TABLE_MAPPING_STYLE, TABLE_MAPPING_TABLE_ICON, TABLE_MAPPING_TABLE_STYLEFields inherited from class mil.nga.geopackage.extension.BaseExtension
extensionsDao, geoPackage -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncalculatePixelBounds(String featureTable) Calculate style pixel boundscalculatePixelBounds(String featureTable, float density) Calculate style pixel bounds for the feature tablestatic PixelBoundscalculatePixelBounds(IconRow iconRow) Calculate style pixel bounds for the icon rowstatic PixelBoundscalculatePixelBounds(IconRow iconRow, float density) Calculate style pixel bounds for the icon rowstatic PixelBoundscalculatePixelBounds(StyleRow styleRow) Calculate style pixel bounds for the style rowstatic PixelBoundscalculatePixelBounds(StyleRow styleRow, float density) Calculate style pixel bounds for the style rowstatic voidcalculatePixelBounds(PixelBounds pixelBounds, IconRow iconRow) Calculate style pixel bounds for the icon rowstatic voidcalculatePixelBounds(PixelBounds pixelBounds, IconRow iconRow, float density) Calculate style pixel bounds for the icon rowstatic voidcalculatePixelBounds(PixelBounds pixelBounds, StyleRow styleRow) Calculate style pixel bounds for the style rowstatic voidcalculatePixelBounds(PixelBounds pixelBounds, StyleRow styleRow, float density) Calculate style pixel bounds for the style rowintcountIconRowMappings(long id) Count the number of mappings to the icon row idintcountIconRowMappings(IconRow iconRow) Count the number of mappings to the icon rowintcountStyleRowMappings(long id) Count the number of mappings to the style row idintcountStyleRowMappings(StyleRow styleRow) Count the number of mappings to the style rowvoiddeleteAllFeatureStyles(String featureTable) Delete all feature styles including table styles, table icons, style, and iconsvoiddeleteAllFeatureStyles(FeatureTable featureTable) Delete all feature styles including table styles, table icons, style, and iconsvoiddeleteAllIcons(String featureTable) Delete all icons including table icons and feature row iconsvoiddeleteAllIcons(FeatureTable featureTable) Delete all icons including table icons and feature row iconsvoiddeleteAllStyles(String featureTable) Delete all styles including table styles and feature row stylesvoiddeleteAllStyles(FeatureTable featureTable) Delete all styles including table styles and feature row stylesvoiddeleteFeatureStyles(String featureTable) Delete all feature stylesvoiddeleteFeatureStyles(FeatureTable featureTable) Delete all feature stylesvoiddeleteIcon(String featureTable, 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(String featureTable, long featureId) Delete the feature row default iconvoiddeleteIconDefault(FeatureRow featureRow) Delete the feature row default iconintdeleteIconRow(long id) Delete an icon row by id and mappingsintdeleteIconRow(IconRow iconRow) Delete an icon row and mappingsintdeleteIconRowMappings(long id) Delete icon row mappingsintdeleteIconRowMappings(IconRow iconRow) Delete icon row mappingsintdeleteIconRowNotMapped(long id) Delete a icon row by id only if it has no mappingsintdeleteIconRowNotMapped(IconRow iconRow) Delete a icon row only if it has no mappingsintDelete all icon rows and mappings to themintdeleteIconRows(String whereClause, String[] whereArgs) Delete icon rows matching the where clause and mappings to themintdeleteIconRows(Map<String, Object> fieldValues) Delete icon rows matching the field values and mappings to themintDelete all icon rows if they have no mappingsintdeleteIconRowsNotMapped(String whereClause, String[] whereArgs) Delete icon rows matching the where clause if they have no mappingsintdeleteIconRowsNotMapped(Map<String, Object> fieldValues) Delete icon rows matching the field values if they have no mappingsvoiddeleteIcons(String featureTable) Delete all iconsvoiddeleteIcons(String featureTable, long featureId) Delete feature row iconsvoiddeleteIcons(FeatureRow featureRow) Delete feature row iconsvoiddeleteIcons(FeatureTable featureTable) Delete all iconsvoiddeleteStyle(String featureTable, 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(String featureTable, long featureId) Delete the feature row default stylevoiddeleteStyleDefault(FeatureRow featureRow) Delete the feature row default styleintdeleteStyleRow(long id) Delete a style row by id and mappingsintdeleteStyleRow(StyleRow styleRow) Delete a style row and mappingsintdeleteStyleRowMappings(long id) Delete style row mappingsintdeleteStyleRowMappings(StyleRow styleRow) Delete style row mappingsintdeleteStyleRowNotMapped(long id) Delete a style row by id only if it has no mappingsintdeleteStyleRowNotMapped(StyleRow styleRow) Delete a style row only if it has no mappingsintDelete all style rows and mappings to themintdeleteStyleRows(String whereClause, String[] whereArgs) Delete style rows matching the where clause and mappings to themintdeleteStyleRows(Map<String, Object> fieldValues) Delete style rows matching the field values and mappings to themintDelete all style rows if they have no mappingsintdeleteStyleRowsNotMapped(String whereClause, String[] whereArgs) Delete style rows matching the where clause if they have no mappingsintdeleteStyleRowsNotMapped(Map<String, Object> fieldValues) Delete style rows matching the field values if they have no mappingsvoiddeleteStyles(String featureTable) Delete all stylesvoiddeleteStyles(String featureTable, long featureId) Delete feature row stylesvoiddeleteStyles(FeatureRow featureRow) Delete feature row stylesvoiddeleteStyles(FeatureTable featureTable) Delete all stylesvoiddeleteTableFeatureStyles(String featureTable) Delete the feature table feature stylesvoiddeleteTableFeatureStyles(FeatureTable featureTable) Delete the feature table feature stylesvoiddeleteTableIcon(String featureTable, GeometryType geometryType) Delete the feature table icon for the geometry typevoiddeleteTableIcon(FeatureTable featureTable, GeometryType geometryType) Delete the feature table icon for the geometry typevoiddeleteTableIconDefault(String featureTable) Delete the feature table default iconvoiddeleteTableIconDefault(FeatureTable featureTable) Delete the feature table default iconvoiddeleteTableIcons(String featureTable) Delete the feature table iconsvoiddeleteTableIcons(FeatureTable featureTable) Delete the feature table iconsvoiddeleteTableStyle(String featureTable, GeometryType geometryType) Delete the feature table style for the geometry typevoiddeleteTableStyle(FeatureTable featureTable, GeometryType geometryType) Delete the feature table style for the geometry typevoiddeleteTableStyleDefault(String featureTable) Delete the feature table default stylevoiddeleteTableStyleDefault(FeatureTable featureTable) Delete the feature table default stylevoiddeleteTableStyles(String featureTable) Delete the feature table stylesvoiddeleteTableStyles(FeatureTable featureTable) Delete the feature table stylesgetAllIconIds(String featureTable) Get all the unique icon row ids the features map togetAllIconIds(FeatureTable featureTable) Get all the unique icon row ids the features map togetAllStyleIds(String featureTable) Get all the unique style row ids the features map togetAllStyleIds(FeatureTable featureTable) Get all the unique style row ids the features map togetAllTableIconIds(String featureTable) Get all the unique icon row ids the table maps togetAllTableIconIds(FeatureTable featureTable) Get all the unique icon row ids the table maps togetAllTableStyleIds(String featureTable) Get all the unique style row ids the table maps togetAllTableStyleIds(FeatureTable featureTable) Get all the unique style row ids the table maps togetFeatureIcons(String featureTable) Get all icons used by feature rows in the tablegetFeatureStyle(String featureTable, 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 icongetFeatureStyle(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 icongetFeatureStyle(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 icongetFeatureStyleDefault(String featureTable, 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 icongetFeatureStyleDefault(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 icongetFeatureStyles(String featureTable) Get all styles used by feature rows in the tablegetFeatureStyles(String featureTable, long featureId) Get the feature styles for the feature table and feature idgetFeatureStyles(FeatureRow featureRow) Get the feature styles for the feature rowgetIcon(String featureTable, 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 icongetIcon(String featureTable, long featureId, GeometryType geometryType, boolean tableIcon) Get the icon of the feature, searching in order: feature geometry type icon, feature default icon, when tableIcon enabled continue searching: table geometry type icon, table default icongetIcon(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 icongetIcon(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 iconGet a icon DAOgetIconDefault(String featureTable, long featureId) Get the default icon of the feature, searching in order: feature default icon, table default icongetIconDefault(String featureTable, long featureId, boolean tableIcon) Get the default icon of the feature, searching in order: feature default icon, when tableIcon enabled continue searching: table default icongetIconDefault(FeatureRow featureRow) Get the default icon of the feature row, searching in order: feature default icon, table default icongetIconMappingDao(String featureTable) Get a Icon Mapping DAOGet all icons used by the feature tableGet the icons for the feature table and feature idgetIcons(FeatureRow featureRow) Get the icons for the feature rowgetStyle(String featureTable, 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 stylegetStyle(String featureTable, long featureId, GeometryType geometryType, boolean tableStyle) Get the style of the feature, searching in order: feature geometry type style, feature default style, when tableStyle enabled continue searching: table geometry type style, table default stylegetStyle(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 stylegetStyle(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 styleGet a style DAOgetStyleDefault(String featureTable, long featureId) Get the default style of the feature, searching in order: feature default style, table default stylegetStyleDefault(String featureTable, long featureId, boolean tableStyle) Get the default style of the feature, searching in order: feature default style, when tableStyle enabled continue searching: table default stylegetStyleDefault(FeatureRow featureRow) Get the default style of the feature row, searching in order: feature default style, table default stylegetStyleMappingDao(String featureTable) Get a Style Mapping DAOGet all styles used by the feature tableGet the styles for the feature table and feature idgetStyles(FeatureRow featureRow) Get the styles for the feature rowgetTableFeatureStyles(String featureTable) Get the feature table default feature stylesgetTableFeatureStyles(FeatureTable featureTable) Get the feature table default feature stylesgetTableIcon(String featureTable, GeometryType geometryType) Get the icon of the feature table and geometry typegetTableIconDefault(String featureTable) Get the default icon of the feature tablegetTableIconMappingDao(String featureTable) Get a Table Icon Mapping DAOgetTableIcons(String featureTable) Get the feature table default iconsgetTableIcons(FeatureTable featureTable) Get the feature table default iconsgetTableStyle(String featureTable, GeometryType geometryType) Get the style of the feature table and geometry typegetTableStyleDefault(String featureTable) Get the default style of the feature tablegetTableStyleMappingDao(String featureTable) Get a Table Style Mapping DAOgetTableStyles(String featureTable) Get the feature table default stylesgetTableStyles(FeatureTable featureTable) Get the feature table default stylesbooleanhasIconRowMapping(long id) Determine if a mapping to the icon row id existsbooleanhasIconRowMapping(IconRow iconRow) Determine if a mapping to the icon row existsbooleanhasStyleRowMapping(long id) Determine if a mapping to the style row id existsbooleanhasStyleRowMapping(StyleRow styleRow) Determine if a mapping to the style row existsvoidsetFeatureStyle(String featureTable, 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(String featureTable, 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(String featureTable, 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(String featureTable, 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(String featureTable, long featureId, IconRow icon) Set the default icon of the featurevoidsetIconDefault(FeatureRow featureRow, IconRow icon) Set the default icon of the feature rowvoidSet the icons for the feature table and feature idvoidsetIcons(FeatureRow featureRow, Icons icons) Set the icons for the feature rowvoidsetStyle(String featureTable, 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(String featureTable, long featureId, StyleRow style) Set the default style of the featurevoidsetStyleDefault(FeatureRow featureRow, StyleRow style) Set the default style of the feature rowvoidSet the styles for the feature table and feature idvoidsetStyles(FeatureRow featureRow, Styles styles) Set the styles for the feature rowvoidsetTableFeatureStyles(String featureTable, FeatureStyles featureStyles) Set the feature table default feature stylesvoidsetTableFeatureStyles(FeatureTable featureTable, FeatureStyles featureStyles) Set the feature table default feature stylesvoidsetTableIcon(String featureTable, GeometryType geometryType, IconRow icon) Set the feature table icon for the geometry typevoidsetTableIcon(FeatureTable featureTable, GeometryType geometryType, IconRow icon) Set the feature table icon for the geometry typevoidsetTableIconDefault(String featureTable, IconRow icon) Set the feature table icon defaultvoidsetTableIconDefault(FeatureTable featureTable, IconRow icon) Set the feature table icon defaultvoidsetTableIcons(String featureTable, Icons icons) Set the feature table default iconsvoidsetTableIcons(FeatureTable featureTable, Icons icons) Set the feature table default iconsvoidsetTableStyle(String featureTable, GeometryType geometryType, StyleRow style) Set the feature table style for the geometry typevoidsetTableStyle(FeatureTable featureTable, GeometryType geometryType, StyleRow style) Set the feature table style for the geometry typevoidsetTableStyleDefault(String featureTable, StyleRow style) Set the feature table style defaultvoidsetTableStyleDefault(FeatureTable featureTable, StyleRow style) Set the feature table style defaultvoidsetTableStyles(String featureTable, Styles styles) Set the feature table default stylesvoidsetTableStyles(FeatureTable featureTable, Styles styles) Set the feature table default stylesMethods inherited from class mil.nga.geopackage.extension.nga.style.FeatureCoreStyleExtension
createIconRelationship, createIconTable, createRelationships, createStyleRelationship, createStyleTable, createTableIconRelationship, createTableStyleRelationship, deleteIconRelationship, deleteRelationships, deleteRelationships, deleteStyleRelationship, deleteTableIconRelationship, deleteTableStyleRelationship, get, getContentsId, getIconTableRelations, getMappingTableName, getStyleTableRelations, getTables, has, has, hasIconRelationship, hasIconTableRelations, hasRelationship, hasStyleRelationship, hasStyleTableRelations, hasTableIconRelationship, hasTableStyleRelationship, removeExtensionMethods inherited from class mil.nga.geopackage.extension.BaseExtension
createDao, get, getExtensions, getExtensions, getExtensionsDao, getOrCreate, has, has, verifyWritable
-
Field Details
-
Constructor Details
-
FeatureStyleExtension
Constructor- Parameters:
geoPackage- GeoPackage
-
-
Method Details
-
getGeoPackage
- Overrides:
getGeoPackagein classBaseExtension
-
getRelatedTables
- Overrides:
getRelatedTablesin classFeatureCoreStyleExtension
-
getStyleMappingDao
Get a Style Mapping DAO- Parameters:
featureTable- feature table- Returns:
- style mapping DAO
-
getTableStyleMappingDao
Get a Table Style Mapping DAO- Parameters:
featureTable- feature table- Returns:
- table style mapping DAO
-
getIconMappingDao
Get a Icon Mapping DAO- Parameters:
featureTable- feature table- Returns:
- icon mapping DAO
-
getTableIconMappingDao
Get a Table Icon Mapping DAO- Parameters:
featureTable- feature table- Returns:
- table icon mapping DAO
-
getStyleDao
Get a style DAO- Returns:
- style DAO
-
getIconDao
Get a icon DAO- Returns:
- icon DAO
-
getTableFeatureStyles
Get the feature table default feature styles- Parameters:
featureTable- feature table- Returns:
- table feature styles or null
-
getTableFeatureStyles
Get the feature table default feature styles- Parameters:
featureTable- feature table- Returns:
- table feature styles or null
-
getTableStyles
Get the feature table default styles- Parameters:
featureTable- feature table- Returns:
- table styles or null
-
getTableStyles
Get the feature table default styles- Parameters:
featureTable- feature table- Returns:
- table styles or null
-
getTableStyle
Get the style of the feature table and geometry type- Parameters:
featureTable- feature tablegeometryType- geometry type- Returns:
- style row
-
getTableStyleDefault
Get the default style of the feature table- Parameters:
featureTable- feature table- Returns:
- style row
-
getTableIcons
Get the feature table default icons- Parameters:
featureTable- feature table- Returns:
- table icons or null
-
getTableIcons
Get the feature table default icons- Parameters:
featureTable- feature table- Returns:
- table icons or null
-
getTableIconDefault
Get the default icon of the feature table- Parameters:
featureTable- feature table- Returns:
- icon row
-
getTableIcon
Get the icon of the feature table and geometry type- Parameters:
featureTable- feature tablegeometryType- geometry type- Returns:
- icon row
-
getStyles
Get all styles used by the feature table- Parameters:
featureTable- feature table- Returns:
- style rows mapped by ids
- Since:
- 6.3.0
-
getFeatureStyles
Get all styles used by feature rows in the table- Parameters:
featureTable- feature table- Returns:
- style rows mapped by ids
- Since:
- 6.3.0
-
getIcons
Get all icons used by the feature table- Parameters:
featureTable- feature table- Returns:
- icon rows mapped by ids
- Since:
- 6.3.0
-
getFeatureIcons
Get all icons used by feature rows in the table- Parameters:
featureTable- feature table- Returns:
- icon rows mapped by ids
- Since:
- 6.3.0
-
getFeatureStyles
Get the feature styles for the feature row- Parameters:
featureRow- feature row- Returns:
- feature styles or null
-
getFeatureStyles
Get the feature styles for the feature table and feature id- Parameters:
featureTable- feature tablefeatureId- feature id- Returns:
- feature styles or null
-
getFeatureStyle
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
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
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
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:
featureTable- feature tablefeatureId- feature idgeometryType- geometry type- Returns:
- feature style
-
getFeatureStyleDefault
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:
featureTable- feature tablefeatureId- feature id- Returns:
- feature style
-
getStyles
Get the styles for the feature row- Parameters:
featureRow- feature row- Returns:
- styles or null
-
getStyles
Get the styles for the feature table and feature id- Parameters:
featureTable- feature tablefeatureId- feature id- Returns:
- styles or null
-
getStyle
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
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
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
Get the style of the feature, searching in order: feature geometry type style, feature default style, table geometry type style, table default style- Parameters:
featureTable- feature tablefeatureId- feature idgeometryType- geometry type- Returns:
- style row
-
getStyleDefault
Get the default style of the feature, searching in order: feature default style, table default style- Parameters:
featureTable- feature tablefeatureId- feature id- Returns:
- style row
-
getStyle
public StyleRow getStyle(String featureTable, long featureId, GeometryType geometryType, boolean tableStyle) Get the style of the feature, searching in order: feature geometry type style, feature default style, when tableStyle enabled continue searching: table geometry type style, table default style- Parameters:
featureTable- feature tablefeatureId- feature idgeometryType- geometry typetableStyle- when true and a feature style is not found, query for a matching table style- Returns:
- style row
-
getStyleDefault
Get the default style of the feature, searching in order: feature default style, when tableStyle enabled continue searching: table default style- Parameters:
featureTable- feature tablefeatureId- feature idtableStyle- when true and a feature style is not found, query for a matching table style- Returns:
- style row
-
getIcons
Get the icons for the feature row- Parameters:
featureRow- feature row- Returns:
- icons or null
-
getIcons
Get the icons for the feature table and feature id- Parameters:
featureTable- feature tablefeatureId- feature id- Returns:
- icons or null
-
getIcon
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
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
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
Get the icon of the feature, searching in order: feature geometry type icon, feature default icon, table geometry type icon, table default icon- Parameters:
featureTable- feature tablefeatureId- feature idgeometryType- geometry type- Returns:
- icon row
-
getIconDefault
Get the default icon of the feature, searching in order: feature default icon, table default icon- Parameters:
featureTable- feature tablefeatureId- feature id- Returns:
- icon row
-
getIcon
public IconRow getIcon(String featureTable, long featureId, GeometryType geometryType, boolean tableIcon) Get the icon of the feature, searching in order: feature geometry type icon, feature default icon, when tableIcon enabled continue searching: table geometry type icon, table default icon- Parameters:
featureTable- feature tablefeatureId- feature idgeometryType- geometry typetableIcon- when true and a feature icon is not found, query for a matching table icon- Returns:
- icon row
-
getIconDefault
Get the default icon of the feature, searching in order: feature default icon, when tableIcon enabled continue searching: table default icon- Parameters:
featureTable- feature tablefeatureId- feature idtableIcon- when true and a feature icon is not found, query for a matching table icon- Returns:
- icon row
-
setTableFeatureStyles
Set the feature table default feature styles- Parameters:
featureTable- feature tablefeatureStyles- default feature styles
-
setTableFeatureStyles
Set the feature table default feature styles- Parameters:
featureTable- feature tablefeatureStyles- default feature styles
-
setTableStyles
Set the feature table default styles- Parameters:
featureTable- feature tablestyles- default styles
-
setTableStyles
Set the feature table default styles- Parameters:
featureTable- feature tablestyles- default styles
-
setTableStyleDefault
Set the feature table style default- Parameters:
featureTable- feature tablestyle- style row
-
setTableStyleDefault
Set the feature table style default- Parameters:
featureTable- feature tablestyle- style row
-
setTableStyle
Set the feature table style for the geometry type- Parameters:
featureTable- feature tablegeometryType- geometry typestyle- style row
-
setTableStyle
Set the feature table style for the geometry type- Parameters:
featureTable- feature tablegeometryType- geometry typestyle- style row
-
setTableIcons
Set the feature table default icons- Parameters:
featureTable- feature tableicons- default icons
-
setTableIcons
Set the feature table default icons- Parameters:
featureTable- feature tableicons- default icons
-
setTableIconDefault
Set the feature table icon default- Parameters:
featureTable- feature tableicon- icon row
-
setTableIconDefault
Set the feature table icon default- Parameters:
featureTable- feature tableicon- icon row
-
setTableIcon
Set the feature table icon for the geometry type- Parameters:
featureTable- feature tablegeometryType- geometry typeicon- icon row
-
setTableIcon
Set the feature table icon for the geometry type- Parameters:
featureTable- feature tablegeometryType- geometry typeicon- icon row
-
setFeatureStyles
Set the feature styles for the feature row- Parameters:
featureRow- feature rowfeatureStyles- feature styles
-
setFeatureStyles
Set the feature styles for the feature table and feature id- Parameters:
featureTable- feature tablefeatureId- feature idfeatureStyles- feature styles
-
setFeatureStyle
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
Set the feature style default (style and icon) of the feature row- Parameters:
featureRow- feature rowfeatureStyle- feature style
-
setFeatureStyle
public void setFeatureStyle(String featureTable, long featureId, GeometryType geometryType, FeatureStyle featureStyle) Set the feature style (style and icon) of the feature- Parameters:
featureTable- feature tablefeatureId- feature idgeometryType- geometry typefeatureStyle- feature style
-
setFeatureStyleDefault
Set the feature style (style and icon) of the feature- Parameters:
featureTable- feature tablefeatureId- feature idfeatureStyle- feature style
-
setStyles
Set the styles for the feature row- Parameters:
featureRow- feature rowstyles- styles
-
setStyles
Set the styles for the feature table and feature id- Parameters:
featureTable- feature tablefeatureId- feature idstyles- styles
-
setStyle
Set the style of the feature row- Parameters:
featureRow- feature rowstyle- style row
-
setStyle
Set the style of the feature row for the specified geometry type- Parameters:
featureRow- feature rowgeometryType- geometry typestyle- style row
-
setStyleDefault
Set the default style of the feature row- Parameters:
featureRow- feature rowstyle- style row
-
setStyle
public void setStyle(String featureTable, long featureId, GeometryType geometryType, StyleRow style) Set the style of the feature- Parameters:
featureTable- feature tablefeatureId- feature idgeometryType- geometry typestyle- style row
-
setStyleDefault
Set the default style of the feature- Parameters:
featureTable- feature tablefeatureId- feature idstyle- style row
-
setIcons
Set the icons for the feature row- Parameters:
featureRow- feature rowicons- icons
-
setIcons
Set the icons for the feature table and feature id- Parameters:
featureTable- feature tablefeatureId- feature idicons- icons
-
setIcon
Set the icon of the feature row- Parameters:
featureRow- feature rowicon- icon row
-
setIcon
Set the icon of the feature row for the specified geometry type- Parameters:
featureRow- feature rowgeometryType- geometry typeicon- icon row
-
setIconDefault
Set the default icon of the feature row- Parameters:
featureRow- feature rowicon- icon row
-
setIcon
Get the icon of the feature, searching in order: feature geometry type icon, feature default icon, table geometry type icon, table default icon- Parameters:
featureTable- feature tablefeatureId- feature idgeometryType- geometry typeicon- icon row
-
setIconDefault
Set the default icon of the feature- Parameters:
featureTable- feature tablefeatureId- feature idicon- icon row
-
deleteAllFeatureStyles
Delete all feature styles including table styles, table icons, style, and icons- Parameters:
featureTable- feature table
-
deleteAllFeatureStyles
Delete all feature styles including table styles, table icons, style, and icons- Parameters:
featureTable- feature table
-
deleteAllStyles
Delete all styles including table styles and feature row styles- Parameters:
featureTable- feature table
-
deleteAllStyles
Delete all styles including table styles and feature row styles- Parameters:
featureTable- feature table
-
deleteAllIcons
Delete all icons including table icons and feature row icons- Parameters:
featureTable- feature table
-
deleteAllIcons
Delete all icons including table icons and feature row icons- Parameters:
featureTable- feature table
-
deleteTableFeatureStyles
Delete the feature table feature styles- Parameters:
featureTable- feature table
-
deleteTableFeatureStyles
Delete the feature table feature styles- Parameters:
featureTable- feature table
-
deleteTableStyles
Delete the feature table styles- Parameters:
featureTable- feature table
-
deleteTableStyles
Delete the feature table styles- Parameters:
featureTable- feature table
-
deleteTableStyleDefault
Delete the feature table default style- Parameters:
featureTable- feature table
-
deleteTableStyleDefault
Delete the feature table default style- Parameters:
featureTable- feature table
-
deleteTableStyle
Delete the feature table style for the geometry type- Parameters:
featureTable- feature tablegeometryType- geometry type
-
deleteTableStyle
Delete the feature table style for the geometry type- Parameters:
featureTable- feature tablegeometryType- geometry type
-
deleteTableIcons
Delete the feature table icons- Parameters:
featureTable- feature table
-
deleteTableIcons
Delete the feature table icons- Parameters:
featureTable- feature table
-
deleteTableIconDefault
Delete the feature table default icon- Parameters:
featureTable- feature table
-
deleteTableIconDefault
Delete the feature table default icon- Parameters:
featureTable- feature table
-
deleteTableIcon
Delete the feature table icon for the geometry type- Parameters:
featureTable- feature tablegeometryType- geometry type
-
deleteTableIcon
Delete the feature table icon for the geometry type- Parameters:
featureTable- feature tablegeometryType- geometry type
-
deleteFeatureStyles
Delete all feature styles- Parameters:
featureTable- feature table
-
deleteFeatureStyles
Delete all feature styles- Parameters:
featureTable- feature table
-
deleteStyles
Delete all styles- Parameters:
featureTable- feature table
-
deleteStyles
Delete all styles- Parameters:
featureTable- feature table
-
deleteStyles
Delete feature row styles- Parameters:
featureRow- feature row
-
deleteStyles
Delete feature row styles- Parameters:
featureTable- feature tablefeatureId- feature id
-
deleteStyleDefault
Delete the feature row default style- Parameters:
featureRow- feature row
-
deleteStyleDefault
Delete the feature row default style- Parameters:
featureTable- feature tablefeatureId- feature id
-
deleteStyle
Delete the feature row style for the feature row geometry type- Parameters:
featureRow- feature row
-
deleteStyle
Delete the feature row style for the geometry type- Parameters:
featureRow- feature rowgeometryType- geometry type
-
deleteStyle
Delete the feature row style for the geometry type- Parameters:
featureTable- feature tablefeatureId- feature idgeometryType- geometry type
-
deleteIcons
Delete all icons- Parameters:
featureTable- feature table
-
deleteIcons
Delete all icons- Parameters:
featureTable- feature table
-
deleteIcons
Delete feature row icons- Parameters:
featureRow- feature row
-
deleteIcons
Delete feature row icons- Parameters:
featureTable- feature tablefeatureId- feature id
-
deleteIconDefault
Delete the feature row default icon- Parameters:
featureRow- feature row
-
deleteIconDefault
Delete the feature row default icon- Parameters:
featureTable- feature tablefeatureId- feature id
-
deleteIcon
Delete the feature row icon for the feature row geometry type- Parameters:
featureRow- feature row
-
deleteIcon
Delete the feature row icon for the geometry type- Parameters:
featureRow- feature rowgeometryType- geometry type
-
deleteIcon
Delete the feature row icon for the geometry type- Parameters:
featureTable- feature tablefeatureId- feature idgeometryType- geometry type
-
countStyleRowMappings
Count the number of mappings to the style row- Parameters:
styleRow- style row- Returns:
- mappings count
- Throws:
SQLException- upon failure- Since:
- 6.3.0
-
countStyleRowMappings
Count the number of mappings to the style row id- Parameters:
id- style row id- Returns:
- mappings count
- Throws:
SQLException- upon failure- Since:
- 6.3.0
-
hasStyleRowMapping
Determine if a mapping to the style row exists- Parameters:
styleRow- style row- Returns:
- true if mapping exists
- Throws:
SQLException- upon failure- Since:
- 6.3.0
-
hasStyleRowMapping
Determine if a mapping to the style row id exists- Parameters:
id- style row id- Returns:
- true if mapping exists
- Throws:
SQLException- upon failure- Since:
- 6.3.0
-
deleteStyleRowMappings
Delete style row mappings- Parameters:
styleRow- style row- Returns:
- number of mapping rows deleted
- Throws:
SQLException- upon failure- Since:
- 6.3.0
-
deleteStyleRowMappings
Delete style row mappings- Parameters:
id- style row id- Returns:
- number of mapping rows deleted
- Throws:
SQLException- upon failure- Since:
- 6.3.0
-
deleteStyleRow
Delete a style row and mappings- Parameters:
styleRow- style row- Returns:
- number of rows deleted between the style and mapping tables
- Throws:
SQLException- upon failure- Since:
- 6.3.0
-
deleteStyleRowNotMapped
Delete a style row only if it has no mappings- Parameters:
styleRow- style row- Returns:
- number of style rows deleted
- Throws:
SQLException- upon failure- Since:
- 6.3.0
-
deleteStyleRow
Delete a style row by id and mappings- Parameters:
id- style row id- Returns:
- number of rows deleted between the style and mapping tables
- Throws:
SQLException- upon failure- Since:
- 6.3.0
-
deleteStyleRowNotMapped
Delete a style row by id only if it has no mappings- Parameters:
id- style row id- Returns:
- number of style rows deleted
- Throws:
SQLException- upon failure- Since:
- 6.3.0
-
deleteStyleRows
Delete style rows matching the where clause and mappings to them- Parameters:
whereClause- where clausewhereArgs- where arguments- Returns:
- deleted count
- Throws:
SQLException- upon failure- Since:
- 6.3.0
-
deleteStyleRowsNotMapped
Delete style rows matching the where clause if they have no mappings- Parameters:
whereClause- where clausewhereArgs- where arguments- Returns:
- deleted count
- Throws:
SQLException- upon failure- Since:
- 6.3.0
-
deleteStyleRows
Delete style rows matching the field values and mappings to them- Parameters:
fieldValues- field values- Returns:
- deleted count
- Throws:
SQLException- upon failure- Since:
- 6.3.0
-
deleteStyleRowsNotMapped
Delete style rows matching the field values if they have no mappings- Parameters:
fieldValues- field values- Returns:
- deleted count
- Throws:
SQLException- upon failure- Since:
- 6.3.0
-
deleteStyleRows
Delete all style rows and mappings to them- Returns:
- deleted count
- Throws:
SQLException- upon failure- Since:
- 6.3.0
-
deleteStyleRowsNotMapped
Delete all style rows if they have no mappings- Returns:
- deleted count
- Throws:
SQLException- upon failure- Since:
- 6.3.0
-
countIconRowMappings
Count the number of mappings to the icon row- Parameters:
iconRow- icon row- Returns:
- mappings count
- Throws:
SQLException- upon failure- Since:
- 6.3.0
-
countIconRowMappings
Count the number of mappings to the icon row id- Parameters:
id- icon row id- Returns:
- mappings count
- Throws:
SQLException- upon failure- Since:
- 6.3.0
-
hasIconRowMapping
Determine if a mapping to the icon row exists- Parameters:
iconRow- icon row- Returns:
- true if mapping exists
- Throws:
SQLException- upon failure- Since:
- 6.3.0
-
hasIconRowMapping
Determine if a mapping to the icon row id exists- Parameters:
id- icon row id- Returns:
- true if mapping exists
- Throws:
SQLException- upon failure- Since:
- 6.3.0
-
deleteIconRowMappings
Delete icon row mappings- Parameters:
iconRow- icon row- Returns:
- number of mapping rows deleted
- Throws:
SQLException- upon failure- Since:
- 6.3.0
-
deleteIconRowMappings
Delete icon row mappings- Parameters:
id- icon row id- Returns:
- number of mapping rows deleted
- Throws:
SQLException- upon failure- Since:
- 6.3.0
-
deleteIconRow
Delete an icon row and mappings- Parameters:
iconRow- icon row- Returns:
- number of rows deleted between the icon and mapping tables
- Throws:
SQLException- upon failure- Since:
- 6.3.0
-
deleteIconRowNotMapped
Delete a icon row only if it has no mappings- Parameters:
iconRow- icon row- Returns:
- number of icon rows deleted
- Throws:
SQLException- upon failure- Since:
- 6.3.0
-
deleteIconRow
Delete an icon row by id and mappings- Parameters:
id- icon row id- Returns:
- number of rows deleted between the icon and mapping tables
- Throws:
SQLException- upon failure- Since:
- 6.3.0
-
deleteIconRowNotMapped
Delete a icon row by id only if it has no mappings- Parameters:
id- icon row id- Returns:
- number of icon rows deleted
- Throws:
SQLException- upon failure- Since:
- 6.3.0
-
deleteIconRows
Delete icon rows matching the where clause and mappings to them- Parameters:
whereClause- where clausewhereArgs- where arguments- Returns:
- deleted count
- Throws:
SQLException- upon failure- Since:
- 6.3.0
-
deleteIconRowsNotMapped
Delete icon rows matching the where clause if they have no mappings- Parameters:
whereClause- where clausewhereArgs- where arguments- Returns:
- deleted count
- Throws:
SQLException- upon failure- Since:
- 6.3.0
-
deleteIconRows
Delete icon rows matching the field values and mappings to them- Parameters:
fieldValues- field values- Returns:
- deleted count
- Throws:
SQLException- upon failure- Since:
- 6.3.0
-
deleteIconRowsNotMapped
Delete icon rows matching the field values if they have no mappings- Parameters:
fieldValues- field values- Returns:
- deleted count
- Throws:
SQLException- upon failure- Since:
- 6.3.0
-
deleteIconRows
Delete all icon rows and mappings to them- Returns:
- deleted count
- Throws:
SQLException- upon failure- Since:
- 6.3.0
-
deleteIconRowsNotMapped
Delete all icon rows if they have no mappings- Returns:
- deleted count
- Throws:
SQLException- upon failure- Since:
- 6.3.0
-
getAllTableStyleIds
Get all the unique style row ids the table maps to- Parameters:
featureTable- feature table- Returns:
- style row ids
-
getAllTableStyleIds
Get all the unique style row ids the table maps to- Parameters:
featureTable- feature table- Returns:
- style row ids
-
getAllTableIconIds
Get all the unique icon row ids the table maps to- Parameters:
featureTable- feature table- Returns:
- icon row ids
-
getAllTableIconIds
Get all the unique icon row ids the table maps to- Parameters:
featureTable- feature table- Returns:
- icon row ids
-
getAllStyleIds
Get all the unique style row ids the features map to- Parameters:
featureTable- feature table- Returns:
- style row ids
-
getAllStyleIds
Get all the unique style row ids the features map to- Parameters:
featureTable- feature table- Returns:
- style row ids
-
getAllIconIds
Get all the unique icon row ids the features map to- Parameters:
featureTable- feature table- Returns:
- icon row ids
-
getAllIconIds
Get all the unique icon row ids the features map to- Parameters:
featureTable- feature table- Returns:
- icon row ids
-
calculatePixelBounds
Calculate style pixel bounds- Parameters:
featureTable- feature table- Returns:
- pixel bounds
- Since:
- 6.3.0
-
calculatePixelBounds
Calculate style pixel bounds for the feature table- Parameters:
featureTable- feature tabledensity- display density:DisplayMetrics.density- Returns:
- pixel bounds
- Since:
- 6.3.0
-
calculatePixelBounds
Calculate style pixel bounds for the style row- Parameters:
styleRow- style row- Returns:
- pixel bounds
- Since:
- 6.3.0
-
calculatePixelBounds
Calculate style pixel bounds for the style row- Parameters:
styleRow- style rowdensity- display density:DisplayMetrics.density- Returns:
- pixel bounds
- Since:
- 6.3.0
-
calculatePixelBounds
Calculate style pixel bounds for the style row- Parameters:
pixelBounds- pixel bounds to expandstyleRow- style row- Since:
- 6.3.0
-
calculatePixelBounds
Calculate style pixel bounds for the style row- Parameters:
pixelBounds- pixel bounds to expandstyleRow- style rowdensity- display density:DisplayMetrics.density- Since:
- 6.3.0
-
calculatePixelBounds
Calculate style pixel bounds for the icon row- Parameters:
iconRow- icon row- Returns:
- pixel bounds
- Since:
- 6.3.0
-
calculatePixelBounds
Calculate style pixel bounds for the icon row- Parameters:
iconRow- icon rowdensity- display density:DisplayMetrics.density- Returns:
- pixel bounds
- Since:
- 6.3.0
-
calculatePixelBounds
Calculate style pixel bounds for the icon row- Parameters:
pixelBounds- pixel bounds to expandiconRow- icon row- Since:
- 6.3.0
-
calculatePixelBounds
Calculate style pixel bounds for the icon row- Parameters:
pixelBounds- pixel bounds to expandiconRow- icon rowdensity- display density:DisplayMetrics.density- Since:
- 6.3.0
-