Documentation of 'jhplot.DProxy' Java class.
DProxy
jhplot

Class DProxy

  • All Implemented Interfaces:
    java.io.Serializable


    public class DProxy
    extends java.lang.Object
    implements java.io.Serializable
    A proxy for all DataMelt objects. This does not save graphical options since designed for interchange between different programs.
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor and Description
      DProxy() 
      DProxy(H1D h)
      Create a proxy for histogram.
      DProxy(P0D hh)
      Create a proxy for D2 of DMelt.
      DProxy(P0I hh) 
      DProxy(P1D hh)
      Create a proxy for D2 of DMelt.
      DProxy(P2D hh)
      Create a proxy for D2 of DMelt.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      void doc()
      Show online documentation.
      java.lang.Object get()
      Get objects.
      java.lang.Double[] getD1()
      Return a 1D Vector with the D1
      java.lang.Double[][] getD2()
      Return a 2D Vector with the D2
      java.lang.String[] getNames()
      Return Vector with the names
      java.lang.String getTitle()
      Get the title of the function.
      java.lang.String getType()
      Get type of this function.
      void setD1(java.lang.Double[] D1)
      Set D1 from 2D array
      void setD2(java.lang.Double[][] D2)
      Set D2 from 2D array
      void setNames(java.lang.String[] names)
      Set names from 2D array
      void setTitle(java.lang.String title)
      Set title.
      void setType(java.lang.String type) 
      java.lang.String toString() 
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • DProxy

        public DProxy()
      • DProxy

        public DProxy(H1D h)
        Create a proxy for histogram.
        Parameters:
        h - input histogram
      • DProxy

        public DProxy(P1D hh)
        Create a proxy for D2 of DMelt.
        Parameters:
        P1D - hh
      • DProxy

        public DProxy(P2D hh)
        Create a proxy for D2 of DMelt.
        Parameters:
        P2D - hh
      • DProxy

        public DProxy(P0D hh)
        Create a proxy for D2 of DMelt.
        Parameters:
        P2D - hh
      • DProxy

        public DProxy(P0I hh)
    • Method Detail

      • get

        public java.lang.Object get()
        Get objects.
        Returns:
        corresponding object.
      • getType

        public java.lang.String getType()
        Get type of this function.
        Returns:
        type. 100+dimension - P1D type
      • getTitle

        public java.lang.String getTitle()
        Get the title of the function.
        Returns:
        Title
      • setTitle

        public void setTitle(java.lang.String title)
        Set title.
        Parameters:
        title -
      • setType

        public void setType(java.lang.String type)
      • getD2

        public java.lang.Double[][] getD2()
        Return a 2D Vector with the D2
        Returns:
        actual D2
      • setD1

        public void setD1(java.lang.Double[] D1)
        Set D1 from 2D array
        Parameters:
        D1 - 2D array
      • getD1

        public java.lang.Double[] getD1()
        Return a 1D Vector with the D1
        Returns:
        actual D1
      • setD2

        public void setD2(java.lang.Double[][] D2)
        Set D2 from 2D array
        Parameters:
        D2 - 2D array
      • setNames

        public void setNames(java.lang.String[] names)
        Set names from 2D array
        Parameters:
        D2 - 2D array
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • doc

        public void doc()
        Show online documentation.
      • getNames

        public java.lang.String[] getNames()
        Return Vector with the names
        Returns:
        Names of the columns

DMelt 3.0 © DataMelt by jWork.ORG