|
|||||||||||
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
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 | |
(package private) class |
CreateFolderDialog.DSListen
|
(package private) class |
CreateFolderDialog.SymAction
|
(package private) class |
CreateFolderDialog.SymItem
|
(package private) class |
CreateFolderDialog.SymKey
|
(package private) class |
CreateFolderDialog.SymText
|
(package private) class |
CreateFolderDialog.SymWindow
|
Nested classes inherited from class java.awt.Dialog |
Dialog.AccessibleAWTDialog |
Nested classes inherited from class java.awt.Window |
Window.AccessibleAWTWindow |
Nested classes inherited from class java.awt.Container |
Container.AccessibleAWTContainer |
Nested classes inherited from class java.awt.Component |
Component.AccessibleAWTComponent, Component.BltBufferStrategy, Component.FlipBufferStrategy |
Fields inherited from class java.awt.Dialog |
|
Fields inherited from class java.awt.Window |
|
Fields inherited from class java.awt.Container |
|
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 |
addActionListener(ActionListener al)
Deprecated. Supported API:false |
void |
addNotify()
Creates the dialog's peer. |
(package private) void |
browseButton_Action(ActionEvent event)
|
(package private) void |
cancelButton_Action(ActionEvent event)
|
(package private) void |
cancelButton_KeyPress(KeyEvent event)
|
private void |
createFolder()
|
(package private) void |
Dialog1_WindowClosing(WindowEvent event)
|
private void |
dispatchRefresh(int action,
Object obj)
|
(package private) void |
domainBrowseButton_Action(ActionEvent event)
|
(package private) void |
folderNameTextField_TextValueChanged(TextEvent event)
|
private WTContext |
getContext()
|
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. |
Applet |
getParentApplet()
Deprecated. Supported API:false |
private AdminDomainRef |
getParentDomainRef()
|
Folder |
getParentFolder()
Returns the Folder object in which the new folder will be created. |
private void |
getPreferences()
|
private void |
inheritDomainCheckbox_set_inheritance()
|
void |
inheritDomainCheckbox_state_changed(ItemEvent event)
|
void |
initFolderLocation(String location)
Initializes the location in which to create the subfolder with the given String location. |
void |
initialize(Folder parent_folder)
Sets the parent folder and invokes setAdminActionsEnabled to determine whether user has rights to set subFolder's domain. |
private void |
initResources()
Deprecated. |
private void |
localize()
|
(package private) void |
locationTextField_Typed(KeyEvent event)
|
protected void |
notifyActionEvent()
Deprecated. Supported API:false |
(package private) void |
okButton_Action(ActionEvent event)
|
(package private) void |
okButton_KeyPress(KeyEvent event)
|
protected void |
processOkCommand()
|
void |
removeActionListener(ActionListener al)
Deprecated. Supported API:false |
private void |
setAdminActionsEnabled()
|
private void |
setContext(boolean context_on)
|
private void |
setDomain(AdminDomainRef domain)
|
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 |
setParentApplet(Applet parent_applet)
Deprecated. Supported API:false |
void |
setParentFolder(Folder parent_folder)
Set the parent folder in which the new subfolder will be created to the given folder. |
void |
show()
|
private void |
showMessageDialog(String message)
|
Methods inherited from class java.awt.Dialog |
dispose, 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 |
Field Detail |
private static final String versionID
boolean fComponentsAdjusted
Label folderNameLabel
TextField folderNameTextField
Label locationLabel
TextField locationTextField
Button browseButton
Label domainLabel
TextField domainTextField
Button domainBrowseButton
Checkbox inheritDomainCheckbox
Panel buttonPanel
Button okButton
Button cancelButton
symantec.itools.awt.shape.HorizontalLine horizontalLine1
private String folderName
private String folderLocation
private String inheritDomainFromCabinet
private String inheritDomainFromFolder
private Folder parentFolder
private Vector listeners
private Applet parentApplet
private ThreadGroup contextGroup
private AdminDomainRef domain
private boolean displayDomains
private boolean adminPermit
private static String RESOURCES
private static ResourceBundle resources
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 |
private void initResources()
private void localize()
public void addNotify()
public void show()
void Dialog1_WindowClosing(WindowEvent event)
public 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 void initialize(Folder parent_folder)
parent_folder
- Folder specifying the parent cabinet or subfolder
in which to create the subFolder.
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
public void addActionListener(ActionListener al)
al
- the ActionListener to be notifiedpublic void removeActionListener(ActionListener al)
al
- the ActionListener to be removedprotected void notifyActionEvent()
public void setParentApplet(Applet parent_applet)
parent_applet
- the parent Applet to provide context to this
dialogpublic Applet getParentApplet()
private void setDomain(AdminDomainRef domain)
public void inheritDomainCheckbox_state_changed(ItemEvent event)
private void inheritDomainCheckbox_set_inheritance()
void folderNameTextField_TextValueChanged(TextEvent event)
void cancelButton_Action(ActionEvent event)
private void createFolder() throws FolderException, WTPropertyVetoException, WTException
FolderException
WTPropertyVetoException
WTException
void okButton_Action(ActionEvent event)
protected void processOkCommand()
private void dispatchRefresh(int action, Object obj)
void browseButton_Action(ActionEvent event)
void domainBrowseButton_Action(ActionEvent event)
private WTContext getContext()
private void setContext(boolean context_on)
void locationTextField_Typed(KeyEvent event)
void okButton_KeyPress(KeyEvent event)
void cancelButton_KeyPress(KeyEvent event)
private void showMessageDialog(String message)
private void setAdminActionsEnabled()
private AdminDomainRef getParentDomainRef()
private void getPreferences()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |