wt.clients.saveas
Class SaveAsDialog

java.lang.Object
  extended byjava.awt.Component
      extended byjava.awt.Container
          extended byjava.awt.Window
              extended byjava.awt.Dialog
                  extended bywt.clients.saveas.SaveAsDialog
All Implemented Interfaces:
Accessible, ImageObserver, MenuContainer, Serializable

public class SaveAsDialog
extends Dialog

This class defines a dialog, which when filled in with user input and submitted, will create a new copy of a Versioned object.

To use this dialog in your own code, you must use the task delegate.

Supported API: false

Extendable: false

This code was generated using Visual Cafe. To modify the code, only use code syntax that matches what Visual Cafe can generate, or Visual Cafe may be unable to back parse your Java file into its visual environment.

See Also:
Serialized Form

Nested Class Summary
(package private)  class SaveAsDialog.SymAction
           
(package private)  class SaveAsDialog.SymKey
           
(package private)  class SaveAsDialog.SymWindow
           
 class SaveAsDialog.WorkThread
          The work thread for this Panel.
 
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
 
Field Summary
(package private)  Button browseButton
           
(package private)  Button cancelButton
           
private  ThreadGroup contextGroup
           
protected static int COPY
           
private  RevisionControlled copyItem
           
(package private)  Panel copyPanel
           
(package private)  boolean fComponentsAdjusted
           
private  String generateText
           
(package private)  Button helpButton
           
(package private)  HelpContext helpContext
           
(package private)  HelpSystem helpSystem
           
(package private)  symantec.itools.awt.shape.HorizontalLine horizontalLine1
           
private  boolean inDescendent
           
(package private)  LifeCycleInfo lifeCycleInfo
           
(package private)  Label locationLabel
           
(package private)  TextField locationTextField
           
private  Object lockStr
           
(package private)  Label nameLabel
           
(package private)  TextField nameTextField
           
(package private)  String newName
           
(package private)  String newNumber
           
(package private)  Label numberLabel
           
(package private)  TextField numberTextField
           
(package private)  Button okButton
           
(package private)  Panel panel1
           
(package private)  Applet parentApplet
           
(package private)  Frame parentFrame
           
private static ResourceBundle resources
           
private static String RESOURCES
           
(package private)  Folder selectedFolder
           
(package private)  Label typeIDLabel
           
private static boolean VERBOSE
           
 
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
SaveAsDialog(Frame parent, boolean modal)
          This constructor instantiates and initializes the components.
SaveAsDialog(Frame parent, String title, boolean modal)
          This constructor instantiates and initializes the components and also sets the title of the Dialog

Supported API: false
 
Method Summary
 void addNotify()
          Supported API: false
(package private)  void browseButton_Action(ActionEvent event)
           
(package private)  void browseButton_KeyPressed(KeyEvent event)
           
(package private)  void cancelButton_Action(ActionEvent event)
           
(package private)  void cancelButton_KeyPressed(KeyEvent event)
           
(package private)  void cancelCopy()
           
(package private)  void copyObject()
           
(package private)  RevisionControlled copyObjectAux(RevisionControlled copyItem)
           
private  void dispatchRefresh(int action, Object obj)
           
private  void enableActions(boolean enable)
           
private  WTContext getContext()
           
 RevisionControlled getCopyItem()
          Supported API: false
 HelpSystem getHelpSystem()
          Gets the current helpSystem.
protected  String getNameFromMaster(RevisionControlled rc_object)
           
(package private)  String getNewName()
           
(package private)  String getNewNumber()
           
 Applet getParentApplet()
          Supported API: false
(package private)  Frame getParentFrame()
           
(package private)  Folder getSelectedFolder()
           
(package private)  void helpButton_Action(ActionEvent event)
           
(package private)  void helpButton_KeyPressed(KeyEvent event)
           
private  void initHelpSystem()
           
(package private)  void initializeHelp()
           
private  void initResources()
           
(package private)  void launchFindPathDialog()
           
private  void localize()
           
(package private)  void locationTextField_KeyPressed(KeyEvent event)
           
(package private)  void nameTextField_KeyPressed(KeyEvent event)
           
(package private)  void numberTextField_KeyPressed(KeyEvent event)
           
(package private)  void okButton_Action(ActionEvent event)
           
(package private)  void okButton_KeyPressed(KeyEvent event)
           
protected  void processBrowseAction()
           
protected  void processCancelAction()
           
protected  void processHelpAction()
           
protected  void processOkAction()
           
(package private)  void SaveAsDialog_WindowClosing(WindowEvent event)
           
 void setCopyItem(RevisionControlled item)
          Supported API: false
(package private)  void setNewName(String name)
           
(package private)  void setNewNumber(String number)
           
 void setParentApplet(Applet parent_applet)
          Supported API: false
(package private)  void setParentFrame(Frame parent)
           
(package private)  void setSelectedFolder(Folder folder)
           
 void setVisible(boolean isVisible)
           
 void show()
          Deprecated. The user should call the setVisible(boolean isVisible)
 
