org.uispec4j
Class AbstractSwingUIComponent

java.lang.Object
  extended by org.uispec4j.AbstractUIComponent
      extended by org.uispec4j.AbstractSwingUIComponent
All Implemented Interfaces:
TooltipComponent, UIComponent
Direct Known Subclasses:
AbstractButton, ComboBox, ListBox, Spinner, Table, TextBox, Tree

public abstract class AbstractSwingUIComponent
extends AbstractUIComponent
implements TooltipComponent

Base class for UIComponent implementations that wrap JComponent subclasses.


Constructor Summary
AbstractSwingUIComponent()
           
 
Method Summary
abstract  javax.swing.JComponent getAwtComponent()
          Returns the Java GUI component represented by this object.
 Assertion tooltipContains(java.lang.String text)
           
 Assertion tooltipEquals(java.lang.String text)
           
 
Methods inherited from class org.uispec4j.AbstractUIComponent
addAttributes, backgroundEquals, backgroundNear, foregroundEquals, foregroundNear, getContainer, getContainer, getDescription, getDescription, getLabel, getName, getSubDescription, isEnabled, isVisible, pressKey, releaseKey, typeKey
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.uispec4j.UIComponent
getDescriptionTypeName
 

Constructor Detail

AbstractSwingUIComponent

public AbstractSwingUIComponent()
Method Detail

getAwtComponent

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

Specified by:
getAwtComponent in interface UIComponent

tooltipEquals

public Assertion tooltipEquals(java.lang.String text)
Specified by:
tooltipEquals in interface TooltipComponent

tooltipContains

public Assertion tooltipContains(java.lang.String text)
Specified by:
tooltipContains in interface TooltipComponent


Copyright © 2004-2010. All Rights Reserved.