Package ucar.unidata.view.sounding
Class RealReadout.NameProperty
java.lang.Object
ucar.unidata.beans.AbstractProperty
ucar.unidata.beans.NonVetoableProperty
ucar.unidata.view.sounding.RealReadout.NameProperty
- All Implemented Interfaces:
Property
- Enclosing class:
RealReadout
Provides support for name properties.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the name of the quantity.void
setNameUse
(int which) Sets the type of name-use.void
setSpecifiedName
(String specifiedName) Sets the client-supplied name.void
Sets the value of the quantity.Methods inherited from class ucar.unidata.beans.NonVetoableProperty
addVetoableChangeListener, isVetoable, removeVetoableChangeListener, setValue, setValueAndNotifyListeners
Methods inherited from class ucar.unidata.beans.AbstractProperty
addPropertyChangeListener, clearValue, getName, getSourceBean, getValue, isReporting, notifyListeners, removePropertyChangeListener, setCurrentValue, setReporting
-
Constructor Details
-
NameProperty
public NameProperty()Constructs from nothing.
-
-
Method Details
-
setNameUse
public void setNameUse(int which) Sets the type of name-use.- Parameters:
which
- The type of name-use. One of REALTYPE_NAME or SPECIFIED_NAME.
-
setValue
Sets the value of the quantity.- Parameters:
real
- The value for the quantity.
-
getQuantityName
Returns the name of the quantity.- Returns:
- The name of the quantity.
-
setSpecifiedName
Sets the client-supplied name.- Parameters:
specifiedName
- The client-supplied name.
-