ElegantJ Tables Java API Specification v1.1

com.elegantj.awt.table
Class AWTTable

java.lang.Object
  extended byjava.awt.Component
      extended byjava.awt.Container
          extended byjava.awt.Panel
              extended bycom.elegantj.awt.table.AWTTable
All Implemented Interfaces:
javax.accessibility.Accessible, java.util.EventListener, java.io.Externalizable, java.awt.event.FocusListener, java.awt.image.ImageObserver, java.awt.MenuContainer, java.io.Serializable

public class AWTTable
extends java.awt.Panel
implements java.io.Externalizable, java.awt.event.FocusListener

This is the class for AWT table which provides the functionality of the table in the AWT

See Also:
Serialized Form

Nested Class Summary
 
Nested classes inherited from class java.awt.Panel
java.awt.Panel.AccessibleAWTPanel
 
Nested classes inherited from class java.awt.Container
java.awt.Container.AccessibleAWTContainer
 
Nested classes inherited from class java.awt.Component
java.awt.Component.AccessibleAWTComponent, java.awt.Component.BltBufferStrategy, java.awt.Component.FlipBufferStrategy
 
Field Summary
static int A2_ENVELOP_TYPE
          The paper type
static int A4_TYPE
          The paper type
static int A5_TYPE
          The paper type
static int A6_CARD_TYPE
          The paper type
static int B5_TYPE
          The paper type
static int BOTTOM
          The search panel location
 com.elegantj.editors.C1 c1
           
static int C6_ENVELOP_TYPE
          The paper type
static java.lang.String CONTAINS
          Search with
static java.lang.String CURRENT_DATE
          To display the current date in the header or footer
static java.lang.String CURRENT_TIME
          To display the current time in the header or footer
static int CUSTOM_TYPE
          The paper type
protected  java.util.Vector dataVector
           
static int DL_ENVELOP_TYPE
          The paper type
static java.lang.String ENDS_WITH
          Search with
static java.lang.String EQUALS
          Search with
static int EXECUTIVE_TYPE
          The paper type
static int HAGAKI_CARD_TYPE
          The paper type
static int INDEX_CARD_4x6_TYPE
          The paper type
static int INDEX_CARD_5x8_TYPE
          The paper type
protected  java.awt.event.KeyEvent keyEvent
          Key event used for the editing start
static int LANDSCAPE
          The orientation of the page(s)
static int LEGAL_TYPE
          The paper type
static int LETTER_TYPE
          The paper type
static int N010_ENVELOP_TYPE
          The paper type
static java.lang.String PAGE_NO
          To display the page number in the header or footer
static int PORTRAIT
          The orientation of the page(s)
protected  java.beans.PropertyChangeSupport propertyChangeSupport
          Property change support
static java.util.ResourceBundle RESOURCE_BUNDLE
          Specifies the resurce bundle
static java.lang.String SEARCH_FROM_FIRST_CELL
          The value to start search from
static java.lang.String SEARCH_FROM_LAST_CELL
          The value to start search from
static java.lang.String SEARCH_FROM_SELECTED_CELL_TO_DOWN
          The value to start search from
static java.lang.String SEARCH_FROM_SELECTED_CELL_TO_UP
          The value to start search from
protected  SearchPanel searchPanel
          The search panel
static int SINGLE_RANGE_SELECTION
          single range selection selection for the AWTTable
static int SINGLE_SELECTION
          single selection for the AWTTable
static java.lang.String STARTS_WITH
          Search with
static int TOP
          The search panel location
static java.lang.String TOTAL_PAGES
          To display the total pages number in the header or footer
 
Fields inherited from class java.awt.Component
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
 
Fields inherited from interface java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
 
Constructor Summary
AWTTable()
          Default constructor which constructs the AWTTable
AWTTable(int rows, int cols, boolean allowPrinterSupport)
          Constructs the AWTTable with the specified rows(s) and column(s)
 
Method Summary
 void addColumn()
          Method which adds the column to the table
 void addColumn(java.lang.Object columnIdentifier)
          Method which programatically adds the column to the table
 void addColumn(java.lang.Object columnIdentifier, java.lang.Object[] columnData)
          Method which programatically adds the column to the table
 void addColumn(java.lang.Object columnIdentifier, java.util.Vector columnData)
          Method which programatically adds the column to the table
 void addFocusListener(java.awt.event.FocusListener focusListener)
          Overriden addFocusListener
 void addKeyListener(java.awt.event.KeyListener keyListener)
          Overriden addKeyListener
 void addMouseListener(java.awt.event.MouseListener mouseListener)
          Overriden addMouseListener
 void addMouseMotionListener(java.awt.event.MouseMotionListener mouseMotionListener)
          Overriden addMouseMotionListener
 void addPropertyChangeListener(java.beans.PropertyChangeListener l)
          Adds the property change listener
 void addRow()
          Method which programatically adds the row to end of the table
 void addRow(java.lang.Object[] rowData)
          Method which programatically adds the row to the table
 void addRow(java.util.Vector rowData)
          Method which programatically adds the row to the table
 void addRowAboveSelection()
          Method which adds the row above the selected row
 void addTableCellEditListener(TableCellEditListener l)
          Method which adds the TableCellEditListener
 void addTableCellResizeListener(TableCellResizeListener l)
          Method which adds the TableCellResizeListener
 void addTableColumnsAddedListener(TableColumnsAddedListener l)
          Method which adds the TableColumnsAddedListener
 void addTableColumnsRemovedListener(TableColumnsRemovedListener l)
          Method which adds the TableColumnsRemovedListener
 void addTableRowsAddedListener(TableRowsAddedListener l)
          Method which adds TableRowsAddedListener
 void addTableRowsRemovedListener(TableRowsRemovedListener l)
          Method which adds the TableRowsRemovedListener
 void addTableSelectionListener(TableSelectionListener l)
          Method which adds the TableSelectionListener
 void addTableSortListener(TableSortListener l)
          Method which adds the TableSortListener
 void cancelEditing()
          Method which programatically cancels editing if the currently table is editing
 void clearBackgroundNonSelectionColors()
          Clears all the row, column background non selection colors
 void clearBackgroundSelectionColors()
          Clears all the row, column background selection colors
 void clearBorderSelectionColors()
          Clears all the row, column border selection colors
 void clearEditors()
          Clears the row and column editors, if exists This method clears all the row and column editors which have been set with setRowEditorAt and setColumnEditorAt method
 void clearFonts()
          Clears all the row, column fonts
 void clearRenderers()
          Clears the row and column renderers, if exists This method clears all the row and column renderers which have been set with setRowRendererAt and setColumnRendererAt method
 void clearSelection()
          Clears the selection of the AWTTable
 void clearTextNonSelectionColors()
          Clears all the row, column text non selection colors
 void clearTextSelectionColors()
          Clears all the row, column text selection colors
static java.util.Hashtable convertArrayToHashtable(java.lang.Object[][] object)
          Converts the object's array to the hashtable
 java.util.Vector convertToVector(java.lang.Object[] anArray)
          Method which array to the vector
 void firePropertyChange(java.lang.String property, java.lang.Object oldValue, java.lang.Object newValue)
          Fires the property change
protected  void fireTableCellEditEvent(int editType, int rowIndex, int columnIndex, java.lang.Object value)
          Method which fires the table cell edit event
protected  void fireTableCellResizeEvent(int resizeType, int index, int size)
          Method which fires the table cell resize event
protected  void fireTableColumnsAddedEvent(int index0, int index1)
          Method which fires the table column(s) added event
protected  void fireTableColumnsRemovedEvent(int index0, int index1)
          Method which fires the table column(s) removed event
protected  void fireTableRowsAddedEvent(int rowIndex1, int rowIndex2)
          Method which fires the table rows(s) added event
protected  void fireTableRowsRemovedEvent(int rowIndex1, int rowIndex2, java.util.Vector rowData)
          Method which fires the table rows(s) removed event
protected  void fireTableSelectionEvent()
          Method which fires the table selection event
protected  void fireTableSortEvent(int eventType, int[] columnIndexes, boolean[] sortingOrders)
          Method which fires the table sort event
 void focusGained(java.awt.event.FocusEvent e)
          Implementation of focus listener
 void focusLost(java.awt.event.FocusEvent e)
          Implementation of focus listener
 double getActualPaperHeight()
          Returns the actual paper height
 double getActualPaperWidth()
          Returns the actual paper width
 int getAnchorSelectedColumn()
          Returns the anchor selected column
 int getAnchorSelectedRow()
          Returns the anchor selected row
 java.lang.String getAutoGeneratedColumnIdentifier()
          Returns the auto generated column identifiers
 java.awt.Color getBackground()
          Returns the background color of the whole table
 java.awt.Color getBackgroundNonSelectionColor()
          Returns the background non selection color for the whole table
 java.awt.Color getBackgroundSelectionColor()
          Returns the background selection color for the whole table
 int getBookSize()
          Returns the book size
 AWTBorder getBorder()
          Method which returns the border of the AWTTable
 java.awt.Color getBorderSelectionColor()
          Returns the border selection color for the whole table
 double getBottomMargin()
          Returns the bottom margin of the page(s), in inches
 java.awt.Color getCellBackgroundNonSelectionColorAt(int rowIndex, int columnIndex)
          Returns the background non selection color for the specified row and column index
 java.awt.Color getCellBackgroundSelectionColorAt(int rowIndex, int columnIndex)
          Returns the background selection color for the specified row and column index
 java.awt.Color getCellBorderSelectionColorAt(int rowIndex, int columnIndex)
          Returns the border selection color for the specified row and column index
 TableCellEditor getCellEditor()
          Returns the cell editor of the whole table
 TableCellEditor getCellEditorAt(int rowIndex, int columnIndex)
          Returns the editor for the sepcified row and column index
 java.awt.Font getCellFontAt(int rowIndex, int columnIndex)
          Returns the font for the specified row and column index
 TableCellRenderer getCellRenderer()
          Returns the cell renderer of the whole table
 TableCellRenderer getCellRendererAt(int rowIndex, int columnIndex)
          Returns the renderer for the sepcified row and column index
 java.awt.Color getCellTextNonSelectionColorAt(int rowIndex, int columnIndex)
          Returns the text non selection color for the specified row and column index
 java.awt.Color getCellTextSelectionColorAt(int rowIndex, int columnIndex)
          Returns the text selection color for the specified row and column index
 java.lang.String getCenterFooter()
          Returns the center footer of the page(s)
 java.lang.String getCenterHeader()
          Returns the center header of the page(s)
 int getColumnAtPoint(int x, int y)
          Method which returns the column at a (x, y) coordinate
 int getColumnAtPoint(java.awt.Point point)
          Method which returns the column at a point
 java.awt.Color getColumnBackgroundNonSelectionColorAt(int columnIndex)
          Returns the background non selection color for the sepcified column index
 java.util.Hashtable getColumnBackgroundNonSelectionColors()
          Returns the column's backgroundNonSelection colors
 java.awt.Color getColumnBackgroundSelectionColorAt(int columnIndex)
          Returns the background selection color for the sepcified column index
 java.util.Hashtable getColumnBackgroundSelectionColors()
          Returns the column's backgroundSelection colors
 java.awt.Color getColumnBorderSelectionColorAt(int columnIndex)
          Returns the border selection color for the sepcified column index
 java.util.Hashtable getColumnBorderSelectionColors()
          Returns the column's borderSelection colors
 int getColumnCount()
          Method which returns the value of columnCount
 java.util.Vector getColumnData(int columnIndex)
          Returns the row data at the specified column index
 TableCellEditor getColumnEditorAt(int columnIndex)
          Returns the editor for the sepcified column index
 java.util.Hashtable getColumnEditors()
          Returns the columns editors
 java.awt.Font getColumnFontAt(int columnIndex)
          Returns the font for the sepcified column index
 java.util.Hashtable getColumnFonts()
          Returns the column's fonts
 int getColumnHeaderHeight()
          Method which returns the column header height
 java.lang.String getColumnIdentifier(int columnIndex)
          Returns the column identifier at the specified colum index
 java.util.Vector getColumnIdentifiers()
          Method which returns the columnIdentifiers
 TableCellRenderer getColumnRendererAt(int columnIndex)
          Returns the renderer for the sepcified column index
 java.util.Hashtable getColumnRenderers()
          Returns the columns renderers
 boolean getColumnSelectionAllowed()
          Method which returns the wheather column selection allowed or not
 java.awt.Color getColumnTextNonSelectionColorAt(int columnIndex)
          Returns the text non selection color for the sepcified column index
 java.util.Hashtable getColumnTextNonSelectionColors()
          Returns the column's textNonSelection colors
 java.awt.Color getColumnTextSelectionColorAt(int columnIndex)
          Returns the text selection color for the sepcified column index
 java.util.Hashtable getColumnTextSelectionColors()
          Returns the column's textSelection colors
 int getColumnWidthAt(int columnIndex)
          Method which returns the column width at the specifid column index
 java.util.Vector getColumnWidths()
          Method which returns the column Widths
 java.util.Vector getData()
          Method which returns the data of the table
 int getDefaultColumnWidth()
          Method which returns the default column width for the table
 int getDefaultMaximumColumnWidth()
          Method which returns the default maximum column width
 int getDefaultMaximumRowHeight()
          Method which returns the default maximum row height
 int getDefaultMinimumColumnWidth()
          Method which returns the default minimum column width
 int getDefaultMinimumRowHeight()
          Method which returns the default minimum row height
 int getDefaultRowHeight()
          Method which returns the default row height for the table
 int getEditingColumn()
          Method which returns the currently editing column
 java.awt.Component getEditingComponent()
          Method which returns the currently editing component
 int getEditingRow()
          Method which returns the currently editing row
 java.awt.Font getFont()
          Returns the font for the whole table
 double getGapAboveFooter()
          Returns the value of gap above footer of the page(s), in inches
 double getGapBelowHeader()
          Returns the value of gap below header of the page(s), in inches
 java.awt.Color getGridColor()
          Method which returns the grid color of the AWTTable
 java.awt.Color getHeaderBackground()
          Returns the background for the headers (row, column)
 TableCellRenderer getHeaderCellRenderer()
          Returns the cell renderer of the table's header
 int getHeaderColumnAtPoint(int x, int y)
          Method which returns the column header index at the specified x, y coordinate
 int getHeaderColumnAtPoint(java.awt.Point point)
          Method which returns the column header index at the specified point
 java.awt.Font getHeaderFont()
          Returns the font for the headers (row, column)
 java.awt.Color getHeaderForeground()
          Returns the foreground for the headers (row, column)
 int getHeaderRowAtPoint(int x, int y)
          Method which returns the row header index at the specified x, y coordinate
 int getHeaderRowAtPoint(java.awt.Point point)
          Method which returns the row header index at the specified point
 java.awt.Scrollbar getHorizontalScrollbar()
          Returns the return horizontalScrollbar of the AWTTable
 int getHorzGap()
          Method which returns the horizontal gap of the AWTTable
 double getImageablePaperHeight()
          Returns the imageable paper height
 double getImageablePaperWidth()
          Returns the imageable paper width
 java.awt.Insets getInsets()
          Method whichs returns the insets of the AWTTable
 int getLeadSelectedColumn()
          Returns the lead selected column
 int getLeadSelectedRow()
          Returns the lead selected row
 java.lang.String getLeftFooter()
          Returns the left footer of the page(s)
 java.lang.String getLeftHeader()
          Returns the left header of the page(s)
 double getLeftMargin()
          Returns the left margin of the page(s), in inches
 java.lang.String getLicenseKey()
          Returns the license key of the bean
 java.util.Locale getLocale()
          Method which returns the locale of the AWTTable
 int getMaximumColumnWidthAt(int columnIndex)
          Method which returns the maximum column width for particular column index
 int getMaximumRowHeightAt(int rowIndex)
          Method which returns the maximum row height for the specified row index
 int getMinimumColumnWidthAt(int columnIndex)
          Method which returns the minimum column width for specified column index
 int getMinimumRowHeightAt(int rowIndex)
          Method which returns the minimum row height for particular row index
 int getNoOfCopies()
          Returns the no of copies of the page(s)
 int getPageOrientation()
          Returns the page orientation of the page(s)
 double getPaperHeight()
          Returns the value of property paper height, in inches
 int getPaperType()
          Returns the value of paper type property
 double getPaperWidth()
          Returns the value of property paper width, in inches
 java.awt.Dimension getPreferredSize()
          Method which returns the preferred size
 java.lang.String getPrintJobName()
          Returns the print job name
 boolean getResizeFromCells()
          Method which returns the wheather resize from cells or not
 boolean getResizeFromColumnHeader()
          Method which returns the wheather resize from column header or not
 boolean getResizeFromRowHeader()
          Method which returns the wheather resize from row header or not
 java.lang.String getRightFooter()
          Returns the right footer of the page(s)
 java.lang.String getRightHeader()
          Returns the right header of the page(s)
 double getRightMargin()
          Returns the right margin of the page(s), in inches
 int getRowAtPoint(int x, int y)
          Method which returns the row at a (x, y) coordinate
 int getRowAtPoint(java.awt.Point point)
          Method which returns the row at the specified point
 java.awt.Color getRowBackgroundNonSelectionColorAt(int rowIndex)
          Returns the background non selection color for the sepcified row index
 java.util.Hashtable getRowBackgroundNonSelectionColors()
          Returns the row's backgroundNonSelection colors
 java.awt.Color getRowBackgroundSelectionColorAt(int rowIndex)
          Returns the background selection color for the sepcified row index
 java.util.Hashtable getRowBackgroundSelectionColors()
          Returns the row's backgroundSelection colors
 java.awt.Color getRowBorderSelectionColorAt(int rowIndex)
          Returns the border selection color for the sepcified row index
 java.util.Hashtable getRowBorderSelectionColors()
          Returns the row's borderSelection colors
 int getRowCount()
          Method which returns the row count
 java.util.Vector getRowData(int rowIndex)
          Returns the row data at the specified row index
 TableCellEditor getRowEditorAt(int rowIndex)
          Returns the editor for the sepcified row index
 java.util.Hashtable getRowEditors()
          Returns the rows editors
 java.awt.Font getRowFontAt(int rowIndex)
          Returns the font for the sepcified row index
 java.util.Hashtable getRowFonts()
          Returns the row's fonts
 int getRowHeaderWidth()
          Method which returns the row header width
 int getRowHeightAt(int rowIndex)
          Method which returns the row Height at the specified row index
 java.util.Vector getRowHeights()
          Method which returns the row Heights
 TableCellRenderer getRowRendererAt(int rowIndex)
          Returns the renderer for the sepcified row index
 java.util.Hashtable getRowRenderers()
          Returns the rows renderers
 boolean getRowSelectionAllowed()
          Method which returns the wheather row selection allowed or not
 java.awt.Color getRowTextNonSelectionColorAt(int rowIndex)
          Returns the text non selection color for the sepcified row index
 java.util.Hashtable getRowTextNonSelectionColors()
          Returns the row's textNonSelection colors
 java.awt.Color getRowTextSelectionColorAt(int rowIndex)
          Returns the text selection color for the sepcified row index
 java.util.Hashtable getRowTextSelectionColors()
          Returns the row's textSelection colors
 SearchPanel getSearchPanel()
          Returns the return searchPanel of the AWTTable
 java.awt.Color getSearchPanelBackground()
          Returns the background color of the table's search panel
 java.awt.Font getSearchPanelFont()
          Returns the font of the table's search panel
 java.awt.Color getSearchPanelForeground()
          Returns the foreground color of the table's search panel
 int getSearchPanelLocation()
          Returns the search panel location
 int getSelectedColumn()
          Returns the index of the first selected column -1 if none column is selected
 int getSelectedColumnCount()
          Returns the number of selected columns
 int[] getSelectedColumns()
          Returns the indices of all selected columns
 int getSelectedRow()
          Returns the index of the first selected row -1 if none row is selected
 int getSelectedRowCount()
          Returns the number of selected rows
 int[] getSelectedRows()
          Returns the indices of all selected rows
 int getSelectionStyle()
          Returns the selection style either single selection or single range selection SINGLE_SELECTION, SINGLE_RANGE_SELECTION
 java.awt.Color getTable()
          Returns the foreground color of the whole table
 java.awt.Container getTableContainer()
          Method which returns the table container
 com.elegantj.awt.table.TablePanel getTablePanel()
          Returns the return tablePanel of the AWTTable
 java.awt.Color getTextNonSelectionColor()
          Returns the text non selection color for the whole table
 java.awt.Color getTextSelectionColor()
          Returns the text selection color for the whole table
 double getTopMargin()
          Returns the top margin of the page(s), in inches
 int getTotalColumnWidth()
          Method which returns the total column Width
 int getTotalRowHeight()
          Method which returns the total row height
 java.lang.Object getValueAt(int row, int column)
          Method which returns the value of cell represented by specified row and column
 int getVertGap()
          Method which returns the vertical gap of the AWTTable
 java.awt.Scrollbar getVerticalScrollbar()
          Returns the return verticalScrollbar of the AWTTable
protected  void init()
          Method which initialize the AWTTable
 void insertColumn(int index)
          Method which inserts the column at the specified index
 void insertColumn(int index, java.lang.Object columnIdentifier)
          Method which inserts the column at the specified index
 void insertColumn(int index, java.lang.Object columnIdentifier, java.lang.Object[] columnData)
          Method which programatically inserts the column to the table
 void insertColumn(int index, java.lang.Object columnIdentifier, java.util.Vector columnData)
          Method which programatically inserts the column to the table at the specified index
 void insertRow(int index)
          Method which insert the row at the specified index
 void insertRow(int index, java.lang.Object[] rowData)
          Method which programatically inserts the row to the table
 void insertRow(int index, java.util.Vector rowData)
          Method which programatically inserts the row to the table
 boolean isAddRowOnEnterKey()
          Returns the value of isAddRowOnEnterKey
 boolean isAutoScrolls()
          Returns wheather allow auto scrolls or not if true tree will automatically scroll its contents when dragged,
 boolean isCellEditableAt(int rowIndex, int columnIndex)
          Returns the is cell editable at the specified row and column
 boolean isCellSelected(int rowIndex, int columnIndex)
          Returns wheather cell specified by rowInex and columnIndex is selected or not
 boolean isColumnEditableAt(int columnIndex)
          Returns the editability of the specified column index
 boolean isColumnSelected(int columnIndex)
          Returns is specified column is selected or not
 boolean isEditable()
          Returns the editability of the table
 boolean isEditing()
          Method which returns wheather table is editing or not
 boolean isInsertRowOnInsertKey()
          Returns the value of isInsertRowOnInsertKey
 boolean isManagingFocus()
          Overriden the isManagingFocus
 boolean isPrintBookIndividually()
          Returns the wheather print the book of pages individually or not
 boolean isRemoveRowOnDeleteKey()
          Returns the value of isRemoveRowOnDeleteKey
 boolean isRowEditableAt(int rowIndex)
          Returns the editability of the specified row index
 boolean isRowSelected(int rowIndex)
          Returns is specified row is selected or not
 boolean isShowColumnHeader()
          Method which returns the wheather allow to show column header
 boolean isShowHorizontalGrid()
          Method which returns the wheather allowed to show horizontal grid
 boolean isShowLineAboveFooter()
          Returns The boolean value of, is line above footer to be drawn?
 boolean isShowLineBelowHeader()
          Returns The boolean value of, is line below header to be drawn?
 boolean isShowPopupMenu()
          Returns the value of isShowPopupMenu on right click on table
 boolean isShowPrintDialog()
          Returns The boolean value of, is display the print dialog while print method is called
 boolean isShowRowHeader()
          Method which returns the wheather allow to show row header
 boolean isShowSearchPanel()
          Returns the wheather allow to show the searchPanel
 boolean isShowVerticalGrid()
          Method which returns the wheather allowed to show vertical grid
 boolean isSizeColumnOnClick()
          Returns the value of the property SizeColumnOnClick
 boolean isSizeRowOnClick()
          Returns the value of the property SizeRowOnClick
 boolean isSortColumnOnClick()
          Method which returns the wheather sort column on click or not
 boolean isUpdateTableInRealTime()
          Returns the value of is allowed real time repaints, in response to row, colum resizing
 boolean isValidColumn(int columnIndex)
          Method which returns the wheather column specified by columnIndex is valid or not
 boolean isValidRow(int rowIndex)
          Method which returns the wheather row at the specified rowIndex is valid or not
 void pageSetup()
          Displays the page setup dialog for printing
 void pageSetup(java.awt.Frame frame)
          Displays the page setup dialog for printing
 void paint(java.awt.Graphics g)
          Method which overrides the paint
 void preview()
          Displays the preview dialog for the printing
 void preview(java.awt.Frame frame)
          Displays the preview dialog for the printing
 void print()
          Method which is called for printing job which is the main method for the printer bean
 void readExternal(java.io.ObjectInput in)
          Implementation of the Externalizable
 void removeColumn(int column)
          Method which programatically remove the at the specified columnIndex
 void removeColumns(int[] columnIndexes)
          Method which removes the columns specified by columnIndexes array
 void removeColumns(int index0, int index1)
          Method which programatically remove the at the specified columnIndex
 void removeFocusListener(java.awt.event.FocusListener focusListener)
          Overriden removeFocusListener
 void removeKeyListener(java.awt.event.KeyListener keyListener)
          Overriden removeKeyListener
 void removeMouseListener(java.awt.event.MouseListener mouseListener)
          Overriden removeMouseListener
 void removeMouseMotionListener(java.awt.event.MouseMotionListener mouseMotionListener)
          Overriden removeMouseMotionListener
 void removePropertyChangeListener(java.beans.PropertyChangeListener l)
          Removes the property change listener
 void removeRow(int row)
          Method which programatically remove the row at specified rowIndex
 void removeRows(int[] rowIndexes)
          Method which removes the rows specified by rowIndexes array
 void removeRows(int index0, int index1)
          Method which removes the rows(s) specified by the interval
 void removeSelectedRows()
          Method which removes the all selected rows
 void removeTableCellEditListener(TableCellEditListener l)
          Method which removes the TableCellEditListener
 void removeTableCellResizeListener(TableCellResizeListener l)
          Method which removes the TableCellResizeListener
 void removeTableColumnsAddedListener(TableColumnsAddedListener l)
          Method which removes the TableColumnsAddedListener
 void removeTableColumnsRemovedListener(TableColumnsRemovedListener l)
          Method which removes the TableColumnsRemovedListener
 void removeTableRowsAddedListener(TableRowsAddedListener l)
          Method which removes TableRowsAddedListener
 void removeTableRowsRemovedListener(TableRowsRemovedListener l)
          Method which removes the TableRowsRemovedListener
 void removeTableSelectionListener(TableSelectionListener l)
          Method which removes the TableSelectionListener
 void removeTableSortListener(TableSortListener l)
          Method which removes the TableSortListener
 void scrollColumnToVisible(int column)
          Method which scrolls the table up to the specified column become visible
 void scrollRectToVisible(java.awt.Rectangle contentRect)
          Method scrolls the table up to the specified rectangle become visible
 void scrollRowToVisible(int row)
          Method which scrolls the table up to the specified row become visible
 void scrollToVisible(int row, int column)
          Method which scrolls the table up to the specified row and column become visible
 int[] search(java.lang.String searchText, boolean isCaseSensitive)
          Method which searches the whole table for the specified text, in with specified case sensitivity of the rowIndex and columnIndex, where the searchText found
 int[] searchColumn(java.lang.String searchText, int searchOnColumn, boolean isCaseSensitive)
          Method which search on the column This method searches the column in case inses
 int[] searchColumn(java.lang.String searchText, java.lang.String searchOption, java.lang.String comparisonOption, int[] searchOnColumns, boolean isCaseSensitive)
          Searches the tree for the specific text, level and search type
 int[] searchColumn(java.lang.String searchText, java.lang.String searchOption, java.lang.String comparisonOption, int searchOnColumn, boolean isCaseSensitive)
          Searches the tree for the specific text, level and search type
 void setAddRowOnEnterKey(boolean isAddRowOnEnterKey)
          Sets the value of isAddRowOnEnterKey
 void setAutoScrolls(boolean bAutoScrolls)
          If true tree will automatically scroll its contents when dragged,
 void setBackground(java.awt.Color color)
          Sets the specified background color for the whole table
 void setBackgroundNonSelectionColor(java.awt.Color color)
          Sets the specified background non selection color for the whole table
 void setBackgroundSelectionColor(java.awt.Color color)
          Sets the specified background selection color for the whole table
 void setBookSize(int bookSize)
          Sets the book size
 void setBorder(AWTBorder awtBorder)
          Method which sets the border for the AWTTable
 void setBorderSelectionColor(java.awt.Color color)
          Sets the specified border selection color for the whole table
 void setBottomMargin(double bottomMargin)
          Sets the bottom margin of the page(s), in inches
 void setBounds(int x, int y, int width, int height)
          Method which sets the bounds of the AWTTable
 void setCellEditor(TableCellEditor editor)
          Sets the specified cell editor for the whole table
 void setCellRenderer(TableCellRenderer renderer)
          Sets the specified cell renderer for the whole table
 void setCenterFooter(java.lang.String centerFooter)
          Sets the center footer of the page(s)
 void setCenterHeader(java.lang.String centerHeader)
          Sets the center header of the page(s)
 void setColumnBackgroundNonSelectionColorAt(int columnIndex, java.awt.Color color)
          Sets the specified background non selection color for the specified column index
 void setColumnBackgroundNonSelectionColors(java.util.Hashtable colors)
          Sets the column's backgroundNonSelection color
 void setColumnBackgroundSelectionColorAt(int columnIndex, java.awt.Color color)
          Sets the specified background selection color for the specified column index
 void setColumnBackgroundSelectionColors(java.util.Hashtable colors)
          Sets the column's backgroundSelection color
 void setColumnBorderSelectionColorAt(int columnIndex, java.awt.Color color)
          Sets the specified border selection color for the specified column index
 void setColumnBorderSelectionColors(java.util.Hashtable colors)
          Sets the column's borderSelection color
 void setColumnCount(int nColumns)
          Method which programatically set the column count of the table
 void setColumnEditableAt(int columnIndex, boolean isEditable)
          Sets the editability for the specified column index
 void setColumnEditorAt(int columnIndex, TableCellEditor editor)
          Sets the specified editor for the sepcified column index
 void setColumnEditors(java.util.Hashtable editors)
          Sets the column editors
 void setColumnFontAt(int columnIndex, java.awt.Font font)
          Sets the specified font for the specified column index
 void setColumnFonts(java.util.Hashtable fonts)
          Sets the row's font
 void setColumnHeaderHeight(int nHeight)
          Method which sets the column header height
 void setColumnIdentifierAt(java.lang.String identifier, int columnIndex)
          Sets the column identifier at the specified colum index
 void setColumnIdentifiers(java.lang.String[] columnIds)
          Method which sets the column identifiers
 void setColumnIdentifiers(java.util.Vector columnIdentifiers)
          Method which set thes columnIdentifiers for the table
 void setColumnRendererAt(int columnIndex, TableCellRenderer renderer)
          Sets the specified renderer for the sepcified column index
 void setColumnRenderers(java.util.Hashtable renderers)
          Sets the column renderers
 void setColumnSelectionAllowed(boolean bColumn)
          Method which sets the wheather column selection allowed or not
 void setColumnSelectionInterval(int index0, int index1)
          Method which sets the selected column interval
 void setColumnTextNonSelectionColorAt(int columnIndex, java.awt.Color color)
          Sets the specified text non selection color for the specified column index
 void setColumnTextNonSelectionColors(java.util.Hashtable colors)
          Sets the column's textNonSelection color
 void setColumnTextSelectionColorAt(int columnIndex, java.awt.Color color)
          Sets the specified text selection color for the specified column index
 void setColumnTextSelectionColors(java.util.Hashtable colors)
          Sets the column's textSelection color
 void setColumnWidthAt(int columnIndex, int nWidth)
          Method which set the column Width at the specified column index
 void setCursor(java.awt.Cursor cursor)
          Method which sets the cursor for the AWTTable
 void setData(java.lang.Object[][] data, java.lang.Object[] columnIdentifiers)
          Method which set the data of the whole table
 void setData(java.lang.String[][] data)
          Method which set the data for the table
 void setData(java.util.Vector data)
          Method which set the data of the table
 void setData(java.util.Vector data, java.util.Vector columnIdentifiers)
          Method which set the data of the whole table
 void setDefaultColumnWidth(int nWidth)
          Method sets the default column widht for the all the column(s) also reset the values of the all the column widths to the default column width also set the maximum column width or minimum column width of the column if got out of range
 void setDefaultMaximumColumnWidth(int nWidth)
          Method which set the default maximum column width resets the all the maximum column widths to the default maximum column width also sets the all the column widths and all the maximum column widths if got out of range
 void setDefaultMaximumRowHeight(int nHeight)
          Method which sets the default maximum row height resets the all the maximum row heights to the default maximum row height also sets the all the row heights and all the maximum row heights if got out of range
 void setDefaultMinimumColumnWidth(int nWidth)
          Method which set the default minimum column width resets the all the minimum column widths to the default minimum column width also sets the all the column widths and all the minimum column widths if got out of range
 void setDefaultMinimumRowHeight(int nHeight)
          Method which sets the default minimum row height resets the all the minimum row heights to the default minimum row height also sets the all the row heights and all the minimum row heights if got out of range
 void setDefaultRowHeight(int nHeight)
          Method sets the default row height for the all the rows(s) also reset the value of the all the row height to the default row also set the maximum row height or minimum row height of the row if got out of range
 void setEditable(boolean isEditable)
          Sets the editability for the table
 void setEnabled(boolean bEnabled)
          Method which sets the enability of the AWTTable
 void setFont(java.awt.Font font)
          Sets the specified font for the whole table
 void setForeground(java.awt.Color color)
          Sets the specified foreground color for the whole table
 void setGapAboveFooter(double gapAboveFooter)
          Sets the value of gap above footer of the page(s), in inches
 void setGapBelowHeader(double gapBelowHeader)
          Sets the value of gap below header of the page(s), in inches
 void setGridColor(java.awt.Color colorGrid)
          Method which sets the grid color for the AWTTable
 void setHeaderBackground(java.awt.Color color)
          Sets the specified background color for the headers (row, column)
 void setHeaderCellRenderer(TableCellRenderer cellRenderer)
          Sets the cell renderer for the table's header
 void setHeaderFont(java.awt.Font font)
          Sets the specified font for the headers (row, column)
 void setHeaderForeground(java.awt.Color color)
          Sets the specified foreground color for the headers (row, column)
 void setHorzGap(int nGap)
          Method which sets the horizontal gap for the AWTTable
 void setInsertRowOnInsertKey(boolean isInsertRowOnInsertKey)
          Sets the value of isInsertRowOnInsertKey
 void setInsets(java.awt.Insets insets)
          Method which sets the insets for the AWTTable
 void setLeftFooter(java.lang.String leftFooter)
          Sets the left footer of the page(s)
 void setLeftHeader(java.lang.String leftHeader)
          Sets the left header of the page(s)
 void setLeftMargin(double leftMargin)
          Sets the left margin of the page(s), in inches
 void setLicenseKey(java.lang.String licenseKey)
          Methods which sets the license key
 void setLocale(java.util.Locale locale)
          Method which sets the locale for the AWTTable
 void setMaximumColumnWidthAt(int columnIndex, int nWidth)
          Method which sets the maximum column widht for the particular column
 void setMaximumRowHeightAt(int rowIndex, int nHeight)
          Method which sets the maximum row height for the specified row index
 void setMinimumColumnWidthAt(int columnIndex, int nWidth)
          Method which sets the minimum column width for the particular column
 void setMinimumRowHeightAt(int rowIndex, int nHeight)
          Method which sets the minimum row height for the specified row Index
 void setNoOfCopies(int noOfCopies)
          Sets the no of copies of the page(s)
 void setPageOrientation(int pageOrientation)
          Sets the page orientation of the page(s)
 void setPaperSize(double width, double height)
          Sets the paper's size
 void setPaperType(int paperType)
          Sets the value of paper type property
 void setPrintBookIndividually(boolean isPrintBookIndividually)
          Sets the wheather user want to print the book of pages individually or not
 void setPrintJobName(java.lang.String jobName)
          Returns the print job name
 void setRemoveRowOnDeleteKey(boolean isRemoveRowOnDeleteKey)
          Sets the value of isRemoveRowOnDeleteKey
 void setResizeFromCells(boolean bResize)
          Method which sets the wheather resize from cells or not
 void setResizeFromColumnHeader(boolean bResize)
          Method which sets the wheather resize from column header or not
 void setResizeFromRowHeader(boolean bResize)
          Method which sets the wheather resize from row header or not
 void setRightFooter(java.lang.String rightFooter)
          Sets the right footer of the page(s)
 void setRightHeader(java.lang.String rightHeader)
          Sets the right header of the page(s)
 void setRightMargin(double rightMargin)
          Sets the right margin of the page(s), in inches
 void setRowBackgroundNonSelectionColorAt(int rowIndex, java.awt.Color color)
          Sets the specified background non selection color for the specified row index
 void setRowBackgroundNonSelectionColors(java.util.Hashtable colors)
          Sets the row's backgroundNonSelection color
 void setRowBackgroundSelectionColorAt(int rowIndex, java.awt.Color color)
          Sets the specified background selection color for the specified row index
 void setRowBackgroundSelectionColors(java.util.Hashtable colors)
          Sets the row's backgroundSelection color
 void setRowBorderSelectionColorAt(int rowIndex, java.awt.Color color)
          Sets the specified border selection color for the specified row index
 void setRowBorderSelectionColors(java.util.Hashtable colors)
          Sets the row's borderSelection color
 void setRowCount(int nRows)
          Method which programatically sets the row count of the table
 void setRowEditableAt(int rowIndex, boolean isEditable)
          Sets the editability for the specified row index
 void setRowEditorAt(int rowIndex, TableCellEditor editor)
          Sets the specified editor for the sepcified row index
 void setRowEditors(java.util.Hashtable editors)
          Sets the row editors
 void setRowFontAt(int rowIndex, java.awt.Font font)
          Sets the specified font for the specified row index
 void setRowFonts(java.util.Hashtable fonts)
          Sets the row's font
 void setRowHeaderWidth(int nWidth)
          Method which sets the row header widht
 void setRowHeightAt(int rowIndex, int nHeight)
          Method which set the row Height
 void setRowRendererAt(int rowIndex, TableCellRenderer renderer)
          Sets the specified renderer for the sepcified row index
 void setRowRenderers(java.util.Hashtable renderers)
          Sets the rows renderers
 void setRowSelectionAllowed(boolean bRow)
          Method which sets the wheather row selection allowed or not
 void setRowSelectionInterval(int index0, int index1)
          Method which sets the selection row interval
 void setRowTextNonSelectionColorAt(int rowIndex, java.awt.Color color)
          Sets the specified text non selection color for the specified row index
 void setRowTextNonSelectionColors(java.util.Hashtable colors)
          Sets the row's textNonSelection color
 void setRowTextSelectionColorAt(int rowIndex, java.awt.Color color)
          Sets the specified text selection color for the specified row index
 void setRowTextSelectionColors(java.util.Hashtable colors)
          Sets the row's textSelection color
 void setSearchPanelBackground(java.awt.Color background)
          Method which sets the background color for the table's search panel
 void setSearchPanelFont(java.awt.Font font)
          Method which sets the font for the table's search panel
 void setSearchPanelForeground(java.awt.Color foreground)
          Method which sets the foreground color for the table's search panel
 void setSearchPanelLocation(int searchPanelLocation)
          Sets the search panel location
 void setSelectedColumn(int columnIndex)
          Method which selects the specified column
 void setSelectedRow(int rowIndex)
          Method which selects the specified row
 void setSelectionStyle(int selectionStyle)
          Method sets the selection style
 void setShowColumnHeader(boolean bShow)
          Method which sets the wheather allow to show column header or not
 void setShowHorizontalGrid(boolean bShow)
          Method which sets the wheather allowed to show horizontal grid or not
 void setShowLineAboveFooter(boolean showLineAboveFooter)
          Sets the boolean value of, is line above footer to be drawn?
 void setShowLineBelowHeader(boolean showLineBelowHeader)
          Sets the boolean value of, is line below header to be drawn?
 void setShowPopupMenu(boolean isShowPopupMenu)
          Sets the value of isShowPopupMenu on right click on table
 void setShowPrintDialog(boolean showPrintDialog)
          Sets the boolean value of, is display the print dialog while print method is called
 void setShowRowHeader(boolean bShow)
          Method which sets the wheather allow to show row header or not
 void setShowSearchPanel(boolean bShowSearchPanel)
          Sets the wheather allow to show the search panel or not
 void setShowVerticalGrid(boolean bShow)
          Method which sets the wheather allowed to show vertical grid or not
 void setSizeColumnOnClick(boolean bSizeColumnOnClick)
          Sets the value of the property SizeColumnOnClick if true it automatically resized the clicked column to fit the maximum width(the maximum width calculated from all the cells at the clicked column) resize operation invoke on double clicking the gap between two columns from column header
 void setSizeRowOnClick(boolean bSizeRowOnClick)
          Sets the value of the property SizeRowOnClick if true it automatically resized the clicked row to fit the maximum height(the maximum height calculated from all the cells at the clicked row) resize operation invoke on double clicking the gap between two rows from row header
 void setSortColumnOnClick(boolean sortColumnOnClick)
          Method which sets the wheather sort column on click or not
 void setTextNonSelectionColor(java.awt.Color color)
          Sets the specified text non selection color for the whole table
 void setTextSelectionColor(java.awt.Color color)
          Sets the specified text selection color for the whole table
 void setTopMargin(double topMargin)
          Sets the top margin of the page(s), in inches
 void setUpdateTableInRealTime(boolean bUpdateTableInRealTime)
          Sets the is allowed real time repaints, in response to row, colum resizing
 void setValueAt(java.lang.Object dataValue, int row, int column)
          Method which set the value of cell at the specified row and column index
 void setVertGap(int nGap)
          Method which sets the vertical gap for the AWTTable
 void setVisible(boolean bVisible)
          Method which sets the visibility for the AWTTable
 void sizeColumnsToFit()
          Resize all the columns to fit maximum width
 void sizeColumnToFit(int columnIndex)
          Resize the specified column to fit maximum width
 void sizeRowsToFit()
          Resize all the rows to fit maximum height
 void sizeRowToFit(int rowIndex)
          Resize the specified row to fit maximum height
 void sortColumn(int columnIndex)
          Method which sort the column specified by the column index
 void sortColumn(int columnIndex, boolean sortingOrder)
          Method which sort the column specified by the column index on ascending or descding order specified by the order flag
 void sortColumns(int[] columnIndexes)
          Method which sort the column(s)
 void sortColumns(int[] columnIndexes, boolean[] sortingOrders)
          Method which sort the column(s)
 void startEditing(int row, int column)
          Method which starts the editing at the specified row and column
 void stopEditing()
          Method which programatically stop editing if the currently table is editing
 void update(java.awt.Graphics g)
           
 void writeExternal(java.io.ObjectOutput out)
          Implementation of the Externalizable
 
