org.erights.e.meta.java.awt
Class ContainerSugar

java.lang.Object
  |
  +--org.erights.e.meta.java.awt.ContainerSugar

public class ContainerSugar
extends Object

Untamed: A sweetener for AWT containers that make them friendly to E

Author:
Mark S. Miller

Constructor Summary
private ContainerSugar()
          prevent instantiation
 
Method Summary
static Component get(Container self, int n)
          Enabled: So container[n] will work in E.
static void iterate(Container self, AssocFunc func)
          Enabled: A Container enumerates its components
static int size(Container self)
          Enabled: An unfortunate ambiguity.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ContainerSugar

private ContainerSugar()
prevent instantiation

Method Detail

iterate

public static void iterate(Container self,
                           AssocFunc func)
Enabled: A Container enumerates its components


get

public static Component get(Container self,
                            int n)
Enabled: So container[n] will work in E.


size

public static int size(Container self)
Enabled: An unfortunate ambiguity.



comments?