Class PlanLoader
All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class PlanLoader

public class netscape.constructor.PlanLoader
    extends java.lang.Object
    implements netscape.application.Target,
               netscape.util.Codable
{
    /* Fields
     */
    public final static String CREATE_PLAN;

    /* Constructors
     */
    public PlanLoader();
    public PlanLoader(String);
    public PlanLoader(String, boolean);

    /* Methods
     */
    public boolean loadInExternalWindow();
    public void performCommand(String, Object);
    public Plan plan();
    public String planURL();
    public ExternalWindow putPlanInExternalWindow();
    public InternalWindow putPlanInInternalWindow();
    public void setLoadInExternalWindow(boolean);
    public void setPlan(Plan);
    public void setPlanURL(String);
}
The PlanLoader object is a convience object for loading plan files through the Target interface. You can specify the .plan file name and whether to load the plan in an external or internal window. It implements the Target interface so that you can wire some event to it's action. Like a button click Note: In test mode, the codeBase() is the constructor application. Resolving the location of the requested planURL() may be challenging and fail.

Fields

CREATE_PLAN

  public final static String CREATE_PLAN

Constructors

.PlanLoader

  public PlanLoader()
Constructs an empty PlanLoader.

.PlanLoader

  public PlanLoader(String planURL)
Constructs a PlanLoader.

.PlanLoader

  public PlanLoader(String planURL,
                    boolean isRelative)

Methods

.setPlan

  public void setPlan(Plan aPlan)

.plan

  public Plan plan()

.setPlanURL

  public void setPlanURL(String urlString)

.planURL

  public String planURL()

.performCommand

  public void performCommand(String command,
                             Object object)

.loadInExternalWindow

  public boolean loadInExternalWindow()
Indicates if the Plan should be loaded in an ExternalWindow.

.setLoadInExternalWindow

  public void setLoadInExternalWindow(boolean value)
Sets if the Plan should be loaded in an ExternalWindow.

.putPlanInInternalWindow

  public InternalWindow putPlanInInternalWindow()

.putPlanInExternalWindow

  public ExternalWindow putPlanInExternalWindow()

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 Oct 1997