Methods inherited from class java.awt.Panel
addNotify, getAccessibleContext
 
Methods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, addImpl, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getAlignmentX, getAlignmentY, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, getListeners, getMaximumSize, getMinimumSize, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, paramString, preferredSize, print, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, removeNotify, setFocusCycleRoot, setFocusTraversalKeys, setFocusTraversalPolicy, setLayout, transferFocusBackward, transferFocusDownCycle, validate, validateTree
 
Methods inherited from class java.awt.Component
action, add, addComponentListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, contains, createImage, createImage, createVolatileImage, createVolatileImage, disable, disableEvents, dispatchEvent, enable, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, getBounds, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFontMetrics, getForeground, getGraphics, getGraphicsConfiguration, getHeight, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocation, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getSize, getToolkit, getTreeLock, getWidth, getX, getY, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isDoubleBuffered, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isOpaque, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, printAll, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processKeyEvent, processMouseEvent, processMouseMotionEvent, processMouseWheelEvent, remove, removeComponentListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeMouseWheelListener, removePropertyChangeListener, repaint, repaint, repaint, repaint, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, reshape, resize, resize, setBounds, setComponentOrientation, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocation, setLocation, setName, setSize, setSize, show, show, size, toString, transferFocus, transferFocusUpCycle
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

RESOURCE_BUNDLE

public static final java.util.ResourceBundle RESOURCE_BUNDLE
Specifies the resurce bundle


propertyChangeSupport

protected java.beans.PropertyChangeSupport propertyChangeSupport
Property change support


SINGLE_SELECTION

public static final int SINGLE_SELECTION
single selection for the AWTTable

See Also:
Constant Field Values

SINGLE_RANGE_SELECTION

public static final int SINGLE_RANGE_SELECTION
single range selection selection for the AWTTable

See Also:
Constant Field Values

STARTS_WITH

public static java.lang.String STARTS_WITH
Search with


ENDS_WITH

public static java.lang.String ENDS_WITH
Search with


CONTAINS

public static java.lang.String CONTAINS
Search with


EQUALS

public static java.lang.String EQUALS
Search with


SEARCH_FROM_FIRST_CELL

public static java.lang.String SEARCH_FROM_FIRST_CELL
The value to start search from


SEARCH_FROM_LAST_CELL

public static java.lang.String SEARCH_FROM_LAST_CELL
The value to start search from


SEARCH_FROM_SELECTED_CELL_TO_UP

public static java.lang.String SEARCH_FROM_SELECTED_CELL_TO_UP
The value to start search from


SEARCH_FROM_SELECTED_CELL_TO_DOWN

public static java.lang.String SEARCH_FROM_SELECTED_CELL_TO_DOWN
The value to start search from


TOP

public static int TOP
The search panel location


BOTTOM

public static int BOTTOM
The search panel location


searchPanel

protected SearchPanel searchPanel
The search panel


dataVector

protected java.util.Vector dataVector

keyEvent

protected java.awt.event.KeyEvent keyEvent
Key event used for the editing start


PORTRAIT

public static int PORTRAIT
The orientation of the page(s)


LANDSCAPE

public static int LANDSCAPE
The orientation of the page(s)


LETTER_TYPE

public static int LETTER_TYPE
The paper type


LEGAL_TYPE

public static int LEGAL_TYPE
The paper type


EXECUTIVE_TYPE

public static int EXECUTIVE_TYPE
The paper type


