org.uispec4j
Interface UIComponent

All Known Implementing Classes:
AbstractUIComponent

public interface UIComponent

Interface for all UI (user interface) components.


Method Summary
 Component getAwtComponent()
          Returns the Java GUI component represented by this object.
 String getDescription()
          Returns an XML representation of the component and its subcomponents.
 String getDescriptionTypeName()
          Returns the name of the component as it will appear in the XML representation returned by getDescription().
 String getLabel()
          Returns the label displayed on this component, or null if this has no sense for this kind of components.
 String getName()
          Returns the internal name with which can be used to identify the component.
 Assertion isEnabled()
          Checks if the component is enabled.
 

Method Detail

getAwtComponent

public Component getAwtComponent()
Returns the Java GUI component represented by this object.


getDescription

public String getDescription()
Returns an XML representation of the component and its subcomponents.


getDescriptionTypeName

public String getDescriptionTypeName()
Returns the name of the component as it will appear in the XML representation returned by getDescription().


isEnabled

public Assertion isEnabled()
Checks if the component is enabled.


getLabel

public String getLabel()
Returns the label displayed on this component, or null if this has no sense for this kind of components.


getName

public String getName()
Returns the internal name with which can be used to identify the component. This can be null if no name was set by the developers.



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