Á͘ÿŒ ÿ‚Ý…‹Ÿ‹ ÿÁ̓ ̓͂— ÔƒÁÍ ÅŠ‚‹
The /
001 package com.holub.ui;
002
003 import javax.swing.JComponent;
004 import java.awt.Container;
005 / ****************************************
User_interface interface lets you make generic "forms" using a Presentation/Abstraction/Control, visual-proxy architecture. Objects that implement a User_interface return proxies ("views") for attributes of a "business" object when asked. (c) 1999, Allen I. Holub. All rights reserved.
@author Allen Holub
@version 1.1
006 public interface User_interface
007 {/*****************************************
Return a visual proxy for the attribute specified as an argument or null if the requested attribute isn't recognized. All objects that implement
/User_interface must support a null "attribute" argument, which will return the "default" view, whatever that is. The individual proxies can use the JComponent's addAncestorListener() facility to find out when the surrounding form is displayed or shut down. Similarly, they can override addNotify() to find out who their parent is.
@param attribute_name The attribute that this proxy represents or null for the default type.
@return s The proxy, or null if the requested attribute is not supported or recognized.
008 public JComponent visual_proxy( String attribute_name );
009 }