A4_TYPE

public static int A4_TYPE
The paper type


A5_TYPE

public static int A5_TYPE
The paper type


B5_TYPE

public static int B5_TYPE
The paper type


N010_ENVELOP_TYPE

public static int N010_ENVELOP_TYPE
The paper type


A2_ENVELOP_TYPE

public static int A2_ENVELOP_TYPE
The paper type


DL_ENVELOP_TYPE

public static int DL_ENVELOP_TYPE
The paper type


C6_ENVELOP_TYPE

public static int C6_ENVELOP_TYPE
The paper type


INDEX_CARD_4x6_TYPE

public static int INDEX_CARD_4x6_TYPE
The paper type


INDEX_CARD_5x8_TYPE

public static int INDEX_CARD_5x8_TYPE
The paper type


A6_CARD_TYPE

public static int A6_CARD_TYPE
The paper type


HAGAKI_CARD_TYPE

public static int HAGAKI_CARD_TYPE
The paper type


CUSTOM_TYPE

public static int CUSTOM_TYPE
The paper type


CURRENT_DATE

public static java.lang.String CURRENT_DATE
To display the current date in the header or footer


CURRENT_TIME

public static java.lang.String CURRENT_TIME
To display the current time in the header or footer


PAGE_NO

public static java.lang.String PAGE_NO
To display the page number in the header or footer


TOTAL_PAGES

public static java.lang.String TOTAL_PAGES
To display the total pages number in the header or footer


c1

public transient com.elegantj.editors.C1 c1
Constructor Detail

AWTTable

public AWTTable()
Default constructor which constructs the AWTTable


AWTTable

public AWTTable(int rows,
                int cols,
                boolean allowPrinterSupport)
Constructs the AWTTable with the specified rows(s) and column(s)

Parameters:
rows - The specified rows(s)
cols - The specified column(s)
allowPrinterSupport - The value for wheater printer support for the AWTTable is allowed or not The default value is true
Method Detail

init

protected void init()
Method which initialize the AWTTable


getPreferredSize

public java.awt.Dimension getPreferredSize()
Method which returns the preferred size


update

public final void update(java.awt.Graphics g)

paint

public final void paint(java.awt.Graphics g)
Method which overrides the paint


isValidRow

public boolean isValidRow(int rowIndex)
Method which returns the wheather row at the specified rowIndex is valid or not

Parameters:
rowIndex - The specified rowIndex

isValidColumn

public boolean isValidColumn(int columnIndex)
Method which returns the wheather column specified by columnIndex is valid or not

Parameters:
columnIndex - The specified columnIndex

getTablePanel

public com.elegantj.awt.table.TablePanel getTablePanel()
Returns the return tablePanel of the AWTTable

Returns:
The return tablePanel of the AWTTable

getHorizontalScrollbar

public java.awt.Scrollbar getHorizontalScrollbar()
Returns the return horizontalScrollbar of the AWTTable

Returns:
The return horizontalScrollbar of the AWTTable

getVerticalScrollbar

public java.awt.Scrollbar getVerticalScrollbar()
Returns the return verticalScrollbar of the AWTTable

Returns:
The return verticalScrollbar of the AWTTable

getSearchPanel

public SearchPanel getSearchPanel()
Returns the return searchPanel of the AWTTable

Returns:
The return searchPanel of the AWTTable

setBackground

public final void setBackground(java.awt.Color color)
Sets the specified background color for the whole table

Parameters:
color - The background color

getBackground

public final java.awt.Color getBackground()
Returns the background color of the whole table


setForeground

public final void setForeground(java.awt.Color color)
Sets the specified foreground color for the whole table


setFont

public void setFont(java.awt.Font font)
Sets the specified font for the whole table

Parameters:
font - The font

getFont

public java.awt.Font getFont()
Returns the font for the whole table

Specified by:
getFont in interface java.awt.MenuContainer
Returns:
Font The font for the whole table

getTable

public final java.awt.Color getTable()
Returns the foreground color of the whole table


setVisible

public void setVisible(boolean bVisible)
Method which sets the visibility for the AWTTable

Parameters:
bVisible - the visibility for the AWTTable

setEnabled

public void setEnabled(boolean bEnabled)
Method which sets the enability of the AWTTable

Parameters:
bEnabled - the enability of the AWTTable

setLocale

public void setLocale(java.util.Locale locale)
Method which sets the locale for the AWTTable

Parameters:
locale - The locale for the AWTTable

getLocale

public java.util.Locale getLocale()
Method which returns the locale of the AWTTable

Returns:
The locale of the AWTTable

setCursor

public void setCursor(java.awt.Cursor cursor)
Method which sets the cursor for the AWTTable

Parameters:
cursor - The cursor for the AWTTable

setBounds

public void setBounds(int x,
                      int y,
                      int width,
                      int height)
Method which sets the bounds of the AWTTable

Parameters:
x - The x coordinate of the AWTTable
y - The y coordinate of the AWTTable
width - The width of the of the AWTTable
height - The height of the AWTTable

setResizeFromRowHeader

public void setResizeFromRowHeader(boolean bResize)
Method which sets the wheather resize from row header or not

Parameters:
bResize - wheather resize from row header or not

getResizeFromRowHeader

public boolean getResizeFromRowHeader()
Method which returns the wheather resize from row header or not

Returns:
wheather resize from row header or not

setResizeFromColumnHeader

public void setResizeFromColumnHeader(boolean bResize)
Method which sets the wheather resize from column header or not

Parameters:
bResize - wheather resize from column header or not

getResizeFromColumnHeader

public boolean getResizeFromColumnHeader()
Method which returns the wheather resize from column header or not

Returns:
wheather resize from column header or not

setResizeFromCells

public void setResizeFromCells(boolean bResize)
Method which sets the wheather resize from cells or not

Parameters:
bResize - wheather resize from cells or not

getResizeFromCells

public boolean getResizeFromCells()
Method which returns the wheather resize from cells or not

Returns:
wheather resize from cells or not

setShowRowHeader

public void setShowRowHeader(boolean bShow)
Method which sets the wheather allow to show row header or not

Parameters:
bShow - wheather allow to show row header or not

isShowRowHeader

public boolean isShowRowHeader()
Method which returns the wheather allow to show row header

Returns:
wheather allow to show row header

setShowColumnHeader

public void setShowColumnHeader(boolean bShow)
Method which sets the wheather allow to show column header or not

Parameters:
bShow - wheather allow to show column header or not

isShowColumnHeader

public boolean isShowColumnHeader()
Method which returns the wheather allow to show column header

Returns:
wheather allow to show column header

setSelectedRow

public void setSelectedRow(int rowIndex)
Method which selects the specified row

Parameters:
rowIndex - The specified row

setRowSelectionInterval

public void setRowSelectionInterval(int index0,
                                    int index1)
Method which sets the selection row interval

Parameters:
index0 - The first index of selection
index1 - The last index of selection

isRowSelected

public boolean isRowSelected(int rowIndex)
Returns is specified row is selected or not

Returns:
is specified row is selected or not

getAnchorSelectedRow

public int getAnchorSelectedRow()
Returns the anchor selected row

Returns:
The anchor selected row

getLeadSelectedRow

public int getLeadSelectedRow()
Returns the lead selected row

Returns:
The lead selected row

getSelectedRow

public int getSelectedRow()
Returns the index of the first selected row -1 if none row is selected

Returns:
The index of the first selected row

getSelectedRowCount

public int getSelectedRowCount()
Returns the number of selected rows

Returns:
The number of selected rows

getSelectedRows

public int[] getSelectedRows()
Returns the indices of all selected rows

Returns:
The array of the indices of all selected rows

setSelectedColumn

public void setSelectedColumn(int columnIndex)
Method which selects the specified column

Parameters:
columnIndex - The specified column

setColumnSelectionInterval

public void setColumnSelectionInterval(int index0,
                                       int index1)
Method which sets the selected column interval

Parameters:
index0 - The first index of selection
index1 - The last index of selection

isColumnSelected

public boolean isColumnSelected(int columnIndex)
Returns is specified column is selected or not

Returns:
is specified column is selected or not

getAnchorSelectedColumn

public int getAnchorSelectedColumn()
Returns the anchor selected column

Returns:
The anchor selected column

getLeadSelectedColumn

public int getLeadSelectedColumn()
Returns the lead selected column

Returns:
The lead selected column

getSelectedColumn

public int getSelectedColumn()
Returns the index of the first selected column -1 if none column is selected

Returns:
The index of the first selected column

getSelectedColumnCount

public int getSelectedColumnCount()
Returns the number of selected columns

Returns:
The number of selected columns

getSelectedColumns

public int[] getSelectedColumns()
Returns the indices of all selected columns

Returns:
The array of the indices of all selected columns

clearSelection

public void clearSelection()
Clears the selection of the AWTTable


isCellSelected

public boolean isCellSelected(int rowIndex,
                              int columnIndex)
Returns wheather cell specified by rowInex and columnIndex is selected or not

Parameters:
rowIndex - The specified row index
columnIndex - The specified column index

setColumnSelectionAllowed

public void setColumnSelectionAllowed(boolean bColumn)
Method which sets the wheather column selection allowed or not

Parameters:
bColumn - wheather column selection allowed or not

getColumnSelectionAllowed

public boolean getColumnSelectionAllowed()
Method which returns the wheather column selection allowed or not

Returns:
wheather column selection allowed or not

setRowSelectionAllowed

public void setRowSelectionAllowed(boolean bRow)
Method which sets the wheather row selection allowed or not

Parameters:
bRow - wheather row selection allowed or not

getRowSelectionAllowed

public boolean getRowSelectionAllowed()
Method which returns the wheather row selection allowed or not

Returns:
wheather row selection allowed or not

setSortColumnOnClick

public void setSortColumnOnClick(boolean sortColumnOnClick)
Method which sets the wheather sort column on click or not


isSortColumnOnClick

public boolean isSortColumnOnClick()
Method which returns the wheather sort column on click or not

Returns:
wheather sort column on click or not

setColumnHeaderHeight

public void setColumnHeaderHeight(int nHeight)
Method which sets the column header height


getColumnHeaderHeight

public int getColumnHeaderHeight()
Method which returns the column header height

Returns:
The column header height

setRowHeaderWidth

public void setRowHeaderWidth(int nWidth)
Method which sets the row header widht

Parameters:
nWidth - The row header width

getRowHeaderWidth

public int getRowHeaderWidth()
Method which returns the row header width

Returns:
The row header width

setShowHorizontalGrid

public void setShowHorizontalGrid(boolean bShow)
Method which sets the wheather allowed to show horizontal grid or not

Parameters:
bShow - wheather allowed to horizontal grid or not

isShowHorizontalGrid

public boolean isShowHorizontalGrid()
Method which returns the wheather allowed to show horizontal grid

Returns:
wheather allowed to show horizontal grid

setShowVerticalGrid

public void setShowVerticalGrid(boolean bShow)
Method which sets the wheather allowed to show vertical grid or not

Parameters:
bShow - wheather allowed to vertical grid or not

isShowVerticalGrid

public boolean isShowVerticalGrid()
Method which returns the wheather allowed to show vertical grid

Returns:
wheather allowed to show vertical grid

setGridColor

public void setGridColor(java.awt.Color colorGrid)
Method which sets the grid color for the AWTTable

Parameters:
colorGrid - The grid color for the AWTTable

getGridColor

public java.awt.Color getGridColor()
Method which returns the grid color of the AWTTable

Returns:
The grid color

setHeaderCellRenderer

public void setHeaderCellRenderer(TableCellRenderer cellRenderer)
Sets the cell renderer for the table's header

Parameters:
cellRenderer - The TableCellRenderer

getHeaderCellRenderer

public TableCellRenderer getHeaderCellRenderer()
Returns the cell renderer of the table's header

Returns:
The CellRenderer of the table's header

setHeaderBackground

public void setHeaderBackground(java.awt.Color color)
Sets the specified background color for the headers (row, column)

Parameters:
color - The specified background color

getHeaderBackground

public java.awt.Color getHeaderBackground()
Returns the background for the headers (row, column)

Returns:
The background for the headers (row, column)

setHeaderForeground

public void setHeaderForeground(java.awt.Color color)
Sets the specified foreground color for the headers (row, column)

Parameters:
color - The specified foreground color

getHeaderForeground

public java.awt.Color getHeaderForeground()
Returns the foreground for the headers (row, column)

Returns:
The foreground for the headers (row, column)

setHeaderFont

public void setHeaderFont(java.awt.Font font)
Sets the specified font for the headers (row, column)

Parameters:
font - The specified font

getHeaderFont

public java.awt.Font getHeaderFont()
Returns the font for the headers (row, column)

Returns:
The font for the headers (row, column)

setEditable

public void setEditable(boolean isEditable)
Sets the editability for the table

Parameters:
isEditable - The editability for the table

isEditable

public boolean isEditable()
Returns the editability of the table

Returns:
The editability of the table

setRowEditableAt

public void setRowEditableAt(int rowIndex,
                             boolean isEditable)
Sets the editability for the specified row index

Parameters:
rowIndex - The specified row index
isEditable - The specified editability

isRowEditableAt

public boolean isRowEditableAt(int rowIndex)
Returns the editability of the specified row index

Parameters:
rowIndex - The specified row index
Returns:
The editability of the specified row index

setColumnEditableAt

public void setColumnEditableAt(int columnIndex,
                                boolean isEditable)
Sets the editability for the specified column index

Parameters:
columnIndex - The specified column index
isEditable - The specified editability

isColumnEditableAt

public boolean isColumnEditableAt(int columnIndex)
Returns the editability of the specified column index

Returns:
The editability of the specified column index

isCellEditableAt

public boolean isCellEditableAt(int rowIndex,
                                int columnIndex)
Returns the is cell editable at the specified row and column

Parameters:
rowIndex - The specified row index
columnIndex - The specified column index
Returns:
The is cell editable at the specified row and column

setCellRenderer

public void setCellRenderer(TableCellRenderer renderer)
Sets the specified cell renderer for the whole table

Parameters:
renderer - The specified renderer

getCellRenderer

public TableCellRenderer getCellRenderer()
Returns the cell renderer of the whole table

Returns:
The cell renderer of the whole table

setRowRenderers

public void setRowRenderers(java.util.Hashtable renderers)
Sets the rows renderers

Parameters:
renderers - The hashtable contains the renderers the format of the hashtable is key = row index, Integer value value = AWTTableCellRenderer the renderer

getRowRenderers

public java.util.Hashtable getRowRenderers()
Returns the rows renderers

Returns:
Hashtable The rows renderers

setRowRendererAt

public void setRowRendererAt(int rowIndex,
                             TableCellRenderer renderer)
Sets the specified renderer for the sepcified row index

Parameters:
rowIndex - The specified row index
renderer - The specified renderer

getRowRendererAt

public TableCellRenderer getRowRendererAt(int rowIndex)
Returns the renderer for the sepcified row index

Parameters:
rowIndex - The specified row index
Returns:
TableCellRenderer The renderer for the sepcified row index

setColumnRenderers

public void setColumnRenderers(java.util.Hashtable renderers)
Sets the column renderers

Parameters:
renderers - The hashtable contains the renderers the format of the hashtable is key = column index, Integer value value = AWTTableCellRenderer the renderer

getColumnRenderers

public java.util.Hashtable getColumnRenderers()
Returns the columns renderers

Returns:
Hashtable The columns renderers

setColumnRendererAt

public void setColumnRendererAt(int columnIndex,
                                TableCellRenderer renderer)
Sets the specified renderer for the sepcified column index

Parameters:
columnIndex - The specified column index
renderer - The specified renderer

