public class FeatureStyle extends Object
| Constructor and Description |
|---|
FeatureStyle()
Constructor
|
FeatureStyle(IconRow icon)
Constructor
|
FeatureStyle(StyleRow style)
Constructor
|
FeatureStyle(StyleRow style,
IconRow icon)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
IconRow |
getIcon()
Get the icon row
|
StyleRow |
getStyle()
Get the style row
|
boolean |
hasIcon()
Check if the feature style has an icon row
|
boolean |
hasStyle()
Check if the feature style has a style row
|
void |
setIcon(IconRow icon)
Set the icon row
|
void |
setStyle(StyleRow style)
Set the style row
|
boolean |
useIcon()
Determine if an icon exists and should be used.
|
public FeatureStyle()
public FeatureStyle(StyleRow style)
style - style rowpublic FeatureStyle(IconRow icon)
icon - icon rowpublic StyleRow getStyle()
public void setStyle(StyleRow style)
style - style rowpublic IconRow getIcon()
public void setIcon(IconRow icon)
icon - icon rowpublic boolean hasStyle()
public boolean hasIcon()
public boolean useIcon()