edu.washington.cs.supple.wlib.java2
Class PointerNavigationCostFunction
java.lang.Object
edu.washington.cs.supple.wlib.java2.PointerNavigationCostFunction
- All Implemented Interfaces:
- NavigationCostFunction
- public class PointerNavigationCostFunction
- extends java.lang.Object
- implements NavigationCostFunction
- Author:
- kgajos
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
transitionCount
protected TransitionCount transitionCount
PointerNavigationCostFunction
public PointerNavigationCostFunction(TransitionCount tc)
PointerNavigationCostFunction
public PointerNavigationCostFunction(Trace trace,
UiObject object)
getNavigationCost
public float getNavigationCost(Widget w)
- Calculates navigation cost incurred by the widget
- Specified by:
getNavigationCost in interface NavigationCostFunction
- Parameters:
w - widget
- Returns:
- navigation cost
getTransitionCountFunction
public TransitionCount getTransitionCountFunction()
- Description copied from interface:
NavigationCostFunction
- A transition count provides information on the usage of the
container elements of a UI
- Specified by:
getTransitionCountFunction in interface NavigationCostFunction
- Returns:
- tc a transition count function
setTransitionCountFunction
public void setTransitionCountFunction(TransitionCount tc)
- Description copied from interface:
NavigationCostFunction
- A transition count provides information on the usage of the
container elements of a UI
- Specified by:
setTransitionCountFunction in interface NavigationCostFunction
- Parameters:
tc - a transition count function