Spiffy UI Framework

org.spiffyui.client.widgets
Class StatusIndicator

java.lang.Object
  extended by FlowPanel
      extended by org.spiffyui.client.widgets.StatusIndicator

public class StatusIndicator
extends FlowPanel

This is a reusable loading icon widget


Field Summary
static int FAILED
          Status Failed
static int IN_PROGRESS
          Status In Progress
static int SUCCEEDED
          Status Succeeded
 
Constructor Summary
StatusIndicator()
          Show a generic status indicator with the default status of none
StatusIndicator(int status)
          Show a generic status indicator
 
Method Summary
 int getStatus()
          Get the current status of this status indicator.
 void setStatus(int status)
          Set the status of this status indicator.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

IN_PROGRESS

public static final int IN_PROGRESS
Status In Progress

See Also:
Constant Field Values

FAILED

public static final int FAILED
Status Failed

See Also:
Constant Field Values

SUCCEEDED

public static final int SUCCEEDED
Status Succeeded

See Also:
Constant Field Values
Constructor Detail

StatusIndicator

public StatusIndicator(int status)
Show a generic status indicator

Parameters:
status - - int status constant

StatusIndicator

public StatusIndicator()
Show a generic status indicator with the default status of none

Method Detail

getStatus

public int getStatus()
Get the current status of this status indicator.

Returns:
the current status

setStatus

public void setStatus(int status)
Set the status of this status indicator.

Parameters:
status - the new status

Spiffy UI Framework