protected static class AirspaceBuilder.AirspaceEntry extends WWObjectImpl
Modifier and Type | Field and Description |
---|---|
protected Airspace |
airspace |
protected AirspaceAttributes |
attributes |
protected boolean |
editing |
protected AirspaceEditor |
editor |
protected boolean |
intersecting |
protected boolean |
selected |
Constructor and Description |
---|
AirspaceEntry(Airspace airspace,
AirspaceEditor editor) |
Modifier and Type | Method and Description |
---|---|
Airspace |
getAirspace() |
AirspaceAttributes |
getAttributes() |
AirspaceEditor |
getEditor() |
java.lang.String |
getName() |
java.lang.Object |
getValue(java.lang.String key)
Returns the value for a specified key.
|
boolean |
isEditing() |
boolean |
isIntersecting() |
boolean |
isSelected() |
void |
setEditing(boolean editing) |
void |
setIntersecting(boolean intersecting) |
void |
setName(java.lang.String name) |
void |
setSelected(boolean selected) |
java.lang.Object |
setValue(java.lang.String key,
java.lang.Object value)
Adds a key/value pair to the list.
|
java.lang.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 Airspace airspace
protected AirspaceAttributes attributes
protected boolean editing
protected AirspaceEditor editor
protected boolean intersecting
protected boolean selected
public AirspaceEntry(Airspace airspace, AirspaceEditor editor)
public Airspace getAirspace()
public AirspaceAttributes getAttributes()
public AirspaceEditor getEditor()
public java.lang.String getName()
public java.lang.Object getValue(java.lang.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 isIntersecting()
public boolean isSelected()
public void setEditing(boolean editing)
public void setIntersecting(boolean intersecting)
public void setName(java.lang.String name)
public void setSelected(boolean selected)
public java.lang.Object setValue(java.lang.String key, java.lang.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.public java.lang.String toString()
toString
in class java.lang.Object
protected void updateAttributes()