/**
 * <License>
 */
package edu.colorado.csdms.wmt.client.data;

import com.google.gwt.core.client.JavaScriptObject;
import com.google.gwt.core.client.JsArray;

/**
 * A GWT JavaScript overlay (JSO) type that describes the JSON returned on a
 * HTTP GET call to <a
 * href="http://csdms.colorado.edu/wmt/api/tag/list">tag/list</a>. Declares
 * JSNI methods to access attributes.
 * 
 * @see <a
 *      href="http://www.gwtproject.org/doc/latest/DevGuideCodingBasicsOverlay.html">http://www.gwtproject.org/doc/latest/DevGuideCodingBasicsOverlay.html</a>
 * @author Mark Piper (mark.piper@colorado.edu)
 */
public class LabelJSO extends JavaScriptObject {

  // Overlay types always have protected, zero-arg constructors.
  protected LabelJSO() {
  }

  /**
   * Gets the owner of a label, a String. This is a JSNI method.
   */
  public final native String getOwner() /*-{
		return this.owner;
  }-*/;

  /**
   * Gets the text of the label, a String. This is a JSNI method.
   */
  public final native String getLabel() /*-{
		return this.tag;
  }-*/;

  /**
   * A JSNI method to get the id of the label, an int. 
   */
  public final native int getId() /*-{
		return this.id;
  }-*/;    
  
  /**
   * Gets a JsArray of labels. This is a JSNI method.
   */
  public final native JsArray<LabelJSO> getLabels() /*-{
		return this;
  }-*/;  
}

@@ -649,16 +649,56 @@
 ject %7B%0A%0A
+  private Boolean selected = false; %0A  %0A
   // Ove
@@ -1372,13 +1372,396 @@
 %0A  %7D-*/;
+%0A
   %0A
+  /**%0A   * Returns the state of the label button; true = selected. Not a JSNI method.%0A   */%0A  public Boolean isSelected() %7B%0A    return this.selected;%0A  %7D%0A  %0A  /**%0A   * Stores the state of the label button. Not a JSNI method.%0A   * %0A   * @param selected a value of true indicates button is selected%0A   */%0A  public void isSelected(Boolean selected) %7B%0A    this.selected = selected;%0A  %7D%0A
 %7D%0A

Add "selected" variable, with getter/setter, to LabelJSO