org.spiffyui.client.widgets
Class FormFeedback

java.lang.Object
  extended by Label
      extended by org.spiffyui.client.widgets.FormFeedback

public class FormFeedback
extends Label

This widget shows an icon to give feedback on form fields


Field Summary
static int ERROR
          Feedback status error
static int LOADING
          Feedback status loading
static int NONE
          Feedback status none
static int VALID
          Feedback status valid
static int WARNING
          Feedback status warning
 
Constructor Summary
FormFeedback()
          Creates a new FormFeedback widget
FormFeedback(boolean inform)
          Creates a new FormFeedback widget
 
Method Summary
 int getStatus()
          Gets the status of this FormFeedback
 void setStatus(int status)
          Sets the status for this FormFeedback
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

WARNING

public static final int WARNING
Feedback status warning

See Also:
Constant Field Values

ERROR

public static final int ERROR
Feedback status error

See Also:
Constant Field Values

VALID

public static final int VALID
Feedback status valid

See Also:
Constant Field Values

LOADING

public static final int LOADING
Feedback status loading

See Also:
Constant Field Values

NONE

public static final int NONE
Feedback status none

See Also:
Constant Field Values
Constructor Detail

FormFeedback

public FormFeedback()
Creates a new FormFeedback widget


FormFeedback

public FormFeedback(boolean inform)
Creates a new FormFeedback widget

Parameters:
inform - true if this feedback widget needs our standard for styles and false otherwise
Method Detail

setStatus

public void setStatus(int status)
Sets the status for this FormFeedback

Parameters:
status - the status

getStatus

public int getStatus()
Gets the status of this FormFeedback

Returns:
the form feedback