org.argouml.ui
Class FindDialog

java.lang.Object
  |
  +--java.awt.Component
        |
        +--java.awt.Container
              |
              +--java.awt.Window
                    |
                    +--java.awt.Dialog
                          |
                          +--javax.swing.JDialog
                                |
                                +--org.argouml.ui.FindDialog
All Implemented Interfaces:
javax.accessibility.Accessible, java.awt.event.ActionListener, java.util.EventListener, java.awt.image.ImageObserver, java.awt.MenuContainer, java.awt.event.MouseListener, javax.swing.RootPaneContainer, java.io.Serializable, javax.swing.WindowConstants

public class FindDialog
extends javax.swing.JDialog
implements java.awt.event.ActionListener, java.awt.event.MouseListener

this one of the few classes in Argo that is self running. The search is buggy and needs work.

See Also:
Serialized Form

Inner classes inherited from class javax.swing.JDialog
javax.swing.JDialog.AccessibleJDialog
 
Inner classes inherited from class java.awt.Dialog
java.awt.Dialog.AccessibleAWTDialog
 
Inner classes inherited from class java.awt.Window
java.awt.Window.AccessibleAWTWindow
 
Inner classes inherited from class java.awt.Container
java.awt.Container.AccessibleAWTContainer
 
Inner classes inherited from class java.awt.Component
java.awt.Component.AccessibleAWTComponent
 
Field Summary
protected  javax.swing.JButton _clearTabs
           
protected  javax.swing.JPanel _constraintsTab
           
protected  javax.swing.JComboBox _diagramName
           
protected  javax.swing.JComboBox _elementName
           
protected  javax.swing.JPanel _help
           
protected  javax.swing.JComboBox _location
           
protected  javax.swing.JPanel _modifiedTab
           
protected  javax.swing.JPanel _nameLocTab
           
static int _numFinds
           
protected  javax.swing.JTabbedPane _results
           
protected  java.util.Vector _resultTabs
           
protected  javax.swing.JButton _search
           
protected  javax.swing.JTabbedPane _tabs
           
protected  javax.swing.JTextField _tag
           
protected  javax.swing.JPanel _tagValsTab
           
protected  javax.swing.JComboBox _type
           
protected  javax.swing.JPanel _typeDetails
           
protected  javax.swing.JTextField _val
           
static int nextResultNum
           
static FindDialog SINGLETON
           
 
Fields inherited from class javax.swing.JDialog
accessibleContext, rootPane, rootPaneCheckingEnabled
 
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, HIDE_ON_CLOSE
 
Fields inherited from interface java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
 
Constructor Summary
FindDialog()
           
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent e)
           
 void doClearTabs()
           
 void doSearch()
           
 void initConstraintsTab()
           
 void initHelpTab()
           
 void initModifiedTab()
           
 void initNameLocTab()
           
 void initTagValsTab()
           
 void initTypes()
           
static void main(java.lang.String[] args)
           
 void mouseClicked(java.awt.event.MouseEvent me)
           
 void mouseEntered(java.awt.event.MouseEvent me)
           
 void mouseExited(java.awt.event.MouseEvent me)
           
 void mousePressed(java.awt.event.MouseEvent me)
           
 void mouseReleased(java.awt.event.MouseEvent me)
           
 void myDoubleClick(int tab)
           
 void setVisible(boolean b)
           
 
Methods inherited from class javax.swing.JDialog
addImpl, createRootPane, dialogInit, getAccessibleContext, getContentPane, getDefaultCloseOperation, getGlassPane, getJMenuBar, getLayeredPane, getRootPane, isRootPaneCheckingEnabled, paramString, processKeyEvent, processWindowEvent, remove, setContentPane, setDefaultCloseOperation, setGlassPane, setJMenuBar, setLayeredPane, setLayout, setLocationRelativeTo, setRootPane, setRootPaneCheckingEnabled, update
 
Methods inherited from class java.awt.Dialog
addNotify, dispose, getTitle, hide, isModal, isResizable, setModal, setResizable, setTitle, show
 
Methods inherited from class java.awt.Window
addWindowListener, applyResourceBundle, applyResourceBundle, finalize, getFocusOwner, getGraphicsConfiguration, getInputContext, getListeners, getLocale, getOwnedWindows, getOwner, getToolkit, getWarningString, isShowing, pack, postEvent, processEvent, removeWindowListener, setCursor, toBack, toFront
 
