org.jsqltool.gui.tableplugins
Class IndexesTablePanel

java.lang.Object
  |
  +--java.awt.Component
        |
        +--java.awt.Container
              |
              +--javax.swing.JComponent
                    |
                    +--javax.swing.JPanel
                          |
                          +--org.jsqltool.gui.tablepanel.TablePluginAdapter
                                |
                                +--org.jsqltool.gui.tableplugins.IndexesTablePanel
All Implemented Interfaces:
javax.accessibility.Accessible, java.awt.image.ImageObserver, java.awt.MenuContainer, java.io.Serializable, TablePlugin

public class IndexesTablePanel
extends TablePluginAdapter

Title: JSqlTool Project

Description: This panel contains indexes properties.

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

See Also:
Serialized Form

Field Summary
(package private)  java.awt.BorderLayout borderLayout1
           
(package private)  javax.swing.JPanel buttonsPanel
           
(package private)  javax.swing.JButton disableAllButton
           
(package private)  javax.swing.ImageIcon disableAllImage
           
(package private)  javax.swing.JButton disableButton
           
(package private)  javax.swing.ImageIcon disableImage
           
(package private)  javax.swing.JButton dropButton
           
(package private)  javax.swing.ImageIcon dropImage
           
(package private)  javax.swing.JButton enableAllButton
           
(package private)  javax.swing.ImageIcon enableAllImage
           
(package private)  javax.swing.JButton enableButton
           
(package private)  javax.swing.ImageIcon enableImage
           
(package private)  java.awt.FlowLayout flowLayout1
           
(package private)  java.awt.GridBagLayout gridBagLayout1
           
 
Fields inherited from class org.jsqltool.gui.tablepanel.TablePluginAdapter
tableName
 
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
IndexesTablePanel()
           
 
Method Summary
 java.lang.String getAuthor()
           
 java.lang.String getName()
           
 java.lang.String getQuery(java.lang.String tableName, DbConnectionUtil dbConnUtil)
           
 java.lang.String getTabbedName()
           
 int getTabbedPosition()
           
 java.lang.String getVersion()
           
 void init(DbConnectionUtil dbConnUtil)
          This method is called from the table detail before the inizialization of the plugin panel
 void setQuery(java.lang.String tableName)
           
 
Methods inherited from class org.jsqltool.gui.tablepanel.TablePluginAdapter
equals, getDataPanel, getDbConnUtil, getTableName, initPanel, resetPanel, setTableName, updateContent
 
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

buttonsPanel

javax.swing.JPanel buttonsPanel

enableAllButton

javax.swing.JButton enableAllButton

disableAllButton

javax.swing.JButton disableAllButton

enableButton

javax.swing.JButton enableButton

disableButton

javax.swing.JButton disableButton

dropButton

javax.swing.JButton dropButton

enableAllImage

javax.swing.ImageIcon enableAllImage

disableAllImage

javax.swing.ImageIcon disableAllImage

enableImage

javax.swing.ImageIcon enableImage

disableImage

javax.swing.ImageIcon disableImage

dropImage

javax.swing.ImageIcon dropImage

flowLayout1

java.awt.FlowLayout flowLayout1

borderLayout1

java.awt.BorderLayout borderLayout1

gridBagLayout1

java.awt.GridBagLayout gridBagLayout1
Constructor Detail

IndexesTablePanel

public IndexesTablePanel()
Method Detail

getTabbedPosition

public int getTabbedPosition()
Specified by:
getTabbedPosition in interface TablePlugin
Overrides:
getTabbedPosition in class TablePluginAdapter
Returns:
panel position inside the JTabbedPane related to the table detail

getTabbedName

public java.lang.String getTabbedName()
Specified by:
getTabbedName in interface TablePlugin
Overrides:
getTabbedName in class TablePluginAdapter
Returns:
folder name of the plugin panel, inside the JTabbedPane related to the table detail

init

public void init(DbConnectionUtil dbConnUtil)
This method is called from the table detail before the inizialization of the plugin panel

Overrides:
init in class TablePluginAdapter

getQuery

public java.lang.String getQuery(java.lang.String tableName,
                                 DbConnectionUtil dbConnUtil)
Overrides:
getQuery in class TablePluginAdapter

getAuthor

public java.lang.String getAuthor()
Specified by:
getAuthor in interface TablePlugin
Overrides:
getAuthor in class TablePluginAdapter
Returns:
infos about the author of the plugin panel; "" or null does not report any info about the plugin panel

getVersion

public java.lang.String getVersion()
Specified by:
getVersion in interface TablePlugin
Overrides:
getVersion in class TablePluginAdapter
Returns:
plugin panel version

getName

public java.lang.String getName()
Specified by:
getName in interface TablePlugin
Overrides:
getName in class TablePluginAdapter
Returns:
plugin panel name, reported into the about window

setQuery

public void setQuery(java.lang.String tableName)
Overrides:
setQuery in class TablePluginAdapter