|
ElegantJ Tables Java API Specification v1.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.awt.Component
java.awt.Container
java.awt.Panel
com.elegantj.awt.table.AWTTable
This is the class for AWT table which provides the functionality of the table in the AWT
| 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 |
public static final java.util.ResourceBundle RESOURCE_BUNDLE
protected java.beans.PropertyChangeSupport propertyChangeSupport
public static final int SINGLE_SELECTION
public static final int SINGLE_RANGE_SELECTION
public static java.lang.String STARTS_WITH
public static java.lang.String ENDS_WITH
public static java.lang.String CONTAINS
public static java.lang.String EQUALS
public static java.lang.String SEARCH_FROM_FIRST_CELL
public static java.lang.String SEARCH_FROM_LAST_CELL
public static java.lang.String SEARCH_FROM_SELECTED_CELL_TO_UP
public static java.lang.String SEARCH_FROM_SELECTED_CELL_TO_DOWN
public static int TOP
public static int BOTTOM
protected SearchPanel searchPanel
protected java.util.Vector dataVector
protected java.awt.event.KeyEvent keyEvent
public static int PORTRAIT
public static int LANDSCAPE
public static int LETTER_TYPE
public static int LEGAL_TYPE
public static int EXECUTIVE_TYPE
public static int A4_TYPE
public static int A5_TYPE
public static int B5_TYPE
public static int N010_ENVELOP_TYPE
public static int A2_ENVELOP_TYPE
public static int DL_ENVELOP_TYPE
public static int C6_ENVELOP_TYPE
public static int INDEX_CARD_4x6_TYPE
public static int INDEX_CARD_5x8_TYPE
public static int A6_CARD_TYPE
public static int HAGAKI_CARD_TYPE
public static int CUSTOM_TYPE
public static java.lang.String CURRENT_DATE
public static java.lang.String CURRENT_TIME
public static java.lang.String PAGE_NO
public static java.lang.String TOTAL_PAGES
public transient com.elegantj.editors.C1 c1
| Constructor Detail |
public AWTTable()
public AWTTable(int rows,
int cols,
boolean allowPrinterSupport)
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 |
protected void init()
public java.awt.Dimension getPreferredSize()
public final void update(java.awt.Graphics g)
public final void paint(java.awt.Graphics g)
public boolean isValidRow(int rowIndex)
rowIndex - The specified rowIndexpublic boolean isValidColumn(int columnIndex)
columnIndex - The specified columnIndexpublic com.elegantj.awt.table.TablePanel getTablePanel()
public java.awt.Scrollbar getHorizontalScrollbar()
public java.awt.Scrollbar getVerticalScrollbar()
public SearchPanel getSearchPanel()
public final void setBackground(java.awt.Color color)
color - The background colorpublic final java.awt.Color getBackground()
public final void setForeground(java.awt.Color color)
public void setFont(java.awt.Font font)
font - The fontpublic java.awt.Font getFont()
getFont in interface java.awt.MenuContainerpublic final java.awt.Color getTable()
public void setVisible(boolean bVisible)
bVisible - the visibility for the AWTTablepublic void setEnabled(boolean bEnabled)
bEnabled - the enability of the AWTTablepublic void setLocale(java.util.Locale locale)
locale - The locale for the AWTTablepublic java.util.Locale getLocale()
public void setCursor(java.awt.Cursor cursor)
cursor - The cursor for the AWTTable
public void setBounds(int x,
int y,
int width,
int height)
x - The x coordinate of the AWTTabley - The y coordinate of the AWTTablewidth - The width of the of the AWTTableheight - The height of the AWTTablepublic void setResizeFromRowHeader(boolean bResize)
bResize - wheather resize from row header or notpublic boolean getResizeFromRowHeader()
public void setResizeFromColumnHeader(boolean bResize)
bResize - wheather resize from column header or notpublic boolean getResizeFromColumnHeader()
public void setResizeFromCells(boolean bResize)
bResize - wheather resize from cells or notpublic boolean getResizeFromCells()
public void setShowRowHeader(boolean bShow)
bShow - wheather allow to show row header or notpublic boolean isShowRowHeader()
public void setShowColumnHeader(boolean bShow)
bShow - wheather allow to show column header or notpublic boolean isShowColumnHeader()
public void setSelectedRow(int rowIndex)
rowIndex - The specified row
public void setRowSelectionInterval(int index0,
int index1)
index0 - The first index of selectionindex1 - The last index of selectionpublic boolean isRowSelected(int rowIndex)
public int getAnchorSelectedRow()
public int getLeadSelectedRow()
public int getSelectedRow()
public int getSelectedRowCount()
public int[] getSelectedRows()
public void setSelectedColumn(int columnIndex)
columnIndex - The specified column
public void setColumnSelectionInterval(int index0,
int index1)
index0 - The first index of selectionindex1 - The last index of selectionpublic boolean isColumnSelected(int columnIndex)
public int getAnchorSelectedColumn()
public int getLeadSelectedColumn()
public int getSelectedColumn()
public int getSelectedColumnCount()
public int[] getSelectedColumns()
public void clearSelection()
public boolean isCellSelected(int rowIndex,
int columnIndex)
rowIndex - The specified row indexcolumnIndex - The specified column indexpublic void setColumnSelectionAllowed(boolean bColumn)
bColumn - wheather column selection allowed or notpublic boolean getColumnSelectionAllowed()
public void setRowSelectionAllowed(boolean bRow)
bRow - wheather row selection allowed or notpublic boolean getRowSelectionAllowed()
public void setSortColumnOnClick(boolean sortColumnOnClick)
public boolean isSortColumnOnClick()
public void setColumnHeaderHeight(int nHeight)
public int getColumnHeaderHeight()
public void setRowHeaderWidth(int nWidth)
nWidth - The row header widthpublic int getRowHeaderWidth()
public void setShowHorizontalGrid(boolean bShow)
bShow - wheather allowed to horizontal grid or notpublic boolean isShowHorizontalGrid()
public void setShowVerticalGrid(boolean bShow)
bShow - wheather allowed to vertical grid or notpublic boolean isShowVerticalGrid()
public void setGridColor(java.awt.Color colorGrid)
colorGrid - The grid color for the AWTTablepublic java.awt.Color getGridColor()
public void setHeaderCellRenderer(TableCellRenderer cellRenderer)
cellRenderer - The TableCellRendererpublic TableCellRenderer getHeaderCellRenderer()
public void setHeaderBackground(java.awt.Color color)
color - The specified background colorpublic java.awt.Color getHeaderBackground()
public void setHeaderForeground(java.awt.Color color)
color - The specified foreground colorpublic java.awt.Color getHeaderForeground()
public void setHeaderFont(java.awt.Font font)
font - The specified fontpublic java.awt.Font getHeaderFont()
public void setEditable(boolean isEditable)
isEditable - The editability for the tablepublic boolean isEditable()
public void setRowEditableAt(int rowIndex,
boolean isEditable)
rowIndex - The specified row indexisEditable - The specified editabilitypublic boolean isRowEditableAt(int rowIndex)
rowIndex - The specified row index
public void setColumnEditableAt(int columnIndex,
boolean isEditable)
columnIndex - The specified column indexisEditable - The specified editabilitypublic boolean isColumnEditableAt(int columnIndex)
public boolean isCellEditableAt(int rowIndex,
int columnIndex)
rowIndex - The specified row indexcolumnIndex - The specified column index
public void setCellRenderer(TableCellRenderer renderer)
renderer - The specified rendererpublic TableCellRenderer getCellRenderer()
public void setRowRenderers(java.util.Hashtable renderers)
renderers - The hashtable contains the renderers
the format of the hashtable is
key = row index, Integer value
value = AWTTableCellRenderer the rendererpublic java.util.Hashtable getRowRenderers()
public void setRowRendererAt(int rowIndex,
TableCellRenderer renderer)
rowIndex - The specified row indexrenderer - The specified rendererpublic TableCellRenderer getRowRendererAt(int rowIndex)
rowIndex - The specified row index
public void setColumnRenderers(java.util.Hashtable renderers)
renderers - The hashtable contains the renderers
the format of the hashtable is
key = column index, Integer value
value = AWTTableCellRenderer the rendererpublic java.util.Hashtable getColumnRenderers()
public void setColumnRendererAt(int columnIndex,
TableCellRenderer renderer)
columnIndex - The specified column indexrenderer - The specified rendererpublic TableCellRenderer getColumnRendererAt(int columnIndex)
public TableCellRenderer getCellRendererAt(int rowIndex,
int columnIndex)
rowIndex - The specified row indexcolumnIndex - The specified column index
public void clearRenderers()
public void setCellEditor(TableCellEditor editor)
editor - The specified editorpublic TableCellEditor getCellEditor()
public void setRowEditors(java.util.Hashtable editors)
editors - The hashtable contains the editors
the format of the hashtable is
key = row index, Integer value
value = AWTTableCellEditor the editorpublic java.util.Hashtable getRowEditors()
public void setRowEditorAt(int rowIndex,
TableCellEditor editor)
rowIndex - The specified row indexeditor - The specified rendererpublic TableCellEditor getRowEditorAt(int rowIndex)
rowIndex - The specified row index
public void setColumnEditors(java.util.Hashtable editors)
editors - The hashtable contains the editors
the format of the hashtable is
key = column index, Integer value
value = AWTTableCellEditor the editorpublic java.util.Hashtable getColumnEditors()
public void setColumnEditorAt(int columnIndex,
TableCellEditor editor)
columnIndex - The specified column indexeditor - The specified editorpublic TableCellEditor getColumnEditorAt(int columnIndex)
columnIndex - The specified column index
public TableCellEditor getCellEditorAt(int rowIndex,
int columnIndex)
rowIndex - The specified row indexcolumnIndex - The specified column index
public void clearEditors()
public void setBackgroundNonSelectionColor(java.awt.Color color)
color - The background non selection colorpublic java.awt.Color getBackgroundNonSelectionColor()
public void setRowBackgroundNonSelectionColors(java.util.Hashtable colors)
public java.util.Hashtable getRowBackgroundNonSelectionColors()
public void setRowBackgroundNonSelectionColorAt(int rowIndex,
java.awt.Color color)
rowIndex - The specified row indexcolor - The row background non selection colorpublic java.awt.Color getRowBackgroundNonSelectionColorAt(int rowIndex)
rowIndex - The specified row index
public void setColumnBackgroundNonSelectionColors(java.util.Hashtable colors)
public java.util.Hashtable getColumnBackgroundNonSelectionColors()
public void setColumnBackgroundNonSelectionColorAt(int columnIndex,
java.awt.Color color)
columnIndex - The specified column indexcolor - The row background non selection colorpublic java.awt.Color getColumnBackgroundNonSelectionColorAt(int columnIndex)
columnIndex - The specified column index
public java.awt.Color getCellBackgroundNonSelectionColorAt(int rowIndex,
int columnIndex)
rowIndex - The specified row indexcolumnIndex - The specified columnIndex
public void clearBackgroundNonSelectionColors()
public void setBackgroundSelectionColor(java.awt.Color color)
color - The background selection colorpublic java.awt.Color getBackgroundSelectionColor()
public void setRowBackgroundSelectionColors(java.util.Hashtable colors)
public java.util.Hashtable getRowBackgroundSelectionColors()
public void setRowBackgroundSelectionColorAt(int rowIndex,
java.awt.Color color)
rowIndex - The specified row indexcolor - The row background selection colorpublic java.awt.Color getRowBackgroundSelectionColorAt(int rowIndex)
rowIndex - The specified row index
public void setColumnBackgroundSelectionColors(java.util.Hashtable colors)
public java.util.Hashtable getColumnBackgroundSelectionColors()
public void setColumnBackgroundSelectionColorAt(int columnIndex,
java.awt.Color color)
columnIndex - The specified column indexcolor - The row background selection colorpublic java.awt.Color getColumnBackgroundSelectionColorAt(int columnIndex)
columnIndex - The specified column index
public java.awt.Color getCellBackgroundSelectionColorAt(int rowIndex,
int columnIndex)
rowIndex - The specified row indexcolumnIndex - The specified columnIndex
public void clearBackgroundSelectionColors()
public void setTextNonSelectionColor(java.awt.Color color)
color - The text non selection colorpublic java.awt.Color getTextNonSelectionColor()
public void setRowTextNonSelectionColors(java.util.Hashtable colors)
public java.util.Hashtable getRowTextNonSelectionColors()
public void setRowTextNonSelectionColorAt(int rowIndex,
java.awt.Color color)
rowIndex - The specified row indexcolor - The row text non selection colorpublic java.awt.Color getRowTextNonSelectionColorAt(int rowIndex)
rowIndex - The specified row index
public void setColumnTextNonSelectionColors(java.util.Hashtable colors)
public java.util.Hashtable getColumnTextNonSelectionColors()
public void setColumnTextNonSelectionColorAt(int columnIndex,
java.awt.Color color)
columnIndex - The specified column indexcolor - The row text non selection colorpublic java.awt.Color getColumnTextNonSelectionColorAt(int columnIndex)
columnIndex - The specified column index
public java.awt.Color getCellTextNonSelectionColorAt(int rowIndex,
int columnIndex)
rowIndex - The specified row indexcolumnIndex - The specified columnIndex
public void clearTextNonSelectionColors()
public void setTextSelectionColor(java.awt.Color color)
color - The text selection colorpublic java.awt.Color getTextSelectionColor()
public void setRowTextSelectionColors(java.util.Hashtable colors)
public java.util.Hashtable getRowTextSelectionColors()
public void setRowTextSelectionColorAt(int rowIndex,
java.awt.Color color)
rowIndex - The specified row indexcolor - The row text selection colorpublic java.awt.Color getRowTextSelectionColorAt(int rowIndex)
rowIndex - The specified row index
public void setColumnTextSelectionColors(java.util.Hashtable colors)
public java.util.Hashtable getColumnTextSelectionColors()
public void setColumnTextSelectionColorAt(int columnIndex,
java.awt.Color color)
columnIndex - The specified column indexcolor - The row text selection colorpublic java.awt.Color getColumnTextSelectionColorAt(int columnIndex)
columnIndex - The specified column index
public java.awt.Color getCellTextSelectionColorAt(int rowIndex,
int columnIndex)
rowIndex - The specified row indexcolumnIndex - The specified columnIndex
public void clearTextSelectionColors()
public void setBorderSelectionColor(java.awt.Color color)
color - The border selection colorpublic java.awt.Color getBorderSelectionColor()
public void setRowBorderSelectionColors(java.util.Hashtable colors)
public java.util.Hashtable getRowBorderSelectionColors()
public void setRowBorderSelectionColorAt(int rowIndex,
java.awt.Color color)
rowIndex - The specified row indexcolor - The row border selection colorpublic java.awt.Color getRowBorderSelectionColorAt(int rowIndex)
rowIndex - The specified row index
public void setColumnBorderSelectionColors(java.util.Hashtable colors)
public java.util.Hashtable getColumnBorderSelectionColors()
public void setColumnBorderSelectionColorAt(int columnIndex,
java.awt.Color color)
columnIndex - The specified column indexcolor - The row border selection colorpublic java.awt.Color getColumnBorderSelectionColorAt(int columnIndex)
columnIndex - The specified column index
public java.awt.Color getCellBorderSelectionColorAt(int rowIndex,
int columnIndex)
rowIndex - The specified row indexcolumnIndex - The specified columnIndex
public void clearBorderSelectionColors()
public void setRowFonts(java.util.Hashtable fonts)
fonts - The hashtable contains the fonts
the format of the hashtable is
key = row index, Integer value
value = fontpublic java.util.Hashtable getRowFonts()
public void setRowFontAt(int rowIndex,
java.awt.Font font)
rowIndex - The specified row indexfont - The row fontpublic java.awt.Font getRowFontAt(int rowIndex)
rowIndex - The specified row index
public void setColumnFonts(java.util.Hashtable fonts)
fonts - The hashtable contains the fonts
the format of the hashtable is
key = row index, Integer value
value = fontpublic java.util.Hashtable getColumnFonts()
public void setColumnFontAt(int columnIndex,
java.awt.Font font)
font - The column fontpublic java.awt.Font getColumnFontAt(int columnIndex)
columnIndex - The specified column index
public java.awt.Font getCellFontAt(int rowIndex,
int columnIndex)
rowIndex - The specified row indexcolumnIndex - The specified columnIndex
public void clearFonts()
public boolean isEditing()
public void cancelEditing()
public void stopEditing()
public java.awt.Component getEditingComponent()
public void startEditing(int row,
int column)
row - The specified rowcolumn - The specified columnpublic int getEditingRow()
public int getEditingColumn()
public void setValueAt(java.lang.Object dataValue,
int row,
int column)
row - The specified rowcolumn - The specified column
public java.lang.Object getValueAt(int row,
int column)
row - The specified rowcolumn - The specified column
public java.util.Vector getRowData(int rowIndex)
rowIndex - The specified row indexpublic java.util.Vector getColumnData(int columnIndex)
public void setRowCount(int nRows)
nRows - The specified row countpublic int getRowCount()
public void addRowAboveSelection()
public void insertRow(int index)
index - The specified index
public void insertRow(int index,
java.lang.Object[] rowData)
rowData - the array of data of inserted row
public void insertRow(int index,
java.util.Vector rowData)
rowData - vector for the data of inserted rowpublic void addRow()
public void addRow(java.lang.Object[] rowData)
rowData - Object Array for the data of added rowpublic void addRow(java.util.Vector rowData)
rowData - vector for the data of added rowpublic void removeRow(int row)
row - The specified row index
public void removeRows(int index0,
int index1)
index0 - The first row indexindex1 - The another row indexpublic void removeRows(int[] rowIndexes)
public void removeSelectedRows()
public void insertColumn(int index)
index - The specified index
public void insertColumn(int index,
java.lang.Object columnIdentifier)
index - The specified indexcolumnIdentifier - The columnIdentifier
public void insertColumn(int index,
java.lang.Object columnIdentifier,
java.lang.Object[] columnData)
index - the specified indexcolumnIdentifier - the label of the inserted columncolumnData - the array of data of the inserted column
public void insertColumn(int index,
java.lang.Object columnIdentifier,
java.util.Vector columnData)
index - The specified indexcolumnIdentifier - the label of the inserted columncolumnData - the vector of data of the inserted columnpublic void addColumn()
public void addColumn(java.lang.Object columnIdentifier)
columnIdentifier - the label of the added column
public void addColumn(java.lang.Object columnIdentifier,
java.lang.Object[] columnData)
columnIdentifier - the label of the added columncolumnData - the array of data of the added column
public void addColumn(java.lang.Object columnIdentifier,
java.util.Vector columnData)
columnIdentifier - the label of the added columncolumnData - the vector of data of the added columnpublic void removeColumn(int column)
column - The specified column index
public void removeColumns(int index0,
int index1)
public void removeColumns(int[] columnIndexes)
columnIndexes - The column indexes arraypublic void setColumnCount(int nColumns)
nColumns - The column countpublic int getColumnCount()
public void setData(java.util.Vector data,
java.util.Vector columnIdentifiers)
data - Vector which consist of the table datacolumnIdentifiers - is Vector consist of the columnIdentifiers
public void setData(java.lang.Object[][] data,
java.lang.Object[] columnIdentifiers)
data - the array consisting of inner arraycolumnIdentifiers - the array of the columnIdentifierspublic void setData(java.util.Vector data)
data - the vectorpublic java.util.Vector getData()
public void setData(java.lang.String[][] data)
data - The array of the data
public void setColumnIdentifierAt(java.lang.String identifier,
int columnIndex)
identifier - The identifier for the specified column indexcolumnIndex - The specified column indexpublic java.lang.String getColumnIdentifier(int columnIndex)
public void setColumnIdentifiers(java.util.Vector columnIdentifiers)
public void setColumnIdentifiers(java.lang.String[] columnIds)
columnIds - The column identifierspublic java.util.Vector getColumnIdentifiers()
public void setDefaultRowHeight(int nHeight)
nHeight - The default row heightpublic int getDefaultRowHeight()
public void setDefaultColumnWidth(int nWidth)
nWidth - The default column widthpublic int getDefaultColumnWidth()
public java.util.Vector getRowHeights()
public void setRowHeightAt(int rowIndex,
int nHeight)
rowIndex - int value of row indexnHeight - int value of heightpublic int getRowHeightAt(int rowIndex)
rowIndex - The specified row indexpublic java.util.Vector getColumnWidths()
public void setColumnWidthAt(int columnIndex,
int nWidth)
columnIndex - The specified column indexnWidth - The specified widhtpublic int getColumnWidthAt(int columnIndex)
columnIndex - The specified column indexpublic int getTotalRowHeight()
public int getTotalColumnWidth()
public void setDefaultMinimumRowHeight(int nHeight)
nHeight - specified heightpublic int getDefaultMinimumRowHeight()
public void setDefaultMaximumRowHeight(int nHeight)
nHeight - The specified heightpublic int getDefaultMaximumRowHeight()
public void setDefaultMinimumColumnWidth(int nWidth)
nWidth - specified widthpublic int getDefaultMinimumColumnWidth()
public void setDefaultMaximumColumnWidth(int nWidth)
nWidth - The specified widthpublic int getDefaultMaximumColumnWidth()
public void setMinimumRowHeightAt(int rowIndex,
int nHeight)
rowIndex - The specified row IndexnHeight - The specified row heightpublic int getMinimumRowHeightAt(int rowIndex)
public void setMaximumRowHeightAt(int rowIndex,
int nHeight)
rowIndex - The specifide row indexnHeight - The maximum row heightpublic int getMaximumRowHeightAt(int rowIndex)
public void setMinimumColumnWidthAt(int columnIndex,
int nWidth)
columnIndex - The specified column indexnWidth - The specified widthpublic int getMinimumColumnWidthAt(int columnIndex)
public void setMaximumColumnWidthAt(int columnIndex,
int nWidth)
columnIndex - The specified column indexnWidth - The specified widthpublic int getMaximumColumnWidthAt(int columnIndex)
public void setHorzGap(int nGap)
nGap - The horizontal gap for the AWTTablepublic int getHorzGap()
public void setVertGap(int nGap)
nGap - The vertical gap for the AWTTablepublic int getVertGap()
public void setSelectionStyle(int selectionStyle)
public int getSelectionStyle()
public void setBorder(AWTBorder awtBorder)
awtBorder - the border for the AWTTablepublic AWTBorder getBorder()
public final void setInsets(java.awt.Insets insets)
insets - the insets for the AWTTablepublic java.awt.Insets getInsets()
public void setShowPopupMenu(boolean isShowPopupMenu)
isShowPopupMenu - The value of showPopupMenu on right click on tablepublic boolean isShowPopupMenu()
public void setAddRowOnEnterKey(boolean isAddRowOnEnterKey)
isAddRowOnEnterKey - The value of isAddRowOnEnterKey
if true one can add row when last row is selected and enter is pressedpublic boolean isAddRowOnEnterKey()
public void setInsertRowOnInsertKey(boolean isInsertRowOnInsertKey)
isInsertRowOnInsertKey - The value of isInsertRowOnInsertKey
if true one can enter row on insert key.public boolean isInsertRowOnInsertKey()
public void setRemoveRowOnDeleteKey(boolean isRemoveRowOnDeleteKey)
isRemoveRowOnDeleteKey - The value of isRemoveRowOnDeleteKey
if true one can remove row on delete key.public boolean isRemoveRowOnDeleteKey()
public void setAutoScrolls(boolean bAutoScrolls)
bAutoScrolls - The value for the auto scrolls propertypublic boolean isAutoScrolls()
public void setUpdateTableInRealTime(boolean bUpdateTableInRealTime)
bUpdateTableInRealTime - The value for setUpdateTableInRealTime propertypublic boolean isUpdateTableInRealTime()
public void setSizeRowOnClick(boolean bSizeRowOnClick)
public boolean isSizeRowOnClick()
public void setSizeColumnOnClick(boolean bSizeColumnOnClick)
public boolean isSizeColumnOnClick()
public void setSearchPanelBackground(java.awt.Color background)
background - The background color for the table's search panelpublic java.awt.Color getSearchPanelBackground()
public void setSearchPanelForeground(java.awt.Color foreground)
public java.awt.Color getSearchPanelForeground()
public void setSearchPanelFont(java.awt.Font font)
font - The font for the table's search panelpublic java.awt.Font getSearchPanelFont()
public void setShowSearchPanel(boolean bShowSearchPanel)
bShowSearchPanel - The wheather allow to show the search panel or notpublic boolean isShowSearchPanel()
public void setSearchPanelLocation(int searchPanelLocation)
searchPanelLocation - the search panel location
The possible values are TOP, BOTTOMpublic int getSearchPanelLocation()
public void focusGained(java.awt.event.FocusEvent e)
focusGained in interface java.awt.event.FocusListenerpublic void focusLost(java.awt.event.FocusEvent e)
focusLost in interface java.awt.event.FocusListenerpublic void scrollRowToVisible(int row)
row - The specified rowpublic void scrollColumnToVisible(int column)
column - The specified column
public void scrollToVisible(int row,
int column)
row - The specified rowcolumn - The specified columnpublic void sizeColumnToFit(int columnIndex)
columnIndex - The specified column to fit maximum widthpublic void sizeColumnsToFit()
public void sizeRowToFit(int rowIndex)
rowIndex - The specified row to fit maximum heightpublic void sizeRowsToFit()
public int[] search(java.lang.String searchText,
boolean isCaseSensitive)
searchText - The text to be searchisCaseSensitive - The specified value case sensitivity
public int[] searchColumn(java.lang.String searchText,
int searchOnColumn,
boolean isCaseSensitive)
searchOnColumn - The column on to which search performedsearchText - is the search stringisCaseSensitive - The specified value case sensitivity
public int[] searchColumn(java.lang.String searchText,
java.lang.String searchOption,
java.lang.String comparisonOption,
int searchOnColumn,
boolean isCaseSensitive)
searchText - The search for the specified textsearchOption - The specific type for the search with
The possible values for the search with are
STARTS_WITH, ENDS_WITH, CONTAINS, EQUALScomparisonOption - specified search column on to which search will be perfomedsearchOnColumn - 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
public int[] searchColumn(java.lang.String searchText,
java.lang.String searchOption,
java.lang.String comparisonOption,
int[] searchOnColumns,
boolean isCaseSensitive)
searchText - The search for the specified textsearchOption - The specific type for the search with
The possible values for the search with are
STARTS_WITH, ENDS_WITH, CONTAINS, EQUALScomparisonOption - specified search column on to which search will be perfomedsearchOnColumns - 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
public void sortColumn(int columnIndex)
columnIndex - The specified column index
public void sortColumn(int columnIndex,
boolean sortingOrder)
columnIndex - The specified column indexsortingOrder - The specified order either ascending or descendingpublic void sortColumns(int[] columnIndexes)
columnIndexes - the array consist of the column indexes
public void sortColumns(int[] columnIndexes,
boolean[] sortingOrders)
columnIndexes - The array consist of the column indexessortingOrders - The array consist of the sort order(ascending or descending)
public int getColumnAtPoint(int x,
int y)
x - The specified x coordinatey - The specified y coordinate
public int getColumnAtPoint(java.awt.Point point)
point - The specified point
public int getRowAtPoint(java.awt.Point point)
point - The specified point
public int getRowAtPoint(int x,
int y)
x - The specified x coordinatey - The specified y coordinate
public int getHeaderColumnAtPoint(java.awt.Point point)
point - The specified point
public int getHeaderColumnAtPoint(int x,
int y)
x - The specified x coordinatey - The specified y coordinatepublic int getHeaderRowAtPoint(java.awt.Point point)
point - The specified point
public int getHeaderRowAtPoint(int x,
int y)
x - The specified x coordinatey - The specified y coordinatepublic java.awt.Container getTableContainer()
public void pageSetup()
public void pageSetup(java.awt.Frame frame)
frame - The frame on to which this page setup dialog is added
if frame is null then new JFrame created internallypublic void preview()
public void preview(java.awt.Frame frame)
frame - The frame on to which this preview dialog is added
if frame is null then new JFrame created internallypublic void print()
public void setPaperType(int paperType)
paperType - The int value for paper type propertypublic int getPaperType()
public void setPaperSize(double width,
double height)
width - The width of the pageheight - The height of the pagepublic double getPaperWidth()
public double getPaperHeight()
public double getImageablePaperWidth()
public double getImageablePaperHeight()
public double getActualPaperWidth()
public double getActualPaperHeight()
public void setLeftHeader(java.lang.String leftHeader)
leftHeader - The left header of the page(s)public java.lang.String getLeftHeader()
public void setCenterHeader(java.lang.String centerHeader)
centerHeader - The center header of the page(s)public java.lang.String getCenterHeader()
public void setRightHeader(java.lang.String rightHeader)
rightHeader - The right header of the page(s)public java.lang.String getRightHeader()
public void setLeftFooter(java.lang.String leftFooter)
leftFooter - The left footer of the page(s)public java.lang.String getLeftFooter()
public void setCenterFooter(java.lang.String centerFooter)
centerFooter - The center footer of the page(s)public java.lang.String getCenterFooter()
public void setRightFooter(java.lang.String rightFooter)
rightFooter - The right footer of the page(s)public java.lang.String getRightFooter()
public void setLeftMargin(double leftMargin)
leftMargin - the left margin of the page(s), in inchespublic double getLeftMargin()
public void setRightMargin(double rightMargin)
rightMargin - the right margin of the page(s), in inchespublic double getRightMargin()
public void setTopMargin(double topMargin)
topMargin - the top margin of the page(s), in inchespublic double getTopMargin()
public void setBottomMargin(double bottomMargin)
bottomMargin - the bottom margin of the page(s), in inchespublic double getBottomMargin()
public void setPageOrientation(int pageOrientation)
pageOrientation - The page orientation of the page(s)public int getPageOrientation()
public void setNoOfCopies(int noOfCopies)
noOfCopies - The no of copies of the page(s)public int getNoOfCopies()
public void setGapBelowHeader(double gapBelowHeader)
gapBelowHeader - The value of gap below header of the page(s), in inchespublic double getGapBelowHeader()
public void setGapAboveFooter(double gapAboveFooter)
public double getGapAboveFooter()
public void setShowLineBelowHeader(boolean showLineBelowHeader)
showLineBelowHeader - The boolean value of, is line below header to be drawn?public boolean isShowLineBelowHeader()
public void setShowLineAboveFooter(boolean showLineAboveFooter)
showLineAboveFooter - The boolean value of, is line above footer to be drawn?public boolean isShowLineAboveFooter()
public void setShowPrintDialog(boolean showPrintDialog)
showPrintDialog - The boolean value of, is display the print dialog while print method is calledpublic boolean isShowPrintDialog()
public void setPrintJobName(java.lang.String jobName)
public java.lang.String getPrintJobName()
public void setPrintBookIndividually(boolean isPrintBookIndividually)
isPrintBookIndividually - Wheather user want to print the book of pages individually or notpublic boolean isPrintBookIndividually()
public void setBookSize(int bookSize)
bookSize - The book sizepublic int getBookSize()
public void setLicenseKey(java.lang.String licenseKey)
public java.lang.String getLicenseKey()
public void scrollRectToVisible(java.awt.Rectangle contentRect)
public java.util.Vector convertToVector(java.lang.Object[] anArray)
public static java.util.Hashtable convertArrayToHashtable(java.lang.Object[][] object)
public java.lang.String getAutoGeneratedColumnIdentifier()
public void addTableRowsAddedListener(TableRowsAddedListener l)
l - The TableRowsAddedListenerpublic void removeTableRowsAddedListener(TableRowsAddedListener l)
l - The TableRowsAddedListenerpublic void addTableRowsRemovedListener(TableRowsRemovedListener l)
l - The TableRowsRemovedListenerpublic void removeTableRowsRemovedListener(TableRowsRemovedListener l)
l - The TableRowsRemovedListenerpublic void addTableColumnsAddedListener(TableColumnsAddedListener l)
l - The TableColumnsAddedListenerpublic void removeTableColumnsAddedListener(TableColumnsAddedListener l)
l - The TableColumnsAddedListenerpublic void addTableColumnsRemovedListener(TableColumnsRemovedListener l)
l - The TableColumnsRemovedListenerpublic void removeTableColumnsRemovedListener(TableColumnsRemovedListener l)
l - The TableColumnsRemovedListenerpublic void addTableCellResizeListener(TableCellResizeListener l)
l - The TableCellResizeListenerpublic void removeTableCellResizeListener(TableCellResizeListener l)
l - The TableCellResizeListenerpublic void addTableSortListener(TableSortListener l)
l - The TableSortListenerpublic void removeTableSortListener(TableSortListener l)
l - The TableSortListenerpublic void addTableCellEditListener(TableCellEditListener l)
l - The TableCellEditListenerpublic void removeTableCellEditListener(TableCellEditListener l)
l - The TableCellEditListenerpublic void addTableSelectionListener(TableSelectionListener l)
l - The TableSelectionListenerpublic void removeTableSelectionListener(TableSelectionListener l)
l - The TableSelectionListener
protected void fireTableRowsAddedEvent(int rowIndex1,
int rowIndex2)
protected void fireTableRowsRemovedEvent(int rowIndex1,
int rowIndex2,
java.util.Vector rowData)
protected void fireTableColumnsAddedEvent(int index0,
int index1)
protected void fireTableColumnsRemovedEvent(int index0,
int index1)
protected void fireTableCellResizeEvent(int resizeType,
int index,
int size)
protected void fireTableSortEvent(int eventType,
int[] columnIndexes,
boolean[] sortingOrders)
protected void fireTableCellEditEvent(int editType,
int rowIndex,
int columnIndex,
java.lang.Object value)
protected void fireTableSelectionEvent()
public void addPropertyChangeListener(java.beans.PropertyChangeListener l)
l - The property change listenerpublic void removePropertyChangeListener(java.beans.PropertyChangeListener l)
l - The property change listener
public void firePropertyChange(java.lang.String property,
java.lang.Object oldValue,
java.lang.Object newValue)
property - The name of the propertyoldValue - The old valuenewValue - The new valuepublic void addMouseListener(java.awt.event.MouseListener mouseListener)
public void removeMouseListener(java.awt.event.MouseListener mouseListener)
public void addMouseMotionListener(java.awt.event.MouseMotionListener mouseMotionListener)
public void removeMouseMotionListener(java.awt.event.MouseMotionListener mouseMotionListener)
public void addKeyListener(java.awt.event.KeyListener keyListener)
public void removeKeyListener(java.awt.event.KeyListener keyListener)
public void addFocusListener(java.awt.event.FocusListener focusListener)
public void removeFocusListener(java.awt.event.FocusListener focusListener)
public void readExternal(java.io.ObjectInput in)
throws java.io.IOException,
java.lang.ClassNotFoundException
readExternal in interface java.io.Externalizablejava.io.IOException
java.lang.ClassNotFoundException
public void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException,
java.awt.IllegalComponentStateException
writeExternal in interface java.io.Externalizablejava.io.IOException
java.awt.IllegalComponentStateExceptionpublic final boolean isManagingFocus()
|
ElegantJ Tables Java API Specification v1.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||