Documentation of 'visad.RangeControl' Java class
RangeControl
visad

Class RangeControl

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Cloneable


    public class RangeControl
    extends Control
    RangeControl is the VisAD class for controlling SelectRange display scalars.

    See Also:
    Serialized Form
    • Constructor Detail

    • Method Detail

      • initializeRange

        public void initializeRange(float[] range)
                             throws VisADException,
                                    java.rmi.RemoteException
        initialize the range of selected values as (range[0], range[1])
        Throws:
        VisADException
        java.rmi.RemoteException
      • initializeRange

        public void initializeRange(double[] range)
                             throws VisADException,
                                    java.rmi.RemoteException
        initialize the range of selected values as (range[0], range[1])
        Throws:
        VisADException
        java.rmi.RemoteException
      • setRange

        public void setRange(float[] range)
                      throws VisADException,
                             java.rmi.RemoteException
        set the range of selected values as (range[0], range[1])
        Throws:
        VisADException
        java.rmi.RemoteException
      • setRange

        public void setRange(double[] range)
                      throws VisADException,
                             java.rmi.RemoteException
        set the range of selected values as (range[0], range[1])
        Throws:
        VisADException
        java.rmi.RemoteException
      • getRange

        public float[] getRange()
        return the range of selected values
      • getDoubleRange

        public double[] getDoubleRange()
        return the range of selected values
      • getSaveString

        public java.lang.String getSaveString()
        get a string that can be used to reconstruct this control later
        Specified by:
        getSaveString in class Control
        Returns:
        String representation of this Control
      • setSaveString

        public void setSaveString(java.lang.String save)
                           throws VisADException,
                                  java.rmi.RemoteException
        reconstruct this control using the specified save string
        Specified by:
        setSaveString in class Control
        Parameters:
        save - - String representation for reconstruction
        Throws:
        VisADException - if a VisAD error occurs
        java.rmi.RemoteException - if an RMI error occurs
      • syncControl

        public void syncControl(Control rmt)
                         throws VisADException
        copy the state of a remote control to this control
        Specified by:
        syncControl in class Control
        Parameters:
        rmt - remote Control whose state is copied
        Throws:
        VisADException - if a VisAD error occurs
      • equals

        public boolean equals(java.lang.Object o)
        Description copied from class: Control
        Indicates whether or not this instance equals an Object
        Overrides:
        equals in class Control
        Parameters:
        o - an Object
        Returns:
        true if and only if this instance is equal to o
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class Control
        Returns:
        a simple String representation of this Control

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.