|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectucar.unidata.beans.AbstractProperty
ucar.unidata.beans.NonVetoableProperty
ucar.unidata.view.sounding.RealReadout.UnitProperty
protected class RealReadout.UnitProperty
Provides support for unit properties.
| Constructor Summary | |
|---|---|
RealReadout.UnitProperty()
Constructs from nothing. |
|
| Method Summary | |
|---|---|
Unit |
getUnit()
Returns the unit. |
String |
getUnitString()
Returns the unit-specification. |
void |
setSpecifiedUnit(String specifiedUnitString)
Sets the client-supplied unit-specification. |
void |
setUnitUse(int which)
Sets the type of unit-use. |
void |
setValue(Real real)
Sets the value from a Real. |
| 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 |
|---|
public RealReadout.UnitProperty()
| Method Detail |
|---|
public void setSpecifiedUnit(String specifiedUnitString)
throws NoSuchUnitException,
ParseException
specifiedUnitString - The client-supplied unit-specification.
NoSuchUnitException - No such unit.
ParseException - Couldn't decode specification.public void setUnitUse(int which)
which - The type of unit-use. One of REAL_UNIT,
REALTYPE_UNIT, or SPECIFIED_UNIT.public void setValue(Real real)
real - The Real.public String getUnitString()
public Unit getUnit()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||