getColumnRendererAt

public TableCellRenderer getColumnRendererAt(int columnIndex)
Returns the renderer for the sepcified column index

Returns:
TableCellRenderer The renderer for the sepcified column index

getCellRendererAt

public TableCellRenderer getCellRendererAt(int rowIndex,
                                           int columnIndex)
Returns the renderer for the sepcified row and column index

Parameters:
rowIndex - The specified row index
columnIndex - The specified column index
Returns:
TableCellRenderer The renderer for the sepcified row and column index

clearRenderers

public void clearRenderers()
Clears the row and column renderers, if exists This method clears all the row and column renderers which have been set with setRowRendererAt and setColumnRendererAt method


setCellEditor

public void setCellEditor(TableCellEditor editor)
Sets the specified cell editor for the whole table

Parameters:
editor - The specified editor

getCellEditor

public TableCellEditor getCellEditor()
Returns the cell editor of the whole table

Returns:
The cell editor of the whole table

setRowEditors

public void setRowEditors(java.util.Hashtable editors)
Sets the row editors

Parameters:
editors - The hashtable contains the editors the format of the hashtable is key = row index, Integer value value = AWTTableCellEditor the editor

getRowEditors

public java.util.Hashtable getRowEditors()
Returns the rows editors

Returns:
Hashtable The rows editors

setRowEditorAt

public void setRowEditorAt(int rowIndex,
                           TableCellEditor editor)
Sets the specified editor for the sepcified row index

Parameters:
rowIndex - The specified row index
editor - The specified renderer

getRowEditorAt

public TableCellEditor getRowEditorAt(int rowIndex)
Returns the editor for the sepcified row index

Parameters:
rowIndex - The specified row index
Returns:
TableCellEditor The editor for the sepcified row index

setColumnEditors

public void setColumnEditors(java.util.Hashtable editors)
Sets the column editors

Parameters:
editors - The hashtable contains the editors the format of the hashtable is key = column index, Integer value value = AWTTableCellEditor the editor

getColumnEditors

public java.util.Hashtable getColumnEditors()
Returns the columns editors

Returns:
Hashtable The columns editors

setColumnEditorAt

public void setColumnEditorAt(int columnIndex,
                              TableCellEditor editor)
Sets the specified editor for the sepcified column index

Parameters:
columnIndex - The specified column index
editor - The specified editor

getColumnEditorAt

public TableCellEditor getColumnEditorAt(int columnIndex)
Returns the editor for the sepcified column index

Parameters:
columnIndex - The specified column index
Returns:
TableCellEditor The editor for the sepcified column index

getCellEditorAt

public TableCellEditor getCellEditorAt(int rowIndex,
                                       int columnIndex)
Returns the editor for the sepcified row and column index

Parameters:
rowIndex - The specified row index
columnIndex - The specified column index
Returns:
TableCellEditor The editor for the sepcified row and column index

clearEditors

public void clearEditors()
Clears the row and column editors, if exists This method clears all the row and column editors which have been set with setRowEditorAt and setColumnEditorAt method


setBackgroundNonSelectionColor

public void setBackgroundNonSelectionColor(java.awt.Color color)
Sets the specified background non selection color for the whole table

Parameters:
color - The background non selection color

getBackgroundNonSelectionColor

public java.awt.Color getBackgroundNonSelectionColor()
Returns the background non selection color for the whole table

Returns:
The background non selection color for the whole table

setRowBackgroundNonSelectionColors

public void setRowBackgroundNonSelectionColors(java.util.Hashtable colors)
Sets the row's backgroundNonSelection color


getRowBackgroundNonSelectionColors

public java.util.Hashtable getRowBackgroundNonSelectionColors()
Returns the row's backgroundNonSelection colors

Returns:
Hashtable The row's backgroundNonSelection colors

setRowBackgroundNonSelectionColorAt

public void setRowBackgroundNonSelectionColorAt(int rowIndex,
                                                java.awt.Color color)
Sets the specified background non selection color for the specified row index

Parameters:
rowIndex - The specified row index
color - The row background non selection color

getRowBackgroundNonSelectionColorAt

public java.awt.Color getRowBackgroundNonSelectionColorAt(int rowIndex)
Returns the background non selection color for the sepcified row index

Parameters:
rowIndex - The specified row index
Returns:
Color The background non selection color for the specified row index

setColumnBackgroundNonSelectionColors

public void setColumnBackgroundNonSelectionColors(java.util.Hashtable colors)
Sets the column's backgroundNonSelection color


getColumnBackgroundNonSelectionColors

public java.util.Hashtable getColumnBackgroundNonSelectionColors()
Returns the column's backgroundNonSelection colors

Returns:
Hashtable The column's backgroundNonSelection colors

setColumnBackgroundNonSelectionColorAt

public void setColumnBackgroundNonSelectionColorAt(int columnIndex,
                                                   java.awt.Color color)
Sets the specified background non selection color for the specified column index

Parameters:
columnIndex - The specified column index
color - The row background non selection color

getColumnBackgroundNonSelectionColorAt

public java.awt.Color getColumnBackgroundNonSelectionColorAt(int columnIndex)
Returns the background non selection color for the sepcified column index

Parameters:
columnIndex - The specified column index
Returns:
Color The background non selection color for the specified column index

getCellBackgroundNonSelectionColorAt

public java.awt.Color getCellBackgroundNonSelectionColorAt(int rowIndex,
                                                           int columnIndex)
Returns the background non selection color for the specified row and column index

Parameters:
rowIndex - The specified row index
columnIndex - The specified columnIndex
Returns:
Color The cell background non selection color at the specified row and column index

clearBackgroundNonSelectionColors

public void clearBackgroundNonSelectionColors()
Clears all the row, column background non selection colors


setBackgroundSelectionColor

public void setBackgroundSelectionColor(java.awt.Color color)
Sets the specified background selection color for the whole table

Parameters:
color - The background selection color

getBackgroundSelectionColor

public java.awt.Color getBackgroundSelectionColor()
Returns the background selection color for the whole table

Returns:
The background selection color for the whole table

setRowBackgroundSelectionColors

public void setRowBackgroundSelectionColors(java.util.Hashtable colors)
Sets the row's backgroundSelection color


getRowBackgroundSelectionColors

public java.util.Hashtable getRowBackgroundSelectionColors()
Returns the row's backgroundSelection colors

Returns:
Hashtable The row's backgroundSelection colors

setRowBackgroundSelectionColorAt

public void setRowBackgroundSelectionColorAt(int rowIndex,
                                             java.awt.Color color)
Sets the specified background selection color for the specified row index

Parameters:
rowIndex - The specified row index
color - The row background selection color

getRowBackgroundSelectionColorAt

public java.awt.Color getRowBackgroundSelectionColorAt(int rowIndex)
Returns the background selection color for the sepcified row index

Parameters:
rowIndex - The specified row index
Returns:
Color The background selection color for the specified row index

setColumnBackgroundSelectionColors

public void setColumnBackgroundSelectionColors(java.util.Hashtable colors)
Sets the column's backgroundSelection color


getColumnBackgroundSelectionColors

public java.util.Hashtable getColumnBackgroundSelectionColors()
Returns the column's backgroundSelection colors

Returns:
Hashtable The column's backgroundSelection colors

setColumnBackgroundSelectionColorAt

public void setColumnBackgroundSelectionColorAt(int columnIndex,
                                                java.awt.Color color)
Sets the specified background selection color for the specified column index

Parameters:
columnIndex - The specified column index
color - The row background selection color

getColumnBackgroundSelectionColorAt

public java.awt.Color getColumnBackgroundSelectionColorAt(int columnIndex)
Returns the background selection color for the sepcified column index

Parameters:
columnIndex - The specified column index
Returns:
Color The background selection color for the specified column index

getCellBackgroundSelectionColorAt

public java.awt.Color getCellBackgroundSelectionColorAt(int rowIndex,
                                                        int columnIndex)
Returns the background selection color for the specified row and column index

Parameters:
rowIndex - The specified row index
columnIndex - The specified columnIndex
Returns:
Color The cell background selection color at the specified row and column index

clearBackgroundSelectionColors

public void clearBackgroundSelectionColors()
Clears all the row, column background selection colors


setTextNonSelectionColor

public void setTextNonSelectionColor(java.awt.Color color)
Sets the specified text non selection color for the whole table

Parameters:
color - The text non selection color

getTextNonSelectionColor

public java.awt.Color getTextNonSelectionColor()
Returns the text non selection color for the whole table

Returns:
The text non selection color for the whole table

setRowTextNonSelectionColors

public void setRowTextNonSelectionColors(java.util.Hashtable colors)
Sets the row's textNonSelection color


getRowTextNonSelectionColors

public java.util.Hashtable getRowTextNonSelectionColors()
Returns the row's textNonSelection colors

Returns:
Hashtable The row's textNonSelection colors

setRowTextNonSelectionColorAt

public void setRowTextNonSelectionColorAt(int rowIndex,
                                          java.awt.Color color)
Sets the specified text non selection color for the specified row index

Parameters:
rowIndex - The specified row index
color - The row text non selection color

getRowTextNonSelectionColorAt

public java.awt.Color getRowTextNonSelectionColorAt(int rowIndex)
Returns the text non selection color for the sepcified row index

Parameters:
rowIndex - The specified row index
Returns:
Color The text non selection color for the specified row index

setColumnTextNonSelectionColors

public void setColumnTextNonSelectionColors(java.util.Hashtable colors)
Sets the column's textNonSelection color


getColumnTextNonSelectionColors

public java.util.Hashtable getColumnTextNonSelectionColors()
Returns the column's textNonSelection colors

Returns:
Hashtable The column's textNonSelection colors

setColumnTextNonSelectionColorAt

public void setColumnTextNonSelectionColorAt(int columnIndex,
                                             java.awt.Color color)
Sets the specified text non selection color for the specified column index

Parameters:
columnIndex - The specified column index
color - The row text non selection color

getColumnTextNonSelectionColorAt

public java.awt.Color getColumnTextNonSelectionColorAt(int columnIndex)
Returns the text non selection color for the sepcified column index

Parameters:
columnIndex - The specified column index
Returns:
Color The text non selection color for the specified column index

getCellTextNonSelectionColorAt

public java.awt.Color getCellTextNonSelectionColorAt(int rowIndex,
                                                     int columnIndex)
Returns the text non selection color for the specified row and column index

Parameters:
rowIndex - The specified row index
columnIndex - The specified columnIndex
Returns:
Color The cell text non selection color at the specified row and column index

clearTextNonSelectionColors

public void clearTextNonSelectionColors()
Clears all the row, column text non selection colors


setTextSelectionColor

public void setTextSelectionColor(java.awt.Color color)
Sets the specified text selection color for the whole table

Parameters:
color - The text selection color

getTextSelectionColor

public java.awt.Color getTextSelectionColor()
Returns the text selection color for the whole table

Returns:
The text selection color for the whole table

setRowTextSelectionColors

public void setRowTextSelectionColors(java.util.Hashtable colors)
Sets the row's textSelection color


getRowTextSelectionColors

public java.util.Hashtable getRowTextSelectionColors()
Returns the row's textSelection colors

Returns:
Hashtable The row's textSelection colors

setRowTextSelectionColorAt

public void setRowTextSelectionColorAt(int rowIndex,
                                       java.awt.Color color)
Sets the specified text selection color for the specified row index

Parameters:
rowIndex - The specified row index
color - The row text selection color

getRowTextSelectionColorAt

public java.awt.Color getRowTextSelectionColorAt(int rowIndex)
Returns the text selection color for the sepcified row index

Parameters:
rowIndex - The specified row index
Returns:
Color The text selection color for the specified row index

setColumnTextSelectionColors

public void setColumnTextSelectionColors(java.util.Hashtable colors)
Sets the column's textSelection color


getColumnTextSelectionColors

public java.util.Hashtable getColumnTextSelectionColors()
Returns the column's textSelection colors

Returns:
Hashtable The column's textSelection colors

setColumnTextSelectionColorAt

public void setColumnTextSelectionColorAt(int columnIndex,
                                          java.awt.Color color)
Sets the specified text selection color for the specified column index

Parameters:
columnIndex - The specified column index
color - The row text selection color

getColumnTextSelectionColorAt

public java.awt.Color getColumnTextSelectionColorAt(int columnIndex)
Returns the text selection color for the sepcified column index

Parameters:
columnIndex - The specified column index
Returns:
Color The text selection color for the specified column index

getCellTextSelectionColorAt

public java.awt.Color getCellTextSelectionColorAt(int rowIndex,
                                                  int columnIndex)
Returns the text selection color for the specified row and column index

Parameters:
rowIndex - The specified row index
columnIndex - The specified columnIndex
Returns:
Color The cell text selection color at the specified row and column index

clearTextSelectionColors

public void clearTextSelectionColors()
Clears all the row, column text selection colors


setBorderSelectionColor

public void setBorderSelectionColor(java.awt.Color color)
Sets the specified border selection color for the whole table

Parameters:
color - The border selection color

getBorderSelectionColor

public java.awt.Color getBorderSelectionColor()
Returns the border selection color for the whole table

Returns:
The border selection color for the whole table

setRowBorderSelectionColors

public void setRowBorderSelectionColors(java.util.Hashtable colors)
Sets the row's borderSelection color


getRowBorderSelectionColors

public java.util.Hashtable getRowBorderSelectionColors()
Returns the row's borderSelection colors

Returns:
Hashtable The row's borderSelection colors

setRowBorderSelectionColorAt

public void setRowBorderSelectionColorAt(int rowIndex,
                                         java.awt.Color color)
Sets the specified border selection color for the specified row index

Parameters:
rowIndex - The specified row index
color - The row border selection color

getRowBorderSelectionColorAt

public java.awt.Color getRowBorderSelectionColorAt(int rowIndex)
Returns the border selection color for the sepcified row index

Parameters:
rowIndex - The specified row index
Returns:
Color The border selection color for the specified row index

setColumnBorderSelectionColors

public void setColumnBorderSelectionColors(java.util.Hashtable colors)
Sets the column's borderSelection color


getColumnBorderSelectionColors

public java.util.Hashtable getColumnBorderSelectionColors()
Returns the column's borderSelection colors

Returns:
Hashtable The column's borderSelection colors

setColumnBorderSelectionColorAt

public void setColumnBorderSelectionColorAt(int columnIndex,
                                            java.awt.Color color)
Sets the specified border selection color for the specified column index

Parameters:
columnIndex - The specified column index
color - The row border selection color

getColumnBorderSelectionColorAt

public java.awt.Color getColumnBorderSelectionColorAt(int columnIndex)
Returns the border selection color for the sepcified column index

Parameters:
columnIndex - The specified column index
Returns:
Color The border selection color for the specified column index

getCellBorderSelectionColorAt

public java.awt.Color getCellBorderSelectionColorAt(int rowIndex,
                                                    int columnIndex)
Returns the border selection color for the specified row and column index

Parameters:
rowIndex - The specified row index
columnIndex - The specified columnIndex
Returns:
Color The cell border selection color at the specified row and column index

clearBorderSelectionColors

public void clearBorderSelectionColors()
Clears all the row, column border selection colors


setRowFonts

public void setRowFonts(java.util.Hashtable fonts)
Sets the row's font

Parameters:
fonts - The hashtable contains the fonts the format of the hashtable is key = row index, Integer value value = font

getRowFonts

public java.util.Hashtable getRowFonts()
Returns the row's fonts

Returns:
Hashtable The row's fonts

setRowFontAt

public void setRowFontAt(int rowIndex,
                         java.awt.Font font)
Sets the specified font for the specified row index

