edu.washington.cs.supple.render
Class RenderingUtils

java.lang.Object
  extended byedu.washington.cs.supple.render.RenderingUtils

public class RenderingUtils
extends java.lang.Object

Author:
kgajos Various common utilities useful in the rendering process

Constructor Summary
RenderingUtils()
           
 
Method Summary
static void applyVetoFunction(java.util.Vector widgets, VetoFunction vetoFunction)
          If the veto function deems the widget unacceptable, it gets removed from the underlying data structure
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RenderingUtils

public RenderingUtils()
Method Detail

applyVetoFunction

public static void applyVetoFunction(java.util.Vector widgets,
                                     VetoFunction vetoFunction)
If the veto function deems the widget unacceptable, it gets removed from the underlying data structure

Parameters:
widgets - a set of widgets to be pruned; likely to get modified
vetoFunction - the veto function to be applied