public class Icons extends Object
| Constructor and Description |
|---|
Icons()
Constructor
|
Icons(boolean tableIcons)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
IconRow |
getDefault()
Get the default icon
|
IconRow |
getIcon()
Get the icon, either the default or single geometry type icon
|
IconRow |
getIcon(GeometryType geometryType)
Get the icon for the geometry type
|
Map<GeometryType,IconRow> |
getIcons()
Get an unmodifiable mapping between specific geometry types and icons
|
boolean |
hasDefault()
Determine if there is a default icon
|
boolean |
isEmpty()
Determine if this icons is empty
|
boolean |
isTableIcons()
Is table icons
|
void |
setDefault(IconRow iconRow)
Set the default icon
|
void |
setIcon(IconRow iconRow,
GeometryType geometryType)
Set the icon for the geometry type
|
void |
setTableIcons(boolean tableIcons)
Set table icons flag
|
public Icons()
public Icons(boolean tableIcons)
tableIcons - table iconspublic void setDefault(IconRow iconRow)
iconRow - default iconpublic void setIcon(IconRow iconRow, GeometryType geometryType)
iconRow - icon rowgeometryType - geometry typepublic IconRow getDefault()
public Map<GeometryType,IconRow> getIcons()
public IconRow getIcon()
public IconRow getIcon(GeometryType geometryType)
geometryType - geometry typepublic boolean isEmpty()
public boolean hasDefault()
public boolean isTableIcons()
public void setTableIcons(boolean tableIcons)
tableIcons - table icons flag