类 SubPlots


  • public class SubPlots
    extends Plot
    • 构造器详细资料

      • SubPlots

        public SubPlots​(java.awt.geom.Rectangle2D position,
                        int rowNum,
                        int colNum,
                        boolean shareX,
                        boolean shareY)
        Constructor
        参数:
        position - Position
        rowNum - Row number
        colNum - Column number
        shareX - If share x axis
        shareY - If share y axis
    • 方法详细资料

      • getPlots

        public java.util.List<Plot> getPlots()
        Get plots
        返回:
        Plots
      • setPlots

        public void setPlots​(java.util.List<Plot> value)
        Set plots
        参数:
        value - The plots
      • getRowNum

        public int getRowNum()
        Get row number
        返回:
        Row number
      • setRowNum

        public void setRowNum​(int value)
        Set row number
        参数:
        value - Row number
      • getColNum

        public int getColNum()
        Get column number
        返回:
        Column number
      • setColNum

        public void setColNum​(int value)
        Set column number
        参数:
        value - Column number
      • isShareX

        public boolean isShareX()
        If share x axis
        返回:
        Share x axis or not
      • setShareX

        public void setShareX​(boolean value)
        Set if share x axis
        参数:
        value - Share x axis or not
      • isShareY

        public boolean isShareY()
        If share y axis
        返回:
        Share y axis or not
      • setShareY

        public void setShareY​(boolean value)
        Set if share y axis
        参数:
        value - Share y axis or not
      • addPlot

        public void addPlot​(Plot plot)
        Add a plot
        参数:
        plot - The plot
      • getPlot

        public Plot getPlot​(int row,
                            int col)
        Get a plot
        参数:
        row - Row index
        col - Column index
        返回:
      • getOuterPositionArea

        public java.awt.geom.Rectangle2D getOuterPositionArea​(java.awt.geom.Rectangle2D area)
        从类复制的说明: Plot
        Get outer position area
        指定者:
        getOuterPositionArea 在类中 Plot
        参数:
        area - Whole area
        返回:
        Outer position area
      • getDataset

        public org.meteoinfo.data.Dataset getDataset()
        从类复制的说明: Plot
        Get dataset
        指定者:
        getDataset 在类中 Plot
        返回:
        Dataset
      • setDataset

        public void setDataset​(org.meteoinfo.data.Dataset dataset)
        从类复制的说明: Plot
        Set dataset
        指定者:
        setDataset 在类中 Plot
        参数:
        dataset - Dataset
      • getPlotType

        public PlotType getPlotType()
        从类复制的说明: Plot
        Get plot type
        指定者:
        getPlotType 在类中 Plot
        返回:
        Plot type
      • draw

        public void draw​(java.awt.Graphics2D g2,
                         java.awt.geom.Rectangle2D area)
        从类复制的说明: Plot
        Draw graphics
        指定者:
        draw 在类中 Plot
        参数:
        g2 - Graphics2D
        area - Graphics area
      • getTightInset

        public Margin getTightInset​(java.awt.Graphics2D g,
                                    java.awt.geom.Rectangle2D positionArea)
        从类复制的说明: Plot
        Get tight inset
        指定者:
        getTightInset 在类中 Plot
        参数:
        g - Graphics2D
        positionArea - Position area
        返回:
        Tight inset margin