|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.awt.Component
java.awt.Container
java.awt.Window
java.awt.Dialog
wt.clients.folder.CreateFolderDialog
public class CreateFolderDialog
Dialog for creating new SubFolder objects.
This dialog allows the user to enter the name of the new
subfolder, specify where the subfolder will be created,
and specify the subfolder's domain.
Supported API:true
Extendable: false
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class java.awt.Dialog |
|---|
Dialog.AccessibleAWTDialog |
| Nested classes/interfaces inherited from class java.awt.Window |
|---|
Window.AccessibleAWTWindow |
| Nested classes/interfaces inherited from class java.awt.Container |
|---|
Container.AccessibleAWTContainer |
| Nested classes/interfaces inherited from class java.awt.Component |
|---|
Component.AccessibleAWTComponent, Component.BltBufferStrategy, Component.FlipBufferStrategy |
| Field Summary |
|---|
| Fields inherited from class java.awt.Component |
|---|
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT |
| Fields inherited from interface java.awt.image.ImageObserver |
|---|
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
| Constructor Summary | |
|---|---|
CreateFolderDialog(Frame parent,
boolean modal)
Constructor for this dialog. |
|
CreateFolderDialog(Frame parent,
String title,
boolean modal)
Constructor for this dialog. |
|
| Method Summary | |
|---|---|
void |
addNotify()
Creates the dialog's peer. |
String |
getFolderLocation()
Returns the string location in which the new folder will be created. |
String |
getFolderName()
Retrieves the string name which will be used as the name of the subfolder to be created. |
Folder |
getParentFolder()
Returns the Folder object in which the new folder will be created. |
void |
initFolderLocation(String location)
Initializes the location in which to create the subfolder with the given String location. |
void |
setFolderLocation(String location)
Sets the string location in which the new folder will be created with the given String. |
void |
setFolderName(String name)
Sets the string name which will be used as the name of the subfolder to be created with the given String. |
void |
setParentFolder(Folder parent_folder)
Set the parent folder in which the new subfolder will be created to the given folder. |
| Methods inherited from class java.awt.Dialog |
|---|
getAccessibleContext, getTitle, hide, isModal, isResizable, isUndecorated, paramString, setModal, setResizable, setTitle, setUndecorated |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public CreateFolderDialog(Frame parent,
boolean modal)
parent - the Frame owner of the dialogmodal - true, if the dialog should be displayed
as modal and block input to the parent
window
public CreateFolderDialog(Frame parent,
String title,
boolean modal)
parent - the Frame owner of the dialogtitle - the String to be displayed as the title of
this dialogmodal - true, if the dialog should be displayed
as modal and block input to the parent
window
| Method Detail |
|---|
public void addNotify()
addNotify in class Dialogpublic void initFolderLocation(String location)
location - a String specifying the cabinet or folder location
in which to create the subfolder. The string should
be a valid path to an existing cabinet or folder.
public String getFolderName()
public void setFolderName(String name)
name - the String name to be used as the name of the folder being created.
public String getFolderLocation()
public void setFolderLocation(String location)
location - the String location of the folder in which the new folder
be created.
public Folder getParentFolder()
public void setParentFolder(Folder parent_folder)
parent_folder - the parent Folder in which the new subfolder
will be created
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||