edu.washington.cs.supple.wlib.wap
Class SingleChoiceListWidget

java.lang.Object
  extended byedu.washington.cs.supple.render.AbstractWidget
      extended byedu.washington.cs.supple.render.SimpleWidget
          extended byedu.washington.cs.supple.wlib.wap.SimpleWapWidget
              extended byedu.washington.cs.supple.wlib.wap.SingleChoiceListWidget
All Implemented Interfaces:
java.lang.Cloneable, java.util.EventListener, java.beans.PropertyChangeListener, UnwrappedWidget, WapWidget, Widget

public class SingleChoiceListWidget
extends SimpleWapWidget

Author:
kgajos To change the template for this generated type comment go to Window>Preferences>Java>Code Generation>Code and Comments

Field Summary
 
Fields inherited from class edu.washington.cs.supple.render.AbstractWidget
bag, cost, engaged, object, parent, stateVar, textLabel, type, widgetDescriptor, wrapper
 
Fields inherited from interface edu.washington.cs.supple.render.Widget
MAX_HINT, NO_BORDER, NO_NAME, TOP_LEVEL_WIDGET
 
Constructor Summary
SingleChoiceListWidget(UiObject object)
           
 
Method Summary
 java.awt.Dimension getSize(int hints)
           
 java.lang.String getWapComponent(int hints)
           
static boolean rendersObject(UiObject object)
          A static method for testing the applicability of the widget given a type of the UI component to be rendered
 java.lang.String toString()
           
 
Methods inherited from class edu.washington.cs.supple.wlib.wap.SimpleWapWidget
getConcreteWidget, getExtraWapCode
 
Methods inherited from class edu.washington.cs.supple.render.SimpleWidget
childIterator, getEffortEstimate, hasChildren
 
Methods inherited from class edu.washington.cs.supple.render.AbstractWidget
anotherPropertyChanged, clone, clone, disengage, dismissCurrentView, displayDynamic, engage, equals, executeAction, generateWidgetDescriptor, getBag, getConcreteWidget, getCost, getParent, getPath, getSizeCache, getTextLabel, getType, getUiObject, getWidgetDescriptor, getWidgetProperties, indexChanged, isEngaged, isEquivalent, legalValuesChanged, likelyValuesChanged, propertyChange, reportActionExecutionEvent, reportValueChangedEvent, setBag, setCost, setEnabled, setParent, setSizeCache, setValue, setWrapper, unwrapWidget, valueChanged
 
Methods inherited from class java.lang.Object
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface edu.washington.cs.supple.render.Widget
childIterator, clone, clone, disengage, engage, getBag, getConcreteWidget, getCost, getEffortEstimate, getPath, getSizeCache, getTextLabel, getType, getUiObject, getWidgetDescriptor, getWidgetProperties, hasChildren, isEngaged, isEquivalent, setBag, setCost, setEnabled, setParent, setSizeCache, setWrapper, unwrapWidget
 

Constructor Detail

SingleChoiceListWidget

public SingleChoiceListWidget(UiObject object)
Parameters:
object -
Method Detail

rendersObject

public static boolean rendersObject(UiObject object)
Description copied from class: AbstractWidget
A static method for testing the applicability of the widget given a type of the UI component to be rendered


getSize

public java.awt.Dimension getSize(int hints)
Specified by:
getSize in interface Widget
Overrides:
getSize in class AbstractWidget

getWapComponent

public java.lang.String getWapComponent(int hints)
Parameters:
hints - specifies the variant of the widget to be rendered
Returns:
a renderable component

toString

public java.lang.String toString()
Overrides:
toString in class AbstractWidget