public class StyleRow extends AttributesRow
columns, columnTypes, table, values| Constructor and Description |
|---|
StyleRow()
Constructor to create an empty row
|
StyleRow(AttributesRow attributesRow)
Constructor
|
StyleRow(StyleRow styleRow)
Copy Constructor
|
StyleRow(StyleTable table)
Constructor to create an empty row
|
| Modifier and Type | Method and Description |
|---|---|
StyleRow |
copy()
Copy the row
|
Color |
getColor()
Get the style color
|
AttributesColumn |
getColorColumn()
Get the color column
|
int |
getColorColumnIndex()
Get the color column index
|
Color |
getColorOrDefault()
Get the color or default value
|
String |
getDescription()
Get the description
|
AttributesColumn |
getDescriptionColumn()
Get the description column
|
int |
getDescriptionColumnIndex()
Get the description column index
|
Color |
getFillColor()
Get the style fill color
|
AttributesColumn |
getFillColorColumn()
Get the fill color column
|
int |
getFillColorColumnIndex()
Get the fill color column index
|
String |
getFillHexColor()
Get the fill color
|
Double |
getFillOpacity()
Get the fill opacity
|
AttributesColumn |
getFillOpacityColumn()
Get the fill opacity column
|
int |
getFillOpacityColumnIndex()
Get the fill opacity column index
|
double |
getFillOpacityOrDefault()
Get the fill opacity or default value
|
String |
getHexColor()
Get the color
|
String |
getHexColorOrDefault()
Get the color or default value
|
String |
getName()
Get the name
|
AttributesColumn |
getNameColumn()
Get the name column
|
int |
getNameColumnIndex()
Get the name column index
|
Double |
getOpacity()
Get the opacity
|
AttributesColumn |
getOpacityColumn()
Get the opacity column
|
int |
getOpacityColumnIndex()
Get the opacity column index
|
double |
getOpacityOrDefault()
Get the opacity or default value
|
StyleTable |
getTable() |
Double |
getWidth()
Get the width
|
AttributesColumn |
getWidthColumn()
Get the width column
|
int |
getWidthColumnIndex()
Get the width column index
|
double |
getWidthOrDefault()
Get the width value or default width
|
boolean |
hasColor()
Check if the style has a color
|
boolean |
hasFillColor()
Check if the style has a fill color
|
boolean |
isTableStyle()
Is a table style
|
void |
setColor(Color color)
Set the color
|
void |
setColor(String color)
Set the color
|
void |
setDescription(String description)
Set the description
|
void |
setFillColor(Color color)
Set the color
|
void |
setFillColor(String fillColor)
Set the fill color
|
void |
setFillOpacity(Double fillOpacity)
Set the fill opacity
|
void |
setName(String name)
Set the name
|
void |
setOpacity(Double opacity)
Set the opacity
|
void |
setTableStyle(boolean tableStyle)
Set table style flag
|
void |
setWidth(Double width)
Set the width
|
getColumnscolumnToContentValue, isValid, setValid, toContentValues, toContentValuescolumnCount, copyValue, getAsMap, getColumn, getColumn, getColumnIndex, getColumnName, getColumnNames, getId, getPkColumn, getPkColumnIndex, getRowColumnType, getRowColumnType, getRowColumnTypes, getValue, getValue, getValues, getValueString, getValueString, hasColumn, hasId, hasIdColumn, resetId, setId, setValue, setValue, validateValuepublic StyleRow()
public StyleRow(StyleTable table)
table - style tablepublic StyleRow(AttributesRow attributesRow)
attributesRow - attributes rowpublic StyleRow(StyleRow styleRow)
styleRow - style row to copypublic StyleTable getTable()
getTable in class UserCoreRow<AttributesColumn,AttributesTable>public boolean isTableStyle()
public void setTableStyle(boolean tableStyle)
tableStyle - table style flagpublic int getNameColumnIndex()
public AttributesColumn getNameColumn()
public String getName()
public void setName(String name)
name - Feature Style namepublic int getDescriptionColumnIndex()
public AttributesColumn getDescriptionColumn()
public String getDescription()
public void setDescription(String description)
description - Feature Style descriptionpublic int getColorColumnIndex()
public AttributesColumn getColorColumn()
public Color getColor()
public boolean hasColor()
public String getHexColor()
public void setColor(Color color)
color - colorpublic void setColor(String color)
color - Geometry color in hex format #RRGGBB or #RGBpublic Color getColorOrDefault()
public String getHexColorOrDefault()
public int getOpacityColumnIndex()
public AttributesColumn getOpacityColumn()
public Double getOpacity()
public void setOpacity(Double opacity)
opacity - Geometry color opacity inclusively between 0.0 and 1.0public double getOpacityOrDefault()
public int getWidthColumnIndex()
public AttributesColumn getWidthColumn()
public Double getWidth()
public void setWidth(Double width)
width - Geometry line stroke or point width greater than or equal to
0.0public double getWidthOrDefault()
public int getFillColorColumnIndex()
public AttributesColumn getFillColorColumn()
public Color getFillColor()
public boolean hasFillColor()
public String getFillHexColor()
public void setFillColor(Color color)
color - colorpublic void setFillColor(String fillColor)
fillColor - Closed geometry fill color in hex format #RRGGBB or #RGBpublic int getFillOpacityColumnIndex()
public AttributesColumn getFillOpacityColumn()
public Double getFillOpacity()
public void setFillOpacity(Double fillOpacity)
fillOpacity - Closed geometry fill color opacity inclusively between 0.0 and
1.0public double getFillOpacityOrDefault()
public StyleRow copy()
copy in class AttributesRow