org.jsqltool.gui.tableplugins.datatable.filter
Class FilterDialog

java.lang.Object
  |
  +--java.awt.Component
        |
        +--java.awt.Container
              |
              +--java.awt.Window
                    |
                    +--java.awt.Dialog
                          |
                          +--javax.swing.JDialog
                                |
                                +--org.jsqltool.gui.tableplugins.datatable.filter.FilterDialog
All Implemented Interfaces:
javax.accessibility.Accessible, java.util.EventListener, java.awt.image.ImageObserver, javax.swing.event.ListSelectionListener, java.awt.MenuContainer, javax.swing.RootPaneContainer, java.io.Serializable, javax.swing.WindowConstants

public class FilterDialog
extends javax.swing.JDialog
implements javax.swing.event.ListSelectionListener

Title: JSqlTool Project

Description: Dialog used to filter/order 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

See Also:
Serialized Form

Field Summary
(package private)  javax.swing.JButton andButton
           
(package private)  javax.swing.JButton ascrightButton
           
(package private)  javax.swing.ImageIcon ascRightImage
           
(package private)  java.awt.BorderLayout borderLayout1
           
(package private)  javax.swing.JPanel buttonsPanel
           
(package private)  javax.swing.JButton cancelButton
           
(package private)  javax.swing.JButton clearFilterButton
           
(package private)  javax.swing.JButton clearSortButton
           
(package private)  javax.swing.JComboBox colComboBox
           
(package private)  javax.swing.JButton descRightButton
           
(package private)  javax.swing.ImageIcon descRightImage
           
(package private)  javax.swing.JButton downButton
           
(package private)  javax.swing.ImageIcon downImage
           
(package private)  javax.swing.JPanel filterPanel
           
(package private)  java.awt.FlowLayout flowLayout1
           
(package private)  java.awt.GridBagLayout gridBagLayout1
           
(package private)  java.awt.GridBagLayout gridBagLayout2
           
(package private)  javax.swing.JButton leftButton
           
(package private)  javax.swing.ImageIcon leftImage
           
(package private)  javax.swing.JPanel mainPanel
           
(package private)  javax.swing.JButton okButton
           
(package private)  javax.swing.JComboBox opComboBox
           
(package private)  javax.swing.JButton orButton
           
(package private)  javax.swing.JList orderList
           
(package private)  javax.swing.JList orderList2
           
(package private)  javax.swing.JPanel orderPanel
           
(package private)  javax.swing.JScrollPane orderScrollPane
           
(package private)  javax.swing.JScrollPane orderScrollPane2
           
(package private)  javax.swing.JTabbedPane tabbedPane
           
(package private)  javax.swing.JButton upButton
           
(package private)  javax.swing.ImageIcon upImage
           
(package private)  javax.swing.JTextField valueTextField
           
(package private)  javax.swing.JScrollPane whereScrollPane
           
(package private)  javax.swing.JTextArea whereTextArea
           
 
Fields inherited from class javax.swing.JDialog
accessibleContext, rootPane, rootPaneCheckingEnabled
 
Fields inherited from class java.awt.Dialog
 
Fields inherited from class java.awt.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 javax.swing.WindowConstants
DISPOSE_ON_CLOSE, DO_NOTHING_ON_CLOSE, EXIT_ON_CLOSE, HIDE_ON_CLOSE
 
Fields inherited from interface java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
 
Constructor Summary
FilterDialog()
           
FilterDialog(javax.swing.JFrame parent, java.lang.String tableName, DbConnectionUtil dbConnUtil)
           
 
Method Summary
(package private)  void andButton_actionPerformed(java.awt.event.ActionEvent e)
           
(package private)  void ascRightButton_actionPerformed(java.awt.event.ActionEvent e)
           
(package private)  void cancelButton_actionPerformed(java.awt.event.ActionEvent e)
           
(package private)  void clearFilterButton_actionPerformed(java.awt.event.ActionEvent e)
           
(package private)  void clearSortButton_actionPerformed(java.awt.event.ActionEvent e)
           
(package private)  void descRightButton_actionPerformed(java.awt.event.ActionEvent e)
           
(package private)  void downButton_actionPerformed(java.awt.event.ActionEvent e)
           
(package private)  void jbInit()
           
(package private)  void leftButton_actionPerformed(java.awt.event.ActionEvent e)
           
(package private)  void okButton_actionPerformed(java.awt.event.ActionEvent e)
           
(package private)  void orButton_actionPerformed(java.awt.event.ActionEvent e)
           
(package private)  void upButton_actionPerformed(java.awt.event.ActionEvent e)
           
 void valueChanged(javax.swing.event.ListSelectionEvent e)
           
 
Methods inherited from class javax.swing.JDialog
addImpl, createRootPane, dialogInit, getAccessibleContext, getContentPane, getDefaultCloseOperation, getGlassPane, getJMenuBar, getLayeredPane, getRootPane, isDefaultLookAndFeelDecorated, isRootPaneCheckingEnabled, paramString, processWindowEvent, remove, setContentPane, setDefaultCloseOperation, setDefaultLookAndFeelDecorated, setGlassPane, setJMenuBar, setLayeredPane, setLayout, setRootPane, setRootPaneCheckingEnabled, update
 
Methods inherited from class java.awt.Dialog
addNotify, dispose, getTitle, hide, isModal, isResizable, isUndecorated, setModal, setResizable, setTitle, setUndecorated, show
 