Methods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getAlignmentX, getAlignmentY, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getInsets, getLayout, getMaximumSize, getMinimumSize, getPreferredSize, insets, invalidate, isAncestorOf, layout, list, list, locate, minimumSize, paint, paintComponents, preferredSize, print, printComponents, processContainerEvent, remove, removeAll, removeContainerListener, removeNotify, setFont, validate, validateTree
 
Methods inherited from class java.awt.Component
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addPropertyChangeListener, addPropertyChangeListener, bounds, checkImage, checkImage, coalesceEvents, contains, contains, createImage, createImage, disable, disableEvents, dispatchEvent, enable, enable, enableEvents, enableInputMethods, firePropertyChange, getBackground, getBounds, getBounds, getColorModel, getComponentOrientation, getCursor, getDropTarget, getFont, getFontMetrics, getForeground, getGraphics, getHeight, getInputMethodRequests, getLocation, getLocation, getLocationOnScreen, getName, getParent, getPeer, getSize, getSize, getTreeLock, getWidth, getX, getY, gotFocus, handleEvent, hasFocus, imageUpdate, inside, isDisplayable, isDoubleBuffered, isEnabled, isFocusTraversable, 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, processMouseEvent, processMouseMotionEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, repaint, requestFocus, reshape, resize, resize, setBackground, setBounds, setBounds, setComponentOrientation, setDropTarget, setEnabled, setForeground, setLocale, setLocation, setLocation, setName, setSize, setSize, show, size, toString, transferFocus
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

SINGLETON

public static FindDialog SINGLETON

nextResultNum

public static int nextResultNum

_numFinds

public static int _numFinds

_search

protected javax.swing.JButton _search

_clearTabs

protected javax.swing.JButton _clearTabs

_tabs

protected javax.swing.JTabbedPane _tabs

_nameLocTab

protected javax.swing.JPanel _nameLocTab

_modifiedTab

protected javax.swing.JPanel _modifiedTab

_tagValsTab

protected javax.swing.JPanel _tagValsTab

_constraintsTab

protected javax.swing.JPanel _constraintsTab

_elementName

protected javax.swing.JComboBox _elementName

_diagramName

protected javax.swing.JComboBox _diagramName

_location

protected javax.swing.JComboBox _location

_type

protected javax.swing.JComboBox _type

_typeDetails

protected javax.swing.JPanel _typeDetails

_tag

protected javax.swing.JTextField _tag

_val

protected javax.swing.JTextField _val

_results

protected javax.swing.JTabbedPane _results

_help

protected javax.swing.JPanel _help

_resultTabs

protected java.util.Vector _resultTabs
Constructor Detail

FindDialog

public FindDialog()
Method Detail

initNameLocTab

public void initNameLocTab()

initHelpTab

public void initHelpTab()

setVisible

public void setVisible(boolean b)
Overrides:
setVisible in class java.awt.Component

initTagValsTab

public void initTagValsTab()

initModifiedTab

public void initModifiedTab()

initConstraintsTab

public void initConstraintsTab()

initTypes

public void initTypes()

actionPerformed

public void actionPerformed(java.awt.event.ActionEvent e)
Specified by:
actionPerformed in interface java.awt.event.ActionListener

doSearch

public void doSearch()

doClearTabs

public void doClearTabs()

mousePressed

public void mousePressed(java.awt.event.MouseEvent me)
Specified by:
mousePressed in interface java.awt.event.MouseListener

mouseReleased

public void mouseReleased(java.awt.event.MouseEvent me)
Specified by:
mouseReleased in interface java.awt.event.MouseListener

mouseEntered

public void mouseEntered(java.awt.event.MouseEvent me)
Specified by:
mouseEntered in interface java.awt.event.MouseListener

mouseExited

public void mouseExited(java.awt.event.MouseEvent me)
Specified by:
mouseExited in interface java.awt.event.MouseListener

mouseClicked

public void mouseClicked(java.awt.event.MouseEvent me)
Specified by:
mouseClicked in interface java.awt.event.MouseListener

myDoubleClick

public void myDoubleClick(int tab)

main

public static void main(java.lang.String[] args)


ArgoUML (c) 1996-2002
ArgoUML Project Home
ArgoUML Cookbook