Uses of Class
edu.washington.cs.supple.render.WidgetBag

Packages that use WidgetBag
edu.washington.cs.supple.render   
edu.washington.cs.supple.render.search   
edu.washington.cs.supple.render.utility   
edu.washington.cs.supple.rep   
edu.washington.cs.supple.test   
edu.washington.cs.supple.trace   
edu.washington.cs.supple.wlib   
 

Uses of WidgetBag in edu.washington.cs.supple.render
 

Fields in edu.washington.cs.supple.render declared as WidgetBag
protected  WidgetBag WidgetBag.parent
           
protected  WidgetBag AbstractWidget.bag
           
protected  WidgetBag AbstractSolver.curSolutionRoot
           
 

Methods in edu.washington.cs.supple.render that return WidgetBag
 WidgetBag WidgetBag.getParent()
           
 WidgetBag WidgetBag.getChild(UiObject object)
           
 WidgetBag Widget.getBag()
          Returns the widget bag containing this widget; widget bags are used in the search process as holders of the possible renderings for each UI element;
 WidgetBag AbstractWidget.getBag()
           
 WidgetBag AbstractWidgetWrapper.getBag()
           
 WidgetBag AbstractSolver.buildBagStructure(UiObject object, SearchParameters searchParameters)
           
 

Methods in edu.washington.cs.supple.render with parameters of type WidgetBag
 void WidgetBag.setParent(WidgetBag parent)
          Sets the parent of this widget bag
 void WidgetBag.addChild(WidgetBag child)
          Adds a bew child bag to this bag.
 void Widget.setBag(WidgetBag bag)
          Sets the widget bag that contains this widget; widget bags are used in the search process as holders of the possible renderings for each UI element; Do not use this method!
 Widget Widget.clone(WidgetBag bag)
          A convenience method -- clones the widget and sets the value of the owner widget bag (used when cloning widget bags)
 void AbstractWidget.setBag(WidgetBag bag)
          Sets the enclosing widget bag for this widget
 Widget AbstractWidget.clone(WidgetBag bag)
          A convenience method -- clones the widget and sets the value of the owner widget bag (used when cloning widget bags)
 void RenderingHintEnforcer.addWidgetBag(WidgetBag bag)
           
 void RenderingHintEnforcer.propagateChanged(WidgetBag source)
          Inform other bags connected to this rendering hint that they should mark themselves as changed
 void RenderingConstraintEnforcer.addWidgetBag(WidgetBag bag)
           
 boolean RenderingConstraintEnforcer.propagate(WidgetBag source, int levels)
          Call propagate on all widget bags connected to this constraint (except the one that called the propagation)
 void RenderingConstraintEnforcer.undoPropagate(WidgetBag source, int levels)
           
 Widget AbstractWidgetWrapper.clone(WidgetBag bag)
          A convenience method -- clones the widget and sets the value of the owner widget bag (used when cloning widget bags)
 void AbstractWidgetWrapper.setBag(WidgetBag bag)
           
