Class StyleTable
- java.lang.Object
-
- mil.nga.geopackage.user.UserTable<AttributesColumn>
-
- mil.nga.geopackage.attributes.AttributesTable
-
- mil.nga.geopackage.extension.nga.style.StyleTable
-
public class StyleTable extends AttributesTable
Style Table- Since:
- 3.2.0
- Author:
- osbornb
-
-
Field Summary
Fields Modifier and Type Field Description static StringCOLUMN_COLORGeometry color in hex format #RRGGBB or #RGBstatic StringCOLUMN_DESCRIPTIONFeature Style descriptionstatic StringCOLUMN_FILL_COLORClosed geometry fill color in hex format #RRGGBB or #RGBstatic StringCOLUMN_FILL_OPACITYClosed geometry fill color opacity inclusively between 0.0 and 1.0static StringCOLUMN_IDid namestatic StringCOLUMN_NAMEFeature Style namestatic StringCOLUMN_OPACITYGeometry color opacity inclusively between 0.0 and 1.0static StringCOLUMN_WIDTHGeometry line stroke or point width greater than or equal to 0.0static StringTABLE_NAMETable name-
Fields inherited from class mil.nga.geopackage.user.UserTable
DEFAULT_AUTOINCREMENT, DEFAULT_PK_NOT_NULL
-
-
Constructor Summary
Constructors Constructor Description StyleTable()ConstructorStyleTable(AttributesTable attributesTable)Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AttributesColumngetColorColumn()Get the color columnintgetColorColumnIndex()Get the color column indexAttributesColumngetDescriptionColumn()Get the description columnintgetDescriptionColumnIndex()Get the description column indexAttributesColumngetFillColorColumn()Get the fill color columnintgetFillColorColumnIndex()Get the fill color column indexAttributesColumngetFillOpacityColumn()Get the fill opacity columnintgetFillOpacityColumnIndex()Get the fill opacity column indexAttributesColumngetNameColumn()Get the name columnintgetNameColumnIndex()Get the name column indexAttributesColumngetOpacityColumn()Get the opacity columnintgetOpacityColumnIndex()Get the opacity column indexAttributesColumngetWidthColumn()Get the width columnintgetWidthColumnIndex()Get the width column index-
Methods inherited from class mil.nga.geopackage.attributes.AttributesTable
copy, createUserColumns, getDataType, getUserColumns, validateContents
-
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, hasSchema, 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_ID
public static final String COLUMN_ID
id name- See Also:
- Constant Field Values
-
COLUMN_NAME
public static final String COLUMN_NAME
Feature Style name- See Also:
- Constant Field Values
-
COLUMN_DESCRIPTION
public static final String COLUMN_DESCRIPTION
Feature Style description- See Also:
- Constant Field Values
-
COLUMN_COLOR
public static final String COLUMN_COLOR
Geometry color in hex format #RRGGBB or #RGB- See Also:
- Constant Field Values
-
COLUMN_OPACITY
public static final String COLUMN_OPACITY
Geometry color opacity inclusively between 0.0 and 1.0- See Also:
- Constant Field Values
-
COLUMN_WIDTH
public static final String COLUMN_WIDTH
Geometry line stroke or point width greater than or equal to 0.0- See Also:
- Constant Field Values
-
COLUMN_FILL_COLOR
public static final String COLUMN_FILL_COLOR
Closed geometry fill color in hex format #RRGGBB or #RGB- See Also:
- Constant Field Values
-
COLUMN_FILL_OPACITY
public static final String COLUMN_FILL_OPACITY
Closed geometry fill color opacity inclusively between 0.0 and 1.0- See Also:
- Constant Field Values
-
-
Constructor Detail
-
StyleTable
public StyleTable()
Constructor
-
StyleTable
public StyleTable(AttributesTable attributesTable)
Constructor- Parameters:
attributesTable- attributes table
-
-
Method Detail
-
getNameColumnIndex
public int getNameColumnIndex()
Get the name column index- Returns:
- name column index
-
getNameColumn
public AttributesColumn getNameColumn()
Get the name column- Returns:
- name column
-
getDescriptionColumnIndex
public int getDescriptionColumnIndex()
Get the description column index- Returns:
- description column index
-
getDescriptionColumn
public AttributesColumn getDescriptionColumn()
Get the description column- Returns:
- description column
-
getColorColumnIndex
public int getColorColumnIndex()
Get the color column index- Returns:
- color column index
-
getColorColumn
public AttributesColumn getColorColumn()
Get the color column- Returns:
- color column
-
getOpacityColumnIndex
public int getOpacityColumnIndex()
Get the opacity column index- Returns:
- opacity column index
-
getOpacityColumn
public AttributesColumn getOpacityColumn()
Get the opacity column- Returns:
- opacity column
-
getWidthColumnIndex
public int getWidthColumnIndex()
Get the width column index- Returns:
- width column index
-
getWidthColumn
public AttributesColumn getWidthColumn()
Get the width column- Returns:
- width column
-
getFillColorColumnIndex
public int getFillColorColumnIndex()
Get the fill color column index- Returns:
- fill color column index
-
getFillColorColumn
public AttributesColumn getFillColorColumn()
Get the fill color column- Returns:
- fill color column
-
getFillOpacityColumnIndex
public int getFillOpacityColumnIndex()
Get the fill opacity column index- Returns:
- fill opacity column index
-
getFillOpacityColumn
public AttributesColumn getFillOpacityColumn()
Get the fill opacity column- Returns:
- fill opacity column
-
-