Documentation of 'sgtplot.dm.SimpleTuple' Java class
SimpleTuple
sgtplot.dm

Class SimpleTuple

    • Constructor Detail

      • SimpleTuple

        public SimpleTuple(double[] xArray,
                           double[] yArray,
                           java.lang.String title)
      • SimpleTuple

        public SimpleTuple(GeoDate[] xArray,
                           double[] yArray,
                           java.lang.String title)
      • SimpleTuple

        public SimpleTuple(double[] xArray,
                           GeoDate[] yArray,
                           java.lang.String title)
      • SimpleTuple

        public SimpleTuple(double[] xArray,
                           double[] yArray,
                           double[] zArray,
                           java.lang.String title)
      • SimpleTuple

        public SimpleTuple(GeoDate[] xArray,
                           double[] yArray,
                           double[] zArray,
                           java.lang.String title)
      • SimpleTuple

        public SimpleTuple(double[] xArray,
                           GeoDate[] yArray,
                           double[] zArray,
                           java.lang.String title)
      • SimpleTuple

        public SimpleTuple()
    • Method Detail

      • getXArray

        public double[] getXArray()
        Specified by:
        getXArray in interface SGTTuple
      • setXArray

        public void setXArray(double[] xArray)
      • setXArray

        public void setXArray(GeoDate[] tArray)
      • setXArray

        public void setXArray(GeoDateArray tArray)
        Since:
        3.0
      • getYArray

        public double[] getYArray()
        Specified by:
        getYArray in interface SGTTuple
      • setYArray

        public void setYArray(double[] yArray)
      • setYArray

        public void setYArray(GeoDate[] tArray)
      • setYArray

        public void setYArray(GeoDateArray tArray)
        Since:
        3.0
      • getZArray

        public double[] getZArray()
        Specified by:
        getZArray in interface SGTTuple
      • setZArray

        public void setZArray(double[] zArray)
      • getSize

        public int getSize()
        Specified by:
        getSize in interface SGTTuple
      • setAssociatedData

        public void setAssociatedData(double[] assocArray)
      • setZMetaData

        public void setZMetaData(SGTMetaData zMeta)
      • getTitle

        public java.lang.String getTitle()
        Description copied from interface: SGTData
        Get the title.
        Specified by:
        getTitle in interface SGTData
      • setTitle

        public void setTitle(java.lang.String title)
      • setKeyTitle

        public void setKeyTitle(SGLabel title)
      • getId

        public java.lang.String getId()
        Description copied from interface: SGTData
        Get the unique identifier. The presence of the identifier is optional, but if it is present it should be unique. This field is used to search for the layer that contains the data.
        Specified by:
        getId in interface SGTData
        Returns:
        unique identifier
        See Also:
        Pane, Layer
      • setId

        public void setId(java.lang.String id)
      • copy

        public SGTData copy()
        Description copied from interface: SGTData
        Create a shallow copy. User should implement using the clone() method, which requires the Cloneable interface be inherited. If clone() is used, then references to objects are copied NOT the object itself.

        For example,

         public SGTData copy() {
           SGTData newData;
           try {
             newData = (SGTData)clone();
           } catch (CloneNotSupportedException e) {
             newData = null;
           }
           return newData;
         }
         
        Specified by:
        copy in interface SGTData
        Returns:
        shallow copy
        See Also:
        Object
      • isXTime

        public boolean isXTime()
        Description copied from interface: SGTData
        Returns true if the X coordinate is Time.
        Specified by:
        isXTime in interface SGTData
      • isYTime

        public boolean isYTime()
        Description copied from interface: SGTData
        Returns true if the Y coordinate is Time.
        Specified by:
        isYTime in interface SGTData
      • setXMetaData

        public void setXMetaData(SGTMetaData xMeta)
      • setYMetaData

        public void setYMetaData(SGTMetaData yMeta)
      • getXRange

        public SoTRange getXRange()
        Description copied from interface: SGTData
        Returns the range of the X coordinates. If all the data in the array is missing, this method will return Double.NaN as the start and end values for data of type double and return GeoDate(Long.MIN_VALUE) for data of type GeoDate.
        Specified by:
        getXRange in interface SGTData
        See Also:
        GeoDate.isMissing()
      • addPropertyChangeListener

        public void addPropertyChangeListener(java.beans.PropertyChangeListener l)
        Description copied from interface: SGTData
        Add a PropertyChangeListener to the listener list.
        Specified by:
        addPropertyChangeListener in interface SGTData
      • removePropertyChangeListener

        public void removePropertyChangeListener(java.beans.PropertyChangeListener l)
        Description copied from interface: SGTData
        Remove a PropertyChangeListener from the listener list.
        Specified by:
        removePropertyChangeListener in interface SGTData

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.