Parameters:
rowIndex - The specified row index
font - The row font

getRowFontAt

public java.awt.Font getRowFontAt(int rowIndex)
Returns the font for the sepcified row index

Parameters:
rowIndex - The specified row index
Returns:
Font The font for the specified row index

setColumnFonts

public void setColumnFonts(java.util.Hashtable fonts)
Sets the row's font

Parameters:
fonts - The hashtable contains the fonts the format of the hashtable is key = row index, Integer value value = font

getColumnFonts

public java.util.Hashtable getColumnFonts()
Returns the column's fonts

Returns:
Hashtable The column's fonts

setColumnFontAt

public void setColumnFontAt(int columnIndex,
                            java.awt.Font font)
Sets the specified font for the specified column index

Parameters:
font - The column font

getColumnFontAt

public java.awt.Font getColumnFontAt(int columnIndex)
Returns the font for the sepcified column index

Parameters:
columnIndex - The specified column index
Returns:
Font The font for the specified column index

getCellFontAt

public java.awt.Font getCellFontAt(int rowIndex,
                                   int columnIndex)
Returns the font for the specified row and column index

Parameters:
rowIndex - The specified row index
columnIndex - The specified columnIndex
Returns:
Font The font at the specified row and column index

clearFonts

public void clearFonts()
Clears all the row, column fonts


isEditing

public boolean isEditing()
Method which returns wheather table is editing or not

Returns:
wheather table is editing or not

cancelEditing

public void cancelEditing()
Method which programatically cancels editing if the currently table is editing


stopEditing

public void stopEditing()
Method which programatically stop editing if the currently table is editing


getEditingComponent

public java.awt.Component getEditingComponent()
Method which returns the currently editing component

Returns:
currently editing component if table is not editing return null

startEditing

public void startEditing(int row,
                         int column)
Method which starts the editing at the specified row and column

Parameters:
row - The specified row
column - The specified column

getEditingRow

public int getEditingRow()
Method which returns the currently editing row

Returns:
The currently editing row

getEditingColumn

public int getEditingColumn()
Method which returns the currently editing column

Returns:
The currently editing column

setValueAt

public void setValueAt(java.lang.Object dataValue,
                       int row,
                       int column)
Method which set the value of cell at the specified row and column index

Parameters:
row - The specified row
column - The specified column

getValueAt

public java.lang.Object getValueAt(int row,
                                   int column)
Method which returns the value of cell represented by specified row and column

Parameters:
row - The specified row
column - The specified column
Returns:
value at the specified row and column

getRowData

public java.util.Vector getRowData(int rowIndex)
Returns the row data at the specified row index

Parameters:
rowIndex - The specified row index

getColumnData

public java.util.Vector getColumnData(int columnIndex)
Returns the row data at the specified column index


setRowCount

public void setRowCount(int nRows)
Method which programatically sets the row count of the table

Parameters:
nRows - The specified row count

getRowCount

public int getRowCount()
Method which returns the row count


addRowAboveSelection

public void addRowAboveSelection()
Method which adds the row above the selected row


insertRow

public void insertRow(int index)
Method which insert the row at the specified index

Parameters:
index - The specified index

insertRow

public void insertRow(int index,
                      java.lang.Object[] rowData)
Method which programatically inserts the row to the table

Parameters:
rowData - the array of data of inserted row

insertRow

public void insertRow(int index,
                      java.util.Vector rowData)
Method which programatically inserts the row to the table

Parameters:
rowData - vector for the data of inserted row

addRow

public void addRow()
Method which programatically adds the row to end of the table


addRow

public void addRow(java.lang.Object[] rowData)
Method which programatically adds the row to the table

Parameters:
rowData - Object Array for the data of added row

addRow

public void addRow(java.util.Vector rowData)
Method which programatically adds the row to the table

Parameters:
rowData - vector for the data of added row

removeRow

public void removeRow(int row)
Method which programatically remove the row at specified rowIndex

Parameters:
row - The specified row index

removeRows

public void removeRows(int index0,
                       int index1)
Method which removes the rows(s) specified by the interval

Parameters:
index0 - The first row index
index1 - The another row index

removeRows

public void removeRows(int[] rowIndexes)
Method which removes the rows specified by rowIndexes array


removeSelectedRows

public void removeSelectedRows()
Method which removes the all selected rows


insertColumn

public void insertColumn(int index)
Method which inserts the column at the specified index

Parameters:
index - The specified index

insertColumn

public void insertColumn(int index,
                         java.lang.Object columnIdentifier)
Method which inserts the column at the specified index

Parameters:
index - The specified index
columnIdentifier - The columnIdentifier

insertColumn

public void insertColumn(int index,
                         java.lang.Object columnIdentifier,
                         java.lang.Object[] columnData)
Method which programatically inserts the column to the table

Parameters:
index - the specified index
columnIdentifier - the label of the inserted column
columnData - the array of data of the inserted column

insertColumn

public void insertColumn(int index,
                         java.lang.Object columnIdentifier,
                         java.util.Vector columnData)
Method which programatically inserts the column to the table at the specified index

Parameters:
index - The specified index
columnIdentifier - the label of the inserted column
columnData - the vector of data of the inserted column

addColumn

public void addColumn()
Method which adds the column to the table


addColumn

public void addColumn(java.lang.Object columnIdentifier)
Method which programatically adds the column to the table

Parameters:
columnIdentifier - the label of the added column

addColumn

public void addColumn(java.lang.Object columnIdentifier,
                      java.lang.Object[] columnData)
Method which programatically adds the column to the table

Parameters:
columnIdentifier - the label of the added column
columnData - the array of data of the added column

addColumn

public void addColumn(java.lang.Object columnIdentifier,
                      java.util.Vector columnData)
Method which programatically adds the column to the table

Parameters:
columnIdentifier - the label of the added column
columnData - the vector of data of the added column

removeColumn

public void removeColumn(int column)
Method which programatically remove the at the specified columnIndex

Parameters:
column - The specified column index

removeColumns

public void removeColumns(int index0,
                          int index1)
Method which programatically remove the at the specified columnIndex


removeColumns

public void removeColumns(int[] columnIndexes)
Method which removes the columns specified by columnIndexes array

Parameters:
columnIndexes - The column indexes array

setColumnCount

public void setColumnCount(int nColumns)
Method which programatically set the column count of the table

Parameters:
nColumns - The column count

getColumnCount

public int getColumnCount()
Method which returns the value of columnCount


setData

public void setData(java.util.Vector data,
                    java.util.Vector columnIdentifiers)
Method which set the data of the whole table

Parameters:
data - Vector which consist of the table data
columnIdentifiers - is Vector consist of the columnIdentifiers

setData

public void setData(java.lang.Object[][] data,
                    java.lang.Object[] columnIdentifiers)
Method which set the data of the whole table

Parameters:
data - the array consisting of inner array
columnIdentifiers - the array of the columnIdentifiers

setData

public void setData(java.util.Vector data)
Method which set the data of the table

Parameters:
data - the vector

getData

public java.util.Vector getData()
Method which returns the data of the table

Returns:
Vector the table data the returned vector contains the rowData as vector inside main dataVector

setData

public void setData(java.lang.String[][] data)
Method which set the data for the table

Parameters:
data - The array of the data

setColumnIdentifierAt

public void setColumnIdentifierAt(java.lang.String identifier,
                                  int columnIndex)
Sets the column identifier at the specified colum index

Parameters:
identifier - The identifier for the specified column index
columnIndex - The specified column index

getColumnIdentifier

public java.lang.String getColumnIdentifier(int columnIndex)
Returns the column identifier at the specified colum index

Returns:
columnIndex The specified column index

setColumnIdentifiers

public void setColumnIdentifiers(java.util.Vector columnIdentifiers)
Method which set thes columnIdentifiers for the table


setColumnIdentifiers

public void setColumnIdentifiers(java.lang.String[] columnIds)
Method which sets the column identifiers

Parameters:
columnIds - The column identifiers

getColumnIdentifiers

public java.util.Vector getColumnIdentifiers()
Method which returns the columnIdentifiers

Returns:
vector which consist of columnIdentifiers

setDefaultRowHeight

public void setDefaultRowHeight(int nHeight)
Method sets the default row height for the all the rows(s) also reset the value of the all the row height to the default row also set the maximum row height or minimum row height of the row if got out of range

Parameters:
nHeight - The default row height

getDefaultRowHeight

public int getDefaultRowHeight()
Method which returns the default row height for the table

Returns:
Returns the default row height for the table

setDefaultColumnWidth

public void setDefaultColumnWidth(int nWidth)
Method sets the default column widht for the all the column(s) also reset the values of the all the column widths to the default column width also set the maximum column width or minimum column width of the column if got out of range

Parameters:
nWidth - The default column width

getDefaultColumnWidth

public int getDefaultColumnWidth()
Method which returns the default column width for the table

Returns:
Returns the default column width for the table

getRowHeights

public java.util.Vector getRowHeights()
Method which returns the row Heights


setRowHeightAt

public void setRowHeightAt(int rowIndex,
                           int nHeight)
Method which set the row Height

Parameters:
rowIndex - int value of row index
nHeight - int value of height

getRowHeightAt

public int getRowHeightAt(int rowIndex)
Method which returns the row Height at the specified row index

Parameters:
rowIndex - The specified row index

getColumnWidths

public java.util.Vector getColumnWidths()
Method which returns the column Widths


setColumnWidthAt

public void setColumnWidthAt(int columnIndex,
                             int nWidth)
Method which set the column Width at the specified column index

Parameters:
columnIndex - The specified column index
nWidth - The specified widht

getColumnWidthAt

public int getColumnWidthAt(int columnIndex)
Method which returns the column width at the specifid column index

Parameters:
columnIndex - The specified column index

getTotalRowHeight

public int getTotalRowHeight()
Method which returns the total row height


getTotalColumnWidth

public int getTotalColumnWidth()
Method which returns the total column Width


setDefaultMinimumRowHeight

public void setDefaultMinimumRowHeight(int nHeight)
Method which sets the default minimum row height resets the all the minimum row heights to the default minimum row height also sets the all the row heights and all the minimum row heights if got out of range

Parameters:
nHeight - specified height

getDefaultMinimumRowHeight

public int getDefaultMinimumRowHeight()
Method which returns the default minimum row height

Returns:
int value of the default minimum row height

setDefaultMaximumRowHeight

public void setDefaultMaximumRowHeight(int nHeight)
Method which sets the default maximum row height resets the all the maximum row heights to the default maximum row height also sets the all the row heights and all the maximum row heights if got out of range

Parameters:
nHeight - The specified height

getDefaultMaximumRowHeight

public int getDefaultMaximumRowHeight()
Method which returns the default maximum row height

Returns:
int value of the default maximum row height

setDefaultMinimumColumnWidth

public void setDefaultMinimumColumnWidth(int nWidth)
Method which set the default minimum column width resets the all the minimum column widths to the default minimum column width also sets the all the column widths and all the minimum column widths if got out of range

Parameters:
nWidth - specified width

getDefaultMinimumColumnWidth

public int getDefaultMinimumColumnWidth()
Method which returns the default minimum column width

Returns:
int value of the default minimum column width

setDefaultMaximumColumnWidth

public void setDefaultMaximumColumnWidth(int nWidth)
Method which set the default maximum column width resets the all the maximum column widths to the default maximum column width also sets the all the column widths and all the maximum column widths if got out of range

Parameters:
nWidth - The specified width

getDefaultMaximumColumnWidth

public int getDefaultMaximumColumnWidth()
Method which returns the default maximum column width

Returns:
int value of the default maximum column width

setMinimumRowHeightAt

public void setMinimumRowHeightAt(int rowIndex,
                                  int nHeight)
Method which sets the minimum row height for the specified row Index

Parameters:
rowIndex - The specified row Index
nHeight - The specified row height

getMinimumRowHeightAt

public int getMinimumRowHeightAt(int rowIndex)
Method which returns the minimum row height for particular row index

Returns:
the minimum row height for particular row index

setMaximumRowHeightAt

public void setMaximumRowHeightAt(int rowIndex,
                                  int nHeight)
Method which sets the maximum row height for the specified row index

Parameters:
rowIndex - The specifide row index
nHeight - The maximum row height

getMaximumRowHeightAt

public int getMaximumRowHeightAt(int rowIndex)
Method which returns the maximum row height for the specified row index

Returns:
the maximum row height for the specified row index

setMinimumColumnWidthAt

public void setMinimumColumnWidthAt(int columnIndex,
                                    int nWidth)
Method which sets the minimum column width for the particular column

Parameters:
columnIndex - The specified column index
nWidth - The specified width

getMinimumColumnWidthAt

public int getMinimumColumnWidthAt(int columnIndex)
Method which returns the minimum column width for specified column index

Returns:
the minimum column width for the specified column index

setMaximumColumnWidthAt

public void setMaximumColumnWidthAt(int columnIndex,
                                    int nWidth)
Method which sets the maximum column widht for the particular column

Parameters:
columnIndex - The specified column index
nWidth - The specified width

getMaximumColumnWidthAt

public int getMaximumColumnWidthAt(int columnIndex)
Method which returns the maximum column width for particular column index

Returns:
the maximum column width for particular column index

setHorzGap

public void setHorzGap(int nGap)
Method which sets the horizontal gap for the AWTTable

Parameters:
nGap - The horizontal gap for the AWTTable

getHorzGap

public int getHorzGap()
Method which returns the horizontal gap of the AWTTable


setVertGap

public void setVertGap(int nGap)
Method which sets the vertical gap for the AWTTable

Parameters:
nGap - The vertical gap for the AWTTable

getVertGap

public int getVertGap()
Method which returns the vertical gap of the AWTTable


setSelectionStyle

public void setSelectionStyle(int selectionStyle)
Method sets the selection style


getSelectionStyle

public int getSelectionStyle()
Returns the selection style either single selection or single range selection SINGLE_SELECTION, SINGLE_RANGE_SELECTION


setBorder

public void setBorder(AWTBorder awtBorder)
Method which sets the border for the AWTTable

Parameters:
awtBorder - the border for the AWTTable

getBorder

public AWTBorder getBorder()
Method which returns the border of the AWTTable

Returns:
the border of the AWTTable

setInsets

public final void setInsets(java.awt.Insets insets)
Method which sets the insets for the AWTTable

Parameters:
insets - the insets for the AWTTable

getInsets

public java.awt.Insets getInsets()
Method whichs returns the insets of the AWTTable

Returns:
The insets of the AWTTable

setShowPopupMenu

public void setShowPopupMenu(boolean isShowPopupMenu)
Sets the value of isShowPopupMenu on right click on table

Parameters:
isShowPopupMenu - The value of showPopupMenu on right click on table

isShowPopupMenu

public boolean isShowPopupMenu()
Returns the value of isShowPopupMenu on right click on table

Returns:
The value of isShowPopupMenu on right click on table

setAddRowOnEnterKey

public void setAddRowOnEnterKey(boolean isAddRowOnEnterKey)
Sets the value of isAddRowOnEnterKey

Parameters:
isAddRowOnEnterKey - The value of isAddRowOnEnterKey if true one can add row when last row is selected and enter is pressed

isAddRowOnEnterKey

public boolean isAddRowOnEnterKey()
Returns the value of isAddRowOnEnterKey

Returns:
isAddRowOnEnterKey

setInsertRowOnInsertKey

public void setInsertRowOnInsertKey(boolean isInsertRowOnInsertKey)
Sets the value of isInsertRowOnInsertKey

Parameters:
isInsertRowOnInsertKey - The value of isInsertRowOnInsertKey if true one can enter row on insert key.

isInsertRowOnInsertKey

