Class IconTable
- java.lang.Object
-
- mil.nga.geopackage.user.UserTable<UserCustomColumn>
-
- mil.nga.geopackage.user.custom.UserCustomTable
-
- mil.nga.geopackage.extension.related.UserRelatedTable
-
- mil.nga.geopackage.extension.related.media.MediaTable
-
- mil.nga.geopackage.extension.nga.style.IconTable
-
public class IconTable extends MediaTable
Icon Table- Since:
- 3.2.0
- Author:
- osbornb
-
-
Field Summary
Fields Modifier and Type Field Description static StringCOLUMN_ANCHOR_UUV Mapping horizontal anchor distance inclusively between 0.0 and 1.0 from the left edge, when null assume 0.5 (middle of icon)static StringCOLUMN_ANCHOR_VUV Mapping vertical anchor distance inclusively between 0.0 and 1.0 from the top edge, when null assume 1.0 (bottom of icon)static StringCOLUMN_DESCRIPTIONFeature Icon descriptionstatic StringCOLUMN_HEIGHTIcon display height, when null use actual icon heightstatic StringCOLUMN_NAMEFeature Icon namestatic StringCOLUMN_WIDTHIcon display width, when null use actual icon widthstatic StringTABLE_NAMETable name-
Fields inherited from class mil.nga.geopackage.extension.related.media.MediaTable
COLUMN_CONTENT_TYPE, COLUMN_DATA, RELATION_TYPE
-
Fields inherited from class mil.nga.geopackage.user.UserTable
DEFAULT_AUTOINCREMENT, DEFAULT_PK_NOT_NULL
-
-
Constructor Summary
Constructors Modifier Constructor Description IconTable()ConstructorprotectedIconTable(UserCustomTable table)Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UserCustomColumngetAnchorUColumn()Get the anchor u columnintgetAnchorUColumnIndex()Get the anchor u column indexUserCustomColumngetAnchorVColumn()Get the anchor v columnintgetAnchorVColumnIndex()Get the anchor v column indexUserCustomColumngetDescriptionColumn()Get the description columnintgetDescriptionColumnIndex()Get the description column indexUserCustomColumngetHeightColumn()Get the height columnintgetHeightColumnIndex()Get the height column indexUserCustomColumngetNameColumn()Get the name columnintgetNameColumnIndex()Get the name column indexUserCustomColumngetWidthColumn()Get the width columnintgetWidthColumnIndex()Get the width column index-
Methods inherited from class mil.nga.geopackage.extension.related.media.MediaTable
create, createContentTypeColumn, createContentTypeColumn, createDataColumn, createDataColumn, createIdColumn, createIdColumn, createIdColumn, createIdColumn, createRequiredColumns, createRequiredColumns, createRequiredColumns, createRequiredColumns, createRequiredColumns, createRequiredColumns, createRequiredColumns, createRequiredColumns, getContentTypeColumn, getContentTypeColumnIndex, getDataColumn, getDataColumnIndex, getIdColumn, getIdColumnIndex, numRequiredColumns, requiredColumns, requiredColumns
-
Methods inherited from class mil.nga.geopackage.extension.related.UserRelatedTable
getDataType, getRelationName, validateContents
-
Methods inherited from class mil.nga.geopackage.user.custom.UserCustomTable
copy, createUserColumns, getRequiredColumns, getUserColumns
-
Methods inherited from class mil.nga.geopackage.user.UserTable
addColumn, addConstraint, addConstraints, addConstraints, alterColumn, clearConstraints, clearConstraints, columnCount, columnsOfType, createUserColumns, dropColumn, dropColumn, dropColumn, getColumn, getColumn, getColumnIndex, getColumnName, getColumnNames, getColumns, getColumns, getConstraints, getConstraints, getContents, getDataType, getPkColumn, getPkColumnIndex, getPkColumnName, getTableName, hasColumn, hasConstraints, hasConstraints, hasPkColumn, isPkModifiable, isValueValidation, renameColumn, renameColumn, renameColumn, setContents, setPkModifiable, setTableName, setValueValidation
-
-
-
-
Field Detail
-
TABLE_NAME
public static final String TABLE_NAME
Table name- See Also:
- Constant Field Values
-
COLUMN_NAME
public static final String COLUMN_NAME
Feature Icon name- See Also:
- Constant Field Values
-
COLUMN_DESCRIPTION
public static final String COLUMN_DESCRIPTION
Feature Icon description- See Also:
- Constant Field Values
-
COLUMN_WIDTH
public static final String COLUMN_WIDTH
Icon display width, when null use actual icon width- See Also:
- Constant Field Values
-
COLUMN_HEIGHT
public static final String COLUMN_HEIGHT
Icon display height, when null use actual icon height- See Also:
- Constant Field Values
-
COLUMN_ANCHOR_U
public static final String COLUMN_ANCHOR_U
UV Mapping horizontal anchor distance inclusively between 0.0 and 1.0 from the left edge, when null assume 0.5 (middle of icon)- See Also:
- Constant Field Values
-
COLUMN_ANCHOR_V
public static final String COLUMN_ANCHOR_V
UV Mapping vertical anchor distance inclusively between 0.0 and 1.0 from the top edge, when null assume 1.0 (bottom of icon)- See Also:
- Constant Field Values
-
-
Constructor Detail
-
IconTable
public IconTable()
Constructor
-
IconTable
protected IconTable(UserCustomTable table)
Constructor- Parameters:
table- user custom table
-
-
Method Detail
-
getNameColumnIndex
public int getNameColumnIndex()
Get the name column index- Returns:
- name column index
-
getNameColumn
public UserCustomColumn getNameColumn()
Get the name column- Returns:
- name column
-
getDescriptionColumnIndex
public int getDescriptionColumnIndex()
Get the description column index- Returns:
- description column index
-
getDescriptionColumn
public UserCustomColumn getDescriptionColumn()
Get the description column- Returns:
- description column
-
getWidthColumnIndex
public int getWidthColumnIndex()
Get the width column index- Returns:
- opacity column index
-
getWidthColumn
public UserCustomColumn getWidthColumn()
Get the width column- Returns:
- width column
-
getHeightColumnIndex
public int getHeightColumnIndex()
Get the height column index- Returns:
- height column index
-
getHeightColumn
public UserCustomColumn getHeightColumn()
Get the height column- Returns:
- height column
-
getAnchorUColumnIndex
public int getAnchorUColumnIndex()
Get the anchor u column index- Returns:
- anchor u column index
-
getAnchorUColumn
public UserCustomColumn getAnchorUColumn()
Get the anchor u column- Returns:
- anchor u column
-
getAnchorVColumnIndex
public int getAnchorVColumnIndex()
Get the anchor v column index- Returns:
- anchor v column index
-
getAnchorVColumn
public UserCustomColumn getAnchorVColumn()
Get the anchor v column- Returns:
- anchor v column
-
-