|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.awt.Component
java.awt.Container
java.awt.Window
java.awt.Dialog
javax.swing.JDialog
org.tigris.swidgets.Dialog
org.argouml.ui.ArgoDialog
org.argouml.ui.FindDialog
This is one of the few classes in Argo that is self running (i.e. not modal). The search is buggy and needs work.
Nested Class Summary |
Nested classes inherited from class javax.swing.JDialog |
JDialog.AccessibleJDialog |
Nested classes inherited from class java.awt.Dialog |
Dialog.AccessibleAWTDialog |
Nested classes inherited from class java.awt.Window |
Window.AccessibleAWTWindow |
Nested classes inherited from class java.awt.Container |
Container.AccessibleAWTContainer |
Nested classes inherited from class java.awt.Component |
Component.AccessibleAWTComponent, Component.BltBufferStrategy, Component.FlipBufferStrategy |
Field Summary | |
private JButton |
clearTabs
|
private JPanel |
constraintsTab
|
private JComboBox |
diagramName
|
private JComboBox |
elementName
|
private JPanel |
help
|
private static int |
INSET_PX
Insets in pixels. |
private static FindDialog |
instance
|
private JComboBox |
location
|
private JPanel |
modifiedTab
|
private JPanel |
nameLocTab
|
private static int |
nextResultNum
|
private static int |
numFinds
|
private JTabbedPane |
results
|
private Vector |
resultTabs
|
private JButton |
search
|
private JTabbedPane |
tabs
|
private JPanel |
tagValsTab
|
private JComboBox |
type
|
private JPanel |
typeDetails
|
Fields inherited from class org.argouml.ui.ArgoDialog |
|
Fields inherited from class org.tigris.swidgets.Dialog |
CLOSE_OPTION, DEFAULT_OPTION, OK_CANCEL_HELP_OPTION, OK_CANCEL_OPTION, YES_NO_CANCEL_HELP_OPTION, YES_NO_CANCEL_OPTION, YES_NO_HELP_OPTION, YES_NO_OPTION |
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 | |
FindDialog()
The constructor. |
Method Summary | |
void |
actionPerformed(ActionEvent e)
|
void |
doClearTabs()
Clear the tabs. |
void |
doGoToSelection()
Execute the GoTo selection command. |
void |
doResetFields()
Reset all 3 fields. |
private void |
doResetFields(boolean complete)
Reset the fields. |
void |
doSearch()
Do the search. |
static FindDialog |
getInstance()
|
void |
initConstraintsTab()
Init the Constraints tab. |
void |
initHelpTab()
Initialise the help tab. |
void |
initModifiedTab()
Init the Last Modified tab. |
void |
initNameLocTab()
Initialise the tab "Name and Location". |
void |
initTagValsTab()
Init the tab with the tagged values. |
void |
initTypes()
Init the modelelement types that we can look for. |
void |
mouseClicked(MouseEvent me)
|
void |
mouseEntered(MouseEvent me)
|
void |
mouseExited(MouseEvent me)
|
void |
mousePressed(MouseEvent me)
|
void |
mouseReleased(MouseEvent me)
|
void |
myDoubleClick(int tab)
React on a double-click on a given tab. |
protected void |
nameButtons()
|
Methods inherited from class org.argouml.ui.ArgoDialog |
nameButton |
Methods inherited from class org.tigris.swidgets.Dialog |
addButton, addButton, getCancelButton, getCloseButton, getComponentGap, getContent, getHelpButton, getLabelGap, getNoButton, getOkButton, getYesButton, setContent |
Methods inherited from class java.awt.Dialog |
addNotify, dispose, getTitle, hide, isModal, isResizable, isUndecorated, setModal, setResizable, setTitle, setUndecorated, show |
Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
private static FindDialog instance
private static int nextResultNum
private static int numFinds
private static final int INSET_PX
private JButton search
private JButton clearTabs
private JTabbedPane tabs
private JPanel nameLocTab
private JPanel modifiedTab
private JPanel tagValsTab
private JPanel constraintsTab
private JComboBox elementName
private JComboBox diagramName
private JComboBox location
private JComboBox type
private JPanel typeDetails
private JTabbedPane results
private JPanel help
private Vector resultTabs
Constructor Detail |
public FindDialog()
Method Detail |
public static FindDialog getInstance()
public void initNameLocTab()
public void initHelpTab()
public void initTagValsTab()
public void initModifiedTab()
public void initConstraintsTab()
public void initTypes()
protected void nameButtons()
nameButtons
in class ArgoDialog
Dialog.nameButtons()
public void actionPerformed(ActionEvent e)
actionPerformed
in interface ActionListener
ActionListener.actionPerformed(
java.awt.event.ActionEvent)
public void doSearch()
public void doClearTabs()
private void doResetFields(boolean complete)
complete
- if true, reset all 3 fields, otherwise only the latterpublic void doResetFields()
public void doGoToSelection()
public void mousePressed(MouseEvent me)
mousePressed
in interface MouseListener
MouseListener.mousePressed(java.awt.event.MouseEvent)
public void mouseReleased(MouseEvent me)
mouseReleased
in interface MouseListener
MouseListener.mouseReleased(java.awt.event.MouseEvent)
public void mouseEntered(MouseEvent me)
mouseEntered
in interface MouseListener
MouseListener.mouseEntered(java.awt.event.MouseEvent)
public void mouseExited(MouseEvent me)
mouseExited
in interface MouseListener
MouseListener.mouseExited(java.awt.event.MouseEvent)
public void mouseClicked(MouseEvent me)
mouseClicked
in interface MouseListener
MouseListener.mouseClicked(java.awt.event.MouseEvent)
public void myDoubleClick(int tab)
tab
- the given tab
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
ArgoUML © 1996-2004 (20050222) | ArgoUML Homepage | ArgoUML Developers' page | ArgoUML Cookbook |