All Packages Class Hierarchy This Package Previous Next Index
Class WBMPcreator.WBMPTable
java.lang.Object
|
+----WBMPcreator.WBMPfile
|
+----WBMPcreator.WBMPTable
- public class WBMPTable
- extends WBMPfile
WBMPTable()
- Empty constructor of a WBMPTable.
WBMPTable(String, Vector)
- Constructor of a WBMPTable.
getColumnData()
- Gets all data from WBMPTable.
getColumnNames()
- Gets the header.
getDataFont()
- Gets the font of data in a table.
getHeaderFont()
- Gets the font of the header.
getTableSize()
- Gets desired dimension of a resulting image.
saveWBMPTable(String, boolean)
- Saves WBMPTable to file(s) with the given filename mask.
This method saves table to one or several *.wbmp files depending on table size.
setColumnData(Vector)
- Fills WBMPTable with data.
setColumnNames(String)
- Sets the header.
setDataFont(Font)
- Sets the font of data in a table.
setHeaderFont(Font)
- Sets the font of the header.
setTableSize(WBMPDimension)
- Sets the desired resolution of resulting WBMP image.
WBMPTable
public WBMPTable()
Empty constructor of a WBMPTable. If WBMPTable is created using this
constructor, it is necessary to call the following methods:
1. setColumnNames() - to set header (names of the columns)
2. setColumnData() - to insert data into table
WBMPTable
public WBMPTable(java.lang.String newColumnNames,
java.util.Vector newColumnData)
Constructor of a WBMPTable. Includes all data required.
- Parameters:
newColumnNames - the names of the columns in a string.
newColumnData - the Vector of data in the same format.
setColumnNames
public void setColumnNames(java.lang.String newColumnNames)
Sets the header.
- Parameters:
newColumnNames - new header
getColumnNames
public java.lang.String getColumnNames()
Gets the header.
setColumnData
public void setColumnData(java.util.Vector newColumnData)
Fills WBMPTable with data.
- Parameters:
newColumnData - new data Vector for a table
getColumnData
public java.util.Vector getColumnData()
Gets all data from WBMPTable.
setHeaderFont
public void setHeaderFont(java.awt.Font newHeaderFont)
Sets the font of the header.
- Parameters:
newHeaderFont - new font
getHeaderFont
public java.awt.Font getHeaderFont()
Gets the font of the header.
setDataFont
public void setDataFont(java.awt.Font newDataFont)
Sets the font of data in a table.
- Parameters:
newDataFont - new font
getDataFont
public java.awt.Font getDataFont()
Gets the font of data in a table.
setTableSize
public void setTableSize(WBMPDimension newTableSize)
Sets the desired resolution of resulting WBMP image. The resulting image
will be NOT more that desired (Y size may be less if necessary).
- Parameters:
newTableSize - dimension of a resulting image.
getTableSize
public WBMPDimension getTableSize()
Gets desired dimension of a resulting image.
saveWBMPTable
public void saveWBMPTable(java.lang.String filename,
boolean headerOnEachPiece)
Saves WBMPTable to file(s) with the given filename mask.
This method saves table to one or several *.wbmp files depending on table size.
- Parameters:
filename - file name WITHOUT extension.
headerOnEachPiece - a flag to show/not show the header in 2..inf image
All Packages Class Hierarchy This Package Previous Next Index