public class IconRow extends MediaRow
columns, columnTypes, table, values| Constructor and Description |
|---|
IconRow()
Constructor to create an empty row
|
IconRow(IconRow iconRow)
Copy Constructor
|
IconRow(IconTable table)
Constructor to create an empty row
|
IconRow(UserCustomRow userCustomRow)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
IconRow |
copy()
Copy the row
|
Double |
getAnchorU()
Get the anchor u
|
UserCustomColumn |
getAnchorUColumn()
Get the anchor u column
|
int |
getAnchorUColumnIndex()
Get the anchor u column index
|
double |
getAnchorUOrDefault()
Get the anchor u value or the default value of 0.5
|
Double |
getAnchorV()
Get the anchor v
|
UserCustomColumn |
getAnchorVColumn()
Get the anchor v column
|
int |
getAnchorVColumnIndex()
Get the anchor v column index
|
double |
getAnchorVOrDefault()
Get the anchor v value or the default value of 1.0
|
double[] |
getDerivedDimensions()
Get the derived width and height from the values and icon data, scaled as
needed
|
double |
getDerivedHeight()
Get the height or derived height from the icon data and scaled as needed for the width
|
double |
getDerivedWidth()
Get the width or derived width from the icon data and scaled as needed for the height
|
String |
getDescription()
Get the description
|
UserCustomColumn |
getDescriptionColumn()
Get the description column
|
int |
getDescriptionColumnIndex()
Get the description column index
|
Double |
getHeight()
Get the height
|
UserCustomColumn |
getHeightColumn()
Get the height column
|
int |
getHeightColumnIndex()
Get the height column index
|
String |
getName()
Get the name
|
UserCustomColumn |
getNameColumn()
Get the name column
|
int |
getNameColumnIndex()
Get the name column index
|
IconTable |
getTable() |
Double |
getWidth()
Get the width
|
UserCustomColumn |
getWidthColumn()
Get the width column
|
int |
getWidthColumnIndex()
Get the width column index
|
boolean |
isTableIcon()
Is a table icon
|
void |
setAnchorU(Double anchor)
Set the anchor u
|
void |
setAnchorV(Double anchor)
Set the anchor v
|
void |
setDescription(String description)
Set the description
|
void |
setHeight(Double height)
Set the height
|
void |
setName(String name)
Set the name
|
void |
setTableIcon(boolean tableIcon)
Set table icon flag
|
void |
setWidth(Double width)
Set the width
|
getContentType, getContentTypeColumn, getContentTypeColumnIndex, getData, getDataBitmap, getDataBitmap, getDataBounds, getDataColumn, getDataColumnIndex, getId, getIdColumn, getIdColumnIndex, setContentType, setData, setData, setDatagetColumnscolumnToContentValue, isValid, setValid, toContentValuescolumnCount, copyValue, getAsMap, getColumn, getColumn, getColumnIndex, getColumnName, getColumnNames, getPkColumn, getPkColumnIndex, getRowColumnType, getRowColumnType, getRowColumnTypes, getValue, getValue, getValues, getValueString, getValueString, hasColumn, hasId, hasIdColumn, resetId, setId, setValue, setValue, validateValuepublic IconRow()
public IconRow(IconTable table)
table - icon tablepublic IconRow(UserCustomRow userCustomRow)
userCustomRow - user custom rowpublic IconRow(IconRow iconRow)
iconRow - icon row to copypublic boolean isTableIcon()
public void setTableIcon(boolean tableIcon)
tableIcon - table icon flagpublic int getNameColumnIndex()
public UserCustomColumn getNameColumn()
public String getName()
public void setName(String name)
name - Feature Icon namepublic int getDescriptionColumnIndex()
public UserCustomColumn getDescriptionColumn()
public String getDescription()
public void setDescription(String description)
description - Feature Icon descriptionpublic int getWidthColumnIndex()
public UserCustomColumn getWidthColumn()
public Double getWidth()
public void setWidth(Double width)
width - Icon display width, when null use actual icon widthpublic double getDerivedWidth()
public int getHeightColumnIndex()
public UserCustomColumn getHeightColumn()
public Double getHeight()
public void setHeight(Double height)
height - Icon display height, when null use actual icon heightpublic double getDerivedHeight()
public double[] getDerivedDimensions()
public int getAnchorUColumnIndex()
public UserCustomColumn getAnchorUColumn()
public Double getAnchorU()
public void setAnchorU(Double anchor)
anchor - UV Mapping horizontal anchor distance inclusively between 0.0
and 1.0 from the left edge, when null assume 0.5 (middle of
icon)public double getAnchorUOrDefault()
public int getAnchorVColumnIndex()
public UserCustomColumn getAnchorVColumn()
public Double getAnchorV()
public void setAnchorV(Double anchor)
anchor - UV Mapping vertical anchor distance inclusively between 0.0
and 1.0 from the top edge, when null assume 1.0 (bottom of
icon)public double getAnchorVOrDefault()