org.uispec4j
Class TabGroup
java.lang.Object
org.uispec4j.AbstractUIComponent
org.uispec4j.TabGroup
- All Implemented Interfaces:
- UIComponent
public class TabGroup
- extends AbstractUIComponent
Wrapper for JTabbedPane components.
|
Constructor Summary |
TabGroup(javax.swing.JTabbedPane jTab)
|
| 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 |
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
TabGroup
public TabGroup(javax.swing.JTabbedPane jTab)
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.