Package gov.nasa.worldwindx.examples
Class ShapefileAttributeGroups.AttributeGroup
- java.lang.Object
-
- gov.nasa.worldwindx.examples.ShapefileAttributeGroups.AttributeGroup
-
- Enclosing class:
- ShapefileAttributeGroups
public static class ShapefileAttributeGroups.AttributeGroup extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description protected ShapeAttributesattributesprotected MaterialdefaultMaterialprotected java.lang.StringdisplayNameprotected MaterialgroupMaterialprotected booleanuseGroupColor
-
Constructor Summary
Constructors Constructor Description AttributeGroup(java.lang.String displayName, java.awt.Color color)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddRecord(gov.nasa.worldwind.formats.shapefile.ShapefileRenderable.Record record)java.awt.ColorgetColor()java.lang.StringgetDisplayName()booleanisUseGroupColor()voidsetUseGroupColor(boolean useGroupColor)protected voidupdateAttributes()
-
-
-
Field Detail
-
displayName
protected java.lang.String displayName
-
groupMaterial
protected Material groupMaterial
-
defaultMaterial
protected Material defaultMaterial
-
useGroupColor
protected boolean useGroupColor
-
attributes
protected ShapeAttributes attributes
-
-
Method Detail
-
getDisplayName
public java.lang.String getDisplayName()
-
getColor
public java.awt.Color getColor()
-
isUseGroupColor
public boolean isUseGroupColor()
-
setUseGroupColor
public void setUseGroupColor(boolean useGroupColor)
-
addRecord
public void addRecord(gov.nasa.worldwind.formats.shapefile.ShapefileRenderable.Record record)
-
updateAttributes
protected void updateAttributes()
-
-