|
|||||||||||
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
com.infoengine.modeler.UI.FindDialog
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 | |
(package private) JCheckBox |
AllFilesCheckBox
|
(package private) ButtonGroup |
bgroup
|
(package private) JPanel |
ButtonPanel
|
(package private) JButton |
CancelButton
|
(package private) JCheckBox |
CaseCheckBox
|
(package private) JPanel |
DirectionPanel
|
(package private) JRadioButton |
DownRadioButton
|
(package private) EditorContainer |
editorContainer
|
(package private) JPanel |
filler1
|
(package private) JPanel |
filler2
|
(package private) JButton |
FindButton
|
(package private) JLabel |
FindLabel
|
(package private) JTextField |
FindTextField
|
(package private) FlowLayout |
flowLayout2
|
(package private) JPanel |
OptionsPanel
|
(package private) JPanel |
panel1
|
(package private) JButton |
ReplaceAllButton
|
(package private) JButton |
ReplaceButton
|
(package private) JLabel |
ReplaceLabel
|
(package private) JTextField |
ReplaceTextField
|
(package private) StackedLayout |
sl
|
(package private) StackedLayout |
stackedLayout1
|
(package private) TwoColumnLayout |
tcl
|
(package private) TitledBorder |
titledBorder1
|
(package private) TitledBorder |
titledBorder2
|
(package private) JRadioButton |
UpRadioButton
|
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()
create a default FindDialog attached to main UI ModelerFrame with default title |
|
FindDialog(Frame frame,
String title,
boolean modal)
create a find dialog attached to a frame |
Method Summary | |
(package private) void |
CancelButton_actionPerformed(ActionEvent e)
cancel button clicked |
(package private) void |
CaseCheckBox_actionPerformed(ActionEvent e)
|
(package private) boolean |
find()
default find in the down direction |
(package private) boolean |
find(boolean down)
perform a find up or down |
(package private) void |
FindButton_actionPerformed(ActionEvent e)
find button clicked |
(package private) boolean |
findDown()
perform a find in the down direction |
(package private) void |
FindTextField_keyPressed(KeyEvent e)
handle ENTER key as if Find button clicked |
(package private) boolean |
findUp()
perform a find in the up direction |
(package private) JTextComponent |
getTextComponent()
get the currently selected JTextComponent |
(package private) void |
jbInit()
|
(package private) void |
replace()
replace the selection with the contents of the ReplaceTextField |
(package private) void |
ReplaceAllButton_actionPerformed(ActionEvent e)
replace all button clicked |
(package private) void |
ReplaceButton_actionPerformed(ActionEvent e)
replace button clicked |
void |
setEditorContainer(EditorContainer ec)
set the EditorContainer this find dialog is attached to |
private void |
SetReplaceStatus()
|
(package private) void |
this_componentShown(ComponentEvent e)
select the contents of the FindTextField when the component appears |
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 |
JPanel panel1
JLabel FindLabel
JTextField FindTextField
JLabel ReplaceLabel
JTextField ReplaceTextField
JCheckBox CaseCheckBox
JCheckBox AllFilesCheckBox
JRadioButton UpRadioButton
JRadioButton DownRadioButton
ButtonGroup bgroup
JPanel OptionsPanel
JPanel DirectionPanel
TitledBorder titledBorder1
TitledBorder titledBorder2
StackedLayout stackedLayout1
FlowLayout flowLayout2
JPanel ButtonPanel
TwoColumnLayout tcl
StackedLayout sl
JButton FindButton
JButton ReplaceButton
JButton ReplaceAllButton
JButton CancelButton
EditorContainer editorContainer
JPanel filler1
JPanel filler2
Constructor Detail |
public FindDialog(Frame frame, String title, boolean modal)
frame
- - the parent frame of this dialog, if null uses main ModelerFrametitle
- - title for this dialog if null uses defaultmodal
- - is this dialog modal?public FindDialog()
Method Detail |
void jbInit() throws Exception
Exception
public void setEditorContainer(EditorContainer ec)
ec
- - the EditorContainervoid CancelButton_actionPerformed(ActionEvent e)
JTextComponent getTextComponent()
boolean findUp()
boolean findDown()
boolean find()
boolean find(boolean down)
down
- - boolean true find down, false find up
void FindButton_actionPerformed(ActionEvent e)
void replace()
void ReplaceButton_actionPerformed(ActionEvent e)
void ReplaceAllButton_actionPerformed(ActionEvent e)
void FindTextField_keyPressed(KeyEvent e)
void this_componentShown(ComponentEvent e)
private void SetReplaceStatus()
void CaseCheckBox_actionPerformed(ActionEvent e)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |