wt.clients.folder
Class CreateFolderDialog

java.lang.Object
  extended by java.awt.Component
      extended by java.awt.Container
          extended by java.awt.Window
              extended by java.awt.Dialog
                  extended by wt.clients.folder.CreateFolderDialog
All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible

public class CreateFolderDialog
extends Dialog

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

See Also:
Serialized Form

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.awt.Window
addPropertyChangeListener, addPropertyChangeListener, addWindowFocusListener, addWindowListener, addWindowStateListener, applyResourceBundle, applyResourceBundle, createBufferStrategy, createBufferStrategy, dispose, finalize, getBufferStrategy, getFocusableWindowState, getFocusCycleRootAncestor, getFocusOwner, getFocusTraversalKeys, getGraphicsConfiguration, getInputContext, getListeners, getLocale, getMostRecentFocusOwner, getOwnedWindows, getOwner, getToolkit, getWarningString, getWindowFocusListeners, getWindowListeners, getWindowStateListeners, isActive, isAlwaysOnTop, isFocusableWindow, isFocusCycleRoot, isFocused, isLocationByPlatform, isShowing, pack, postEvent, processEvent, processWindowEvent, processWindowFocusEvent, processWindowStateEvent, removeWindowFocusListener, removeWindowListener, removeWindowStateListener, setAlwaysOnTop, setBounds, setCursor, setFocusableWindowState, setFocusCycleRoot, setLocationByPlatform, setLocationRelativeTo, toBack, toFront
 
Methods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, addImpl, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getAlignmentX, getAlignmentY, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalPolicy, getInsets, getLayout, getMaximumSize, getMinimumSize, getMousePosition, getPreferredSize, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paint, paintComponents, preferredSize, print, printComponents, processContainerEvent, remove, remove, removeAll, removeContainerListener, removeNotify, setComponentZOrder, setFocusTraversalKeys, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setFont, setLayout, transferFocusBackward, transferFocusDownCycle, update, validate, validateTree
 
Methods inherited from class java.awt.Component
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, contains, createImage, createImage, createVolatileImage, createVolatileImage, disable, disableEvents, dispatchEvent, enable, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getFontMetrics, getForeground, getGraphics, getHeight, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocation, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getSize, getTreeLock, getWidth, getX, getY, gotFocus, handleEvent, hasFocus, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isDoubleBuffered, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isOpaque, isPreferredSizeSet, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, prepareImage, prepareImage, printAll, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processKeyEvent, processMouseEvent, processMouseMotionEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, repaint, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, reshape, resize, resize, setBackground, setBounds, setComponentOrientation, setDropTarget, setEnabled, setFocusable, setFocusTraversalKeysEnabled, setForeground, setIgnoreRepaint, setLocale, setLocation, setLocation, setMaximumSize, setMinimumSize, setName, setPreferredSize, setSize, setSize, setVisible, show, size, toString, transferFocus, transferFocusUpCycle
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CreateFolderDialog

public CreateFolderDialog(Frame parent,
                          boolean modal)
Constructor for this dialog.

Parameters:
parent - the Frame owner of the dialog
modal - true, if the dialog should be displayed as modal and block input to the parent window

Supported API:true

CreateFolderDialog

public CreateFolderDialog(Frame parent,
                          String title,
                          boolean modal)
Constructor for this dialog.

Parameters:
parent - the Frame owner of the dialog
title - the String to be displayed as the title of this dialog
modal - true, if the dialog should be displayed as modal and block input to the parent window

Supported API:true
Method Detail

addNotify

public void addNotify()
Creates the dialog's peer.

Supported API:true

Overrides:
addNotify in class Dialog

initFolderLocation

public void initFolderLocation(String location)
Initializes the location in which to create the subfolder with the given String location. The given string must be a valid path to an existing cabinet or folder. The dialog will display with the given string as the location.

Parameters:
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.

Supported API:true

getFolderName

public String getFolderName()
Retrieves the string name which will be used as the name of the subfolder to be created.

Returns:
the String name of the folder being created.

Supported API:true

setFolderName

public 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.

Parameters:
name - the String name to be used as the name of the folder being created.

Supported API:true

getFolderLocation

public String getFolderLocation()
Returns the string location in which the new folder will be created. The returned string will be a path to the cabinet/folder in which the new folder will be created.

Returns:
the String location of the folder in which the new folder will be created.

Supported API:true

setFolderLocation

public void setFolderLocation(String location)
Sets the string location in which the new folder will be created with the given String. The given string must be a valid path to an existing cabinet or folder.

Parameters:
location - the String location of the folder in which the new folder be created.

Supported API:true

getParentFolder

public Folder getParentFolder()
Returns the Folder object in which the new folder will be created.

Returns:
the parent folder in which the new subfolder will be created.

Supported API:true

setParentFolder

public void setParentFolder(Folder parent_folder)
Set the parent folder in which the new subfolder will be created to the given folder.

Parameters:
parent_folder - the parent Folder in which the new subfolder will be created

Supported API:true