Class ViewProxy
All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class ViewProxy *Beta API*

public class netscape.constructor.ViewProxy
    extends netscape.application.View
    implements netscape.application.Target,
               netscape.util.Codable
{
    /* Fields
     */
    public final static String CLASS_NAME_KEY;
    public final static String COMMANDS_KEY;
    public final static String VIEWPROXY_CLASS_NAME;

    /* Constructors
     */
    public ViewProxy();
    public ViewProxy(int, int, int, int);

    /* Methods
     */
    public String[] commands();
    public void setCommands(String[]);
    public void setViewClassName(String);
    public String viewClassName();
}
A ViewProxy is an object that in stored in a Constructor document that represents a View object that is unavailable at build time. The ViewProxy object can have commands added to it's description while in Constructor. This allows you to define arbitrary commands for the object and connect these commands to specific events in the application. Additionally, like all Constructor objects, they can be named. The purpose of these ViewProxies is to represent some actual View that responds to these commands, during the build process, and then replace them with new objects during unarchiving. When a .plan file is loaded, the ViewProxy will attempt to create a view named viewClassName and set its attributes equal to its own.

You normally will not need to create a ViewProxy outside of Constructor.
See Also:
Plan

Fields

CLASS_NAME_KEY

  public final static String CLASS_NAME_KEY

COMMANDS_KEY

  public final static String COMMANDS_KEY

VIEWPROXY_CLASS_NAME

  public final static String VIEWPROXY_CLASS_NAME

Constructors

ViewProxy

  public ViewProxy()

ViewProxy

  public ViewProxy(int x,
                   int y,
                   int width,
                   int height)

Methods

setViewClassName

  public void setViewClassName(String viewName)

viewClassName

  public String viewClassName()

setCommands

  public void setCommands(String values[])

commands

  public String[] commands()

All Packages  Class Hierarchy  This Package  Previous  Next  Index

Copyright © 1997 Netscape Communications Corporation. All rights reserved
Please send any comments or corrections to ifcfeedback@netscape.com
HTML generated on 21 Apr 1997