org.uispec4j
Class ToggleButton

java.lang.Object
  extended byorg.uispec4j.AbstractUIComponent
      extended byorg.uispec4j.AbstractButton
          extended byorg.uispec4j.ToggleButton
All Implemented Interfaces:
UIComponent

public class ToggleButton
extends AbstractButton

Wrapper for JToggleButton components.


Field Summary
static Class[] SWING_CLASSES
           
static String TYPE_NAME
           
 
Constructor Summary
ToggleButton(JToggleButton jToggleButton)
           
 
Method Summary
 Component getAwtComponent()
          Returns the Java GUI component represented by this object.
 String getDescriptionTypeName()
          Returns the name of the component as it will appear in the XML representation returned by UIComponent.getDescription().
 Assertion isSelected()
           
 
Methods inherited from class org.uispec4j.AbstractButton
click, getLabel, textEquals, triggerClick
 
Methods inherited from class org.uispec4j.AbstractUIComponent
addAttributes, backgroundEquals, foregroundEquals, getDescription, getDescription, getName, getSubDescription, isEnabled, isVisible
 
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 String TYPE_NAME
See Also:
Constant Field Values

SWING_CLASSES

public static final Class[] SWING_CLASSES
Constructor Detail

ToggleButton

public ToggleButton(JToggleButton jToggleButton)
Method Detail

getAwtComponent

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


getDescriptionTypeName

public 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().


isSelected

public Assertion isSelected()


Copyright © 2004-2007 Design-up. All Rights Reserved.