edu.washington.cs.supple.render
Interface VetoFunction

All Known Implementing Classes:
AbstractCostFunction

public interface VetoFunction

Author:
kgajos A part of the cost function -- provides yes/no information as to whether a widget is acceptable in a particular situation

Method Summary
 boolean isAcceptable(Widget widget)
          provides yes/no information as to whether a widget is acceptable in a particular situation
 

Method Detail

isAcceptable

public boolean isAcceptable(Widget widget)
provides yes/no information as to whether a widget is acceptable in a particular situation

Parameters:
widget - a widget to be tested
Returns:
true if the widget is acceptable, false otherwise