ucar.unidata.view.sounding
Class RealReadout.NameProperty

java.lang.Object
  extended by ucar.unidata.beans.AbstractProperty
      extended by ucar.unidata.beans.NonVetoableProperty
          extended by ucar.unidata.view.sounding.RealReadout.NameProperty
All Implemented Interfaces:
Property
Enclosing class:
RealReadout

protected class RealReadout.NameProperty
extends NonVetoableProperty

Provides support for name properties.


Constructor Summary
RealReadout.NameProperty()
          Constructs from nothing.
 
Method Summary
 String getQuantityName()
          Returns 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 setValue(Real real)
          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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RealReadout.NameProperty

public RealReadout.NameProperty()
Constructs from nothing.

Method Detail

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

public void setValue(Real real)
Sets the value of the quantity.

Parameters:
real - The value for the quantity.

getQuantityName

public String getQuantityName()
Returns the name of the quantity.

Returns:
The name of the quantity.

setSpecifiedName

public void setSpecifiedName(String specifiedName)
Sets the client-supplied name.

Parameters:
specifiedName - The client-supplied name.