org.uispec4j
Class TabGroup

java.lang.Object
  extended by org.uispec4j.AbstractUIComponent
      extended by org.uispec4j.TabGroup
All Implemented Interfaces:
UIComponent

public class TabGroup
extends AbstractUIComponent

Wrapper for JTabbedPane components.


Field Summary
static java.lang.Class[] SWING_CLASSES
           
static java.lang.String TYPE_NAME
           
 
Constructor Summary
TabGroup(javax.swing.JTabbedPane jTab)
           
 
Method Summary
 javax.swing.JTabbedPane getAwtComponent()
          Returns the Java GUI component represented by this object.
 java.lang.String getDescriptionTypeName()
          Returns the name of the component as it will appear in the XML representation returned by UIComponent.getDescription().
 Panel getSelectedTab()
           
protected  void getSubDescription(java.awt.Container container, XmlWriter.Tag tag)
           
 Assertion selectedTabEquals(java.lang.String tabLabel)
           
 void selectTab(java.lang.String tabLabel)
           
 Assertion tabColorEquals(java.lang.String[] colors)
           
 Assertion tabNamesEquals(java.lang.String[] tabLabels)
           
 
Methods inherited from class org.uispec4j.AbstractUIComponent
addAttributes, backgroundEquals, backgroundNear, foregroundEquals, foregroundNear, getContainer, getContainer, getDescription, getDescription, getLabel, getName, isEnabled, isVisible, pressKey, releaseKey, typeKey
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TYPE_NAME

public static final java.lang.String TYPE_NAME
See Also:
Constant Field Values

SWING_CLASSES

public static final java.lang.Class[] SWING_CLASSES
Constructor Detail

TabGroup

public TabGroup(javax.swing.JTabbedPane jTab)
Method Detail

getDescriptionTypeName

public java.lang.String getDescriptionTypeName()
Description copied from interface: UIComponent
Returns the name of the component as it will appear in the XML representation returned by UIComponent.getDescription().


getAwtComponent

public javax.swing.JTabbedPane getAwtComponent()
Description copied from interface: UIComponent
Returns the Java GUI component represented by this object.


getSelectedTab

public Panel getSelectedTab()

selectTab

public void selectTab(java.lang.String tabLabel)

tabColorEquals

public Assertion tabColorEquals(java.lang.String[] colors)

selectedTabEquals

public Assertion selectedTabEquals(java.lang.String tabLabel)

tabNamesEquals

public Assertion tabNamesEquals(java.lang.String[] tabLabels)

getSubDescription

protected void getSubDescription(java.awt.Container container,
                                 XmlWriter.Tag tag)
Overrides:
getSubDescription in class AbstractUIComponent


Copyright © 2004-2010. All Rights Reserved.