Interface View

A Interface org.favabeans.base.ViewView is the fundamental component which displays some object. The actual interface is [perhaps somewhat deceptively] simple (Figure 2.1). In addition, we require that a compliant FavaBeans Interface org.favabeans.base.ViewView implementation be a subclass of Class java.awt.ComponentComponent, thereby allowing it to be embedded in other UI elements.

Important

We may consider relaxing the requirement that a Interface org.favabeans.base.ViewView be a subclass of Class java.awt.ComponentComponent; this would support frameworks where a view element is part of an abstract "scene graph" and not a directly paintable AWT/Swing component. We got this idea from Jazz, which we will probably be using as an additional "look and feel" for FavaBeans in the future.

Figure 2.1. Interface Interface org.favabeans.base.ViewView.

The Bean property org.favabeans.base.View.modelView.model property of a Interface org.favabeans.base.ViewView permits a FavaBeans implementation to use a configured Interface org.favabeans.base.ViewView repeatedly for viewing multiple objects.