Package org.compiere.print.layout
Class TableProperties
java.lang.Object
org.compiere.print.layout.TableProperties
- Author:
- hengsin
-
Constructor Summary
ConstructorDescriptionTableProperties
(ValueNamePair[] columnHeader, int[] columnMaxWidth, int[] columnMaxHeight, boolean[] fixedWidth, Boolean[] colSuppressRepeats, String[] columnJustification) -
Method Summary
Modifier and TypeMethodDescriptionBoolean[]
String[]
int[]
int[]
boolean[]
void
setColSuppressRepeats
(Boolean[] colSuppressRepeats) void
setColumnHeader
(ValueNamePair[] columnHeader) void
setColumnJustification
(String[] columnJustification) void
setColumnMaxHeight
(int[] columnMaxHeight) void
setColumnMaxWidth
(int[] columnMaxWidth) void
setFixedWidth
(boolean[] fixedWidth)
-
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
- Returns:
- column headers
-
setColumnHeader
- Parameters:
columnHeader
-
-
getColumnMaxWidth
public int[] getColumnMaxWidth()- Returns:
- max width for columns
-
setColumnMaxWidth
public void setColumnMaxWidth(int[] columnMaxWidth) - Parameters:
columnMaxWidth
-
-
getColumnMaxHeight
public int[] getColumnMaxHeight()- Returns:
- max height for columns
-
setColumnMaxHeight
public void setColumnMaxHeight(int[] columnMaxHeight) - Parameters:
columnMaxHeight
-
-
getFixedWidth
public boolean[] getFixedWidth()- Returns:
- fixed width option for columns
-
setFixedWidth
public void setFixedWidth(boolean[] fixedWidth) - Parameters:
fixedWidth
-
-
getColSuppressRepeats
- Returns:
- suppress repeating value setting for columns
-
setColSuppressRepeats
- Parameters:
colSuppressRepeats
-
-
getColumnJustification
- Returns:
- justification setting for columns
-
setColumnJustification
- Parameters:
columnJustification
-
-