Class TableProperties

java.lang.Object
org.compiere.print.layout.TableProperties

public class TableProperties extends Object
Layout properties of table
Author:
hengsin
  • Constructor Details

    • TableProperties

      public TableProperties(ValueNamePair[] columnHeader, int[] columnMaxWidth, int[] columnMaxHeight, boolean[] fixedWidth, Boolean[] colSuppressRepeats, String[] columnJustification)
      Parameters:
      columnHeader -
      columnMaxWidth -
      columnMaxHeight -
      fixedWidth -
      colSuppressRepeats -
      columnJustification -
  • Method Details

    • getColumnHeader

      public ValueNamePair[] getColumnHeader()
      Get column headers
      Returns:
      column headers
    • setColumnHeader

      public void setColumnHeader(ValueNamePair[] columnHeader)
      Set column headers
      Parameters:
      columnHeader -
    • getColumnMaxWidth

      public int[] getColumnMaxWidth()
      Get max width of columns
      Returns:
      max width for columns
    • setColumnMaxWidth

      public void setColumnMaxWidth(int[] columnMaxWidth)
      Set max width of columns
      Parameters:
      columnMaxWidth -
    • getColumnMaxHeight

      public int[] getColumnMaxHeight()
      Get max height of columns
      Returns:
      max height for columns
    • setColumnMaxHeight

      public void setColumnMaxHeight(int[] columnMaxHeight)
      Set max height of columns
      Parameters:
      columnMaxHeight -
    • getFixedWidth

      public boolean[] getFixedWidth()
      Get fixed width of columns
      Returns:
      fixed width option for columns
    • setFixedWidth

      public void setFixedWidth(boolean[] fixedWidth)
      Set fixed width of columns
      Parameters:
      fixedWidth -
    • getColSuppressRepeats

      public Boolean[] getColSuppressRepeats()
      Get suppress repeat setting of columns
      Returns:
      suppress repeating value setting for columns
    • setColSuppressRepeats

      public void setColSuppressRepeats(Boolean[] colSuppressRepeats)
      Set suppress repeat setting of columns
      Parameters:
      colSuppressRepeats -
    • getColumnJustification

      public String[] getColumnJustification()
      Get justification setting of columns
      Returns:
      justification setting for columns
    • setColumnJustification

      public void setColumnJustification(String[] columnJustification)
      Set justification setting of columns
      Parameters:
      columnJustification -