|
|||||||||||
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 | +--javax.swing.JComponent | +--javax.swing.JPanel | +--org.moyoman.client.reference.admin.EditMessagePanel
Provides an edit message panel.
Nested Class Summary |
Nested classes inherited from class javax.swing.JPanel |
JPanel.AccessibleJPanel |
Nested classes inherited from class javax.swing.JComponent |
JComponent.AccessibleJComponent |
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 ActionManager |
_actionManager
Handle to the action manager. |
private boolean |
_isDirty
Dirty flag. |
private JTable |
_table
Message table. |
private MessageTableModel |
_tableModel
Message table model. |
Fields inherited from class javax.swing.JPanel |
|
Fields inherited from class javax.swing.JComponent |
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_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 java.awt.image.ImageObserver |
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
Constructor Summary | |
EditMessagePanel(boolean isEditingDefault,
String fromLanguage,
String toLanguage)
Construct this dialog. |
Method Summary | |
void |
addActionPerformed(ActionEvent event)
Callback for the add action. |
protected void |
checkComponents()
Check components for their enable state. |
private JPanel |
createButtonPanel()
Create the button panel. |
protected ActionManager |
getActionManager()
Return the action manager, creating it if necessary. |
protected Action |
getAddAction()
Return the add action. |
String |
getEditLanguage()
Return the language being edited. |
private String |
getFromLanguage()
Return the from language. |
protected Action |
getRemoveAction()
Return the remove action. |
boolean |
isDirty()
Return true if this panel's data has been changed. |
private boolean |
isEditingDefault()
Return the flag which indicates if we're editing the default language. |
void |
removeActionPerformed(ActionEvent event)
Callback for the remove action. |
private void |
setDirty(boolean isDirty)
Set the dirty flag. |
Methods inherited from class javax.swing.JPanel |
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
private ActionManager _actionManager
private JTable _table
private MessageTableModel _tableModel
private boolean _isDirty
Constructor Detail |
public EditMessagePanel(boolean isEditingDefault, String fromLanguage, String toLanguage)
isEditingDefault
- Flag indicating if we're editing the default
language.fromLanguage
- From language.toLanguage
- To language.Method Detail |
public boolean isDirty()
public String getEditLanguage()
public void addActionPerformed(ActionEvent event)
public void removeActionPerformed(ActionEvent event)
protected ActionManager getActionManager()
protected Action getAddAction()
protected Action getRemoveAction()
protected void checkComponents()
private void setDirty(boolean isDirty)
private boolean isEditingDefault()
private String getFromLanguage()
private JPanel createButtonPanel()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |