org.rr0.is.presentation.view.report.applet
Class TabbedPanel

java.lang.Object
  |
  +--java.awt.Component
        |
        +--java.awt.Container
              |
              +--java.awt.Panel
                    |
                    +--org.rr0.is.presentation.view.report.applet.TabbedPanel

public class TabbedPanel
extends Panel
implements ItemSelectable

Author:
Jerôme Beau
Version: 14 déc. 2003 11:56:29

Inner Class Summary
 public classTabbedPanel.Tab
           

Field Summary
 private PanelcontentPanel
           
 private VectoritemListeners
           
 private TabselectedTab
           
 private CardLayouttabbedLayout
           
 private PaneltabPanel
           
 private Vectortabs
           

Fields inherited from class java.awt.Component
TOP_ALIGNMENT, CENTER_ALIGNMENT, BOTTOM_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT

Constructor Summary
TabbedPanel()
           

Method Summary
 voidaddItemListener(ItemListener itemListener)
           
 voidaddPanel(Panel panel, String name, String label)
           
 voidenable(String name)
           
 Object[]getSelectedObjects()
          Returns the selected items or null if no items are selected.
 voidremoveItemListener(ItemListener l)
          Removes an item listener.
 voidsetEnabled(String name, boolean b)
           
 voidshow(String name)
           

Methods inherited from class java.awt.Panel
addNotify, getAccessibleContext

Methods inherited from class java.awt.Container
getComponentCount, countComponents, getComponent, getComponents, getInsets, insets, add, add, add, add, add, addImpl, remove, remove, removeAll, getLayout, setLayout, doLayout, layout, invalidate, validate, validateTree, setFont, getPreferredSize, preferredSize, getMinimumSize, minimumSize, getMaximumSize, getAlignmentX, getAlignmentY, paint, update, print, paintComponents, printComponents, addContainerListener, removeContainerListener, getListeners, processEvent, processContainerEvent, deliverEvent, getComponentAt, locate, getComponentAt, findComponentAt, findComponentAt, removeNotify, isAncestorOf, paramString, list, list

Methods inherited from class java.awt.Component
getName, setName, getParent, getPeer, setDropTarget, getDropTarget, getGraphicsConfiguration, getTreeLock, getToolkit, isValid, isDisplayable, isVisible, isShowing, isEnabled, setEnabled, enable, enable, disable, isDoubleBuffered, enableInputMethods, setVisible, show, show, hide, getForeground, setForeground, getBackground, setBackground, getFont, getLocale, setLocale, getColorModel, getLocation, getLocationOnScreen, location, setLocation, move, setLocation, getSize, size, setSize, resize, setSize, resize, getBounds, bounds, setBounds, reshape, setBounds, getX, getY, getWidth, getHeight, getBounds, getSize, getLocation, isOpaque, isLightweight, getGraphics, getFontMetrics, setCursor, getCursor, paintAll, repaint, repaint, repaint, repaint, printAll, imageUpdate, createImage, createImage, prepareImage, prepareImage, checkImage, checkImage, contains, inside, contains, dispatchEvent, postEvent, addComponentListener, removeComponentListener, addFocusListener, removeFocusListener, addHierarchyListener, removeHierarchyListener, addHierarchyBoundsListener, removeHierarchyBoundsListener, addKeyListener, removeKeyListener, addMouseListener, removeMouseListener, addMouseMotionListener, removeMouseMotionListener, addInputMethodListener, removeInputMethodListener, getInputMethodRequests, getInputContext, enableEvents, disableEvents, coalesceEvents, processComponentEvent, processFocusEvent, processKeyEvent, processMouseEvent, processMouseMotionEvent, processInputMethodEvent, processHierarchyEvent, processHierarchyBoundsEvent, handleEvent, mouseDown, mouseDrag, mouseUp, mouseMove, mouseEnter, mouseExit, keyDown, keyUp, action, gotFocus, lostFocus, isFocusTraversable, requestFocus, transferFocus, nextFocus, hasFocus, add, remove, toString, list, list, list, addPropertyChangeListener, removePropertyChangeListener, addPropertyChangeListener, removePropertyChangeListener, firePropertyChange, setComponentOrientation, getComponentOrientation

Methods inherited from class java.lang.Object
getClass, hashCode, equals, clone, notify, notifyAll, wait, wait, wait, finalize

Field Detail

contentPanel

private Panel contentPanel

itemListeners

private Vector itemListeners

selectedTab

private Tab selectedTab

tabbedLayout

private CardLayout tabbedLayout

tabPanel

private Panel tabPanel

tabs

private Vector tabs
Constructor Detail

TabbedPanel

public TabbedPanel()
Method Detail

addItemListener

public void addItemListener(ItemListener itemListener)

addPanel

public void addPanel(Panel panel, String name, String label)

enable

public void enable(String name)

getSelectedObjects

public Object[] getSelectedObjects()
Returns the selected items or null if no items are selected.

removeItemListener

public void removeItemListener(ItemListener l)
Removes an item listener.
Parameters:
l the listener being removed
See Also:
ItemEvent

setEnabled

public void setEnabled(String name, boolean b)

show

public void show(String name)

Association Links

to Class java.awt.Panel

to Class java.awt.Panel

to Class java.awt.CardLayout

to Class java.util.Vector

to Class java.util.Vector

to Class org.rr0.is.presentation.view.report.applet.TabbedPanel.Tab