|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.japura.controller.DefaultModalPanelFactory
public class DefaultModalPanelFactory
Build default standards panels for modal.
Copyright (C) 2009, 2010 Carlos Eduardo Leite de Andrade
This library is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License along with this program. If not, see www.gnu.org/licenses/
For more information, contact: www.japura.org
ModalPanelFactory| Constructor Summary | |
|---|---|
DefaultModalPanelFactory()
|
|
| Method Summary | |
|---|---|
javax.swing.JComponent |
buildConfirmationPanel(Controller<?> controller,
java.lang.String title,
java.lang.String text,
ModalAction confirmAction,
ModalAction cancelAction)
Build a confirmation message modal. |
javax.swing.JComponent |
buildErrorPanel(Controller<?> controller,
java.lang.String title,
java.lang.String text)
Build a error message modal. |
javax.swing.JComponent |
buildInformationPanel(Controller<?> controller,
java.lang.String title,
java.lang.String text)
Build a information message modal. |
javax.swing.JComponent |
buildQuestionPanel(Controller<?> controller,
java.lang.String title,
java.lang.String text,
ModalAction yesAction,
ModalAction noAction)
Build a question message modal. |
javax.swing.JComponent |
buildWarningPanel(Controller<?> controller,
java.lang.String title,
java.lang.String text)
Build a warning message modal. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DefaultModalPanelFactory()
| Method Detail |
|---|
public javax.swing.JComponent buildConfirmationPanel(Controller<?> controller,
java.lang.String title,
java.lang.String text,
ModalAction confirmAction,
ModalAction cancelAction)
ModalPanelFactory
buildConfirmationPanel in interface ModalPanelFactorycontroller - the controllertitle - title for the modaltext - the confirmationconfirmAction - action for the confirmation buttoncancelAction - action for the cancel button
public javax.swing.JComponent buildErrorPanel(Controller<?> controller,
java.lang.String title,
java.lang.String text)
ModalPanelFactory
buildErrorPanel in interface ModalPanelFactorycontroller - the controllertitle - title for the modaltext - the error
public javax.swing.JComponent buildInformationPanel(Controller<?> controller,
java.lang.String title,
java.lang.String text)
ModalPanelFactory
buildInformationPanel in interface ModalPanelFactorycontroller - the controllertitle - title for the modaltext - the information
public javax.swing.JComponent buildQuestionPanel(Controller<?> controller,
java.lang.String title,
java.lang.String text,
ModalAction yesAction,
ModalAction noAction)
ModalPanelFactory
buildQuestionPanel in interface ModalPanelFactorycontroller - the controllertitle - title for the modaltext - the questionyesAction - action for the confirmation buttonnoAction - action for the cancel button
public javax.swing.JComponent buildWarningPanel(Controller<?> controller,
java.lang.String title,
java.lang.String text)
ModalPanelFactory
buildWarningPanel in interface ModalPanelFactorycontroller - the controllertitle - title for the modaltext - the warning
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||