|
|||||||||||
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.AbstractAdminPanel | +--org.moyoman.client.reference.admin.AbstractListPanel | +--org.moyoman.client.reference.admin.ModePanel
Provides a mode edit 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 ModeConfigTool |
_modeConfigTool
Mode config tool. |
static String |
MODE_PROPERTY
Mode change property. |
Fields inherited from class org.moyoman.client.reference.admin.AbstractListPanel |
|
Fields inherited from class org.moyoman.client.reference.admin.AbstractAdminPanel |
|
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 | |
ModePanel(JDialog dialog,
ModeConfigTool modeConfigTool)
Construct this object. |
Method Summary | |
protected void |
checkComponents()
Check components for their enable state. |
void |
deleteActionPerformed(ActionEvent event)
Callback for the delete mode action. |
void |
newActionPerformed(ActionEvent event)
Callback for the new mode action. |
protected void |
orderData(List list)
Order the modes. |
protected void |
updateData()
Update the list of modes. |
protected boolean |
usesMoveDownAction()
Return true if this panel uses the move down action. |
protected boolean |
usesMoveUpAction()
Return true if this panel uses the move up action. |
Methods inherited from class org.moyoman.client.reference.admin.AbstractListPanel |
addListSelectionListener, createMainPanel, getButtonActions, getListData, getListUI, getMoveDownAction, getMoveUpAction, move, moveDownActionPerformed, moveUpActionPerformed, removeListSelectionListener, usesScrollPane |
Methods inherited from class org.moyoman.client.reference.admin.AbstractAdminPanel |
createButtonPanel, getActionManager, getDeleteAction, getNewAction, getParentDialog, usesDeleteAction, usesNewAction |
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 |
public static final String MODE_PROPERTY
private ModeConfigTool _modeConfigTool
Constructor Detail |
public ModePanel(JDialog dialog, ModeConfigTool modeConfigTool)
dialog
- Parent dialog.modeConfigTool
- Mode configuration tool.Method Detail |
public void deleteActionPerformed(ActionEvent event)
public void newActionPerformed(ActionEvent event)
protected void checkComponents()
checkComponents
in class AbstractListPanel
protected void orderData(List list)
orderData
in class AbstractListPanel
protected void updateData()
updateData
in class AbstractListPanel
protected boolean usesMoveDownAction()
usesMoveDownAction
in class AbstractListPanel
protected boolean usesMoveUpAction()
usesMoveUpAction
in class AbstractListPanel
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |