com.yospace.yae.yogi
Class YogiTab

java.lang.Object
  |
  +--com.yospace.yae.yogi.YogiComponent
        |
        +--com.yospace.yae.yogi.YogiImageComponent
              |
              +--com.yospace.yae.yogi.YogiLabel
                    |
                    +--com.yospace.yae.yogi.YogiButton
                          |
                          +--com.yospace.yae.yogi.YogiCheckBox
                                |
                                +--com.yospace.yae.yogi.YogiRadioButton
                                      |
                                      +--com.yospace.yae.yogi.YogiTab
All Implemented Interfaces:
RendererFactory

public class YogiTab
extends YogiRadioButton

Component that models a tab. Activating a tab ( either via keypress or pointer click ) will cause the associated TabPanel to be displayed.


Fields inherited from class com.yospace.yae.yogi.YogiRadioButton
PROPERTY_GROUP
 
Fields inherited from class com.yospace.yae.yogi.YogiCheckBox
PROPERTY_SELECTED
 
Fields inherited from class com.yospace.yae.yogi.YogiLabel
PROPERTY_TEXT, PROPERTY_TEXT_PLACEMENT
 
Fields inherited from class com.yospace.yae.yogi.YogiImageComponent
PROPERTY_IMAGE
 
Fields inherited from class com.yospace.yae.yogi.YogiComponent
ALIGN_CENTER, ALIGN_LEFT, ALIGN_RIGHT, BORDER_DOTTED, BORDER_NONE, BORDER_PLAIN, BORDER_ROUNDED, BORDER_SOLID, COLOR_BACKGROUND, COLOR_BORDER, COLOR_FOREGROUND, FOCUS_DEFAULT, FOCUS_OFF, FOCUS_ON, PROPERTY_ALIGN, PROPERTY_BORDER_STYLE, PROPERTY_BOUNDS, PROPERTY_COLOR, PROPERTY_CONTEXT_ENABLED, PROPERTY_ENABLED, PROPERTY_FOCUS, PROPERTY_FOCUS_INDEX, PROPERTY_FOCUS_TRAVERSABLE, PROPERTY_FONT, PROPERTY_HOTKEY, PROPERTY_LOCATION, PROPERTY_OPAQUE, PROPERTY_SIZE, PROPERTY_VISIBLE, PROPERTY_X_INSET, PROPERTY_Y_INSET
 
Constructor Summary
YogiTab()
          Default constructor.
YogiTab(java.lang.String text, Image image, boolean selected, RadioButtonGroup group)
          Create a YogiTab with the given text and image.
 
Methods inherited from class com.yospace.yae.yogi.YogiRadioButton
getRadioButtonGroup, setRadioButtonGroup, setSelected
 
Methods inherited from class com.yospace.yae.yogi.YogiCheckBox
getCellRendererComponent, isSelected
 
Methods inherited from class com.yospace.yae.yogi.YogiLabel
getText, isTextOnRight, setText, setTextImpl, setTextOnRight
 
Methods inherited from class com.yospace.yae.yogi.YogiImageComponent
getImage, getImageName, setImage, setImage
 
Methods inherited from class com.yospace.yae.yogi.YogiComponent
_debugPrintComponents, add, addPropertyChangeListener, bringForwards, bringInFrontOf, bringToFront, contains, containsComponent, ensureVisible, ensureVisible, findComponentAt, findCurrentFocus, findFirstFocus, findFocusDomainRoot, findFocusDomainRootImpl, findHotkeyComponent, findNextFocus, fireActionPerformedEvent, firePropertyChangeEvent, getAlign, getBorderStyle, getBounds, getColor, getColors, getComponent, getComponent, getComponentCount, getComponentIndex, getComponents, getFocusBounds, getFocusIndex, getFont, getGlobalLocation, getHeight, getHotkey, getId, getParent, getParent, getTreeLock, getUI, getWidth, getX, getXInset, getY, getYInset, hasFocus, isActive, isContextEnabled, isEnabled, isFocusDomainRoot, isFocusTraversable, isOpaque, isVisible, keyPressed, keyReleased, keyRepeated, paint, paintBackground, paintBorder, paintForeground, pointerDragged, pointerPressed, pointerReleased, remove, remove, removeAll, removePropertyChangeListener, repaint, repaint, repaintAfterRebounding, requestFocus, requestFocus, sendBackwards, sendBehind, sendToBack, setActionListener, setActive, setAlign, setBorderStyle, setBounds, setColor, setColors, setContextEnabled, setDefaultColor, setEnabled, setFocusDomainRoot, setFocusIndex, setFocusTraversable, setFont, setHotkey, setId, setLocation, setNoFocus, setOpaque, setProperty, setSize, setUI, setVisible, setXInset, setYInset, updateUI
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

YogiTab

public YogiTab()
Default constructor. Instantiates a tab with no text or image.

YogiTab

public YogiTab(java.lang.String text,
               Image image,
               boolean selected,
               RadioButtonGroup group)
Create a YogiTab with the given text and image.
Parameters:
text - the text to be displayed.
image - the Image to be displayed.
selected - whether the Tab will be selected or not when constructed.
group - the radio button group that the tab will belong to.

Copyright 2002 Yospace Holdings Ltd. All Rights Reserved.