org.spiffyui.client.widgets.button
Class SimpleButton

java.lang.Object
  extended by Button
      extended by org.spiffyui.client.widgets.button.SimpleButton

public class SimpleButton
extends Button

A GWT button which supports an in progress state.


Constructor Summary
SimpleButton()
          Create a new simple button with no text
SimpleButton(java.lang.String text)
          Create a new simple button with the specified text
 
Method Summary
 boolean isInProgress()
          Determines if this button is in progress
 void setInProgress(boolean inprogress)
          Sets this button to be in progress.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimpleButton

public SimpleButton()
Create a new simple button with no text


SimpleButton

public SimpleButton(java.lang.String text)
Create a new simple button with the specified text

Parameters:
text - of the button
Method Detail

setInProgress

public void setInProgress(boolean inprogress)
Sets this button to be in progress. In progress buttons show a different image and are disabled

Parameters:
inprogress - true if in progress and false otherwise

isInProgress

public boolean isInProgress()
Determines if this button is in progress

Returns:
true if it is in progress and false otherwise