com.linxpda.dbaware.awt
Class DBContainer

java.lang.Object
  |
  +--java.awt.Component
        |
        +--java.awt.Container
              |
              +--java.awt.Panel
                    |
                    +--com.linxpda.dbaware.awt.DBContainer
All Implemented Interfaces:
javax.accessibility.Accessible, DBAware, java.awt.image.ImageObserver, java.awt.MenuContainer, java.io.Serializable
Direct Known Subclasses:
DBRootPanel, DBTabbedPanel

public class DBContainer
extends java.awt.Panel
implements DBAware

A data-aware implementation of java.awt.Panel. Note that only a single DBRootPanel should be used as the parent to all DBAware components, including DBContainers. For complex GUIs, use DBContainer instances nested within a single DBRootPanel.

See Also:
Serialized Form

Inner classes inherited from class java.awt.Panel
java.awt.Panel.AccessibleAWTPanel
 
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 java.awt.Component
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
 
Fields inherited from interface java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
 
Constructor Summary
DBContainer()
           
DBContainer(java.awt.LayoutManager l)
           
 
Method Summary
 java.lang.String getColumnLabel()
          Returns the data column label associated with this component.
 java.lang.Object getValue()
          Returns a dbaware component's value as an Object formatted in a manner in which the component can display.
 void reset()
          Resets the component upon a request to clear screen from a DBRootPanel.
 void setColumnLabel(java.lang.String label)
          Sets the data column into which this component's value will be stored.
 void setValue(Entry value)
          Passes an Entry object, from which the dbaware component retrieves it's value and displays it.
 
Methods inherited from class java.awt.Panel
addNotify, getAccessibleContext
 
Methods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, addImpl, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getAlignmentX, getAlignmentY, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getInsets, getLayout, getListeners, getMaximumSize, getMinimumSize, getPreferredSize, insets, invalidate, isAncestorOf, layout, list, list, locate, minimumSize, paint, paintComponents, paramString, preferredSize, print, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, removeNotify, setFont, setLayout, update, validate, validateTree
 
Methods inherited from class java.awt.Component
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addPropertyChangeListener, addPropertyChangeListener, bounds, checkImage, checkImage, coalesceEvents, contains, contains, createImage, createImage, disable, disableEvents, dispatchEvent, enable, enable, enableEvents, enableInputMethods, firePropertyChange, getBackground, getBounds, getBounds, getColorModel, getComponentOrientation, getCursor, getDropTarget, getFont, getFontMetrics, getForeground, getGraphics, getGraphicsConfiguration, getHeight, getInputContext, getInputMethodRequests, getLocale, getLocation, getLocation, getLocationOnScreen, getName, getParent, getPeer, getSize, getSize, getToolkit, getTreeLock, getWidth, getX, getY, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isDisplayable, isDoubleBuffered, isEnabled, isFocusTraversable, isLightweight, isOpaque, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, printAll, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processKeyEvent, processMouseEvent, processMouseMotionEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, repaint, requestFocus, reshape, resize, resize, setBackground, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setEnabled, setForeground, setLocale, setLocation, setLocation, setName, setSize, setSize, setVisible, show, show, size, toString, transferFocus
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DBContainer

public DBContainer()

DBContainer

public DBContainer(java.awt.LayoutManager l)
Method Detail

getColumnLabel

public java.lang.String getColumnLabel()
Description copied from interface: DBAware
Returns the data column label associated with this component.
Specified by:
getColumnLabel in interface DBAware

setColumnLabel

public void setColumnLabel(java.lang.String label)
Description copied from interface: DBAware
Sets the data column into which this component's value will be stored.
Specified by:
setColumnLabel in interface DBAware
Following copied from interface: com.linxpda.dbaware.DBAware
Parameters:
label - The name of the column in which to store this component's value.

getValue

public java.lang.Object getValue()
Description copied from interface: DBAware
Returns a dbaware component's value as an Object formatted in a manner in which the component can display.
Specified by:
getValue in interface DBAware

setValue

public void setValue(Entry value)
Description copied from interface: DBAware
Passes an Entry object, from which the dbaware component retrieves it's value and displays it.
Specified by:
setValue in interface DBAware

reset

public void reset()
Description copied from interface: DBAware
Resets the component upon a request to clear screen from a DBRootPanel.
Specified by:
reset in interface DBAware