Methods inherited from class java.awt.Window
addPropertyChangeListener, addPropertyChangeListener, addWindowFocusListener, addWindowListener, addWindowStateListener, applyResourceBundle, applyResourceBundle, createBufferStrategy, createBufferStrategy, finalize, getBufferStrategy, getFocusableWindowState, getFocusCycleRootAncestor, getFocusOwner, getFocusTraversalKeys, getGraphicsConfiguration, getInputContext, getListeners, getLocale, getMostRecentFocusOwner, getOwnedWindows, getOwner, getToolkit, getWarningString, getWindowFocusListeners, getWindowListeners, getWindowStateListeners, isActive, isFocusableWindow, isFocusCycleRoot, isFocused, isShowing, pack, postEvent, processEvent, processWindowFocusEvent, processWindowStateEvent, removeWindowFocusListener, removeWindowListener, removeWindowStateListener, setCursor, setFocusableWindowState, setFocusCycleRoot, setLocationRelativeTo, toBack, toFront
 
Methods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getAlignmentX, getAlignmentY, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getContainerListeners, getFocusTraversalPolicy, getInsets, getLayout, getMaximumSize, getMinimumSize, getPreferredSize, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paint, paintComponents, preferredSize, print, printComponents, processContainerEvent, remove, removeAll, removeContainerListener, removeNotify, setFocusTraversalKeys, setFocusTraversalPolicy, setFont, 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, contains, createImage, createImage, createVolatileImage, createVolatileImage, disable, disableEvents, dispatchEvent, enable, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getFontMetrics, getForeground, getGraphics, getHeight, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocation, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getSize, getTreeLock, getWidth, getX, getY, gotFocus, handleEvent, hasFocus, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isDoubleBuffered, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isOpaque, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, prepareImage, prepareImage, printAll, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processKeyEvent, processMouseEvent, processMouseMotionEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, repaint, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, reshape, resize, resize, setBackground, setBounds, setBounds, setComponentOrientation, setDropTarget, setEnabled, setFocusable, setFocusTraversalKeysEnabled, setForeground, setIgnoreRepaint, setLocale, setLocation, setLocation, setName, setSize, setSize, setVisible, show, size, toString, transferFocus, transferFocusUpCycle
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

mainPanel

javax.swing.JPanel mainPanel

borderLayout1

java.awt.BorderLayout borderLayout1

buttonsPanel

javax.swing.JPanel buttonsPanel

cancelButton

javax.swing.JButton cancelButton

okButton

javax.swing.JButton okButton

tabbedPane

javax.swing.JTabbedPane tabbedPane

orderPanel

javax.swing.JPanel orderPanel

filterPanel

javax.swing.JPanel filterPanel

orderScrollPane

javax.swing.JScrollPane orderScrollPane

orderList

javax.swing.JList orderList

opComboBox

javax.swing.JComboBox opComboBox

colComboBox

javax.swing.JComboBox colComboBox

valueTextField

javax.swing.JTextField valueTextField

andButton

javax.swing.JButton andButton

orButton

javax.swing.JButton orButton

whereScrollPane

javax.swing.JScrollPane whereScrollPane

whereTextArea

javax.swing.JTextArea whereTextArea

gridBagLayout1

java.awt.GridBagLayout gridBagLayout1

orderScrollPane2

javax.swing.JScrollPane orderScrollPane2

orderList2

javax.swing.JList orderList2

ascrightButton

javax.swing.JButton ascrightButton

leftButton

javax.swing.JButton leftButton

gridBagLayout2

java.awt.GridBagLayout gridBagLayout2

descRightButton

javax.swing.JButton descRightButton

upButton

javax.swing.JButton upButton

downButton

javax.swing.JButton downButton

upImage

javax.swing.ImageIcon upImage

downImage

javax.swing.ImageIcon downImage

leftImage

javax.swing.ImageIcon leftImage

ascRightImage

javax.swing.ImageIcon ascRightImage

descRightImage

javax.swing.ImageIcon descRightImage

clearSortButton

javax.swing.JButton clearSortButton

clearFilterButton

javax.swing.JButton clearFilterButton

flowLayout1

java.awt.FlowLayout flowLayout1
Constructor Detail

FilterDialog

public FilterDialog(javax.swing.JFrame parent,
                    java.lang.String tableName,
                    DbConnectionUtil dbConnUtil)

FilterDialog

public FilterDialog()
Method Detail

jbInit

void jbInit()
      throws java.lang.Exception
java.lang.Exception

cancelButton_actionPerformed

void cancelButton_actionPerformed(java.awt.event.ActionEvent e)

okButton_actionPerformed

void okButton_actionPerformed(java.awt.event.ActionEvent e)

andButton_actionPerformed

void andButton_actionPerformed(java.awt.event.ActionEvent e)

orButton_actionPerformed

void orButton_actionPerformed(java.awt.event.ActionEvent e)

leftButton_actionPerformed

void leftButton_actionPerformed(java.awt.event.ActionEvent e)

valueChanged

public void valueChanged(javax.swing.event.ListSelectionEvent e)
Specified by:
valueChanged in interface javax.swing.event.ListSelectionListener

descRightButton_actionPerformed

void descRightButton_actionPerformed(java.awt.event.ActionEvent e)

ascRightButton_actionPerformed

void ascRightButton_actionPerformed(java.awt.event.ActionEvent e)

upButton_actionPerformed

void upButton_actionPerformed(java.awt.event.ActionEvent e)

downButton_actionPerformed

void downButton_actionPerformed(java.awt.event.ActionEvent e)

clearFilterButton_actionPerformed

void clearFilterButton_actionPerformed(java.awt.event.ActionEvent e)

clearSortButton_actionPerformed

void clearSortButton_actionPerformed(java.awt.event.ActionEvent e)