public boolean isInsertRowOnInsertKey()
Returns the value of isInsertRowOnInsertKey

Returns:
isInsertRowOnInsertKey

setRemoveRowOnDeleteKey

public void setRemoveRowOnDeleteKey(boolean isRemoveRowOnDeleteKey)
Sets the value of isRemoveRowOnDeleteKey

Parameters:
isRemoveRowOnDeleteKey - The value of isRemoveRowOnDeleteKey if true one can remove row on delete key.

isRemoveRowOnDeleteKey

public boolean isRemoveRowOnDeleteKey()
Returns the value of isRemoveRowOnDeleteKey

Returns:
isRemoveRowOnDeleteKey

setAutoScrolls

public void setAutoScrolls(boolean bAutoScrolls)
If true tree will automatically scroll its contents when dragged,

Parameters:
bAutoScrolls - The value for the auto scrolls property

isAutoScrolls

public boolean isAutoScrolls()
Returns wheather allow auto scrolls or not if true tree will automatically scroll its contents when dragged,

Returns:
The value for the auto scrolls property

setUpdateTableInRealTime

public void setUpdateTableInRealTime(boolean bUpdateTableInRealTime)
Sets the is allowed real time repaints, in response to row, colum resizing

Parameters:
bUpdateTableInRealTime - The value for setUpdateTableInRealTime property

isUpdateTableInRealTime

public boolean isUpdateTableInRealTime()
Returns the value of is allowed real time repaints, in response to row, colum resizing

Returns:
The value of is allowed real time repaints.

setSizeRowOnClick

public void setSizeRowOnClick(boolean bSizeRowOnClick)
Sets the value of the property SizeRowOnClick if true it automatically resized the clicked row to fit the maximum height(the maximum height calculated from all the cells at the clicked row) resize operation invoke on double clicking the gap between two rows from row header


isSizeRowOnClick

public boolean isSizeRowOnClick()
Returns the value of the property SizeRowOnClick

Returns:
The value of the property SizeRowOnClick

setSizeColumnOnClick

public void setSizeColumnOnClick(boolean bSizeColumnOnClick)
Sets the value of the property SizeColumnOnClick if true it automatically resized the clicked column to fit the maximum width(the maximum width calculated from all the cells at the clicked column) resize operation invoke on double clicking the gap between two columns from column header


isSizeColumnOnClick

public boolean isSizeColumnOnClick()
Returns the value of the property SizeColumnOnClick

Returns:
The value of the property SizeColumnOnClick

setSearchPanelBackground

public void setSearchPanelBackground(java.awt.Color background)
Method which sets the background color for the table's search panel

Parameters:
background - The background color for the table's search panel

getSearchPanelBackground

public java.awt.Color getSearchPanelBackground()
Returns the background color of the table's search panel

Returns:
The background color of the table's search panel

setSearchPanelForeground

public void setSearchPanelForeground(java.awt.Color foreground)
Method which sets the foreground color for the table's search panel


getSearchPanelForeground

public java.awt.Color getSearchPanelForeground()
Returns the foreground color of the table's search panel

Returns:
The foreground color of the table's search panel

setSearchPanelFont

public void setSearchPanelFont(java.awt.Font font)
Method which sets the font for the table's search panel

Parameters:
font - The font for the table's search panel

getSearchPanelFont

public java.awt.Font getSearchPanelFont()
Returns the font of the table's search panel

Returns:
The font of the tables search panel

setShowSearchPanel

public void setShowSearchPanel(boolean bShowSearchPanel)
Sets the wheather allow to show the search panel or not

Parameters:
bShowSearchPanel - The wheather allow to show the search panel or not

isShowSearchPanel

public boolean isShowSearchPanel()
Returns the wheather allow to show the searchPanel

Returns:
The wheather allow to show the searchPanel

setSearchPanelLocation

public void setSearchPanelLocation(int searchPanelLocation)
Sets the search panel location

Parameters:
searchPanelLocation - the search panel location The possible values are TOP, BOTTOM

getSearchPanelLocation

public int getSearchPanelLocation()
Returns the search panel location


focusGained

public void focusGained(java.awt.event.FocusEvent e)
Implementation of focus listener

Specified by:
focusGained in interface java.awt.event.FocusListener

focusLost

public void focusLost(java.awt.event.FocusEvent e)
Implementation of focus listener

Specified by:
focusLost in interface java.awt.event.FocusListener

scrollRowToVisible

public void scrollRowToVisible(int row)
Method which scrolls the table up to the specified row become visible

Parameters:
row - The specified row

scrollColumnToVisible

public void scrollColumnToVisible(int column)
Method which scrolls the table up to the specified column become visible

Parameters:
column - The specified column

scrollToVisible

public void scrollToVisible(int row,
                            int column)
Method which scrolls the table up to the specified row and column become visible

Parameters:
row - The specified row
column - The specified column

sizeColumnToFit

public void sizeColumnToFit(int columnIndex)
Resize the specified column to fit maximum width

Parameters:
columnIndex - The specified column to fit maximum width

sizeColumnsToFit

public void sizeColumnsToFit()
Resize all the columns to fit maximum width


sizeRowToFit

public void sizeRowToFit(int rowIndex)
Resize the specified row to fit maximum height

Parameters:
rowIndex - The specified row to fit maximum height

sizeRowsToFit

public void sizeRowsToFit()
Resize all the rows to fit maximum height


search

public int[] search(java.lang.String searchText,
                    boolean isCaseSensitive)
Method which searches the whole table for the specified text, in with specified case sensitivity of the rowIndex and columnIndex, where the searchText found

Parameters:
searchText - The text to be search
isCaseSensitive - The specified value case sensitivity
Returns:
The integer array contains row and column indexes

searchColumn

public int[] searchColumn(java.lang.String searchText,
                          int searchOnColumn,
                          boolean isCaseSensitive)
Method which search on the column This method searches the column in case inses

Parameters:
searchOnColumn - The column on to which search performed
searchText - is the search string
isCaseSensitive - The specified value case sensitivity
Returns:
array containing row and column indexes where searchText found

searchColumn

public int[] searchColumn(java.lang.String searchText,
                          java.lang.String searchOption,
                          java.lang.String comparisonOption,
                          int searchOnColumn,
                          boolean isCaseSensitive)
Searches the tree for the specific text, level and search type

Parameters:
searchText - The search for the specified text
searchOption - The specific type for the search with The possible values for the search with are STARTS_WITH, ENDS_WITH, CONTAINS, EQUALS
comparisonOption - specified search column on to which search will be perfomed
searchOnColumn - The column index on to which search is performed, if the searchOnColumn < 0 or searchOnColumn > getColumnCount() - 1, than it searches for all columns, otherwise searches the given column on the table,
isCaseSensitive - Wheather case sensitive or not
Returns:
Return the array containing the row index and column index at which the searchText found.

searchColumn

public int[] searchColumn(java.lang.String searchText,
                          java.lang.String searchOption,
                          java.lang.String comparisonOption,
                          int[] searchOnColumns,
                          boolean isCaseSensitive)
Searches the tree for the specific text, level and search type

Parameters:
searchText - The search for the specified text
searchOption - The specific type for the search with The possible values for the search with are STARTS_WITH, ENDS_WITH, CONTAINS, EQUALS
comparisonOption - specified search column on to which search will be perfomed
searchOnColumns - The arrat if the column indexes on to which search is performed, if the searchOnColumns is null then it searches the whole table(all the columns)
isCaseSensitive - Wheather case sensitive or not
Returns:
Return the array containing the row index and column index at which the searchText found.

sortColumn

public void sortColumn(int columnIndex)
Method which sort the column specified by the column index

Parameters:
columnIndex - The specified column index

sortColumn

public void sortColumn(int columnIndex,
                       boolean sortingOrder)
Method which sort the column specified by the column index on ascending or descding order specified by the order flag

Parameters:
columnIndex - The specified column index
sortingOrder - The specified order either ascending or descending

sortColumns

public void sortColumns(int[] columnIndexes)
Method which sort the column(s)

Parameters:
columnIndexes - the array consist of the column indexes

sortColumns

public void sortColumns(int[] columnIndexes,
                        boolean[] sortingOrders)
Method which sort the column(s)

Parameters:
columnIndexes - The array consist of the column indexes
sortingOrders - The array consist of the sort order(ascending or descending)

getColumnAtPoint

public int getColumnAtPoint(int x,
                            int y)
Method which returns the column at a (x, y) coordinate

Parameters:
x - The specified x coordinate
y - The specified y coordinate
Returns:
The column at the x, y coordinate

getColumnAtPoint

public int getColumnAtPoint(java.awt.Point point)
Method which returns the column at a point

Parameters:
point - The specified point
Returns:
The column at the specified point

getRowAtPoint

public int getRowAtPoint(java.awt.Point point)
Method which returns the row at the specified point

Parameters:
point - The specified point
Returns:
The row index at the specified point

getRowAtPoint

public int getRowAtPoint(int x,
                         int y)
Method which returns the row at a (x, y) coordinate

Parameters:
x - The specified x coordinate
y - The specified y coordinate
Returns:
The row index

getHeaderColumnAtPoint

public int getHeaderColumnAtPoint(java.awt.Point point)
Method which returns the column header index at the specified point

Parameters:
point - The specified point

getHeaderColumnAtPoint

public int getHeaderColumnAtPoint(int x,
                                  int y)
Method which returns the column header index at the specified x, y coordinate

Parameters:
x - The specified x coordinate
y - The specified y coordinate

getHeaderRowAtPoint

public int getHeaderRowAtPoint(java.awt.Point point)
Method which returns the row header index at the specified point

Parameters:
point - The specified point

getHeaderRowAtPoint

public int getHeaderRowAtPoint(int x,
                               int y)
Method which returns the row header index at the specified x, y coordinate

Parameters:
x - The specified x coordinate
y - The specified y coordinate

getTableContainer

public java.awt.Container getTableContainer()
Method which returns the table container

Returns:
table container

pageSetup

public void pageSetup()
Displays the page setup dialog for printing


pageSetup

public void pageSetup(java.awt.Frame frame)
Displays the page setup dialog for printing

Parameters:
frame - The frame on to which this page setup dialog is added if frame is null then new JFrame created internally

preview

public void preview()
Displays the preview dialog for the printing


preview

public void preview(java.awt.Frame frame)
Displays the preview dialog for the printing

Parameters:
frame - The frame on to which this preview dialog is added if frame is null then new JFrame created internally

print

public void print()
Method which is called for printing job which is the main method for the printer bean


setPaperType

public void setPaperType(int paperType)
Sets the value of paper type property

Parameters:
paperType - The int value for paper type property
possible values are :
LETTER_TYPE,
LEGAL_TYPE,
EXECUTIVE_TYPE,
A4_TYPE,
A5_TYPE,
B5_TYPE,
N010_ENVELOP_TYPE,
A2_ENVELOP_TYPE,
DL_ENVELOP_TYPE,
C6_ENVELOP_TYPE,
INDEX_CARD_4x6_TYPE,
INDEX_CARD_5x8_TYPE,
A6_CARD_TYPE,
HAGAKI_CARD_TYPE,
CUSTOM_TYPE,

getPaperType

public int getPaperType()
Returns the value of paper type property

Returns:
The value of paper type property

setPaperSize

public void setPaperSize(double width,
                         double height)
Sets the paper's size

Parameters:
width - The width of the page
height - The height of the page
Note : if you are using paper type = "Custom" then only set it, otherwise do not set it
Please supply this value in inches

getPaperWidth

public double getPaperWidth()
Returns the value of property paper width, in inches

Returns:
The value of property paper width, in inches
Note : if you are using paper type = "Custom" then only set it, otherwise do not set it

getPaperHeight

public double getPaperHeight()
Returns the value of property paper height, in inches

Returns:
The value of property paper height, in inches

getImageablePaperWidth

public double getImageablePaperWidth()
Returns the imageable paper width

Returns:
The imageable paper width, i.e. the width only on to which printing occurs
The value returned in 1/72nds of an inch

getImageablePaperHeight

public double getImageablePaperHeight()
Returns the imageable paper height

Returns:
The imageable paper height, i.e. the height only on to which printing occurs
The value returned in 1/72nds of an inch

getActualPaperWidth

public double getActualPaperWidth()
Returns the actual paper width

Returns:
The actual paper width
i.e actualPaperWidth = (paperWidth - leftMargin - rightMargin)
The value returned in 1/72nds of an inch

getActualPaperHeight

public double getActualPaperHeight()
Returns the actual paper height

Returns:
The actual paper height
i.e actualPaperHeight = (paperHeight - topMargin - bottomMargin - gapBelowHeader - gapAboveFooter - headerHeight - footerHeight)
The value returned in 1/72nds of an inch

setLeftHeader

public void setLeftHeader(java.lang.String leftHeader)
Sets the left header of the page(s)

Parameters:
leftHeader - The left header of the page(s)
Note: one can mix header/footer with the following following string constants.
CURRENT_DATE
CURRENT_TIME
PAGE_NO
TOTAL_PAGES
Example: suppose one want to set the current date then use
setXXXYYY("Date: "+CURRENT_DATE);
Example: suppose one want to set the current time then use
setXXXYYY("Date: "+CURRENT_TIME);
Example: suppose one want to set the page no. then use
setXXXYYY("Page No.: "+PAGE_NO);
Example: suppose one want to set the page no. of total no. of pages (Page 1/10) then use
setXXXYYY("Page: " + PAGE_NO + " of " + TOTAL_PAGES);
where XXX = set and
YYY = Header/Footer

getLeftHeader

public java.lang.String getLeftHeader()
Returns the left header of the page(s)

Returns:
The left header of the page(s)

setCenterHeader

public void setCenterHeader(java.lang.String centerHeader)
Sets the center header of the page(s)

Parameters:
centerHeader - The center header of the page(s)
Note: one can mix header/footer with the following following string constants.
CURRENT_DATE
CURRENT_TIME
PAGE_NO
TOTAL_PAGES
Example: suppose one want to set the current date then use
setXXXYYY("Date: "+CURRENT_DATE);
Example: suppose one want to set the current time then use
setXXXYYY("Date: "+CURRENT_TIME);
Example: suppose one want to set the page no. then use
setXXXYYY("Page No.: "+PAGE_NO);
Example: suppose one want to set the page no. of total no. of pages (Page 1/10) then use
setXXXYYY("Page: " + PAGE_NO + " of " + TOTAL_PAGES);
where XXX = set and YYY = Header/Footer

getCenterHeader

public java.lang.String getCenterHeader()
Returns the center header of the page(s)

Returns:
The center header of the page(s)

setRightHeader

public void setRightHeader(java.lang.String rightHeader)
Sets the right header of the page(s)

Parameters:
rightHeader - The right header of the page(s)
Note: one can mix header/footer with the following following string constants.
CURRENT_DATE
CURRENT_TIME
PAGE_NO
TOTAL_PAGES
Example: suppose one want to set the current date then use
setXXXYYY("Date: "+CURRENT_DATE);
Example: suppose one want to set the current time then use
setXXXYYY("Date: "+CURRENT_TIME);
Example: suppose one want to set the page no. then use
setXXXYYY("Page No.: "+PAGE_NO);
Example: suppose one want to set the page no. of total no. of pages (Page 1/10) then use
setXXXYYY("Page: " + PAGE_NO + " of " + TOTAL_PAGES);
where XXX = set and
YYY = Header/Footer

getRightHeader

public java.lang.String getRightHeader()
Returns the right header of the page(s)

Returns:
The right header of the page(s)

setLeftFooter

public void setLeftFooter(java.lang.String leftFooter)
Sets the left footer of the page(s)

