com.datamessenger.awt
Class DMTabbedPane


java.lang.Object

  |

  +--java.awt.Component

        |

        +--java.awt.Container

              |

              +--com.datamessenger.awt.DMPanel

                    |

                    +--com.datamessenger.awt.DMTabbedPane


public class DMTabbedPane
extends DMPanel
implements java.awt.event.ItemListener, DMConstants

See Also:
Serialized Form

Inner Class Summary
 class DMTabbedPane.CardPanel
           
 
Field Summary
protected  DMTabbedPane.CardPanel cards
           
protected  DMTab cur
           
protected  ReflectionList list
           
 int placement
           
protected  java.util.Hashtable table
           
protected  DMPanel tabs
           
 
Fields inherited from class com.datamessenger.awt.DMPanel
colors, pane
 
Fields inherited from class java.awt.Component
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
 
Fields inherited from interface com.datamessenger.awt.graphics.DMConstants
ALIGN_BOTTOM, ALIGN_CENTER, ALIGN_LEFT, ALIGN_MIDDLE, ALIGN_RIGHT, ALIGN_TOP, BOTH, BOTTOM, CENTER, HORIZONTAL, LEFT, MIDDLE, NONE, RIGHT, TOP, VERTICAL
 
Constructor Summary
DMTabbedPane(int placement)
           
 
Method Summary
 void addTab(java.awt.Component item)
           
 void addTab(java.lang.String title, java.awt.Component item)
           
 java.awt.Component getSelectedTab()
           
 DMTab getTab(java.lang.String name)
           
 void itemStateChanged(java.awt.event.ItemEvent e)
           
 void removeTab(java.lang.String name)
           
 
Methods inherited from class com.datamessenger.awt.DMPanel
addNotify, doLayout, getColorScheme, getComponent, getGraphicsPane, getLayoutBounds, getMinimumSize, paint, setColorScheme, setGraphicsPane, update
 
Methods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, addImpl, countComponents, deliverEvent, findComponentAt, findComponentAt, getAlignmentX, getAlignmentY, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getInsets, getLayout, getMaximumSize, getPreferredSize, insets, invalidate, isAncestorOf, layout, list, list, locate, minimumSize, paintComponents, paramString, preferredSize, print, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, removeNotify, setCursor, setFont, setLayout, validate, validateTree
 
Methods inherited from class java.awt.Component
action, add, addComponentListener, addFocusListener, 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, 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, processInputMethodEvent, processKeyEvent, processMouseEvent, processMouseMotionEvent, remove, removeComponentListener, removeFocusListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, repaint, requestFocus, reshape, resize, resize, setBackground, setBounds, setBounds, setComponentOrientation, 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
 

Field Detail

placement


public final int placement

cards


protected DMTabbedPane.CardPanel cards

tabs


protected DMPanel tabs

cur


protected DMTab cur

table


protected java.util.Hashtable table

list


protected ReflectionList list
Constructor Detail

DMTabbedPane


public DMTabbedPane(int placement)
Method Detail

addTab


public void addTab(java.awt.Component item)

addTab


public void addTab(java.lang.String title,

                   java.awt.Component item)

removeTab


public void removeTab(java.lang.String name)

getTab


public DMTab getTab(java.lang.String name)

getSelectedTab


public java.awt.Component getSelectedTab()

itemStateChanged


public void itemStateChanged(java.awt.event.ItemEvent e)
Specified by:
itemStateChanged in interface java.awt.event.ItemListener


Comments, suggestions, and bug reports are welcomed and encouraged.
Please refer them to our support page. Thank you.

Copyright © 1999-2001 Produx House, Corp. All rights reserved.
Java is a trademark or registered trademark of Sun Microsystems, Inc.