static java.util.Vector AbstractSolver.getBottomUpNodeList(WidgetBag root)
          returns a list of nodes -- bottom up (i.e.
static java.util.Vector AbstractSolver.getLeafNodes(WidgetBag root)
          returns a list of leaf nodes
 java.util.Vector AbstractSolver.getTopDownNodeList(WidgetBag root)
           
protected  void AbstractSolver.solutionFound(WidgetBag root)
          Used by subclasses to report a solution when one is found
protected  void AbstractSolver.solutionFound(WidgetBag root, java.util.Collection shortcuts)
           
 

Constructors in edu.washington.cs.supple.render with parameters of type WidgetBag
WidgetBag(UiObject object, WidgetBag parent, java.util.Collection widgets, SearchParameters searchParameters)
           
 

Uses of WidgetBag in edu.washington.cs.supple.render.search
 

Methods in edu.washington.cs.supple.render.search with parameters of type WidgetBag
 boolean ShortcutSolver.search(WidgetBag root, java.util.Vector nodes)
           
 boolean ShortcutSolver.search(WidgetBag root, java.util.Vector nodes, GraphTransitionCount graph)
          A simple search routine
protected  void ShortcutSolver.solutionFound(WidgetBag root, java.util.Collection shortcuts, GraphTransitionCount graph)
           
protected  boolean NaiveShortcutSolver.searchDispatch(WidgetBag root, java.util.Vector nodes)
           
protected  java.util.Vector NaiveShortcutSolver.findShortcuts(WidgetBag root)
          Computes both nav and primitive shortcuts for a given rendering
protected  java.util.Collection NaiveShortcutSolver.findNavShortcuts(WidgetBag root, GraphTransitionCount graph)
          Finds nav shortcuts for a given rendering
protected  java.util.Vector NaiveShortcutSolver.findPrimitiveShortcuts(WidgetBag root, GraphTransitionCount tc)
          Finds the best primitive shortcuts given a solved rendering and an initialized graph transition count; assumes that nav shortcuts have not been set yet
protected  java.util.ArrayList AbstractShortcutSolver.findNavShortcutTargetsFromSolution(WidgetBag root, float minEffort)
          Finds good shortcut targets given a rendered UI
protected  boolean BottomUpSearchSolver.searchDispatch(WidgetBag root, java.util.Vector nodes)
          A convenience method -- subclasses may override it if they need to do some processing before search procedure is invoked
 boolean BottomUpSearchSolver.search(WidgetBag root, java.util.Vector nodes)
          A simple search routine
 

Uses of WidgetBag in edu.washington.cs.supple.render.utility
 

Methods in edu.washington.cs.supple.render.utility with parameters of type WidgetBag
 float RegretCalculator.calculateFactorContribution(int strategy, Factor factor, WidgetBag curBag)
          Calculates contributions of individual factors to the overall cost given a particular widget bag
 

Uses of WidgetBag in edu.washington.cs.supple.rep
 

Methods in edu.washington.cs.supple.rep with parameters of type WidgetBag
protected  boolean SameRenderingHint.hasWidgetType(WidgetBag bag, java.lang.Class type)
          Checks if the bag is still considering any elements of the specified type
protected  boolean SameRenderingConstraint.hasWidgetType(WidgetBag bag, java.lang.Class type)
          Checks if the bag is still considering any elements of the specified type
 

Uses of WidgetBag in edu.washington.cs.supple.test
 

Methods in edu.washington.cs.supple.test with parameters of type WidgetBag
static void PerformanceMeasure.solutionFound(WidgetBag solution, int count)
           
static void PerformanceMeasure.searchStarting(WidgetBag bag)
           
protected static long PerformanceMeasure.countOptions(WidgetBag root)
          Takes an initialized widget bag and calculates the number of different widget assignments that are potentially possible
protected static long PerformanceMeasure.countOptions(WidgetBag root, boolean recursive)
           
protected static long PerformanceMeasure.countSearchNodes(WidgetBag root)
          Takes an initialized widget bag and calculates the number of different nodes the search process could potentially visit
 

Uses of WidgetBag in edu.washington.cs.supple.trace
 

Fields in edu.washington.cs.supple.trace declared as WidgetBag
protected  WidgetBag GraphTransitionCount.root
           
 

Methods in edu.washington.cs.supple.trace that return WidgetBag
protected  WidgetBag GraphTransitionCount.getWidgetBagForUiObject(UiObject object)
           
 

Methods in edu.washington.cs.supple.trace with parameters of type WidgetBag
protected  void GraphTransitionCount.fillAdjacencyMatrix(WidgetBag root)
          Fills adjacency matrix with the information extracted from a widget bag structure
 

Constructors in edu.washington.cs.supple.trace with parameters of type WidgetBag
GraphTransitionCount(WidgetBag root, java.util.Collection primitiveShortcuts, java.util.Collection navShortcuts, Trace trace)
          Initialized the graph structure with the interface description, a set of shortcuts and a trace
 

Uses of WidgetBag in edu.washington.cs.supple.wlib
 

Fields in edu.washington.cs.supple.wlib declared as WidgetBag
protected  WidgetBag TabWidgetRenderingConstraint.parentBag