Methods inherited from class java.awt.Dialog
dispose, 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, finalize, getBufferStrategy, getFocusableWindowState, getFocusCycleRootAncestor, getFocusOwner, getFocusTraversalKeys, getGraphicsConfiguration, getInputContext, getListeners, getLocale, getMostRecentFocusOwner, getOwnedWindows, getOwner, getToolkit, getWarningString, getWindowFocusListeners, getWindowListeners, getWindowStateListeners, isActive, isFocusableWindow, isFocusCycleRoot, isFocused, isShowing, pack, postEvent, processEvent, processWindowEvent, processWindowFocusEvent, processWindowStateEvent, removeWindowFocusListener, removeWindowListener, removeWindowStateListener, setCursor, setFocusableWindowState, setFocusCycleRoot, 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, getContainerListeners, getFocusTraversalPolicy, getInsets, getLayout, getMaximumSize, getMinimumSize, getPreferredSize, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paint, paintComponents, preferredSize, print, printComponents, processContainerEvent, remove, remove, removeAll, removeContainerListener, removeNotify, setFocusTraversalKeys, setFocusTraversalPolicy, 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, 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, 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, isOpaque, 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, setBounds, setComponentOrientation, setDropTarget, setEnabled, setFocusable, setFocusTraversalKeysEnabled, setForeground, setIgnoreRepaint, setLocale, setLocation, setLocation, setName, setSize, setSize, show, size, toString, transferFocus, transferFocusUpCycle
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

VERBOSE

private static boolean VERBOSE

selectedFolder

Folder selectedFolder

newName

String newName

newNumber

String newNumber

parentFrame

Frame parentFrame

copyItem

private RevisionControlled copyItem

parentApplet

Applet parentApplet

contextGroup

private ThreadGroup contextGroup

resources

private static ResourceBundle resources

RESOURCES

private static String RESOURCES

generateText

private String generateText

helpSystem

HelpSystem helpSystem

helpContext

HelpContext helpContext

COPY

protected static final int COPY
See Also:
Constant Field Values

fComponentsAdjusted

boolean fComponentsAdjusted

copyPanel

Panel copyPanel

typeIDLabel

Label typeIDLabel

nameLabel

Label nameLabel

nameTextField

TextField nameTextField

numberLabel

Label numberLabel

numberTextField

TextField numberTextField

locationLabel

Label locationLabel

locationTextField

TextField locationTextField

browseButton

Button browseButton

lifeCycleInfo

LifeCycleInfo lifeCycleInfo

horizontalLine1

symantec.itools.awt.shape.HorizontalLine horizontalLine1

panel1

Panel panel1

okButton

Button okButton

cancelButton

Button cancelButton

helpButton

Button helpButton

lockStr

private Object lockStr

inDescendent

private boolean inDescendent
Constructor Detail

SaveAsDialog

public SaveAsDialog(Frame parent,
                    boolean modal)
This constructor instantiates and initializes the components.

Supported API: false


SaveAsDialog

public SaveAsDialog(Frame parent,
                    String title,
                    boolean modal)
This constructor instantiates and initializes the components and also sets the title of the Dialog

Supported API: false

Method Detail

initResources

private void initResources()

localize

private void localize()

addNotify

public void addNotify()
Supported API: false


setVisible

public void setVisible(boolean isVisible)

show

public void show()
Deprecated. The user should call the setVisible(boolean isVisible)

Supported API: false


getContext

private WTContext getContext()

SaveAsDialog_WindowClosing

void SaveAsDialog_WindowClosing(WindowEvent event)

browseButton_Action

void browseButton_Action(ActionEvent event)

processBrowseAction

protected void processBrowseAction()

cancelButton_Action

void cancelButton_Action(ActionEvent event)

processCancelAction

protected void processCancelAction()

getParentApplet

public Applet getParentApplet()
Supported API: false


setParentApplet

public void setParentApplet(Applet parent_applet)
Supported API: false


setParentFrame

void setParentFrame(Frame parent)

getParentFrame

Frame getParentFrame()

setNewName

void setNewName(String name)

setNewNumber

void setNewNumber(String number)

setSelectedFolder

void setSelectedFolder(Folder folder)

getSelectedFolder

Folder getSelectedFolder()

getNewName

String getNewName()

getNewNumber

String getNewNumber()

setCopyItem

public void setCopyItem(RevisionControlled item)
Supported API: false


getCopyItem

public RevisionControlled getCopyItem()
Supported API: false


launchFindPathDialog

void launchFindPathDialog()

okButton_Action

void okButton_Action(ActionEvent event)

processOkAction

protected void processOkAction()

copyObject

void copyObject()

cancelCopy

void cancelCopy()

copyObjectAux

RevisionControlled copyObjectAux(RevisionControlled copyItem)

dispatchRefresh

private void dispatchRefresh(int action,
                             Object obj)

enableActions

private void enableActions(boolean enable)

helpButton_Action

void helpButton_Action(ActionEvent event)

processHelpAction

protected void processHelpAction()

initializeHelp

void initializeHelp()

initHelpSystem

private void initHelpSystem()

getHelpSystem

public HelpSystem getHelpSystem()
Gets the current helpSystem. If it's null, it initializes it.
Supported API: false

Returns:
helpSystem

getNameFromMaster

protected String getNameFromMaster(RevisionControlled rc_object)
                            throws Exception
Throws:
Exception

okButton_KeyPressed

void okButton_KeyPressed(KeyEvent event)

cancelButton_KeyPressed

void cancelButton_KeyPressed(KeyEvent event)

helpButton_KeyPressed

void helpButton_KeyPressed(KeyEvent event)

browseButton_KeyPressed

void browseButton_KeyPressed(KeyEvent event)

nameTextField_KeyPressed

void nameTextField_KeyPressed(KeyEvent event)

numberTextField_KeyPressed

void numberTextField_KeyPressed(KeyEvent event)

locationTextField_KeyPressed

void locationTextField_KeyPressed(KeyEvent event)