|
JIDE 3.5.15 | ||||||||
| 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.jidesoft.dialog.StandardDialog
com.jidesoft.search.PromptDialog
public class PromptDialog
PromptDialog is a dialog to promot user to repace or skip the current matching text during find and
replace.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class com.jidesoft.dialog.StandardDialog |
|---|
StandardDialog.DefaultStandardDialogPane |
| Nested classes/interfaces inherited from class javax.swing.JDialog |
|---|
JDialog.AccessibleJDialog |
| Nested classes/interfaces inherited from class java.awt.Dialog |
|---|
Dialog.AccessibleAWTDialog, Dialog.ModalExclusionType, Dialog.ModalityType |
| Nested classes/interfaces inherited from class java.awt.Window |
|---|
Window.AccessibleAWTWindow |
| Nested classes/interfaces inherited from class java.awt.Container |
|---|
Container.AccessibleAWTContainer |
| Nested classes/interfaces inherited from class java.awt.Component |
|---|
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy |
| Field Summary | |
|---|---|
static int |
RESULT_ALL
|
static int |
RESULT_ALL_IN_FILE
|
static int |
RESULT_REPLACE
|
static int |
RESULT_SKIP
|
| Fields inherited from class com.jidesoft.dialog.StandardDialog |
|---|
_propertyChangeListener, _standardDialogPane, RESULT_AFFIRMED, RESULT_CANCELLED |
| Fields inherited from class javax.swing.JDialog |
|---|
accessibleContext, rootPane, rootPaneCheckingEnabled |
| Fields inherited from class java.awt.Dialog |
|---|
DEFAULT_MODALITY_TYPE |
| Fields inherited from class java.awt.Component |
|---|
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT |
| Fields inherited from interface com.jidesoft.dialog.ButtonNames |
|---|
APPLY, BACK, BROWSE, CANCEL, CLEAR, CLOSE, DETAILS, EDIT, EXIT, FIND, FIND_NEXT, FINISH, FORWARD, HELP, NEW, NEXT, NO, OK, OPEN, PRINT, REPLACE, RESET, RETRY, RUN, SAVE, SAVE_AS, STOP, YES |
| 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 | |
|---|---|
PromptDialog(Dialog owner,
String title,
String message,
boolean hasMoreFiles)
|
|
PromptDialog(Dialog owner,
String title,
String message,
boolean hasMoreFiles,
FindAndReplaceTarget target)
|
|
PromptDialog(Frame owner,
String title,
String message,
boolean hasMoreFiles)
|
|
PromptDialog(Frame owner,
String title,
String message,
boolean hasMoreFiles,
FindAndReplaceTarget target)
|
|
| Method Summary | |
|---|---|
JComponent |
createBannerPanel()
Subclasses should implement this method to create the banner panel. |
ButtonPanel |
createButtonPanel()
Subclasses should implement this method to create the button panel. |
JComponent |
createContentPanel()
Subclasses should implement this method to create the content panel. |
| Methods inherited from class com.jidesoft.dialog.StandardDialog |
|---|
createOKCancelButtonPanel, createStandardDialogPane, getBannerPanel, getButtonPanel, getContentPanel, getDefaultAction, getDefaultCancelAction, getDialogResult, getInitFocusedComponent, getStandardDialogPane, initComponents, initialize, pack, setDefaultAction, setDefaultCancelAction, setDialogResult, setInitFocusedComponent, show |
| Methods inherited from class java.awt.Dialog |
|---|
addNotify, getModalityType, getTitle, hide, isModal, isResizable, isUndecorated, setModal, setModalityType, setResizable, setTitle, setUndecorated, setVisible, toBack |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final int RESULT_REPLACE
public static final int RESULT_SKIP
public static final int RESULT_ALL
public static final int RESULT_ALL_IN_FILE
| Constructor Detail |
|---|
public PromptDialog(Frame owner,
String title,
String message,
boolean hasMoreFiles)
throws HeadlessException
HeadlessException
public PromptDialog(Frame owner,
String title,
String message,
boolean hasMoreFiles,
FindAndReplaceTarget target)
throws HeadlessException
HeadlessException
public PromptDialog(Dialog owner,
String title,
String message,
boolean hasMoreFiles)
throws HeadlessException
HeadlessException
public PromptDialog(Dialog owner,
String title,
String message,
boolean hasMoreFiles,
FindAndReplaceTarget target)
throws HeadlessException
HeadlessException| Method Detail |
|---|
public JComponent createBannerPanel()
StandardDialogBannerPanel
If subclass doesn't want to have a banner panel, just return null.
createBannerPanel in class StandardDialogpublic JComponent createContentPanel()
StandardDialog
createContentPanel in class StandardDialogpublic ButtonPanel createButtonPanel()
StandardDialogButtonPanel.
createButtonPanel in class StandardDialogButtonPanel
|
JIDE 3.5.15 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||