|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnextapp.echo2.app.Component
nextapp.echo2.app.WindowPane
com.sptci.echo2.Confirmation
public class Confirmation
A confirmation dialogue component used to display a confirmation message prior to executin a specified method.
Copyright 2006 Sans Pareil Technologies, Inc.
| Nested Class Summary | |
|---|---|
(package private) class |
Confirmation.ConfirmationListener
The action listener for the buttons in the confirmation dialogue. |
static class |
Confirmation.Executor<S>
The executor used to execute the desired action after user confirmation. |
| Field Summary | |
|---|---|
private Confirmation.Executor |
executor
The executor instance to use to execute the action required after user confirmation. |
private DirectHtml |
message
The component used to display the message. |
| Fields inherited from interface nextapp.echo2.app.ModalSupport |
|---|
MODAL_CHANGED_PROPERTY |
| Constructor Summary | |
|---|---|
Confirmation(String title,
String message,
Confirmation.Executor executor)
Construct a new pane with the specified title and message. |
|
| Method Summary | |
|---|---|
private Component |
createButtons()
Create the standard buttons that will be displayed in the dialogue. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private final DirectHtml message
private final Confirmation.Executor executor
| Constructor Detail |
|---|
public Confirmation(String title,
String message,
Confirmation.Executor executor)
title - The title to use for the dialogue.message - The confirmation message to display in the dialogue.
The message can be plain text or valid HTML.| Method Detail |
|---|
private Component createButtons()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||