Package org.compiere.print.layout
Class TableProperties
java.lang.Object
org.compiere.print.layout.TableProperties
Layout properties of table
- Author:
- hengsin
-
Constructor Summary
ConstructorDescriptionTableProperties
(ValueNamePair[] columnHeader, int[] columnMaxWidth, int[] columnMaxHeight, boolean[] fixedWidth, Boolean[] colSuppressRepeats, String[] columnJustification) -
Method Summary
Modifier and TypeMethodDescriptionBoolean[]
Get suppress repeat setting of columnsGet column headersString[]
Get justification setting of columnsint[]
Get max height of columnsint[]
Get max width of columnsboolean[]
Get fixed width of columnsvoid
setColSuppressRepeats
(Boolean[] colSuppressRepeats) Set suppress repeat setting of columnsvoid
setColumnHeader
(ValueNamePair[] columnHeader) Set column headersvoid
setColumnJustification
(String[] columnJustification) Set justification setting of columnsvoid
setColumnMaxHeight
(int[] columnMaxHeight) Set max height of columnsvoid
setColumnMaxWidth
(int[] columnMaxWidth) Set max width of columnsvoid
setFixedWidth
(boolean[] fixedWidth) Set fixed width of columns
-
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
Get column headers- Returns:
- column headers
-
setColumnHeader
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
Get suppress repeat setting of columns- Returns:
- suppress repeating value setting for columns
-
setColSuppressRepeats
Set suppress repeat setting of columns- Parameters:
colSuppressRepeats
-
-
getColumnJustification
Get justification setting of columns- Returns:
- justification setting for columns
-
setColumnJustification
Set justification setting of columns- Parameters:
columnJustification
-
-