Class FeatureStyleExtension
- java.lang.Object
-
- mil.nga.geopackage.extension.BaseExtension
-
- mil.nga.geopackage.extension.nga.style.FeatureCoreStyleExtension
-
- mil.nga.geopackage.extension.nga.style.FeatureStyleExtension
-
public class FeatureStyleExtension extends FeatureCoreStyleExtension
Feature Style extension for styling features http://ngageoint.github.io/GeoPackage/docs/extensions/feature-style.html- Since:
- 3.2.0
-
-
Field Summary
Fields Modifier and Type Field Description protected RelatedTablesExtensionrelatedTablesRelated Tables extension-
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
Constructors Constructor Description FeatureStyleExtension(GeoPackage geoPackage)Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddeleteAllFeatureStyles(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 iconvoiddeleteIcons(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 stylevoiddeleteStyles(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 stylesList<Long>getAllIconIds(String featureTable)Get all the unique icon row ids the features map toList<Long>getAllIconIds(FeatureTable featureTable)Get all the unique icon row ids the features map toList<Long>getAllStyleIds(String featureTable)Get all the unique style row ids the features map toList<Long>getAllStyleIds(FeatureTable featureTable)Get all the unique style row ids the features map toList<Long>getAllTableIconIds(String featureTable)Get all the unique icon row ids the table maps toList<Long>getAllTableIconIds(FeatureTable featureTable)Get all the unique icon row ids the table maps toList<Long>getAllTableStyleIds(String featureTable)Get all the unique style row ids the table maps toList<Long>getAllTableStyleIds(FeatureTable featureTable)Get all the unique style row ids the table maps toFeatureStylegetFeatureStyle(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 iconFeatureStylegetFeatureStyle(FeatureRow featureRow)Get the feature style (style and icon) of the feature row, searching in order: feature geometry type style or icon, feature default style or icon, table geometry type style or icon, table default style or iconFeatureStylegetFeatureStyle(FeatureRow featureRow, GeometryType geometryType)Get the feature style (style and icon) of the feature row with the provided geometry type, searching in order: feature geometry type style or icon, feature default style or icon, table geometry type style or icon, table default style or iconFeatureStylegetFeatureStyleDefault(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 iconFeatureStylegetFeatureStyleDefault(FeatureRow featureRow)Get the feature style default (style and icon) of the feature row, searching in order: feature default style or icon, table default style or iconFeatureStylesgetFeatureStyles(String featureTable, long featureId)Get the feature styles for the feature table and feature idFeatureStylesgetFeatureStyles(FeatureRow featureRow)Get the feature styles for the feature rowGeoPackagegetGeoPackage()IconRowgetIcon(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 iconIconRowgetIcon(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 iconIconRowgetIcon(FeatureRow featureRow)Get the icon of the feature row, searching in order: feature geometry type icon, feature default icon, table geometry type icon, table default iconIconRowgetIcon(FeatureRow featureRow, GeometryType geometryType)Get the icon of the feature row with the provided geometry type, searching in order: feature geometry type icon, feature default icon, table geometry type icon, table default iconIconDaogetIconDao()Get a icon DAOIconRowgetIconDefault(String featureTable, long featureId)Get the default icon of the feature, searching in order: feature default icon, table default iconIconRowgetIconDefault(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 iconIconRowgetIconDefault(FeatureRow featureRow)Get the default icon of the feature row, searching in order: feature default icon, table default iconStyleMappingDaogetIconMappingDao(String featureTable)Get a Icon Mapping DAOIconsgetIcons(String featureTable, long featureId)Get the icons for the feature table and feature idIconsgetIcons(FeatureRow featureRow)Get the icons for the feature rowRelatedTablesExtensiongetRelatedTables()StyleRowgetStyle(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 styleStyleRowgetStyle(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 styleStyleRowgetStyle(FeatureRow featureRow)Get the style of the feature row, searching in order: feature geometry type style, feature default style, table geometry type style, table default styleStyleRowgetStyle(FeatureRow featureRow, GeometryType geometryType)Get the style of the feature row with the provided geometry type, searching in order: feature geometry type style, feature default style, table geometry type style, table default styleStyleDaogetStyleDao()Get a style DAOStyleRowgetStyleDefault(String featureTable, long featureId)Get the default style of the feature, searching in order: feature default style, table default styleStyleRowgetStyleDefault(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 styleStyleRowgetStyleDefault(FeatureRow featureRow)Get the default style of the feature row, searching in order: feature default style, table default styleStyleMappingDaogetStyleMappingDao(String featureTable)Get a Style Mapping DAOStylesgetStyles(String featureTable, long featureId)Get the styles for the feature table and feature idStylesgetStyles(FeatureRow featureRow)Get the styles for the feature rowFeatureStylesgetTableFeatureStyles(String featureTable)Get the feature table default feature stylesFeatureStylesgetTableFeatureStyles(FeatureTable featureTable)Get the feature table default feature stylesIconRowgetTableIcon(String featureTable, GeometryType geometryType)Get the icon of the feature table and geometry typeIconRowgetTableIconDefault(String featureTable)Get the default icon of the feature tableStyleMappingDaogetTableIconMappingDao(String featureTable)Get a Table Icon Mapping DAOIconsgetTableIcons(String featureTable)Get the feature table default iconsIconsgetTableIcons(FeatureTable featureTable)Get the feature table default iconsStyleRowgetTableStyle(String featureTable, GeometryType geometryType)Get the style of the feature table and geometry typeStyleRowgetTableStyleDefault(String featureTable)Get the default style of the feature tableStyleMappingDaogetTableStyleMappingDao(String featureTable)Get a Table Style Mapping DAOStylesgetTableStyles(String featureTable)Get the feature table default stylesStylesgetTableStyles(FeatureTable featureTable)Get the feature table default stylesvoidsetFeatureStyle(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 rowvoidsetIcons(String featureTable, long featureId, Icons icons)Set the icons for the feature table and feature idvoidsetIcons(FeatureRow featureRow, Icons icons)Set the icons for the feature rowvoidsetStyle(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 rowvoidsetStyles(String featureTable, long featureId, Styles styles)Set the styles for the feature table and feature idvoidsetStyles(FeatureRow featureRow, Styles styles)Set the styles for the feature rowvoidsetTableFeatureStyles(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 styles-
Methods inherited from class mil.nga.geopackage.extension.nga.style.FeatureCoreStyleExtension
createIconRelationship, createRelationships, createStyleRelationship, createTableIconRelationship, createTableStyleRelationship, deleteIconRelationship, deleteRelationships, deleteRelationships, deleteStyleRelationship, deleteTableIconRelationship, deleteTableStyleRelationship, get, getContentsId, getMappingTableName, getTables, has, has, hasIconRelationship, hasRelationship, hasStyleRelationship, hasTableIconRelationship, hasTableStyleRelationship, removeExtension
-
Methods inherited from class mil.nga.geopackage.extension.BaseExtension
createDao, get, getExtensions, getExtensions, getExtensionsDao, getOrCreate, has, has, verifyWritable
-
-
-
-
Field Detail
-
relatedTables
protected final RelatedTablesExtension relatedTables
Related Tables extension
-
-
Constructor Detail
-
FeatureStyleExtension
public FeatureStyleExtension(GeoPackage geoPackage)
Constructor- Parameters:
geoPackage- GeoPackage
-
-
Method Detail
-
getGeoPackage
public GeoPackage getGeoPackage()
- Overrides:
getGeoPackagein classBaseExtension
-
getRelatedTables
public RelatedTablesExtension getRelatedTables()
- Overrides:
getRelatedTablesin classFeatureCoreStyleExtension
-
getStyleMappingDao
public StyleMappingDao getStyleMappingDao(String featureTable)
Get a Style Mapping DAO- Parameters:
featureTable- feature table- Returns:
- style mapping DAO
-
getTableStyleMappingDao
public StyleMappingDao getTableStyleMappingDao(String featureTable)
Get a Table Style Mapping DAO- Parameters:
featureTable- feature table- Returns:
- table style mapping DAO
-
getIconMappingDao
public StyleMappingDao getIconMappingDao(String featureTable)
Get a Icon Mapping DAO- Parameters:
featureTable- feature table- Returns:
- icon mapping DAO
-
getTableIconMappingDao
public StyleMappingDao getTableIconMappingDao(String featureTable)
Get a Table Icon Mapping DAO- Parameters:
featureTable- feature table- Returns:
- table icon mapping DAO
-
getStyleDao
public StyleDao getStyleDao()
Get a style DAO- Returns:
- style DAO
-
getIconDao
public IconDao getIconDao()
Get a icon DAO- Returns:
- icon DAO
-
getTableFeatureStyles
public FeatureStyles getTableFeatureStyles(FeatureTable featureTable)
Get the feature table default feature styles- Parameters:
featureTable- feature table- Returns:
- table feature styles or null
-
getTableFeatureStyles
public FeatureStyles getTableFeatureStyles(String featureTable)
Get the feature table default feature styles- Parameters:
featureTable- feature table- Returns:
- table feature styles or null
-
getTableStyles
public Styles getTableStyles(FeatureTable featureTable)
Get the feature table default styles- Parameters:
featureTable- feature table- Returns:
- table styles or null
-
getTableStyles
public Styles getTableStyles(String featureTable)
Get the feature table default styles- Parameters:
featureTable- feature table- Returns:
- table styles or null
-
getTableStyle
public StyleRow getTableStyle(String featureTable, GeometryType geometryType)
Get the style of the feature table and geometry type- Parameters:
featureTable- feature tablegeometryType- geometry type- Returns:
- style row
-
getTableStyleDefault
public StyleRow getTableStyleDefault(String featureTable)
Get the default style of the feature table- Parameters:
featureTable- feature table- Returns:
- style row
-
getTableIcons
public Icons getTableIcons(FeatureTable featureTable)
Get the feature table default icons- Parameters:
featureTable- feature table- Returns:
- table icons or null
-
getTableIcons
public Icons getTableIcons(String featureTable)
Get the feature table default icons- Parameters:
featureTable- feature table- Returns:
- table icons or null
-
getTableIconDefault
public IconRow getTableIconDefault(String featureTable)
Get the default icon of the feature table- Parameters:
featureTable- feature table- Returns:
- icon row
-
getTableIcon
public IconRow getTableIcon(String featureTable, GeometryType geometryType)
Get the icon of the feature table and geometry type- Parameters:
featureTable- feature tablegeometryType- geometry type- Returns:
- icon row
-
getFeatureStyles
public FeatureStyles getFeatureStyles(FeatureRow featureRow)
Get the feature styles for the feature row- Parameters:
featureRow- feature row- Returns:
- feature styles or null
-
getFeatureStyles
public FeatureStyles getFeatureStyles(String featureTable, long featureId)
Get the feature styles for the feature table and feature id- Parameters:
featureTable- feature tablefeatureId- feature id- Returns:
- feature styles or null
-
getFeatureStyle
public FeatureStyle getFeatureStyle(FeatureRow featureRow)
Get the feature style (style and icon) of the feature row, searching in order: feature geometry type style or icon, feature default style or icon, table geometry type style or icon, table default style or icon- Parameters:
featureRow- feature row- Returns:
- feature style
-
getFeatureStyle
public FeatureStyle getFeatureStyle(FeatureRow featureRow, GeometryType geometryType)
Get the feature style (style and icon) of the feature row with the provided geometry type, searching in order: feature geometry type style or icon, feature default style or icon, table geometry type style or icon, table default style or icon- Parameters:
featureRow- feature rowgeometryType- geometry type- Returns:
- feature style
-
getFeatureStyleDefault
public FeatureStyle getFeatureStyleDefault(FeatureRow featureRow)
Get the feature style default (style and icon) of the feature row, searching in order: feature default style or icon, table default style or icon- Parameters:
featureRow- feature row- Returns:
- feature style
-
getFeatureStyle
public FeatureStyle getFeatureStyle(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 icon- Parameters:
featureTable- feature tablefeatureId- feature idgeometryType- geometry type- Returns:
- feature style
-
getFeatureStyleDefault
public FeatureStyle getFeatureStyleDefault(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 icon- Parameters:
featureTable- feature tablefeatureId- feature id- Returns:
- feature style
-
getStyles
public Styles getStyles(FeatureRow featureRow)
Get the styles for the feature row- Parameters:
featureRow- feature row- Returns:
- styles or null
-
getStyles
public Styles getStyles(String featureTable, long featureId)
Get the styles for the feature table and feature id- Parameters:
featureTable- feature tablefeatureId- feature id- Returns:
- styles or null
-
getStyle
public StyleRow getStyle(FeatureRow featureRow)
Get the style of the feature row, searching in order: feature geometry type style, feature default style, table geometry type style, table default style- Parameters:
featureRow- feature row- Returns:
- style row
-
getStyle
public StyleRow getStyle(FeatureRow featureRow, GeometryType geometryType)
Get the style of the feature row with the provided geometry type, searching in order: feature geometry type style, feature default style, table geometry type style, table default style- Parameters:
featureRow- feature rowgeometryType- geometry type- Returns:
- style row
-
getStyleDefault
public StyleRow getStyleDefault(FeatureRow featureRow)
Get the default style of the feature row, searching in order: feature default style, table default style- Parameters:
featureRow- feature row- Returns:
- style row
-
getStyle
public StyleRow getStyle(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 style- Parameters:
featureTable- feature tablefeatureId- feature idgeometryType- geometry type- Returns:
- style row
-
getStyleDefault
public StyleRow getStyleDefault(String featureTable, long featureId)
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
public StyleRow getStyleDefault(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 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
public Icons getIcons(FeatureRow featureRow)
Get the icons for the feature row- Parameters:
featureRow- feature row- Returns:
- icons or null
-
getIcons
public Icons getIcons(String featureTable, long featureId)
Get the icons for the feature table and feature id- Parameters:
featureTable- feature tablefeatureId- feature id- Returns:
- icons or null
-
getIcon
public IconRow getIcon(FeatureRow featureRow)
Get the icon of the feature row, searching in order: feature geometry type icon, feature default icon, table geometry type icon, table default icon- Parameters:
featureRow- feature row- Returns:
- icon row
-
getIcon
public IconRow getIcon(FeatureRow featureRow, GeometryType geometryType)
Get the icon of the feature row with the provided geometry type, searching in order: feature geometry type icon, feature default icon, table geometry type icon, table default icon- Parameters:
featureRow- feature rowgeometryType- geometry type- Returns:
- icon row
-
getIconDefault
public IconRow getIconDefault(FeatureRow featureRow)
Get the default icon of the feature row, searching in order: feature default icon, table default icon- Parameters:
featureRow- feature row- Returns:
- icon row
-
getIcon
public IconRow getIcon(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 icon- Parameters:
featureTable- feature tablefeatureId- feature idgeometryType- geometry type- Returns:
- icon row
-
getIconDefault
public IconRow getIconDefault(String featureTable, long featureId)
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
public IconRow getIconDefault(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 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
public void setTableFeatureStyles(FeatureTable featureTable, FeatureStyles featureStyles)
Set the feature table default feature styles- Parameters:
featureTable- feature tablefeatureStyles- default feature styles
-
setTableFeatureStyles
public void setTableFeatureStyles(String featureTable, FeatureStyles featureStyles)
Set the feature table default feature styles- Parameters:
featureTable- feature tablefeatureStyles- default feature styles
-
setTableStyles
public void setTableStyles(FeatureTable featureTable, Styles styles)
Set the feature table default styles- Parameters:
featureTable- feature tablestyles- default styles
-
setTableStyles
public void setTableStyles(String featureTable, Styles styles)
Set the feature table default styles- Parameters:
featureTable- feature tablestyles- default styles
-
setTableStyleDefault
public void setTableStyleDefault(FeatureTable featureTable, StyleRow style)
Set the feature table style default- Parameters:
featureTable- feature tablestyle- style row
-
setTableStyleDefault
public void setTableStyleDefault(String featureTable, StyleRow style)
Set the feature table style default- Parameters:
featureTable- feature tablestyle- style row
-
setTableStyle
public void setTableStyle(FeatureTable featureTable, GeometryType geometryType, StyleRow style)
Set the feature table style for the geometry type- Parameters:
featureTable- feature tablegeometryType- geometry typestyle- style row
-
setTableStyle
public void setTableStyle(String featureTable, GeometryType geometryType, StyleRow style)
Set the feature table style for the geometry type- Parameters:
featureTable- feature tablegeometryType- geometry typestyle- style row
-
setTableIcons
public void setTableIcons(FeatureTable featureTable, Icons icons)
Set the feature table default icons- Parameters:
featureTable- feature tableicons- default icons
-
setTableIcons
public void setTableIcons(String featureTable, Icons icons)
Set the feature table default icons- Parameters:
featureTable- feature tableicons- default icons
-
setTableIconDefault
public void setTableIconDefault(FeatureTable featureTable, IconRow icon)
Set the feature table icon default- Parameters:
featureTable- feature tableicon- icon row
-
setTableIconDefault
public void setTableIconDefault(String featureTable, IconRow icon)
Set the feature table icon default- Parameters:
featureTable- feature tableicon- icon row
-
setTableIcon
public void setTableIcon(FeatureTable featureTable, GeometryType geometryType, IconRow icon)
Set the feature table icon for the geometry type- Parameters:
featureTable- feature tablegeometryType- geometry typeicon- icon row
-
setTableIcon
public void setTableIcon(String featureTable, GeometryType geometryType, IconRow icon)
Set the feature table icon for the geometry type- Parameters:
featureTable- feature tablegeometryType- geometry typeicon- icon row
-
setFeatureStyles
public void setFeatureStyles(FeatureRow featureRow, FeatureStyles featureStyles)
Set the feature styles for the feature row- Parameters:
featureRow- feature rowfeatureStyles- feature styles
-
setFeatureStyles
public void setFeatureStyles(String featureTable, long featureId, FeatureStyles featureStyles)
Set the feature styles for the feature table and feature id- Parameters:
featureTable- feature tablefeatureId- feature idfeatureStyles- feature styles
-
setFeatureStyle
public void setFeatureStyle(FeatureRow featureRow, FeatureStyle featureStyle)
Set the feature style (style and icon) of the feature row- Parameters:
featureRow- feature rowfeatureStyle- feature style
-
setFeatureStyle
public void setFeatureStyle(FeatureRow featureRow, GeometryType geometryType, FeatureStyle featureStyle)
Set the feature style (style and icon) of the feature row for the specified geometry type- Parameters:
featureRow- feature rowgeometryType- geometry typefeatureStyle- feature style
-
setFeatureStyleDefault
public void setFeatureStyleDefault(FeatureRow featureRow, FeatureStyle featureStyle)
Set the feature style default (style and icon) of the feature row- Parameters:
featureRow- feature rowfeatureStyle- feature style
-
setFeatureStyle
public void setFeatureStyle(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
public void setFeatureStyleDefault(String featureTable, long featureId, FeatureStyle featureStyle)
Set the feature style (style and icon) of the feature- Parameters:
featureTable- feature tablefeatureId- feature idfeatureStyle- feature style
-
setStyles
public void setStyles(FeatureRow featureRow, Styles styles)
Set the styles for the feature row- Parameters:
featureRow- feature rowstyles- styles
-
setStyles
public void setStyles(String featureTable, long featureId, Styles styles)
Set the styles for the feature table and feature id- Parameters:
featureTable- feature tablefeatureId- feature idstyles- styles
-
setStyle
public void setStyle(FeatureRow featureRow, StyleRow style)
Set the style of the feature row- Parameters:
featureRow- feature rowstyle- style row
-
setStyle
public void setStyle(FeatureRow featureRow, GeometryType geometryType, StyleRow style)
Set the style of the feature row for the specified geometry type- Parameters:
featureRow- feature rowgeometryType- geometry typestyle- style row
-
setStyleDefault
public void setStyleDefault(FeatureRow featureRow, StyleRow style)
Set the default style of the feature row- Parameters:
featureRow- feature rowstyle- style row
-
setStyle
public void setStyle(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
public void setStyleDefault(String featureTable, long featureId, StyleRow style)
Set the default style of the feature- Parameters:
featureTable- feature tablefeatureId- feature idstyle- style row
-
setIcons
public void setIcons(FeatureRow featureRow, Icons icons)
Set the icons for the feature row- Parameters:
featureRow- feature rowicons- icons
-
setIcons
public void setIcons(String featureTable, long featureId, Icons icons)
Set the icons for the feature table and feature id- Parameters:
featureTable- feature tablefeatureId- feature idicons- icons
-
setIcon
public void setIcon(FeatureRow featureRow, IconRow icon)
Set the icon of the feature row- Parameters:
featureRow- feature rowicon- icon row
-
setIcon
public void setIcon(FeatureRow featureRow, GeometryType geometryType, IconRow icon)
Set the icon of the feature row for the specified geometry type- Parameters:
featureRow- feature rowgeometryType- geometry typeicon- icon row
-
setIconDefault
public void setIconDefault(FeatureRow featureRow, IconRow icon)
Set the default icon of the feature row- Parameters:
featureRow- feature rowicon- icon row
-
setIcon
public void setIcon(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 icon- Parameters:
featureTable- feature tablefeatureId- feature idgeometryType- geometry typeicon- icon row
-
setIconDefault
public void setIconDefault(String featureTable, long featureId, IconRow icon)
Set the default icon of the feature- Parameters:
featureTable- feature tablefeatureId- feature idicon- icon row
-
deleteAllFeatureStyles
public void deleteAllFeatureStyles(FeatureTable featureTable)
Delete all feature styles including table styles, table icons, style, and icons- Parameters:
featureTable- feature table
-
deleteAllFeatureStyles
public void deleteAllFeatureStyles(String featureTable)
Delete all feature styles including table styles, table icons, style, and icons- Parameters:
featureTable- feature table
-
deleteAllStyles
public void deleteAllStyles(FeatureTable featureTable)
Delete all styles including table styles and feature row styles- Parameters:
featureTable- feature table
-
deleteAllStyles
public void deleteAllStyles(String featureTable)
Delete all styles including table styles and feature row styles- Parameters:
featureTable- feature table
-
deleteAllIcons
public void deleteAllIcons(FeatureTable featureTable)
Delete all icons including table icons and feature row icons- Parameters:
featureTable- feature table
-
deleteAllIcons
public void deleteAllIcons(String featureTable)
Delete all icons including table icons and feature row icons- Parameters:
featureTable- feature table
-
deleteTableFeatureStyles
public void deleteTableFeatureStyles(FeatureTable featureTable)
Delete the feature table feature styles- Parameters:
featureTable- feature table
-
deleteTableFeatureStyles
public void deleteTableFeatureStyles(String featureTable)
Delete the feature table feature styles- Parameters:
featureTable- feature table
-
deleteTableStyles
public void deleteTableStyles(FeatureTable featureTable)
Delete the feature table styles- Parameters:
featureTable- feature table
-
deleteTableStyles
public void deleteTableStyles(String featureTable)
Delete the feature table styles- Parameters:
featureTable- feature table
-
deleteTableStyleDefault
public void deleteTableStyleDefault(FeatureTable featureTable)
Delete the feature table default style- Parameters:
featureTable- feature table
-
deleteTableStyleDefault
public void deleteTableStyleDefault(String featureTable)
Delete the feature table default style- Parameters:
featureTable- feature table
-
deleteTableStyle
public void deleteTableStyle(FeatureTable featureTable, GeometryType geometryType)
Delete the feature table style for the geometry type- Parameters:
featureTable- feature tablegeometryType- geometry type
-
deleteTableStyle
public void deleteTableStyle(String featureTable, GeometryType geometryType)
Delete the feature table style for the geometry type- Parameters:
featureTable- feature tablegeometryType- geometry type
-
deleteTableIcons
public void deleteTableIcons(FeatureTable featureTable)
Delete the feature table icons- Parameters:
featureTable- feature table
-
deleteTableIcons
public void deleteTableIcons(String featureTable)
Delete the feature table icons- Parameters:
featureTable- feature table
-
deleteTableIconDefault
public void deleteTableIconDefault(FeatureTable featureTable)
Delete the feature table default icon- Parameters:
featureTable- feature table
-
deleteTableIconDefault
public void deleteTableIconDefault(String featureTable)
Delete the feature table default icon- Parameters:
featureTable- feature table
-
deleteTableIcon
public void deleteTableIcon(FeatureTable featureTable, GeometryType geometryType)
Delete the feature table icon for the geometry type- Parameters:
featureTable- feature tablegeometryType- geometry type
-
deleteTableIcon
public void deleteTableIcon(String featureTable, GeometryType geometryType)
Delete the feature table icon for the geometry type- Parameters:
featureTable- feature tablegeometryType- geometry type
-
deleteFeatureStyles
public void deleteFeatureStyles(FeatureTable featureTable)
Delete all feature styles- Parameters:
featureTable- feature table
-
deleteFeatureStyles
public void deleteFeatureStyles(String featureTable)
Delete all feature styles- Parameters:
featureTable- feature table
-
deleteStyles
public void deleteStyles(FeatureTable featureTable)
Delete all styles- Parameters:
featureTable- feature table
-
deleteStyles
public void deleteStyles(String featureTable)
Delete all styles- Parameters:
featureTable- feature table
-
deleteStyles
public void deleteStyles(FeatureRow featureRow)
Delete feature row styles- Parameters:
featureRow- feature row
-
deleteStyles
public void deleteStyles(String featureTable, long featureId)
Delete feature row styles- Parameters:
featureTable- feature tablefeatureId- feature id
-
deleteStyleDefault
public void deleteStyleDefault(FeatureRow featureRow)
Delete the feature row default style- Parameters:
featureRow- feature row
-
deleteStyleDefault
public void deleteStyleDefault(String featureTable, long featureId)
Delete the feature row default style- Parameters:
featureTable- feature tablefeatureId- feature id
-
deleteStyle
public void deleteStyle(FeatureRow featureRow)
Delete the feature row style for the feature row geometry type- Parameters:
featureRow- feature row
-
deleteStyle
public void deleteStyle(FeatureRow featureRow, GeometryType geometryType)
Delete the feature row style for the geometry type- Parameters:
featureRow- feature rowgeometryType- geometry type
-
deleteStyle
public void deleteStyle(String featureTable, long featureId, GeometryType geometryType)
Delete the feature row style for the geometry type- Parameters:
featureTable- feature tablefeatureId- feature idgeometryType- geometry type
-
deleteIcons
public void deleteIcons(FeatureTable featureTable)
Delete all icons- Parameters:
featureTable- feature table
-
deleteIcons
public void deleteIcons(String featureTable)
Delete all icons- Parameters:
featureTable- feature table
-
deleteIcons
public void deleteIcons(FeatureRow featureRow)
Delete feature row icons- Parameters:
featureRow- feature row
-
deleteIcons
public void deleteIcons(String featureTable, long featureId)
Delete feature row icons- Parameters:
featureTable- feature tablefeatureId- feature id
-
deleteIconDefault
public void deleteIconDefault(FeatureRow featureRow)
Delete the feature row default icon- Parameters:
featureRow- feature row
-
deleteIconDefault
public void deleteIconDefault(String featureTable, long featureId)
Delete the feature row default icon- Parameters:
featureTable- feature tablefeatureId- feature id
-
deleteIcon
public void deleteIcon(FeatureRow featureRow)
Delete the feature row icon for the feature row geometry type- Parameters:
featureRow- feature row
-
deleteIcon
public void deleteIcon(FeatureRow featureRow, GeometryType geometryType)
Delete the feature row icon for the geometry type- Parameters:
featureRow- feature rowgeometryType- geometry type
-
deleteIcon
public void deleteIcon(String featureTable, long featureId, GeometryType geometryType)
Delete the feature row icon for the geometry type- Parameters:
featureTable- feature tablefeatureId- feature idgeometryType- geometry type
-
getAllTableStyleIds
public List<Long> getAllTableStyleIds(FeatureTable featureTable)
Get all the unique style row ids the table maps to- Parameters:
featureTable- feature table- Returns:
- style row ids
-
getAllTableStyleIds
public List<Long> getAllTableStyleIds(String featureTable)
Get all the unique style row ids the table maps to- Parameters:
featureTable- feature table- Returns:
- style row ids
-
getAllTableIconIds
public List<Long> getAllTableIconIds(FeatureTable featureTable)
Get all the unique icon row ids the table maps to- Parameters:
featureTable- feature table- Returns:
- icon row ids
-
getAllTableIconIds
public List<Long> getAllTableIconIds(String featureTable)
Get all the unique icon row ids the table maps to- Parameters:
featureTable- feature table- Returns:
- icon row ids
-
getAllStyleIds
public List<Long> getAllStyleIds(FeatureTable featureTable)
Get all the unique style row ids the features map to- Parameters:
featureTable- feature table- Returns:
- style row ids
-
getAllStyleIds
public List<Long> getAllStyleIds(String featureTable)
Get all the unique style row ids the features map to- Parameters:
featureTable- feature table- Returns:
- style row ids
-
getAllIconIds
public List<Long> getAllIconIds(FeatureTable featureTable)
Get all the unique icon row ids the features map to- Parameters:
featureTable- feature table- Returns:
- icon row ids
-
-