Parameters:
leftFooter - The left footer of the page(s)
Note: one can mix header/footer with the following following string constants.
CURRENT_DATE
CURRENT_TIME
PAGE_NO
TOTAL_PAGES
Example: suppose one want to set the current date then use
setXXXYYY("Date: "+CURRENT_DATE);
Example: suppose one want to set the current time then use
setXXXYYY("Date: "+CURRENT_TIME);
Example: suppose one want to set the page no. then use
setXXXYYY("Page No.: "+PAGE_NO);
Example: suppose one want to set the page no. of total no. of pages (Page 1/10) then use
setXXXYYY("Page: " + PAGE_NO + " of " + TOTAL_PAGES);
where XXX = set and
YYY = Header/Footer

getLeftFooter

public java.lang.String getLeftFooter()
Returns the left footer of the page(s)

Returns:
The left footer of the page(s)

setCenterFooter

public void setCenterFooter(java.lang.String centerFooter)
Sets the center footer of the page(s)

Parameters:
centerFooter - The center footer of the page(s)
Note: one can mix header/footer with the following following string constants.
CURRENT_DATE
CURRENT_TIME
PAGE_NO
TOTAL_PAGES
Example: suppose one want to set the current date then use
setXXXYYY("Date: "+CURRENT_DATE);
Example: suppose one want to set the current time then use
setXXXYYY("Date: "+CURRENT_TIME);
Example: suppose one want to set the page no. then use
setXXXYYY("Page No.: "+PAGE_NO);
Example: suppose one want to set the page no. of total no. of pages (Page 1/10) then use
setXXXYYY("Page: " + PAGE_NO + " of " + TOTAL_PAGES);
where XXX = set and
YYY = Header/Footer

getCenterFooter

public java.lang.String getCenterFooter()
Returns the center footer of the page(s)

Returns:
The center footer of the page(s)

setRightFooter

public void setRightFooter(java.lang.String rightFooter)
Sets the right footer of the page(s)

Parameters:
rightFooter - The right footer of the page(s)
Note: one can mix header/footer with the following following string constants.
CURRENT_DATE
CURRENT_TIME
PAGE_NO
TOTAL_PAGES
Example: suppose one want to set the current date then use
setXXXYYY("Date: "+CURRENT_DATE);
Example: suppose one want to set the current time then use
setXXXYYY("Date: "+CURRENT_TIME);
Example: suppose one want to set the page no. then use
setXXXYYY("Page No.: "+PAGE_NO);
Example: suppose one want to set the page no. of total no. of pages (Page 1/10) then use
setXXXYYY("Page: " + PAGE_NO + " of " + TOTAL_PAGES);
where XXX = set and
YYY = Header/Footer

getRightFooter

public java.lang.String getRightFooter()
Returns the right footer of the page(s)

Returns:
The right footer of the page(s)

setLeftMargin

public void setLeftMargin(double leftMargin)
Sets the left margin of the page(s), in inches

Parameters:
leftMargin - the left margin of the page(s), in inches

getLeftMargin

public double getLeftMargin()
Returns the left margin of the page(s), in inches

Returns:
The left margin of the page(s), in inches

setRightMargin

public void setRightMargin(double rightMargin)
Sets the right margin of the page(s), in inches

Parameters:
rightMargin - the right margin of the page(s), in inches

getRightMargin

public double getRightMargin()
Returns the right margin of the page(s), in inches

Returns:
The right margin of the page(s), in inches

setTopMargin

public void setTopMargin(double topMargin)
Sets the top margin of the page(s), in inches

Parameters:
topMargin - the top margin of the page(s), in inches

getTopMargin

public double getTopMargin()
Returns the top margin of the page(s), in inches

Returns:
The top margin of the page(s), in inches

setBottomMargin

public void setBottomMargin(double bottomMargin)
Sets the bottom margin of the page(s), in inches

Parameters:
bottomMargin - the bottom margin of the page(s), in inches

getBottomMargin

public double getBottomMargin()
Returns the bottom margin of the page(s), in inches

Returns:
The bottom margin of the page(s), in inches

setPageOrientation

public void setPageOrientation(int pageOrientation)
Sets the page orientation of the page(s)

Parameters:
pageOrientation - The page orientation of the page(s)
The possible values for the pageOrientation is LANDSCAPE or PORTRAIT

getPageOrientation

public int getPageOrientation()
Returns the page orientation of the page(s)

Returns:
The page orientation of the page(s)

setNoOfCopies

public void setNoOfCopies(int noOfCopies)
Sets the no of copies of the page(s)

Parameters:
noOfCopies - The no of copies of the page(s)

getNoOfCopies

public int getNoOfCopies()
Returns the no of copies of the page(s)

Returns:
The no of copies of the page(s)

setGapBelowHeader

public void setGapBelowHeader(double gapBelowHeader)
Sets the value of gap below header of the page(s), in inches

Parameters:
gapBelowHeader - The value of gap below header of the page(s), in inches

getGapBelowHeader

public double getGapBelowHeader()
Returns the value of gap below header of the page(s), in inches

Returns:
The value of gap below header of the page(s), in inches

setGapAboveFooter

public void setGapAboveFooter(double gapAboveFooter)
Sets the value of gap above footer of the page(s), in inches


getGapAboveFooter

public double getGapAboveFooter()
Returns the value of gap above footer of the page(s), in inches

Returns:
The value of gap above footer of the page(s), in inches

setShowLineBelowHeader

public void setShowLineBelowHeader(boolean showLineBelowHeader)
Sets the boolean value of, is line below header to be drawn?

Parameters:
showLineBelowHeader - The boolean value of, is line below header to be drawn?

isShowLineBelowHeader

public boolean isShowLineBelowHeader()
Returns The boolean value of, is line below header to be drawn?

Returns:
The boolean value of, is line below header to be drawn?

setShowLineAboveFooter

public void setShowLineAboveFooter(boolean showLineAboveFooter)
Sets the boolean value of, is line above footer to be drawn?

Parameters:
showLineAboveFooter - The boolean value of, is line above footer to be drawn?

isShowLineAboveFooter

public boolean isShowLineAboveFooter()
Returns The boolean value of, is line above footer to be drawn?

Returns:
The boolean value of, is line above footer to be drawn?

setShowPrintDialog

public void setShowPrintDialog(boolean showPrintDialog)
Sets the boolean value of, is display the print dialog while print method is called

Parameters:
showPrintDialog - The boolean value of, is display the print dialog while print method is called

isShowPrintDialog

public boolean isShowPrintDialog()
Returns The boolean value of, is display the print dialog while print method is called

Returns:
The boolean value of, is display the print dialog while print method is called

setPrintJobName

public void setPrintJobName(java.lang.String jobName)
Returns the print job name


getPrintJobName

public java.lang.String getPrintJobName()
Returns the print job name


setPrintBookIndividually

public void setPrintBookIndividually(boolean isPrintBookIndividually)
Sets the wheather user want to print the book of pages individually or not

Parameters:
isPrintBookIndividually - Wheather user want to print the book of pages individually or not
If the parameter value is true, printer will make the individual print call for individual books,
and each book of pages has size equals to Book Size property value
This property is important when the number of pages is very large number,
and in that case if user prints all the pages with single printer job,
then due to spooling process it will take too long to print all the pages,
instead of taking print of all the pages in one print call,
it is recommonded that when there is very large number of pages to print
set the value of this property to true, so it will print the book of pages individually
and prints the diffrent books separately so printer does not stuck in spooling process
and it print fast.
The book size property is depends on this property, after set value of this property to true
set the book size which you desire.
Example : If there are 1000 pages and the book size = 5 has been set
Then printer prints all the 1000/5 = 200 books individually

isPrintBookIndividually

public boolean isPrintBookIndividually()
Returns the wheather print the book of pages individually or not

Returns:
The wheather print the book of pages individually or not

setBookSize

public void setBookSize(int bookSize)
Sets the book size

Parameters:
bookSize - The book size
This property takes effect only if the value of property PrintBookIndividually is true
otherwise book size does not take any effect
default value of the book size is 1
If the value of property PrintBookIndividually is true, and book size is 5 then
it prints the book of 5 pages individually

getBookSize

public int getBookSize()
Returns the book size

Returns:
The book size
This property takes effect only if the value of property PrintBookIndividually is true
otherwise book size does not take any effect

setLicenseKey

public void setLicenseKey(java.lang.String licenseKey)
Methods which sets the license key


getLicenseKey

public java.lang.String getLicenseKey()
Returns the license key of the bean

Returns:
The license key of the bean

scrollRectToVisible

public void scrollRectToVisible(java.awt.Rectangle contentRect)
Method scrolls the table up to the specified rectangle become visible


convertToVector

public java.util.Vector convertToVector(java.lang.Object[] anArray)
Method which array to the vector


convertArrayToHashtable

public static java.util.Hashtable convertArrayToHashtable(java.lang.Object[][] object)
Converts the object's array to the hashtable


getAutoGeneratedColumnIdentifier

public java.lang.String getAutoGeneratedColumnIdentifier()
Returns the auto generated column identifiers


addTableRowsAddedListener

public void addTableRowsAddedListener(TableRowsAddedListener l)
Method which adds TableRowsAddedListener

Parameters:
l - The TableRowsAddedListener

removeTableRowsAddedListener

public void removeTableRowsAddedListener(TableRowsAddedListener l)
Method which removes TableRowsAddedListener

Parameters:
l - The TableRowsAddedListener

addTableRowsRemovedListener

public void addTableRowsRemovedListener(TableRowsRemovedListener l)
Method which adds the TableRowsRemovedListener

Parameters:
l - The TableRowsRemovedListener

removeTableRowsRemovedListener

public void removeTableRowsRemovedListener(TableRowsRemovedListener l)
Method which removes the TableRowsRemovedListener

Parameters:
l - The TableRowsRemovedListener

addTableColumnsAddedListener

public void addTableColumnsAddedListener(TableColumnsAddedListener l)
Method which adds the TableColumnsAddedListener

Parameters:
l - The TableColumnsAddedListener

removeTableColumnsAddedListener

public void removeTableColumnsAddedListener(TableColumnsAddedListener l)
Method which removes the TableColumnsAddedListener

Parameters:
l - The TableColumnsAddedListener

addTableColumnsRemovedListener

public void addTableColumnsRemovedListener(TableColumnsRemovedListener l)
Method which adds the TableColumnsRemovedListener

Parameters:
l - The TableColumnsRemovedListener

removeTableColumnsRemovedListener

public void removeTableColumnsRemovedListener(TableColumnsRemovedListener l)
Method which removes the TableColumnsRemovedListener

Parameters:
l - The TableColumnsRemovedListener

addTableCellResizeListener

public void addTableCellResizeListener(TableCellResizeListener l)
Method which adds the TableCellResizeListener

Parameters:
l - The TableCellResizeListener

removeTableCellResizeListener

public void removeTableCellResizeListener(TableCellResizeListener l)
Method which removes the TableCellResizeListener

Parameters:
l - The TableCellResizeListener

addTableSortListener

public void addTableSortListener(TableSortListener l)
Method which adds the TableSortListener

Parameters:
l - The TableSortListener

removeTableSortListener

public void removeTableSortListener(TableSortListener l)
Method which removes the TableSortListener

Parameters:
l - The TableSortListener

addTableCellEditListener

public void addTableCellEditListener(TableCellEditListener l)
Method which adds the TableCellEditListener

Parameters:
l - The TableCellEditListener

removeTableCellEditListener

public void removeTableCellEditListener(TableCellEditListener l)
Method which removes the TableCellEditListener

Parameters:
l - The TableCellEditListener

addTableSelectionListener

public void addTableSelectionListener(TableSelectionListener l)
Method which adds the TableSelectionListener

Parameters:
l - The TableSelectionListener

removeTableSelectionListener

public void removeTableSelectionListener(TableSelectionListener l)
Method which removes the TableSelectionListener

Parameters:
l - The TableSelectionListener

fireTableRowsAddedEvent

protected void fireTableRowsAddedEvent(int rowIndex1,
                                       int rowIndex2)
Method which fires the table rows(s) added event


fireTableRowsRemovedEvent

protected void fireTableRowsRemovedEvent(int rowIndex1,
                                         int rowIndex2,
                                         java.util.Vector rowData)
Method which fires the table rows(s) removed event


fireTableColumnsAddedEvent

protected void fireTableColumnsAddedEvent(int index0,
                                          int index1)
Method which fires the table column(s) added event


fireTableColumnsRemovedEvent

protected void fireTableColumnsRemovedEvent(int index0,
                                            int index1)
Method which fires the table column(s) removed event


fireTableCellResizeEvent

protected void fireTableCellResizeEvent(int resizeType,
                                        int index,
                                        int size)
Method which fires the table cell resize event


fireTableSortEvent

protected void fireTableSortEvent(int eventType,
                                  int[] columnIndexes,
                                  boolean[] sortingOrders)
Method which fires the table sort event


fireTableCellEditEvent

protected void fireTableCellEditEvent(int editType,
                                      int rowIndex,
                                      int columnIndex,
                                      java.lang.Object value)
Method which fires the table cell edit event


fireTableSelectionEvent

protected void fireTableSelectionEvent()
Method which fires the table selection event


addPropertyChangeListener

public void addPropertyChangeListener(java.beans.PropertyChangeListener l)
Adds the property change listener

Parameters:
l - The property change listener

removePropertyChangeListener

public void removePropertyChangeListener(java.beans.PropertyChangeListener l)
Removes the property change listener

Parameters:
l - The property change listener

firePropertyChange

public void firePropertyChange(java.lang.String property,
                               java.lang.Object oldValue,
                               java.lang.Object newValue)
Fires the property change

Parameters:
property - The name of the property
oldValue - The old value
newValue - The new value

addMouseListener

public void addMouseListener(java.awt.event.MouseListener mouseListener)
Overriden addMouseListener


removeMouseListener

public void removeMouseListener(java.awt.event.MouseListener mouseListener)
Overriden removeMouseListener


addMouseMotionListener

public void addMouseMotionListener(java.awt.event.MouseMotionListener mouseMotionListener)
Overriden addMouseMotionListener


removeMouseMotionListener

public void removeMouseMotionListener(java.awt.event.MouseMotionListener mouseMotionListener)
Overriden removeMouseMotionListener


addKeyListener

public void addKeyListener(java.awt.event.KeyListener keyListener)
Overriden addKeyListener


removeKeyListener

public void removeKeyListener(java.awt.event.KeyListener keyListener)
Overriden removeKeyListener


addFocusListener

public void addFocusListener(java.awt.event.FocusListener focusListener)
Overriden addFocusListener


removeFocusListener

public void removeFocusListener(java.awt.event.FocusListener focusListener)
Overriden removeFocusListener


readExternal

public void readExternal(java.io.ObjectInput in)
                  throws java.io.IOException,
                         java.lang.ClassNotFoundException
Implementation of the Externalizable

Specified by:
readExternal in interface java.io.Externalizable
Throws:
java.io.IOException
java.lang.ClassNotFoundException

writeExternal

public void writeExternal(java.io.ObjectOutput out)
                   throws java.io.IOException,
                          java.awt.IllegalComponentStateException
Implementation of the Externalizable

Specified by:
writeExternal in interface java.io.Externalizable
Throws:
java.io.IOException
java.awt.IllegalComponentStateException

isManagingFocus

public final boolean isManagingFocus()
Overriden the isManagingFocus


ElegantJ Tables Java API Specification v1.1

Submit a bug or feature

Copyright(c)
Elegant Microweb Technologies Pvt. Ltd.
www.elegantmicroweb.com
www.elegantjbeans.com
All Rights Reserved.