|
|||||||||||
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
Provides base functionality for administration edit panels.
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 JDialog |
_parentDialog
Parent dialog. |
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 | |
AbstractAdminPanel(JDialog parentDialog)
Construct this dialog with the given parameter. |
Method Summary | |
protected void |
checkComponents()
Check components for their enable state. |
protected JPanel |
createButtonPanel()
Create the button panel. |
protected abstract JComponent |
createMainPanel()
Create the main panel. |
protected ActionManager |
getActionManager()
Return the action manager, creating it if necessary. |
protected Action[] |
getButtonActions()
Return the desired button actions. |
protected Action |
getDeleteAction()
Return the delete action. |
protected Action |
getNewAction()
Return the new action. |
protected JDialog |
getParentDialog()
Return the parent dialog. |
protected boolean |
usesDeleteAction()
Return true if this panel uses the delete action. |
protected boolean |
usesNewAction()
Return true if this panel uses the new action. |
protected boolean |
usesScrollPane()
Return true if this panel uses a scroll pane around the main panel. |
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 JDialog _parentDialog
Constructor Detail |
public AbstractAdminPanel(JDialog parentDialog)
parentDialog
- Parent dialog.Method Detail |
protected ActionManager getActionManager()
protected Action[] getButtonActions()
protected Action getDeleteAction()
protected Action getNewAction()
protected JDialog getParentDialog()
protected void checkComponents()
protected JPanel createButtonPanel()
protected abstract JComponent createMainPanel()
protected boolean usesDeleteAction()
protected boolean usesNewAction()
protected boolean usesScrollPane()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |