edu.washington.cs.supple.render
Class SimpleWidget

java.lang.Object
  extended byedu.washington.cs.supple.render.AbstractWidget
      extended byedu.washington.cs.supple.render.SimpleWidget
All Implemented Interfaces:
java.lang.Cloneable, java.util.EventListener, java.beans.PropertyChangeListener, UnwrappedWidget, Widget
Direct Known Subclasses:
AbstractComboBoxWidget, AbstractImageBasedWidget, AbstractPopupWidget, AbstractRadioButtonWidget, AbstractRadioButtonWidget, AbstractToggleWidget, AbstractToggleWidget, ButtonWidget, ChoiceWidget, DateWidget, LabelWidget, LabelWidget, ListWidget, SimpleHtmlWidget, SimpleSwingWidget, SimpleWapWidget, TextAreaWidget, TextFieldWidget

public abstract class SimpleWidget
extends AbstractWidget

Author:
kgajos An abstraction for simple widgets

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
SimpleWidget(UiObject object)
           
 
Method Summary
 java.util.Iterator childIterator()
           
 float getEffortEstimate(ActionDescription a)
          This method is hear temporarily until we implement it for all simple widgets
 boolean hasChildren()
           
 
Methods inherited from class edu.washington.cs.supple.render.AbstractWidget
anotherPropertyChanged, clone, clone, disengage, dismissCurrentView, displayDynamic, engage, equals, executeAction, generateWidgetDescriptor, getBag, getConcreteWidget, getConcreteWidget, getCost, getParent, getPath, getSize, getSizeCache, getTextLabel, getType, getUiObject, getWidgetDescriptor, getWidgetProperties, indexChanged, isEngaged, isEquivalent, legalValuesChanged, likelyValuesChanged, propertyChange, rendersObject, reportActionExecutionEvent, reportValueChangedEvent, setBag, setCost, setEnabled, setParent, setSizeCache, setValue, setWrapper, toString, unwrapWidget, valueChanged
 
Methods inherited from class java.lang.Object
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SimpleWidget

public SimpleWidget(UiObject object)
Method Detail

hasChildren

public boolean hasChildren()

childIterator

public java.util.Iterator childIterator()

getEffortEstimate

public float getEffortEstimate(ActionDescription a)
This method is hear temporarily until we implement it for all simple widgets