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 String
COLUMN_COLOR
Geometry color in hex format #RRGGBB or #RGBstatic String
COLUMN_DESCRIPTION
Feature Style descriptionstatic String
COLUMN_FILL_COLOR
Closed geometry fill color in hex format #RRGGBB or #RGBstatic String
COLUMN_FILL_OPACITY
Closed geometry fill color opacity inclusively between 0.0 and 1.0static String
COLUMN_ID
id namestatic String
COLUMN_NAME
Feature Style namestatic String
COLUMN_OPACITY
Geometry color opacity inclusively between 0.0 and 1.0static String
COLUMN_WIDTH
Geometry line stroke or point width greater than or equal to 0.0static String
TABLE_NAME
Table 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 AttributesColumn
getColorColumn()
Get the color columnint
getColorColumnIndex()
Get the color column indexAttributesColumn
getDescriptionColumn()
Get the description columnint
getDescriptionColumnIndex()
Get the description column indexAttributesColumn
getFillColorColumn()
Get the fill color columnint
getFillColorColumnIndex()
Get the fill color column indexAttributesColumn
getFillOpacityColumn()
Get the fill opacity columnint
getFillOpacityColumnIndex()
Get the fill opacity column indexAttributesColumn
getNameColumn()
Get the name columnint
getNameColumnIndex()
Get the name column indexAttributesColumn
getOpacityColumn()
Get the opacity columnint
getOpacityColumnIndex()
Get the opacity column indexAttributesColumn
getWidthColumn()
Get the width columnint
getWidthColumnIndex()
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
-
-