|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectjava.awt.Component
java.awt.Container
javax.swing.JComponent
pt.moredata.widgets.Table
Copyright:
Copyright (C) 2000 Despodata
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc, 59 Temple Place-Suite 330, Bosseton, MA 02111-1307, USA.
Company : Despodata
| Nested Class Summary |
| Nested classes inherited from class javax.swing.JComponent |
javax.swing.JComponent.AccessibleJComponent |
| 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 |
AUTO_RESIZE_ALL_COLUMNS
Durante todas as operacões de redimensionamento, redimensiona todas as colunas de forma proporcional |
static int |
AUTO_RESIZE_LAST_COLUMN
Durante todas as operacões de redimensionamento, aplica ajustamentos apenas na ultima coluna |
static int |
AUTO_RESIZE_NEXT_COLUMN
Quando uma coluna é ajustada, ajusta o tamanho da coluna imediatamente seguinte |
static int |
AUTO_RESIZE_OFF
Não ajusta o tamanho das colunas, utiliza a scrollbar |
static int |
AUTO_RESIZE_SUBSEQUENT_COLUMNS
Durante o ajustamento, ajusta as colunas a seguir de forma a preservar o tamanho total |
static int |
AUTOMATIC_RESIZE
A tabela cresce à medida que se vai inserindo linhas na tabela |
protected java.util.Vector |
clipBoard
Array de dados para copia de uma linha completa |
protected int |
columns
|
protected int |
currentColumn
|
protected int |
currentRow
|
static int |
DATACONTROL
|
BaseTable |
fixedColumns
Tabela (JTable) adicional usada para colunas fixadas (freeze) |
protected int |
growPolicy
Politica de crescimento. |
static int |
MANUAL_RESIZE
A tabela só cresce com addRow ou setRows |
protected int |
numberFixedColumns
Numero de linhas fixadas no inicio (freeze) |
protected java.lang.Object |
oldValue
Guarda o valor antes de entrar no editor para mais tarde verificar se deve disparar o evento AfterEditEvent |
protected int |
rows
|
protected javax.swing.ListSelectionModel |
selectionModel
|
BaseTable |
table
Tabela base (quase JTable) usada para as colunas normais (não fixas) |
protected boolean |
tableChanged
|
| Fields inherited from class javax.swing.JComponent |
accessibleContext, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW |
| 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 | |
Table()
Construtor da DDataTable |
|
| Method Summary | |
void |
addActionListener(java.awt.event.ActionListener listener)
|
void |
addAfterEditListener(AfterEditListener l)
Addiciona um Listener que dispara depois de se sair celula que foi alterada |
protected void |
addAllListeners()
Adiciona todos os listeners |
protected void |
addAllListenersToEditor()
Addicona listeners aos editors |
void |
addCellChangeListener(CellChangeListener l)
Listener que dispara depois de se sair celula que foi alterada |
void |
addColumn(java.lang.Object columnName)
Adiciona coluna |
void |
addColumn(java.lang.Object columnName,
java.lang.Object[] columnData)
Adiciona coluna |
void |
addColumn(java.lang.Object columnName,
java.util.Vector columnData)
Adiciona coluna |
void |
addFixedColumn(java.lang.Object columnName)
Adiciona uma coluna fixa |
void |
addInitialListeners()
|
void |
addInputMethodLister(java.awt.event.InputMethodListener l)
Adiciona o inputMethodListener |
void |
addItemsToMenu()
??? |
void |
addKeyListener(java.awt.event.KeyListener l)
|
void |
addMouseListener(java.awt.event.MouseListener l)
|
void |
addMouseMotionListener(java.awt.event.MouseMotionListener l)
Remove um MouseMotionLister |
void |
addRow(java.lang.Object[] rowData)
Adiciona linha |
void |
addRow(java.util.Vector rowData)
Adiciona linha a tabela |
void |
addTableChangeListener(AfterEditListener l)
This event is fired when the table is changed |
void |
addTableChangeWithEditorListener(AfterEditListener l)
Listener que dispara depois de se sair celula que foi alterada |
void |
addTableListener(TableListener l)
Listener que dispara depois de se sair de uma celula |
void |
autoScroll(java.awt.Rectangle aRect)
Faz scroll para a tabela |
void |
cancelValues()
Cancela a edição |
void |
clearBlankLines()
Remove as ultimas linhas vazias |
void |
copyRow(int row)
Copia uma linha para o clipboard |
void |
cutRow(int row)
|
void |
editCellAt(int row,
int column)
Edita uma celula especifica |
void |
editCellAt(int row,
int column,
java.util.EventObject e)
Edita uma celula |
void |
fireAfterEditEvent(int tipo,
AfterEditEvent e)
|
protected void |
fireCell(TableEvent evento,
byte tipo)
Dispara o evento ao sair de uma celula |
void |
fireFocusEvent(java.awt.event.FocusEvent event)
|
void |
fireTableChange(int row,
int column)
|
void |
focusGained(java.awt.event.FocusEvent e)
|
void |
focusLost(java.awt.event.FocusEvent e)
|
CellProperties |
getCellProperties(int row,
int column)
|
javax.swing.table.TableColumn |
getColumn(int index)
Devolve a coluna |
int |
getColumnCount()
|
java.lang.Object[] |
getColumnName()
|
java.lang.Object |
getColumnName(int index)
|
java.lang.Object[] |
getColumnNames()
Deprecated. |
java.lang.Object |
getColumnNames(int index)
Deprecated. |
CellProperties[] |
getColumnProperties()
|
CellProperties |
getColumnProperties(int index)
|
int |
getColumns()
Devolve o nº de colunas não fixas |
boolean |
getColumnsResizeAllowed()
retorna se as colunas permitem redimensionamento |
int[] |
getColumnWidth()
|
int |
getColumnWidth(int idx)
Retorna a largura de uma coluna |
int |
getCurrentColumn()
|
int |
getCurrentRow()
Devolve a linha currente |
DataAccessObject |
getDataControl(int row,
int col)
Devolve o datacontrol da ComboboxEditor, se o editor não for uma combo devolve nulo |
java.util.ArrayList |
getDataFromTable()
Retorna todos os valores da tabela para um arraylist |
java.util.ArrayList |
getDataFromTable(int lowerColumn)
Retorna os valores da tabela para um arraylist a partir de uma certa coluna |
java.util.ArrayList |
getDataFromTable(int[] columnsOfData,
int[] rowsOfData)
Retorna os valores da tabela para um arraylist |
java.util.ArrayList |
getDataFromTable(int lowerRow,
int lowerColumn)
Retorna os valores da tabela para um arraylist a partir de uma determinada linha e de uma determinada coluna |
java.util.ArrayList |
getDataFromTable(int lowerRow,
int lowerColumn,
int maxRow,
int maxColumn)
Retorna os valores da tabela para um arraylist |
DataSource |
getDataSource()
|
java.lang.String |
getDescriptionAt(int row,
int col)
Devolve a descrição de uma combo de uma celula |
boolean |
getEditable()
|
int |
getFixedColumns()
Devolve a quantidade de colunas fixas (freeze). |
int |
getGrowPolicy()
|
javax.swing.table.TableModel |
getModel()
Devolve o model da tabela |
boolean |
getNavigateThroughNonEditableCells()
|
java.lang.Object |
getOldValue()
Devolve o valor anterior que estava na celula |
boolean |
getReordering()
Retorna se as colunas permitem re-ordenamento |
int |
getRowHeight()
Devolve a altura da linha |
int |
getRows()
Devolve o numero de Linhas |
boolean |
getRowSelectionAllowed()
|
javax.swing.table.TableColumn |
getScrollableColumn(int index)
Devolve a coluna |
int |
getSelectedRowCount()
Devolve o nº de linhas seleccionadas |
int[] |
getSelectedRows()
Devolve as linhas seleccionadas |
java.awt.Color |
getSelectionBackground()
gets the background color of selection bar |
java.awt.Color |
getSelectionForeground()
gets the foreground color of selection bar |
boolean |
getShowExcelExport()
|
boolean |
getShowHeader()
|
boolean |
getShowReport()
|
boolean |
getSortAllowed()
|
TableSortMethod |
getSortMethod()
|
java.lang.Object |
getValue()
Retorna o valor da linha corrente e coluna corrente |
java.lang.Object |
getValueAt(int _row,
int _column)
Retorna o valor que está na celula da linha _row, coluna _column Leva em linha de conta as colunas que estão fixas (freeze). |
boolean |
hasFocus()
|
void |
insertNewRow()
|
void |
insertRow(int row)
Insere uma linha vazia na posição enviada como parâmetro |
boolean |
isBlankLine(int _row)
Verfica se determinada linha é nula |
void |
OtherListeners()
|
void |
pasteRow(int row)
Insere uma nova linha com os dados copiados para clipboard |
protected void |
processFocusEvent(java.awt.event.FocusEvent e)
|
void |
reEditCellAt(int row,
int column)
???? |
void |
refresh()
Redesenha a tabela |
void |
removeActionListener(java.awt.event.ActionListener listener)
|
void |
removeAfterEditListener(AfterEditListener l)
Remove um Listener que dispara depois de se sair celula que foi alterada |
void |
removeCellChangeListenerList(CellChangeListener l)
|
void |
removeFixedColumn(int columnIndex)
|
void |
removeInputMethodLister(java.awt.event.InputMethodListener l)
|
void |
removeKeyListener(java.awt.event.KeyListener l)
|
void |
removeMouseListener(java.awt.event.MouseListener l)
Listener MouseListener |
void |
removeMouseMotionListener(java.awt.event.MouseMotionListener l)
Adiciona MouseMotionListener |
void |
removeRow(int row)
Apaga linha |
void |
removeTableChangeListener(AfterEditListener l)
|
void |
removeTableChangeWithEditorListener(AfterEditListener l)
|
void |
removeTableListener(TableListener l)
|
void |
setActiveToolbarButtons(boolean[] valores)
Define se os botoes estão activos |
void |
setCellEditor(int _row,
int _column,
CellProperties _editor)
Deprecated. Substituido pelo setCellProperties() |
void |
setCellProperties(int row,
int column,
CellProperties properties)
Atribui propriedades a uma determinada celula |
void |
setCellRenderer(int _row,
int _column,
CellProperties _renderer)
Deprecated. Substituido pelo setCellProperties() |
void |
setColumnEditors(int col,
CellProperties editor)
Deprecated. Substituido pelo setColumnProperties() |
void |
setColumnName(int index,
java.lang.Object _value)
Determina o titulo de uma coluna |
void |
setColumnName(java.lang.Object[] _value)
Define o nome das colunas |
void |
setColumnNames(int index,
java.lang.Object _value)
Deprecated. |
void |
setColumnNames(java.lang.Object[] _value)
Deprecated. |
void |
setColumnProperties(CellProperties[] _properties)
|
void |
setColumnProperties(int index,
CellProperties _properties)
Define as propriedades de todas as celulas daquela coluna e as propriedades defeito para a coluna |
void |
setColumnRenderer(int row,
CellProperties renderer)
Deprecated. Já não é necessário definir um renderer Substituido pelo setColumnProperties() |
void |
setColumns(int _columns)
Define o numero de colunas |
void |
setColumnsResizeAllowed(boolean flag)
Permissão para redimensionar as colunas |
void |
setColumnWidth(int[] width)
|
void |
setColumnWidth(int idx,
int width)
Define a largura de uma coluna |
void |
setCurrentColumn(int _column)
|
void |
setCurrentRow(int _row)
Muda a linha corrente para a enviada como parametro |
void |
setDataSource(DataSource ds)
|
void |
setEditable(boolean editable)
|
void |
setFixedColumns(int nColumn)
Atribui um numero de colunas fixas |
void |
setFontHeader(java.awt.Font f)
Define a fonte do cabeçalho |
void |
setGrowPolicy(int _growPolicy)
Método para definir o tipo de crescimento da tabela |
void |
setNavigateThroughNonEditableCells(boolean nav)
|
void |
setOldValue(java.lang.Object _oldValue)
Guarda o valor anterior da celula |
void |
setReordering(boolean flag)
Permite o re-ordenamento das colunas |
void |
setRowHeight(int height)
Define altura da linha |
void |
setRows(int _rows)
Define numero de linhas |
void |
setRowSelectionAllowed(boolean rowSel)
|
void |
setSelectionBackground(java.awt.Color color)
Changes the background color of the selection bar |
void |
setSelectionForeground(java.awt.Color color)
Changes the foreground color of the selection bar |
void |
setSelectionMode(int selectionMode)
Define o modulo de selecção |
void |
setSelectionModel(javax.swing.ListSelectionModel newModel)
Define o model da selecção |
void |
setShowExcelExport(boolean xlexp)
|
void |
setShowHeader(boolean showHeader)
|
void |
setShowReport(boolean srep)
|
void |
setSortAllowed(boolean sortAllowed)
|
void |
setSortMethod(TableSortMethod comp)
Propriedade que define o metodo de ordenação |
void |
setTableConfirmListener(TableConfirmListener l)
|
void |
setToolbarButtons(boolean[] valores)
Define quais os botoes visiveis |
void |
setUI(javax.swing.plaf.TableUI tableUI)
Atribui um novo UI à tabela |
void |
setValue(java.lang.Object _value)
Modifica o valor da linha e coluna corrente |
void |
setValueAt(java.lang.Object _value,
int _row,
int _column)
Modifica o valor numa determinada celula |
void |
sortTable(int column)
Ordena a tabela |
void |
updateValues()
Passa o valor que está no Editor para a tabela (para corrigir o bug de por valores nulos quando se grava os valores) |
protected boolean |
validateCellLimits(int _row,
int _column)
Verifica se as coordenadas da celula estão correctas |
| Methods inherited from class javax.swing.JComponent |
addAncestorListener, addNotify, addPropertyChangeListener, addPropertyChangeListener, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getAccessibleContext, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBorder, getBounds, getClientProperty, getComponentGraphics, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getGraphics, getHeight, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPreferredSize, getPropertyChangeListeners, getPropertyChangeListeners, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getUIClassID, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, isDoubleBuffered, isLightweightComponent, isManagingFocus, isMaximumSizeSet, isMinimumSizeSet, isOpaque, isOptimizedDrawingEnabled, isPaintingTile, isPreferredSizeSet, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintChildren, paintComponent, paintImmediately, paintImmediately, paramString, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removePropertyChangeListener, removePropertyChangeListener, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setEnabled, setFont, setForeground, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, update, updateUI |
| Methods inherited from class java.awt.Container |
add, add, add, add, add, addContainerListener, addImpl, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setFocusCycleRoot, setFocusTraversalKeys, setFocusTraversalPolicy, setLayout, transferFocusBackward, transferFocusDownCycle, validate, validateTree |
| Methods inherited from class java.awt.Component |
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, createImage, createImage, createVolatileImage, createVolatileImage, disableEvents, dispatchEvent, enable, enableEvents, enableInputMethods, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getFontMetrics, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMouseWheelListeners, getName, getParent, getPeer, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hide, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, processComponentEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processMouseEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeMouseWheelListener, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, 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 int AUTO_RESIZE_OFF
public static final int AUTO_RESIZE_NEXT_COLUMN
public static final int AUTO_RESIZE_SUBSEQUENT_COLUMNS
public static final int AUTO_RESIZE_LAST_COLUMN
public static final int AUTO_RESIZE_ALL_COLUMNS
public static final int MANUAL_RESIZE
public static final int AUTOMATIC_RESIZE
public static final int DATACONTROL
protected int currentRow
protected int currentColumn
protected int rows
protected int columns
protected int growPolicy
Por default só cresce com métodos de java
protected boolean tableChanged
protected int numberFixedColumns
protected java.lang.Object oldValue
public BaseTable table
public BaseTable fixedColumns
protected javax.swing.ListSelectionModel selectionModel
protected java.util.Vector clipBoard
| Constructor Detail |
public Table()
| Method Detail |
public void addInitialListeners()
public void OtherListeners()
public void editCellAt(int row,
int column)
public void editCellAt(int row,
int column,
java.util.EventObject e)
public void reEditCellAt(int row,
int column)
public boolean getReordering()
public void setReordering(boolean flag)
public boolean getColumnsResizeAllowed()
public void setColumnsResizeAllowed(boolean flag)
public void setCurrentRow(int _row)
public int getCurrentRow()
public void setCurrentColumn(int _column)
public int getCurrentColumn()
public void setRows(int _rows)
public void removeRow(int row)
public int getRows()
public void setColumns(int _columns)
public int getColumns()
public void setColumnName(java.lang.Object[] _value)
public void setColumnName(int index,
java.lang.Object _value)
public java.lang.Object getColumnName(int index)
public java.lang.Object[] getColumnName()
public int getColumnCount()
public void setColumnNames(int index,
java.lang.Object _value)
public void setColumnNames(java.lang.Object[] _value)
public java.lang.Object getColumnNames(int index)
public java.lang.Object[] getColumnNames()
public void setColumnProperties(int index,
CellProperties _properties)
public void setColumnProperties(CellProperties[] _properties)
public CellProperties getColumnProperties(int index)
public CellProperties[] getColumnProperties()
public void setCellEditor(int _row,
int _column,
CellProperties _editor)
public void setCellRenderer(int _row,
int _column,
CellProperties _renderer)
public java.lang.Object getValueAt(int _row,
int _column)
Leva em linha de conta as colunas que estão fixas (freeze).
public java.lang.Object getValue()
public void setValue(java.lang.Object _value)
public void setValueAt(java.lang.Object _value,
int _row,
int _column)
public void addRow(java.util.Vector rowData)
public void addRow(java.lang.Object[] rowData)
public void addFixedColumn(java.lang.Object columnName)
public void removeFixedColumn(int columnIndex)
public void addColumn(java.lang.Object columnName)
public void addColumn(java.lang.Object columnName,
java.util.Vector columnData)
public void addColumn(java.lang.Object columnName,
java.lang.Object[] columnData)
public javax.swing.table.TableColumn getColumn(int index)
public javax.swing.table.TableColumn getScrollableColumn(int index)
public void setSelectionModel(javax.swing.ListSelectionModel newModel)
public void setSelectionMode(int selectionMode)
public void setColumnWidth(int idx,
int width)
public void setColumnWidth(int[] width)
public int getColumnWidth(int idx)
public int[] getColumnWidth()
public void setRowHeight(int height)
public int getRowHeight()
public void setFontHeader(java.awt.Font f)
public boolean isBlankLine(int _row)
public void clearBlankLines()
public void addKeyListener(java.awt.event.KeyListener l)
public void removeKeyListener(java.awt.event.KeyListener l)
public void addActionListener(java.awt.event.ActionListener listener)
public void removeActionListener(java.awt.event.ActionListener listener)
public void addTableListener(TableListener l)
public void removeTableListener(TableListener l)
protected void fireCell(TableEvent evento,
byte tipo)
public void addInputMethodLister(java.awt.event.InputMethodListener l)
public void removeInputMethodLister(java.awt.event.InputMethodListener l)
public void removeMouseListener(java.awt.event.MouseListener l)
public void addMouseListener(java.awt.event.MouseListener l)
public void removeMouseMotionListener(java.awt.event.MouseMotionListener l)
public void addMouseMotionListener(java.awt.event.MouseMotionListener l)
public void addAfterEditListener(AfterEditListener l)
public void removeAfterEditListener(AfterEditListener l)
public void fireAfterEditEvent(int tipo,
AfterEditEvent e)
public void fireTableChange(int row,
int column)
public void setGrowPolicy(int _growPolicy)
public int getGrowPolicy()
public void addTableChangeListener(AfterEditListener l)
public void removeTableChangeListener(AfterEditListener l)
public void addTableChangeWithEditorListener(AfterEditListener l)
public void removeTableChangeWithEditorListener(AfterEditListener l)
public void addCellChangeListener(CellChangeListener l)
public void removeCellChangeListenerList(CellChangeListener l)
protected void addAllListeners()
protected boolean validateCellLimits(int _row,
int _column)
public void updateValues()
public void cancelValues()
public DataAccessObject getDataControl(int row,
int col)
public java.lang.String getDescriptionAt(int row,
int col)
public javax.swing.table.TableModel getModel()
public java.lang.Object getOldValue()
public void setOldValue(java.lang.Object _oldValue)
public void refresh()
public void autoScroll(java.awt.Rectangle aRect)
public void setCellProperties(int row,
int column,
CellProperties properties)
public CellProperties getCellProperties(int row,
int column)
public void setColumnEditors(int col,
CellProperties editor)
public void setColumnRenderer(int row,
CellProperties renderer)
public void setFixedColumns(int nColumn)
public int getFixedColumns()
protected void addAllListenersToEditor()
public void setUI(javax.swing.plaf.TableUI tableUI)
public java.util.ArrayList getDataFromTable(int[] columnsOfData,
int[] rowsOfData)
public java.util.ArrayList getDataFromTable(int lowerRow,
int lowerColumn,
int maxRow,
int maxColumn)
public java.util.ArrayList getDataFromTable(int lowerRow,
int lowerColumn)
public java.util.ArrayList getDataFromTable(int lowerColumn)
public java.util.ArrayList getDataFromTable()
public void addItemsToMenu()
public void insertRow(int row)
public void insertNewRow()
public void cutRow(int row)
public void copyRow(int row)
public void pasteRow(int row)
public void setToolbarButtons(boolean[] valores)
public void setActiveToolbarButtons(boolean[] valores)
public void setEditable(boolean editable)
public boolean getEditable()
public boolean hasFocus()
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 fireFocusEvent(java.awt.event.FocusEvent event)
public void setRowSelectionAllowed(boolean rowSel)
public boolean getRowSelectionAllowed()
public void sortTable(int column)
public void setSortAllowed(boolean sortAllowed)
public boolean getSortAllowed()
public void setShowHeader(boolean showHeader)
public boolean getShowHeader()
protected void processFocusEvent(java.awt.event.FocusEvent e)
public void setNavigateThroughNonEditableCells(boolean nav)
public boolean getNavigateThroughNonEditableCells()
public boolean getShowReport()
public void setShowReport(boolean srep)
public void setShowExcelExport(boolean xlexp)
public boolean getShowExcelExport()
public void setSortMethod(TableSortMethod comp)
public TableSortMethod getSortMethod()
public int[] getSelectedRows()
public int getSelectedRowCount()
public void setSelectionBackground(java.awt.Color color)
color - public java.awt.Color getSelectionBackground()
public void setSelectionForeground(java.awt.Color color)
color - public java.awt.Color getSelectionForeground()
public void setTableConfirmListener(TableConfirmListener l)
public DataSource getDataSource()
public void setDataSource(DataSource ds)
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||