com.aspose.cells

Class TableStyleElement

  • java.lang.Object
    • com.aspose.cells.TableStyleElement
public class TableStyleElement 
extends java.lang.Object

Represents the element of the table style.

Property Getters/Setters Summary
intgetSize()
void
setSize(int)
           Number of rows or columns in a single band of striping. Applies only when type is firstRowStripe, secondRowStripe, firstColumnStripe, or secondColumnStripe.
intgetType()
Gets the element type. The value of the property is TableStyleElementType integer constant.
 
Method Summary
StylegetElementStyle()
Gets the element style.
voidsetElementStyle(Style style)
Sets the element style.
 

    • Property Getters/Setters Detail

      • getSize/setSize

        public int getSize() / public void setSize(int value)
        
        Number of rows or columns in a single band of striping. Applies only when type is firstRowStripe, secondRowStripe, firstColumnStripe, or secondColumnStripe.
      • getType

        public int getType()
        
        Gets the element type. The value of the property is TableStyleElementType integer constant.

    setSize

    public voidsetSize(intvalue)
    
    Number of rows or columns in a single band of striping. Applies only when type is firstRowStripe, secondRowStripe, firstColumnStripe, or secondColumnStripe.
    • Method Detail

      • getElementStyle

        public Style getElementStyle()
        Gets the element style.
        Returns:
        Returns the Style object.
      • setElementStyle

        public void setElementStyle(Style style)
        Sets the element style.
        Parameters:
        style - The element style.