All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class WBMPcreator.WBMPTable

java.lang.Object
    |
    +----WBMPcreator.WBMPfile
            |
            +----WBMPcreator.WBMPTable

public class WBMPTable
extends WBMPfile

Constructor Index

 o WBMPTable()
Empty constructor of a WBMPTable.
 o WBMPTable(String, Vector)
Constructor of a WBMPTable.

Method Index

 o getColumnData()
Gets all data from WBMPTable.
 o getColumnNames()
Gets the header.
 o getDataFont()
Gets the font of data in a table.
 o getHeaderFont()
Gets the font of the header.
 o getTableSize()
Gets desired dimension of a resulting image.
 o 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.
 o setColumnData(Vector)
Fills WBMPTable with data.
 o setColumnNames(String)
Sets the header.
 o setDataFont(Font)
Sets the font of data in a table.
 o setHeaderFont(Font)
Sets the font of the header.
 o setTableSize(WBMPDimension)
Sets the desired resolution of resulting WBMP image.

Constructor Detail

 o 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

 o 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.

Method Detail

 o setColumnNames
public void setColumnNames(java.lang.String newColumnNames)
          Sets the header.
Parameters:
newColumnNames - new header
 o getColumnNames
public java.lang.String getColumnNames()
          Gets the header.
 o setColumnData
public void setColumnData(java.util.Vector newColumnData)
          Fills WBMPTable with data.
Parameters:
newColumnData - new data Vector for a table
 o getColumnData
public java.util.Vector getColumnData()
          Gets all data from WBMPTable.
 o setHeaderFont
public void setHeaderFont(java.awt.Font newHeaderFont)
          Sets the font of the header.
Parameters:
newHeaderFont - new font
 o getHeaderFont
public java.awt.Font getHeaderFont()
          Gets the font of the header.
 o setDataFont
public void setDataFont(java.awt.Font newDataFont)
          Sets the font of data in a table.
Parameters:
newDataFont - new font
 o getDataFont
public java.awt.Font getDataFont()
          Gets the font of data in a table.
 o 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.
 o getTableSize
public WBMPDimension getTableSize()
          Gets desired dimension of a resulting image.
 o 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