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
Fields 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_STYLE
Fields inherited from class mil.nga.geopackage.extension.BaseExtension
extensionsDao, geoPackage
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncalculatePixelBounds
(String featureTable) Calculate style pixel boundscalculatePixelBounds
(String featureTable, float density) Calculate style pixel bounds for the feature tablestatic PixelBounds
calculatePixelBounds
(IconRow iconRow) Calculate style pixel bounds for the icon rowstatic PixelBounds
calculatePixelBounds
(IconRow iconRow, float density) Calculate style pixel bounds for the icon rowstatic PixelBounds
calculatePixelBounds
(StyleRow styleRow) Calculate style pixel bounds for the style rowstatic PixelBounds
calculatePixelBounds
(StyleRow styleRow, float density) Calculate style pixel bounds for the style rowstatic void
calculatePixelBounds
(PixelBounds pixelBounds, IconRow iconRow) Calculate style pixel bounds for the icon rowstatic void
calculatePixelBounds
(PixelBounds pixelBounds, IconRow iconRow, float density) Calculate style pixel bounds for the icon rowstatic void
calculatePixelBounds
(PixelBounds pixelBounds, StyleRow styleRow) Calculate style pixel bounds for the style rowstatic void
calculatePixelBounds
(PixelBounds pixelBounds, StyleRow styleRow, float density) Calculate style pixel bounds for the style rowint
countIconRowMappings
(long id) Count the number of mappings to the icon row idint
countIconRowMappings
(IconRow iconRow) Count the number of mappings to the icon rowint
countStyleRowMappings
(long id) Count the number of mappings to the style row idint
countStyleRowMappings
(StyleRow styleRow) Count the number of mappings to the style rowvoid
deleteAllFeatureStyles
(String featureTable) Delete all feature styles including table styles, table icons, style, and iconsvoid
deleteAllFeatureStyles
(FeatureTable featureTable) Delete all feature styles including table styles, table icons, style, and iconsvoid
deleteAllIcons
(String featureTable) Delete all icons including table icons and feature row iconsvoid
deleteAllIcons
(FeatureTable featureTable) Delete all icons including table icons and feature row iconsvoid
deleteAllStyles
(String featureTable) Delete all styles including table styles and feature row stylesvoid
deleteAllStyles
(FeatureTable featureTable) Delete all styles including table styles and feature row stylesvoid
deleteFeatureStyles
(String featureTable) Delete all feature stylesvoid
deleteFeatureStyles
(FeatureTable featureTable) Delete all feature stylesvoid
deleteIcon
(String featureTable, long featureId, GeometryType geometryType) Delete the feature row icon for the geometry typevoid
deleteIcon
(FeatureRow featureRow) Delete the feature row icon for the feature row geometry typevoid
deleteIcon
(FeatureRow featureRow, GeometryType geometryType) Delete the feature row icon for the geometry typevoid
deleteIconDefault
(String featureTable, long featureId) Delete the feature row default iconvoid
deleteIconDefault
(FeatureRow featureRow) Delete the feature row default iconint
deleteIconRow
(long id) Delete an icon row by id and mappingsint
deleteIconRow
(IconRow iconRow) Delete an icon row and mappingsint
deleteIconRowMappings
(long id) Delete icon row mappingsint
deleteIconRowMappings
(IconRow iconRow) Delete icon row mappingsint
deleteIconRowNotMapped
(long id) Delete a icon row by id only if it has no mappingsint
deleteIconRowNotMapped
(IconRow iconRow) Delete a icon row only if it has no mappingsint
Delete all icon rows and mappings to themint
deleteIconRows
(String whereClause, String[] whereArgs) Delete icon rows matching the where clause and mappings to themint
deleteIconRows
(Map<String, Object> fieldValues) Delete icon rows matching the field values and mappings to themint
Delete all icon rows if they have no mappingsint
deleteIconRowsNotMapped
(String whereClause, String[] whereArgs) Delete icon rows matching the where clause if they have no mappingsint
deleteIconRowsNotMapped
(Map<String, Object> fieldValues) Delete icon rows matching the field values if they have no mappingsvoid
deleteIcons
(String featureTable) Delete all iconsvoid
deleteIcons
(String featureTable, long featureId) Delete feature row iconsvoid
deleteIcons
(FeatureRow featureRow) Delete feature row iconsvoid
deleteIcons
(FeatureTable featureTable) Delete all iconsvoid
deleteStyle
(String featureTable, long featureId, GeometryType geometryType) Delete the feature row style for the geometry typevoid
deleteStyle
(FeatureRow featureRow) Delete the feature row style for the feature row geometry typevoid
deleteStyle
(FeatureRow featureRow, GeometryType geometryType) Delete the feature row style for the geometry typevoid
deleteStyleDefault
(String featureTable, long featureId) Delete the feature row default stylevoid
deleteStyleDefault
(FeatureRow featureRow) Delete the feature row default styleint
deleteStyleRow
(long id) Delete a style row by id and mappingsint
deleteStyleRow
(StyleRow styleRow) Delete a style row and mappingsint
deleteStyleRowMappings
(long id) Delete style row mappingsint
deleteStyleRowMappings
(StyleRow styleRow) Delete style row mappingsint
deleteStyleRowNotMapped
(long id) Delete a style row by id only if it has no mappingsint
deleteStyleRowNotMapped
(StyleRow styleRow) Delete a style row only if it has no mappingsint
Delete all style rows and mappings to themint
deleteStyleRows
(String whereClause, String[] whereArgs) Delete style rows matching the where clause and mappings to themint
deleteStyleRows
(Map<String, Object> fieldValues) Delete style rows matching the field values and mappings to themint
Delete all style rows if they have no mappingsint
deleteStyleRowsNotMapped
(String whereClause, String[] whereArgs) Delete style rows matching the where clause if they have no mappingsint
deleteStyleRowsNotMapped
(Map<String, Object> fieldValues) Delete style rows matching the field values if they have no mappingsvoid
deleteStyles
(String featureTable) Delete all stylesvoid
deleteStyles
(String featureTable, long featureId) Delete feature row stylesvoid
deleteStyles
(FeatureRow featureRow) Delete feature row stylesvoid
deleteStyles
(FeatureTable featureTable) Delete all stylesvoid
deleteTableFeatureStyles
(String featureTable) Delete the feature table feature stylesvoid
deleteTableFeatureStyles
(FeatureTable featureTable) Delete the feature table feature stylesvoid
deleteTableIcon
(String featureTable, GeometryType geometryType) Delete the feature table icon for the geometry typevoid
deleteTableIcon
(FeatureTable featureTable, GeometryType geometryType) Delete the feature table icon for the geometry typevoid
deleteTableIconDefault
(String featureTable) Delete the feature table default iconvoid
deleteTableIconDefault
(FeatureTable featureTable) Delete the feature table default iconvoid
deleteTableIcons
(String featureTable) Delete the feature table iconsvoid
deleteTableIcons
(FeatureTable featureTable) Delete the feature table iconsvoid
deleteTableStyle
(String featureTable, GeometryType geometryType) Delete the feature table style for the geometry typevoid
deleteTableStyle
(FeatureTable featureTable, GeometryType geometryType) Delete the feature table style for the geometry typevoid
deleteTableStyleDefault
(String featureTable) Delete the feature table default stylevoid
deleteTableStyleDefault
(FeatureTable featureTable) Delete the feature table default stylevoid
deleteTableStyles
(String featureTable) Delete the feature table stylesvoid
deleteTableStyles
(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 stylesboolean
hasIconRowMapping
(long id) Determine if a mapping to the icon row id existsboolean
hasIconRowMapping
(IconRow iconRow) Determine if a mapping to the icon row existsboolean
hasStyleRowMapping
(long id) Determine if a mapping to the style row id existsboolean
hasStyleRowMapping
(StyleRow styleRow) Determine if a mapping to the style row existsvoid
setFeatureStyle
(String featureTable, long featureId, GeometryType geometryType, FeatureStyle featureStyle) Set the feature style (style and icon) of the featurevoid
setFeatureStyle
(FeatureRow featureRow, FeatureStyle featureStyle) Set the feature style (style and icon) of the feature rowvoid
setFeatureStyle
(FeatureRow featureRow, GeometryType geometryType, FeatureStyle featureStyle) Set the feature style (style and icon) of the feature row for the specified geometry typevoid
setFeatureStyleDefault
(String featureTable, long featureId, FeatureStyle featureStyle) Set the feature style (style and icon) of the featurevoid
setFeatureStyleDefault
(FeatureRow featureRow, FeatureStyle featureStyle) Set the feature style default (style and icon) of the feature rowvoid
setFeatureStyles
(String featureTable, long featureId, FeatureStyles featureStyles) Set the feature styles for the feature table and feature idvoid
setFeatureStyles
(FeatureRow featureRow, FeatureStyles featureStyles) Set the feature styles for the feature rowvoid
setIcon
(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 iconvoid
setIcon
(FeatureRow featureRow, IconRow icon) Set the icon of the feature rowvoid
setIcon
(FeatureRow featureRow, GeometryType geometryType, IconRow icon) Set the icon of the feature row for the specified geometry typevoid
setIconDefault
(String featureTable, long featureId, IconRow icon) Set the default icon of the featurevoid
setIconDefault
(FeatureRow featureRow, IconRow icon) Set the default icon of the feature rowvoid
Set the icons for the feature table and feature idvoid
setIcons
(FeatureRow featureRow, Icons icons) Set the icons for the feature rowvoid
setStyle
(String featureTable, long featureId, GeometryType geometryType, StyleRow style) Set the style of the featurevoid
setStyle
(FeatureRow featureRow, StyleRow style) Set the style of the feature rowvoid
setStyle
(FeatureRow featureRow, GeometryType geometryType, StyleRow style) Set the style of the feature row for the specified geometry typevoid
setStyleDefault
(String featureTable, long featureId, StyleRow style) Set the default style of the featurevoid
setStyleDefault
(FeatureRow featureRow, StyleRow style) Set the default style of the feature rowvoid
Set the styles for the feature table and feature idvoid
setStyles
(FeatureRow featureRow, Styles styles) Set the styles for the feature rowvoid
setTableFeatureStyles
(String featureTable, FeatureStyles featureStyles) Set the feature table default feature stylesvoid
setTableFeatureStyles
(FeatureTable featureTable, FeatureStyles featureStyles) Set the feature table default feature stylesvoid
setTableIcon
(String featureTable, GeometryType geometryType, IconRow icon) Set the feature table icon for the geometry typevoid
setTableIcon
(FeatureTable featureTable, GeometryType geometryType, IconRow icon) Set the feature table icon for the geometry typevoid
setTableIconDefault
(String featureTable, IconRow icon) Set the feature table icon defaultvoid
setTableIconDefault
(FeatureTable featureTable, IconRow icon) Set the feature table icon defaultvoid
setTableIcons
(String featureTable, Icons icons) Set the feature table default iconsvoid
setTableIcons
(FeatureTable featureTable, Icons icons) Set the feature table default iconsvoid
setTableStyle
(String featureTable, GeometryType geometryType, StyleRow style) Set the feature table style for the geometry typevoid
setTableStyle
(FeatureTable featureTable, GeometryType geometryType, StyleRow style) Set the feature table style for the geometry typevoid
setTableStyleDefault
(String featureTable, StyleRow style) Set the feature table style defaultvoid
setTableStyleDefault
(FeatureTable featureTable, StyleRow style) Set the feature table style defaultvoid
setTableStyles
(String featureTable, Styles styles) Set the feature table default stylesvoid
setTableStyles
(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, removeExtension
Methods 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:
getGeoPackage
in classBaseExtension
-
getRelatedTables
- Overrides:
getRelatedTables
in 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
-