Enterprise Information Portal APIs

com.ibm.mm.beans.util
Class CMBBasePanel

java.lang.Object
  |
  +--java.awt.Component
        |
        +--java.awt.Container
              |
              +--javax.swing.JComponent
                    |
                    +--javax.swing.JPanel
                          |
                          +--com.ibm.mm.beans.util.CMBBasePanel
All Implemented Interfaces:
javax.accessibility.Accessible, CMBUtilConstant, java.awt.image.ImageObserver, java.awt.MenuContainer, java.io.Serializable

public class CMBBasePanel
extends javax.swing.JPanel
implements java.io.Serializable, CMBUtilConstant

This class, extending JPanel, provides bordered layout and convenience methods to add GUI components into the five bordered regions. It can be used to build each of your application windows to provide a consistent look.

Since:
6.1
See Also:
Serialized Form

Inner classes inherited from class javax.swing.JPanel
javax.swing.JPanel.AccessibleJPanel
 
Inner classes inherited from class javax.swing.JComponent
javax.swing.JComponent.AccessibleJComponent
 
Inner classes inherited from class java.awt.Container
java.awt.Container.AccessibleAWTContainer
 
Inner classes inherited from class java.awt.Component
java.awt.Component.AccessibleAWTComponent
 
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.Component
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
 
Fields inherited from interface com.ibm.mm.beans.util.CMBUtilConstant
DISPLAY_MESSAGE_IN_WINDOW, DISPLAY_MESSAGE_ON_STDERR, DISPLAY_MESSAGE_ON_STDOUT, LOOK_AND_FEEL_METAL, LOOK_AND_FEEL_MOTIF, LOOK_AND_FEEL_WINDOWS, PROP_CANCEL_LABEL, PROP_CLEAR_LABEL, PROP_CLOSE_LABEL, PROP_DEBUG_DISPLAY_ENABLED, PROP_DEBUG_LOG_ENABLED, PROP_DEFAULT_GUI_LITERAL, PROP_ERROR_DISPLAY_ENABLED, PROP_ERROR_LOG_ENABLED, PROP_LOG_FULLPATH, PROP_LOG_SESSION_EPILOGUE, PROP_LOG_SESSION_PROLOGUE, PROP_LOOK_AND_FEEL_STYLE, PROP_MESSAGE_DISPLAY_MODE, PROP_MESSAGE_MUTE, PROP_MUTE_LABEL, PROP_OK_LABEL, PROP_PROGRESS_DISPLAY_ENABLED, PROP_PROGRESS_LOG_ENABLED, PROP_SAVE_AS_LABEL, PROP_SAVE_LABEL, PROP_STACK_LABEL, PROP_WINDOW_TITLE, TRACE_LEVEL_DEBUG, TRACE_LEVEL_ERROR, TRACE_LEVEL_PROGRESS
 
Fields inherited from interface java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
 
Constructor Summary
CMBBasePanel()
          Constructor.
 
Method Summary
 void addBottomPanel(java.awt.Component component)
          Add a GUI component to the bottom region of this panel.
 void addCenterPanel(java.awt.Component component)
          Add a GUI component to the center region of this panel.
 void addLeftPanel(java.awt.Component component)
          Add a GUI component to the left region of this panel.
 void addRightPanel(java.awt.Component component)
          Add a GUI component to the right region of this panel.
 void addTopPanel(java.awt.Component component)
          Add a GUI component to the top region of this panel.
 
Methods inherited from class javax.swing.JPanel
getAccessibleContext, getUIClassID, paramString, updateUI
 
Methods inherited from class javax.swing.JComponent
addAncestorListener, addNotify, addPropertyChangeListener, addPropertyChangeListener, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAutoscrolls, getBorder, getBounds, getClientProperty, getComponentGraphics, getConditionForKeyStroke, getDebugGraphicsOptions, getGraphics, getHeight, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPreferredSize, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getVerifyInputWhenFocusTarget, getVisibleRect, getWidth, getX, getY, grabFocus, hasFocus, hide, isDoubleBuffered, isFocusCycleRoot, isFocusTraversable, isLightweightComponent, isManagingFocus, isMaximumSizeSet, isMinimumSizeSet, isOpaque, isOptimizedDrawingEnabled, isPaintingTile, isPreferredSizeSet, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintChildren, paintComponent, paintImmediately, paintImmediately, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processFocusEvent, processKeyBinding, processKeyEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removePropertyChangeListener, removePropertyChangeListener, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setDebugGraphicsOptions, setDoubleBuffered, setEnabled, setFont, setForeground, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setUI, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, update
 
Methods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, addImpl, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getLayout, insets, invalidate, isAncestorOf, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setLayout, validate, validateTree
 
Methods inherited from class java.awt.Component
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, bounds, checkImage, checkImage, coalesceEvents, contains, createImage, createImage, disableEvents, dispatchEvent, enable, enableEvents, enableInputMethods, getBackground, getBounds, getColorModel, getComponentOrientation, getCursor, getDropTarget, getFont, getFontMetrics, getForeground, getGraphicsConfiguration, getInputContext, getInputMethodRequests, getLocale, getLocation, getLocationOnScreen, getName, getParent, getPeer, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, imageUpdate, inside, isDisplayable, isEnabled, isLightweight, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, processComponentEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processMouseEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setLocale, setLocation, setLocation, setName, setSize, setSize, show, show, size, toString, transferFocus
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CMBBasePanel

public CMBBasePanel()
Constructor.
Method Detail

addCenterPanel

public void addCenterPanel(java.awt.Component component)
Add a GUI component to the center region of this panel.
Parameters:
component - the GUI component to add

addTopPanel

public void addTopPanel(java.awt.Component component)
Add a GUI component to the top region of this panel.
Parameters:
component - the GUI component to add

addBottomPanel

public void addBottomPanel(java.awt.Component component)
Add a GUI component to the bottom region of this panel.
Parameters:
component - the GUI component to add

addLeftPanel

public void addLeftPanel(java.awt.Component component)
Add a GUI component to the left region of this panel.
Parameters:
component - the GUI component to add

addRightPanel

public void addRightPanel(java.awt.Component component)
Add a GUI component to the right region of this panel.
Parameters:
component - the GUI component to add

EIP JavaBeans

(c) Copyright International Business Machines Corporation 1996, 2002. IBM Corp. All rights reserved.