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
public void setPlan(Plan aPlan)
public Plan plan()
public void setPlanURL(String urlString)
public String planURL()
public void performCommand(String command,
Object object)
public boolean loadInExternalWindow()
- Indicates if the Plan should be loaded in an ExternalWindow.
public void setLoadInExternalWindow(boolean value)
- Sets if the Plan should be loaded in an ExternalWindow.
public InternalWindow putPlanInInternalWindow()
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