Class ColumnArrayImpl

    • Constructor Detail

      • ColumnArrayImpl

        public ColumnArrayImpl​(AbstractSheetAdv sheet,
                               int index,
                               int lastIndex)
    • Method Detail

      • getIndex

        public int getIndex()
      • checkOrphan

        public void checkOrphan()
      • destroy

        public void destroy()
        Description copied from interface: LinkedModelObject
        Destroy / release this model object, for example all the dependency, parent linking. this method has to be called before remove this linking from parent object
      • getSheet

        public SSheet getSheet()
      • getCellStyle

        public SCellStyle getCellStyle​(boolean local)
        Description copied from interface: CellStyleHolder
        Get the cell style locally or look up from the parent
        Parameters:
        local - true to get the local style only
      • setCellStyle

        public void setCellStyle​(SCellStyle cellStyle)
        Description copied from interface: CellStyleHolder
        Set the local style
        Parameters:
        cellStyle - the style to set, null to clean local style
      • getWidth

        public int getWidth()
      • isHidden

        public boolean isHidden()
      • setWidth

        public void setWidth​(int width)
      • setHidden

        public void setHidden​(boolean hidden)
      • getLastIndex

        public int getLastIndex()
      • isCustomWidth

        public boolean isCustomWidth()
      • setCustomWidth

        public void setCustomWidth​(boolean custom)
      • isBestFit

        public boolean isBestFit()
        Description copied from interface: SColumnArray
        the bestfit attribute
        Returns:
        is bestfit or not
      • setBestFit

        public void setBestFit​(boolean bestFit)
        Description copied from interface: SColumnArray
        set the bestfit attribute
      • setOutlineLevel

        public void setOutlineLevel​(int outlineLevel)
        Description copied from interface: SColumnArray
        Set column groupings (like groupColumn) in a stream-friendly manner

        groupColumns requires all rows in the group to be in the current window. This is not always practical. Instead use setOutlineLevel to explicitly set the group level. Level 1 is the top level group, followed by 2, etc. It is up to the user to ensure that level 2 groups are correctly nested under level 1, etc.

        Note: The maximum outlines are up to eight levels.

        Parameters:
        outlineLevel - outline level (greater than 0)
      • getOutlineLevel

        public int getOutlineLevel()
        Description copied from interface: SColumnArray
        Returns the column groupings
      • isCollapsed

        public boolean isCollapsed()
        Description copied from interface: SColumnArray
        Returns true if it has "collapsed" attribute
      • setCollapsed

        public void setCollapsed​(boolean collapsed)
        Description copied from interface: SColumnArray
        Sets the "collapsed" attribute
      • resetUpdates

        public void resetUpdates()
      • shouldSkip

        public boolean shouldSkip()