Class DefaultCellAttribute

    • Field Detail

      • rowSize

        protected int rowSize
      • columnSize

        protected int columnSize
      • span

        protected int[][][] span
      • foreground

        protected Color[][] foreground
      • background

        protected Color[][] background
      • font

        protected Font[][] font
    • Constructor Detail

      • DefaultCellAttribute

        public DefaultCellAttribute()
      • DefaultCellAttribute

        public DefaultCellAttribute​(int numRows,
                                    int numColumns)
    • Method Detail

      • initValue

        protected void initValue()
      • getSpan

        public int[] getSpan​(int row,
                             int column)
        Specified by:
        getSpan in interface CellSpan
      • setSpan

        public void setSpan​(int[] span,
                            int row,
                            int column)
        Specified by:
        setSpan in interface CellSpan
      • isVisible

        public boolean isVisible​(int row,
                                 int column)
        Specified by:
        isVisible in interface CellSpan
      • combine

        public void combine​(int[] rows,
                            int[] columns)
        Specified by:
        combine in interface CellSpan
      • split

        public void split​(int row,
                          int column)
        Specified by:
        split in interface CellSpan
      • getFont

        public Font getFont​(int row,
                            int column)
        Specified by:
        getFont in interface CellFont
      • setFont

        public void setFont​(Font font,
                            int row,
                            int column)
        Specified by:
        setFont in interface CellFont
      • setFont

        public void setFont​(Font font,
                            int[] rows,
                            int[] columns)
        Specified by:
        setFont in interface CellFont
      • isOutOfBounds

        protected boolean isOutOfBounds​(int row,
                                        int column)
      • isOutOfBounds

        protected boolean isOutOfBounds​(int[] rows,
                                        int[] columns)
      • setValues

        protected void setValues​(Object[][] target,
                                 Object value,
                                 int[] rows,
                                 int[] columns)