|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.awt.Component | +--java.awt.Container | +--java.awt.Window | +--java.awt.Dialog | +--javax.swing.JDialog | +--org.moyoman.client.reference.util.BaseDialog | +--org.moyoman.client.reference.admin.MessageAdminDialog
Provides a message administration dialog.
Nested Class Summary | |
(package private) class |
MessageAdminDialog.LanguageRenderer
Provides a language renderer. |
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 JList |
_languageList
Language list. |
Fields inherited from class org.moyoman.client.reference.util.BaseDialog |
|
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 org.moyoman.client.reference.util.IGUIConstants |
DEBUG, DIRTY_PROPERTY, GAP, MARGIN, TRANSPARENT_COLOR |
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 | |
MessageAdminDialog(Frame frame)
Construct this dialog. |
Method Summary | |
protected void |
checkComponents()
Check components for their enable state. |
private JPanel |
createButtonPanel()
Create the button panel. |
private JPanel |
createLanguagePanel()
Create the language panel. |
void |
editLanguageActionPerformed(ActionEvent event)
Callback for the edit language action. |
protected Action |
getEditLanguageAction()
Return the edit language action. |
protected Action |
getNewLanguageAction()
Return the new language action. |
private boolean |
isDefaultLanguage(String languageName)
Return true if the given language is the default. |
static void |
main(String[] args)
Test method. |
void |
newLanguageActionPerformed(ActionEvent event)
Callback for the new language action. |
private void |
updateLanguages()
Update the list of languages. |
Methods inherited from class org.moyoman.client.reference.util.BaseDialog |
addOKButtonPanel, addOKCancelApplyButtonsPanel, addOKCancelButtonsPanel, applyActionPerformed, cancelActionPerformed, createLabel, getActionManager, getApplyButton, getCancelButton, getOKButton, init, isActionApproved, isDirty, okActionPerformed, setCursorBusy, setDirty, setTitle, show |
Methods inherited from class java.awt.Dialog |
addNotify, dispose, getTitle, hide, isModal, isResizable, isUndecorated, setModal, setResizable, setUndecorated |
Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
private JList _languageList
Constructor Detail |
public MessageAdminDialog(Frame frame)
frame
- The owning frame.Method Detail |
public static void main(String[] args)
public void editLanguageActionPerformed(ActionEvent event)
public void newLanguageActionPerformed(ActionEvent event)
protected Action getEditLanguageAction()
protected Action getNewLanguageAction()
protected void checkComponents()
checkComponents
in class BaseDialog
private boolean isDefaultLanguage(String languageName)
private JPanel createButtonPanel()
private JPanel createLanguagePanel()
private void updateLanguages()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |