public class FeatureTableStyles extends Object
| Constructor and Description |
|---|
FeatureTableStyles(GeoPackage geoPackage,
Contents contents)
Constructor
|
FeatureTableStyles(GeoPackage geoPackage,
FeatureTable featureTable)
Constructor
|
FeatureTableStyles(GeoPackage geoPackage,
GeometryColumns geometryColumns)
Constructor
|
FeatureTableStyles(GeoPackage geoPackage,
String featureTable)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
void |
clearCachedTableFeatureStyles()
Clear the cached table feature styles
|
void |
clearCachedTableIcons()
Clear the cached table icons
|
void |
clearCachedTableStyles()
Clear the cached table styles
|
void |
createIconRelationship()
Create an icon relationship for the feature table
|
void |
createRelationships()
Create style, icon, table style, and table icon relationships for the
feature table
|
void |
createStyleRelationship()
Create a style relationship for the feature table
|
void |
createTableIconRelationship()
Create a feature table icon relationship
|
void |
createTableStyleRelationship()
Create a feature table style relationship
|
void |
deleteAllFeatureStyles()
Delete all feature styles including table styles, table icons, style, and
icons
|
void |
deleteAllIcons()
Delete all icons including table icons and feature row icons
|
void |
deleteAllStyles()
Delete all styles including table styles and feature row styles
|
void |
deleteFeatureStyles()
Delete all feature styles
|
void |
deleteIcon(FeatureRow featureRow)
Delete the feature row icon for the feature row geometry type
|
void |
deleteIcon(FeatureRow featureRow,
GeometryType geometryType)
Delete the feature row icon for the geometry type
|
void |
deleteIcon(long featureId,
GeometryType geometryType)
Delete the feature row icon for the geometry type
|
void |
deleteIconDefault(FeatureRow featureRow)
Delete the feature row default icon
|
void |
deleteIconDefault(long featureId)
Delete the feature row default icon
|
void |
deleteIconRelationship()
Delete a icon relationship for the feature table
|
void |
deleteIcons()
Delete all icons
|
void |
deleteIcons(FeatureRow featureRow)
Delete feature row icons
|
void |
deleteIcons(long featureId)
Delete feature row icons
|
void |
deleteRelationships()
Delete the style and icon table and row relationships for the feature
table
|
void |
deleteStyle(FeatureRow featureRow)
Delete the feature row style for the feature row geometry type
|
void |
deleteStyle(FeatureRow featureRow,
GeometryType geometryType)
Delete the feature row style for the geometry type
|
void |
deleteStyle(long featureId,
GeometryType geometryType)
Delete the feature row style for the geometry type
|
void |
deleteStyleDefault(FeatureRow featureRow)
Delete the feature row default style
|
void |
deleteStyleDefault(long featureId)
Delete the feature row default style
|
void |
deleteStyleRelationship()
Delete a style relationship for the feature table
|
void |
deleteStyles()
Delete all styles
|
void |
deleteStyles(FeatureRow featureRow)
Delete feature row styles
|
void |
deleteStyles(long featureId)
Delete feature row styles
|
void |
deleteTableFeatureStyles()
Delete the feature table feature styles
|
void |
deleteTableIcon(GeometryType geometryType)
Delete the feature table icon for the geometry type
|
void |
deleteTableIconDefault()
Delete the feature table default icon
|
void |
deleteTableIconRelationship()
Delete a table icon relationship for the feature table
|
void |
deleteTableIcons()
Delete the feature table icons
|
void |
deleteTableStyle(GeometryType geometryType)
Delete the feature table style for the geometry type
|
void |
deleteTableStyleDefault()
Delete the feature table default style
|
void |
deleteTableStyleRelationship()
Delete a table style relationship for the feature table
|
void |
deleteTableStyles()
Delete the feature table styles
|
List<Long> |
getAllIconIds()
Get all the unique icon row ids the features map to
|
List<Long> |
getAllStyleIds()
Get all the unique style row ids the features map to
|
List<Long> |
getAllTableIconIds()
Get all the unique icon row ids the table maps to
|
List<Long> |
getAllTableStyleIds()
Get all the unique style row ids the table maps to
|
Icons |
getCachedTableIcons()
Get the cached table icons, querying and caching if needed
|
Styles |
getCachedTableStyles()
Get the cached table styles, querying and caching if needed
|
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
|
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
|
FeatureStyle |
getFeatureStyle(long featureId,
GeometryType geometryType)
Get the feature style (style and icon) of the feature, searching in
order: feature geometry type style or icon, feature default style or
icon, table geometry type style or icon, table default style or icon
|
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
|
FeatureStyle |
getFeatureStyleDefault(long featureId)
Get the feature style (style and icon) of the feature, searching in
order: feature geometry type style or icon, feature default style or
icon, table geometry type style or icon, table default style or icon
|
FeatureStyleExtension |
getFeatureStyleExtension()
Get the feature style extension
|
FeatureStyles |
getFeatureStyles(FeatureRow featureRow)
Get the feature styles for the feature row
|
FeatureStyles |
getFeatureStyles(long featureId)
Get the feature styles for the feature id
|
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
|
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
|
IconRow |
getIcon(long featureId,
GeometryType geometryType)
Get the icon of the feature, searching in order: feature geometry type
icon, feature default icon, table geometry type icon, table default icon
|
IconDao |
getIconDao()
Get a icon DAO
|
IconRow |
getIconDefault(FeatureRow featureRow)
Get the default icon of the feature row, searching in order: feature
default icon, table default icon
|
IconRow |
getIconDefault(long featureId)
Get the default icon of the feature, searching in order: feature default
icon, table default icon
|
StyleMappingDao |
getIconMappingDao()
Get a Icon Mapping DAO
|
Icons |
getIcons(FeatureRow featureRow)
Get the icons for the feature row
|
Icons |
getIcons(long featureId)
Get the icons for the feature id
|
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
|
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
|
StyleRow |
getStyle(long featureId,
GeometryType geometryType)
Get the style of the feature, searching in order: feature geometry type
style, feature default style, table geometry type style, table default
style
|
StyleDao |
getStyleDao()
Get a style DAO
|
StyleRow |
getStyleDefault(FeatureRow featureRow)
Get the default style of the feature row, searching in order: feature
default style, table default style
|
StyleRow |
getStyleDefault(long featureId)
Get the default style of the feature, searching in order: feature default
style, table default style
|
StyleMappingDao |
getStyleMappingDao()
Get a Style Mapping DAO
|
Styles |
getStyles(FeatureRow featureRow)
Get the styles for the feature row
|
Styles |
getStyles(long featureId)
Get the styles for the feature id
|
FeatureStyles |
getTableFeatureStyles()
Get the table feature styles
|
IconRow |
getTableIcon(GeometryType geometryType)
Get the table icon of the geometry type
|
IconRow |
getTableIconDefault()
Get the table icon default
|
StyleMappingDao |
getTableIconMappingDao()
Get a Table Icon Mapping DAO
|
Icons |
getTableIcons()
Get the table icons
|
String |
getTableName()
Get the feature table name
|
StyleRow |
getTableStyle(GeometryType geometryType)
Get the table style of the geometry type
|
StyleRow |
getTableStyleDefault()
Get the table style default
|
StyleMappingDao |
getTableStyleMappingDao()
Get a Table Style Mapping DAO
|
Styles |
getTableStyles()
Get the table styles
|
boolean |
has()
Determine if the GeoPackage has the extension for the table
|
boolean |
hasIconRelationship()
Determine if an icon relationship exists for the feature table
|
boolean |
hasRelationship()
Check if feature table has a style, icon, table style, or table icon
relationships
|
boolean |
hasStyleRelationship()
Determine if a style relationship exists for the feature table
|
boolean |
hasTableIconRelationship()
Determine if feature table icon relationship exists
|
boolean |
hasTableStyleRelationship()
Determine if feature table style relationship exists
|
void |
setFeatureStyle(FeatureRow featureRow,
FeatureStyle featureStyle)
Set the feature style (style and icon) of the feature row
|
void |
setFeatureStyle(FeatureRow featureRow,
GeometryType geometryType,
FeatureStyle featureStyle)
Set the feature style (style and icon) of the feature row for the
specified geometry type
|
void |
setFeatureStyle(long featureId,
GeometryType geometryType,
FeatureStyle featureStyle)
Set the feature style (style and icon) of the feature
|
void |
setFeatureStyleDefault(FeatureRow featureRow,
FeatureStyle featureStyle)
Set the feature style default (style and icon) of the feature row
|
void |
setFeatureStyleDefault(long featureId,
FeatureStyle featureStyle)
Set the feature style (style and icon) of the feature
|
void |
setFeatureStyles(FeatureRow featureRow,
FeatureStyles featureStyles)
Set the feature styles for the feature row
|
void |
setFeatureStyles(long featureId,
FeatureStyles featureStyles)
Set the feature styles for the feature table and feature id
|
void |
setIcon(FeatureRow featureRow,
GeometryType geometryType,
IconRow icon)
Set the icon of the feature row for the specified geometry type
|
void |
setIcon(FeatureRow featureRow,
IconRow icon)
Set the icon of the feature row
|
void |
setIcon(long featureId,
GeometryType geometryType,
IconRow icon)
Get the icon of the feature, searching in order: feature geometry type
icon, feature default icon, table geometry type icon, table default icon
|
void |
setIconDefault(FeatureRow featureRow,
IconRow icon)
Set the default icon of the feature row
|
void |
setIconDefault(long featureId,
IconRow icon)
Set the default icon of the feature
|
void |
setIcons(FeatureRow featureRow,
Icons icons)
Set the icons for the feature row
|
void |
setIcons(long featureId,
Icons icons)
Set the icons for the feature table and feature id
|
void |
setStyle(FeatureRow featureRow,
GeometryType geometryType,
StyleRow style)
Set the style of the feature row for the specified geometry type
|
void |
setStyle(FeatureRow featureRow,
StyleRow style)
Set the style of the feature row
|
void |
setStyle(long featureId,
GeometryType geometryType,
StyleRow style)
Set the style of the feature
|
void |
setStyleDefault(FeatureRow featureRow,
StyleRow style)
Set the default style of the feature row
|
void |
setStyleDefault(long featureId,
StyleRow style)
Set the default style of the feature
|
void |
setStyles(FeatureRow featureRow,
Styles styles)
Set the styles for the feature row
|
void |
setStyles(long featureId,
Styles styles)
Set the styles for the feature table and feature id
|
void |
setTableFeatureStyles(FeatureStyles featureStyles)
Set the feature table default feature styles
|
void |
setTableIcon(GeometryType geometryType,
IconRow icon)
Set the feature table icon for the geometry type
|
void |
setTableIconDefault(IconRow icon)
Set the feature table icon default
|
void |
setTableIcons(Icons icons)
Set the feature table default icons
|
void |
setTableStyle(GeometryType geometryType,
StyleRow style)
Set the feature table style for the geometry type
|
void |
setTableStyleDefault(StyleRow style)
Set the feature table style default
|
void |
setTableStyles(Styles styles)
Set the feature table default styles
|
public FeatureTableStyles(GeoPackage geoPackage, FeatureTable featureTable)
geoPackage - GeoPackagefeatureTable - feature tablepublic FeatureTableStyles(GeoPackage geoPackage, GeometryColumns geometryColumns)
geoPackage - GeoPackagegeometryColumns - geometry columnspublic FeatureTableStyles(GeoPackage geoPackage, Contents contents)
geoPackage - GeoPackagecontents - feature contentspublic FeatureTableStyles(GeoPackage geoPackage, String featureTable)
geoPackage - GeoPackagefeatureTable - feature tablepublic FeatureStyleExtension getFeatureStyleExtension()
public String getTableName()
public boolean has()
public void createRelationships()
public boolean hasRelationship()
public void createStyleRelationship()
public boolean hasStyleRelationship()
public void createTableStyleRelationship()
public boolean hasTableStyleRelationship()
public void createIconRelationship()
public boolean hasIconRelationship()
public void createTableIconRelationship()
public boolean hasTableIconRelationship()
public void deleteRelationships()
public void deleteStyleRelationship()
public void deleteTableStyleRelationship()
public void deleteIconRelationship()
public void deleteTableIconRelationship()
public StyleMappingDao getStyleMappingDao()
public StyleMappingDao getTableStyleMappingDao()
public StyleMappingDao getIconMappingDao()
public StyleMappingDao getTableIconMappingDao()
public StyleDao getStyleDao()
public IconDao getIconDao()
public FeatureStyles getTableFeatureStyles()
public Styles getTableStyles()
public Styles getCachedTableStyles()
public StyleRow getTableStyle(GeometryType geometryType)
geometryType - geometry typepublic StyleRow getTableStyleDefault()
public Icons getTableIcons()
public Icons getCachedTableIcons()
public IconRow getTableIcon(GeometryType geometryType)
geometryType - geometry typepublic IconRow getTableIconDefault()
public FeatureStyles getFeatureStyles(FeatureRow featureRow)
featureRow - feature rowpublic FeatureStyles getFeatureStyles(long featureId)
featureId - feature idpublic FeatureStyle getFeatureStyle(FeatureRow featureRow)
featureRow - feature rowpublic FeatureStyle getFeatureStyle(FeatureRow featureRow, GeometryType geometryType)
featureRow - feature rowgeometryType - geometry typepublic FeatureStyle getFeatureStyleDefault(FeatureRow featureRow)
featureRow - feature rowpublic FeatureStyle getFeatureStyle(long featureId, GeometryType geometryType)
featureId - feature idgeometryType - geometry typepublic FeatureStyle getFeatureStyleDefault(long featureId)
featureId - feature idpublic Styles getStyles(FeatureRow featureRow)
featureRow - feature rowpublic Styles getStyles(long featureId)
featureId - feature idpublic StyleRow getStyle(FeatureRow featureRow)
featureRow - feature rowpublic StyleRow getStyle(FeatureRow featureRow, GeometryType geometryType)
featureRow - feature rowgeometryType - geometry typepublic StyleRow getStyleDefault(FeatureRow featureRow)
featureRow - feature rowpublic StyleRow getStyle(long featureId, GeometryType geometryType)
featureId - feature idgeometryType - geometry typepublic StyleRow getStyleDefault(long featureId)
featureId - feature idpublic Icons getIcons(FeatureRow featureRow)
featureRow - feature rowpublic Icons getIcons(long featureId)
featureId - feature idpublic IconRow getIcon(FeatureRow featureRow)
featureRow - feature rowpublic IconRow getIcon(FeatureRow featureRow, GeometryType geometryType)
featureRow - feature rowgeometryType - geometry typepublic IconRow getIconDefault(FeatureRow featureRow)
featureRow - feature rowpublic IconRow getIcon(long featureId, GeometryType geometryType)
featureId - feature idgeometryType - geometry typepublic IconRow getIconDefault(long featureId)
featureId - feature idpublic void setTableFeatureStyles(FeatureStyles featureStyles)
featureStyles - default feature stylespublic void setTableStyles(Styles styles)
styles - default stylespublic void setTableStyleDefault(StyleRow style)
style - style rowpublic void setTableStyle(GeometryType geometryType, StyleRow style)
geometryType - geometry typestyle - style rowpublic void setTableIcons(Icons icons)
icons - default iconspublic void setTableIconDefault(IconRow icon)
icon - icon rowpublic void setTableIcon(GeometryType geometryType, IconRow icon)
geometryType - geometry typeicon - icon rowpublic void setFeatureStyles(FeatureRow featureRow, FeatureStyles featureStyles)
featureRow - feature rowfeatureStyles - feature stylespublic void setFeatureStyles(long featureId,
FeatureStyles featureStyles)
featureId - feature idfeatureStyles - feature stylespublic void setFeatureStyle(FeatureRow featureRow, FeatureStyle featureStyle)
featureRow - feature rowfeatureStyle - feature stylepublic void setFeatureStyle(FeatureRow featureRow, GeometryType geometryType, FeatureStyle featureStyle)
featureRow - feature rowgeometryType - geometry typefeatureStyle - feature stylepublic void setFeatureStyleDefault(FeatureRow featureRow, FeatureStyle featureStyle)
featureRow - feature rowfeatureStyle - feature stylepublic void setFeatureStyle(long featureId,
GeometryType geometryType,
FeatureStyle featureStyle)
featureId - feature idgeometryType - geometry typefeatureStyle - feature stylepublic void setFeatureStyleDefault(long featureId,
FeatureStyle featureStyle)
featureId - feature idfeatureStyle - feature stylepublic void setStyles(FeatureRow featureRow, Styles styles)
featureRow - feature rowstyles - stylespublic void setStyles(long featureId,
Styles styles)
featureId - feature idstyles - stylespublic void setStyle(FeatureRow featureRow, StyleRow style)
featureRow - feature rowstyle - style rowpublic void setStyle(FeatureRow featureRow, GeometryType geometryType, StyleRow style)
featureRow - feature rowgeometryType - geometry typestyle - style rowpublic void setStyleDefault(FeatureRow featureRow, StyleRow style)
featureRow - feature rowstyle - style rowpublic void setStyle(long featureId,
GeometryType geometryType,
StyleRow style)
featureId - feature idgeometryType - geometry typestyle - style rowpublic void setStyleDefault(long featureId,
StyleRow style)
featureId - feature idstyle - style rowpublic void setIcons(FeatureRow featureRow, Icons icons)
featureRow - feature rowicons - iconspublic void setIcons(long featureId,
Icons icons)
featureId - feature idicons - iconspublic void setIcon(FeatureRow featureRow, IconRow icon)
featureRow - feature rowicon - icon rowpublic void setIcon(FeatureRow featureRow, GeometryType geometryType, IconRow icon)
featureRow - feature rowgeometryType - geometry typeicon - icon rowpublic void setIconDefault(FeatureRow featureRow, IconRow icon)
featureRow - feature rowicon - icon rowpublic void setIcon(long featureId,
GeometryType geometryType,
IconRow icon)
featureId - feature idgeometryType - geometry typeicon - icon rowpublic void setIconDefault(long featureId,
IconRow icon)
featureId - feature idicon - icon rowpublic void deleteAllFeatureStyles()
public void deleteAllStyles()
public void deleteAllIcons()
public void deleteTableFeatureStyles()
public void deleteTableStyles()
public void deleteTableStyleDefault()
public void deleteTableStyle(GeometryType geometryType)
geometryType - geometry typepublic void deleteTableIcons()
public void deleteTableIconDefault()
public void deleteTableIcon(GeometryType geometryType)
geometryType - geometry typepublic void clearCachedTableFeatureStyles()
public void clearCachedTableStyles()
public void clearCachedTableIcons()
public void deleteFeatureStyles()
public void deleteStyles()
public void deleteStyles(FeatureRow featureRow)
featureRow - feature rowpublic void deleteStyles(long featureId)
featureId - feature idpublic void deleteStyleDefault(FeatureRow featureRow)
featureRow - feature rowpublic void deleteStyleDefault(long featureId)
featureId - feature idpublic void deleteStyle(FeatureRow featureRow)
featureRow - feature rowpublic void deleteStyle(FeatureRow featureRow, GeometryType geometryType)
featureRow - feature rowgeometryType - geometry typepublic void deleteStyle(long featureId,
GeometryType geometryType)
featureId - feature idgeometryType - geometry typepublic void deleteIcons()
public void deleteIcons(FeatureRow featureRow)
featureRow - feature rowpublic void deleteIcons(long featureId)
featureId - feature idpublic void deleteIconDefault(FeatureRow featureRow)
featureRow - feature rowpublic void deleteIconDefault(long featureId)
featureId - feature idpublic void deleteIcon(FeatureRow featureRow)
featureRow - feature rowpublic void deleteIcon(FeatureRow featureRow, GeometryType geometryType)
featureRow - feature rowgeometryType - geometry typepublic void deleteIcon(long featureId,
GeometryType geometryType)
featureId - feature idgeometryType - geometry typepublic List<Long> getAllTableStyleIds()
public List<Long> getAllTableIconIds()
public List<Long> getAllStyleIds()