Class sunsoft.jws.visual.rt.shadow.java.awt.FileDialogShadow
All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class sunsoft.jws.visual.rt.shadow.java.awt.FileDialogShadow

java.lang.Object
   |
   +----sunsoft.jws.visual.rt.base.AttributeManager
           |
           +----sunsoft.jws.visual.rt.base.Shadow
                   |
                   +----sunsoft.jws.visual.rt.shadow.java.awt.ComponentShadow
                           |
                           +----sunsoft.jws.visual.rt.shadow.java.awt.ContainerShadow
                                   |
                                   +----sunsoft.jws.visual.rt.shadow.java.awt.WindowShadow
                                           |
                                           +----sunsoft.jws.visual.rt.shadow.java.awt.DialogShadow
                                                   |
                                                   +----sunsoft.jws.visual.rt.shadow.java.awt.FileDialogShadow

public class FileDialogShadow
extends DialogShadow
Wraps an AWT widget. The attributes available for this class are listed below. In the type column, type names beginning with "sunsoft.jws.visual.rt" have been abbreviated to begin with "rt".
    name            type                      default value
    -----------------------------------------------------------------------
    directory       java.lang.String          null
    file            java.lang.String          null 
  + modal           java.lang.Boolean         true 
    mode            rt.type.ModeEnum	      load
  + title           java.lang.String          "Unnamed File Dialog" 
  + visible         java.lang.Boolean         false 
+ = this attribute overrides one inherited from an ancestor class.

mode: can be "load" or "save", and determines whether the file dialog is to be used for opening or saving a file, repectively (the text in the lower left button of the file dialog will read either "Open" or "Save" depending on the mode.)

Check the super class for additional attributes.

See Also:
FileFialog

Constructor Index

 o FileDialogShadow()

Method Index

 o createBody()
Creates the AWT component for this shadow.
 o destroyBody()
Disposes of the AWT top-level window so that window system resources are reclaimed.
 o getOnBody(String)
Gets attributes from this shadow's body.
 o setOnBody(String, Object)
Sets attributes on this shadow's body.
 o showComponent()
Shows the component.

Constructors

 o FileDialogShadow
  public FileDialogShadow()

Methods

 o showComponent
  public void showComponent()
Shows the component.
Overrides:
showComponent in class DialogShadow
 o getOnBody
  protected Object getOnBody(String key)
Gets attributes from this shadow's body.
Overrides:
getOnBody in class DialogShadow
 o setOnBody
  protected void setOnBody(String key,
                           Object value)
Sets attributes on this shadow's body.
Overrides:
setOnBody in class DialogShadow
 o createBody
  public void createBody()
Creates the AWT component for this shadow.
Overrides:
createBody in class DialogShadow
 o destroyBody
  protected void destroyBody()
Disposes of the AWT top-level window so that window system resources are reclaimed.
Overrides:
destroyBody in class WindowShadow

All Packages  Class Hierarchy  This Package  Previous  Next  Index