protected static class ExtrudedPolygonBuilder.PolygonEntry extends WWObjectImpl
Modifier and Type | Field and Description |
---|---|
protected ShapeAttributes |
attributes |
protected boolean |
editing |
protected ExtrudedPolygon |
polygon |
protected boolean |
selected |
Constructor and Description |
---|
PolygonEntry(ExtrudedPolygon polygon) |
Modifier and Type | Method and Description |
---|---|
ShapeAttributes |
getAttributes() |
String |
getName() |
ExtrudedPolygon |
getPolygon() |
Object |
getValue(String key)
Returns the value for a specified key.
|
boolean |
isEditing() |
boolean |
isSelected() |
void |
setEditing(boolean editing) |
void |
setName(String name) |
void |
setSelected(boolean selected) |
Object |
setValue(String key,
Object value)
Adds a key/value pair to the list.
|
String |
toString() |
protected void |
updateAttributes() |
onMessage, propertyChange
addPropertyChangeListener, addPropertyChangeListener, clearList, copy, firePropertyChange, firePropertyChange, getBooleanValue, getBooleanValue, getChangeSupport, getDoubleValue, getDoubleValue, getEntries, getIntegerValue, getIntegerValue, getLongValue, getLongValue, getRestorableStateForAVPair, getStringValue, getStringValue, getStringValue, getValues, hasKey, removeKey, removePropertyChangeListener, removePropertyChangeListener, setValues
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
addPropertyChangeListener, addPropertyChangeListener, clearList, copy, firePropertyChange, firePropertyChange, getEntries, getStringValue, getValues, hasKey, removeKey, removePropertyChangeListener, removePropertyChangeListener, setValues
protected ShapeAttributes attributes
protected boolean editing
protected ExtrudedPolygon polygon
protected boolean selected
public PolygonEntry(ExtrudedPolygon polygon)
public ShapeAttributes getAttributes()
public String getName()
public ExtrudedPolygon getPolygon()
public Object getValue(String key)
AVList
getValue
in interface AVList
getValue
in class AVListImpl
key
- the attribute name. May not be null
.null
.public boolean isEditing()
public boolean isSelected()
public void setEditing(boolean editing)
public void setName(String name)
public void setSelected(boolean selected)
public Object setValue(String key, Object value)
AVList
setValue
in interface AVList
setValue
in class AVListImpl
key
- the attribute name. May not be null
.value
- the attribute value. May be null
, in which case any existing value for the key is
removed from the collection.protected void updateAttributes()