Class RealReadout.NameProperty

All Implemented Interfaces:
Property
Enclosing class:
RealReadout

protected class RealReadout.NameProperty extends NonVetoableProperty
Provides support for name properties.
  • 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

      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.