Package org.compiere.print.layout
Class TableProperties
- java.lang.Object
-
- org.compiere.print.layout.TableProperties
-
public class TableProperties extends Object
- Author:
- hengsin
-
-
Constructor Summary
Constructors Constructor Description TableProperties(ValueNamePair[] columnHeader, int[] columnMaxWidth, int[] columnMaxHeight, boolean[] fixedWidth, Boolean[] colSuppressRepeats, String[] columnJustification)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Boolean[]
getColSuppressRepeats()
ValueNamePair[]
getColumnHeader()
String[]
getColumnJustification()
int[]
getColumnMaxHeight()
int[]
getColumnMaxWidth()
boolean[]
getFixedWidth()
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 Detail
-
TableProperties
public TableProperties(ValueNamePair[] columnHeader, int[] columnMaxWidth, int[] columnMaxHeight, boolean[] fixedWidth, Boolean[] colSuppressRepeats, String[] columnJustification)
- Parameters:
columnHeader
-columnMaxWidth
-columnMaxHeight
-fixedWidth
-colSuppressRepeats
-columnJustification
-
-
-
Method Detail
-
getColumnHeader
public ValueNamePair[] getColumnHeader()
- Returns:
- column headers
-
setColumnHeader
public void setColumnHeader(ValueNamePair[] columnHeader)
- 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
public Boolean[] getColSuppressRepeats()
- Returns:
- suppress repeating value setting for columns
-
setColSuppressRepeats
public void setColSuppressRepeats(Boolean[] colSuppressRepeats)
- Parameters:
colSuppressRepeats
-
-
getColumnJustification
public String[] getColumnJustification()
- Returns:
- justification setting for columns
-
setColumnJustification
public void setColumnJustification(String[] columnJustification)
- Parameters:
columnJustification
-
-
-