public class Icons extends Object
| Constructor and Description |
|---|
Icons() |
| 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(mil.nga.sf.GeometryType geometryType)
Get the icon for the geometry type
|
Map<mil.nga.sf.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
|
void |
setDefault(IconRow iconRow)
Set the default icon
|
void |
setIcon(IconRow iconRow,
mil.nga.sf.GeometryType geometryType)
Set the icon for the geometry type
|
public void setDefault(IconRow iconRow)
iconRow - default iconpublic void setIcon(IconRow iconRow, mil.nga.sf.GeometryType geometryType)
iconRow - icon rowgeometryType - geometry typepublic IconRow getDefault()
public Map<mil.nga.sf.GeometryType,IconRow> getIcons()
public IconRow getIcon()
public IconRow getIcon(mil.nga.sf.GeometryType geometryType)
geometryType - geometry typepublic boolean isEmpty()
public boolean hasDefault()