|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--java.awt.Component
|
+--java.awt.Container
|
+--javax.swing.JComponent
|
+--javax.swing.JPanel
|
+--org.jsqltool.gui.tableplugins.DataTablePanel
Title: JSqlTool Project
Description: Panel used to show the table content.
Copyright: Copyright (C) 2006 Mauro Carniel
This file is part of JSqlTool project. This library is free software; you can redistribute it and/or modify it under the terms of the (LGPL) Lesser General Public License as published by the Free Software Foundation; GNU LESSER GENERAL PUBLIC LICENSE Version 2.1, February 1999 This library 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 Library General Public License for more details. You should have received a copy of the GNU Library General Public License along with this library; if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. The author may be contacted at: maurocarniel@tin.it
| Nested Class Summary | |
(package private) class |
DataTablePanel.DataTablePanel_delButton_actionAdapter
|
(package private) class |
DataTablePanel.DataTablePanel_findButton_actionAdapter
|
(package private) class |
DataTablePanel.DataTablePanel_insertButton_actionAdapter
|
(package private) class |
DataTablePanel.DataTablePanel_refreshButton_actionAdapter
|
| Field Summary | |
(package private) java.awt.BorderLayout |
borderLayout1
|
(package private) java.awt.BorderLayout |
borderLayout2
|
(package private) javax.swing.JPanel |
buttonsPanel
|
(package private) javax.swing.JButton |
cancelEditButton
|
(package private) javax.swing.ImageIcon |
cancelEditImage
|
(package private) javax.swing.ImageIcon |
commitImage
|
(package private) DataPanel |
dataPanel
|
(package private) javax.swing.JButton |
delButton
|
(package private) javax.swing.ImageIcon |
delImage
|
(package private) javax.swing.ImageIcon |
find2Image
|
(package private) javax.swing.JButton |
findButton
|
(package private) javax.swing.ImageIcon |
findImage
|
(package private) javax.swing.JButton |
firstButton
|
(package private) javax.swing.ImageIcon |
firstImage
|
(package private) java.awt.FlowLayout |
flowLayout1
|
(package private) javax.swing.JButton |
insertButton
|
(package private) javax.swing.ImageIcon |
insertImage
|
(package private) javax.swing.JButton |
lastButton
|
(package private) javax.swing.ImageIcon |
lastImage
|
(package private) javax.swing.JButton |
leftButton
|
(package private) javax.swing.ImageIcon |
leftImage
|
(package private) javax.swing.JButton |
refreshButton
|
(package private) javax.swing.ImageIcon |
refreshImage
|
(package private) javax.swing.JButton |
rightButton
|
(package private) javax.swing.ImageIcon |
rightImage
|
| Fields inherited from class javax.swing.JComponent |
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW |
| Fields inherited from class java.awt.Container |
|
| 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 | |
DataTablePanel()
|
|
| Method Summary | |
(package private) void |
cancelEditButton_actionPerformed(java.awt.event.ActionEvent e)
|
(package private) void |
delButton_actionPerformed(java.awt.event.ActionEvent e)
|
boolean |
equals(java.lang.Object o)
|
(package private) void |
findButton_actionPerformed(java.awt.event.ActionEvent e)
|
(package private) void |
firstButton_actionPerformed(java.awt.event.ActionEvent e)
|
java.lang.String |
getAuthor()
|
int |
getEditMode()
|
java.lang.String |
getName()
|
java.lang.String |
getTabbedName()
|
int |
getTabbedPosition()
|
java.lang.String |
getTableName()
|
java.lang.String |
getVersion()
|
void |
initPanel(MainFrame parent,
DbConnectionUtil dbConnUtil)
Metodo chiamato in automatico dal dettaglio tabella per iniziazzare il plugin |
(package private) void |
insertButton_actionPerformed(java.awt.event.ActionEvent e)
|
(package private) void |
lastButton_actionPerformed(java.awt.event.ActionEvent e)
|
(package private) void |
leftButton_actionPerformed(java.awt.event.ActionEvent e)
|
(package private) void |
refreshButton_actionPerformed(java.awt.event.ActionEvent e)
|
void |
resetPanel()
|
(package private) void |
rightButton_actionPerformed(java.awt.event.ActionEvent e)
|
void |
setEditMode(int editMode)
|
void |
setQuery(java.lang.String tableName)
|
void |
setTableName(java.lang.String tableName)
This method is called from the table detail to set entity name. |
void |
tableChanged(javax.swing.event.TableModelEvent e)
This fine grain notification tells listeners the exact range of cells, rows, or columns that changed. |
void |
updateContent()
Metodo chiamato dal dettaglio tabella per aggiornare il contenuto del pannello del plugin. |
| Methods inherited from class javax.swing.JPanel |
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI |
| 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, 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, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, isDoubleBuffered, isLightweightComponent, isManagingFocus, isMaximumSizeSet, isMinimumSizeSet, isOpaque, isOptimizedDrawingEnabled, isPaintingTile, isPreferredSizeSet, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintChildren, paintComponent, paintImmediately, paintImmediately, 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 |
| 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, addKeyListener, addMouseListener, addMouseMotionListener, 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, getParent, getPeer, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, 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, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processMouseEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, 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, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
javax.swing.JPanel buttonsPanel
javax.swing.JButton insertButton
javax.swing.JButton delButton
javax.swing.JButton findButton
javax.swing.JButton cancelEditButton
javax.swing.JButton refreshButton
javax.swing.JButton firstButton
javax.swing.JButton leftButton
javax.swing.JButton rightButton
javax.swing.JButton lastButton
javax.swing.ImageIcon insertImage
javax.swing.ImageIcon delImage
javax.swing.ImageIcon findImage
javax.swing.ImageIcon find2Image
javax.swing.ImageIcon refreshImage
javax.swing.ImageIcon cancelEditImage
javax.swing.ImageIcon commitImage
javax.swing.ImageIcon firstImage
javax.swing.ImageIcon leftImage
javax.swing.ImageIcon rightImage
javax.swing.ImageIcon lastImage
java.awt.FlowLayout flowLayout1
DataPanel dataPanel
java.awt.BorderLayout borderLayout1
java.awt.BorderLayout borderLayout2
| Constructor Detail |
public DataTablePanel()
| Method Detail |
public void setQuery(java.lang.String tableName)
public void tableChanged(javax.swing.event.TableModelEvent e)
tableChanged in interface javax.swing.event.TableModelListenerpublic java.lang.String getTableName()
getTableName in interface TablePluginpublic final void setTableName(java.lang.String tableName)
setTableName in interface TablePlugintableName - table name (edventualy including catalog name) that table plugin have to showpublic void setEditMode(int editMode)
public int getEditMode()
void insertButton_actionPerformed(java.awt.event.ActionEvent e)
void delButton_actionPerformed(java.awt.event.ActionEvent e)
void refreshButton_actionPerformed(java.awt.event.ActionEvent e)
public void resetPanel()
void findButton_actionPerformed(java.awt.event.ActionEvent e)
void firstButton_actionPerformed(java.awt.event.ActionEvent e)
void leftButton_actionPerformed(java.awt.event.ActionEvent e)
void rightButton_actionPerformed(java.awt.event.ActionEvent e)
void lastButton_actionPerformed(java.awt.event.ActionEvent e)
void cancelEditButton_actionPerformed(java.awt.event.ActionEvent e)
public int getTabbedPosition()
getTabbedPosition in interface TablePluginpublic java.lang.String getTabbedName()
getTabbedName in interface TablePlugin
public void initPanel(MainFrame parent,
DbConnectionUtil dbConnUtil)
initPanel in interface TablePluginpublic void updateContent()
updateContent in interface TablePluginpublic java.lang.String getAuthor()
getAuthor in interface TablePluginpublic java.lang.String getVersion()
getVersion in interface TablePluginpublic java.lang.String getName()
getName in interface TablePlugingetName in class java.awt.Componentpublic boolean equals(java.lang.Object o)
equals in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||