org.eclipse.jubula.rc.swing.swing.implclasses
Class AbstractButtonHelper

java.lang.Object
  extended by org.eclipse.jubula.rc.swing.swing.implclasses.AbstractButtonHelper

public class AbstractButtonHelper
extends java.lang.Object

A helper class to control default button operations.

Created:
17.08.2005

Constructor Summary
AbstractButtonHelper(AbstractSwingImplClass implClass)
          The contructor.
 
Method Summary
 void verifySelected(boolean selected)
          Verifies the selected property.
 void verifyText(java.lang.String text, java.lang.String operator)
          Verifies the passed text.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractButtonHelper

public AbstractButtonHelper(AbstractSwingImplClass implClass)
The contructor. It expects that AbstractSwingImplClass.getComponent() returns a component of type AbstractButton.

Parameters:
implClass - The implementation class.
Method Detail

verifySelected

public void verifySelected(boolean selected)
Verifies the selected property.

Parameters:
selected - The selected property value to verify.

verifyText

public void verifyText(java.lang.String text,
                       java.lang.String operator)
Verifies the passed text.

Parameters:
text - The text to verify
operator - an operator