wt.clients.rn
Class CreateWTRNRequestFrame
java.lang.Object
java.awt.Component
java.awt.Container
java.awt.Window
java.awt.Frame
wt.clients.rn.CreateWTRNRequestFrame
- All Implemented Interfaces:
- Accessible, ImageObserver, MenuContainer, Serializable
- public class CreateWTRNRequestFrame
- extends Frame
- See Also:
- Serialized Form
Fields inherited from class java.awt.Frame |
CROSSHAIR_CURSOR, DEFAULT_CURSOR, E_RESIZE_CURSOR, HAND_CURSOR, ICONIFIED, MAXIMIZED_BOTH, MAXIMIZED_HORIZ, MAXIMIZED_VERT, MOVE_CURSOR, N_RESIZE_CURSOR, NE_RESIZE_CURSOR, NORMAL, NW_RESIZE_CURSOR, S_RESIZE_CURSOR, SE_RESIZE_CURSOR, SW_RESIZE_CURSOR, TEXT_CURSOR, W_RESIZE_CURSOR, WAIT_CURSOR |
Fields inherited from class java.awt.Window |
|
Fields inherited from class java.awt.Container |
|
Methods inherited from class java.awt.Frame |
finalize, getAccessibleContext, getCursorType, getExtendedState, getFrames, getIconImage, getMaximizedBounds, getMenuBar, getState, getTitle, isResizable, isUndecorated, paramString, remove, removeNotify, setCursor, setExtendedState, setIconImage, setMaximizedBounds, setMenuBar, setResizable, setState, setTitle, setUndecorated |
Methods inherited from class java.awt.Window |
addPropertyChangeListener, addPropertyChangeListener, addWindowFocusListener, addWindowListener, addWindowStateListener, applyResourceBundle, applyResourceBundle, createBufferStrategy, createBufferStrategy, dispose, getBufferStrategy, getFocusableWindowState, getFocusCycleRootAncestor, getFocusOwner, getFocusTraversalKeys, getGraphicsConfiguration, getInputContext, getListeners, getLocale, getMostRecentFocusOwner, getOwnedWindows, getOwner, getToolkit, getWarningString, getWindowFocusListeners, getWindowListeners, getWindowStateListeners, hide, isActive, isFocusableWindow, isFocusCycleRoot, isFocused, isShowing, pack, postEvent, processEvent, processWindowEvent, processWindowFocusEvent, processWindowStateEvent, removeWindowFocusListener, removeWindowListener, removeWindowStateListener, setCursor, setFocusableWindowState, setFocusCycleRoot, setLocationRelativeTo, show, 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, 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, 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 |
wtRNRequest
private WTRNRequest wtRNRequest
parentApplet
private Applet parentApplet
objectSaved
private boolean objectSaved
parentFolder
private Folder parentFolder
- The
Folder
in which to create the new document. This
folder can be any folder in the system to which the user has rights
to modify.
RESOURCE
private static String RESOURCE
- Defined constant which specifies a
String
representation of
the fully-qualified class name of the ResourceBundle
containing
localized text for the fields, labels and error-messages of this frame.
resourceBundle
private static ResourceBundle resourceBundle
- Variable which maintains the
ResourceBundle
used for getting
localized text for fields, labels and eror-messages of this frame.
fComponentsAdjusted
boolean fComponentsAdjusted
nameLabel
Label nameLabel
nameTextField
TextField nameTextField
descriptionLabel
Label descriptionLabel
descriptionTextArea
WTTextArea descriptionTextArea
responseReceivedLabel
Label responseReceivedLabel
responseReceivedCheckbox
Checkbox responseReceivedCheckbox
exceptionReceivedLabel
Label exceptionReceivedLabel
exceptionReceivedCheckbox
Checkbox exceptionReceivedCheckbox
acknowledgementReceivedLabel
Label acknowledgementReceivedLabel
acknowledgementReceivedCheckbox
Checkbox acknowledgementReceivedCheckbox
displayURLLabel
Label displayURLLabel
displayURLTextField
TextField displayURLTextField
openURLButton
Button openURLButton
createdByLabel
Label createdByLabel
createdByValueLabel
Label createdByValueLabel
createdLabel
Label createdLabel
createdValueLabel
Label createdValueLabel
buttonPanel
Panel buttonPanel
OKButton
Button OKButton
saveButton
Button saveButton
cancelButton
Button cancelButton
horizontalLine1
symantec.itools.awt.shape.HorizontalLine horizontalLine1
horizontalLine2
symantec.itools.awt.shape.HorizontalLine horizontalLine2
saveInLabel
Label saveInLabel
createInTextField
TextField createInTextField
browseButton
Button browseButton
CreateWTRNRequestFrame
public CreateWTRNRequestFrame()
CreateWTRNRequestFrame
public CreateWTRNRequestFrame(String title)
setWTRNRequest
public void setWTRNRequest(WTRNRequest wtrnr)
setParentApplet
public void setParentApplet(Applet applet)
getParentApplet
public Applet getParentApplet()
setContext
public void setContext(boolean on)
setVisible
public void setVisible(boolean b)
- Shows or hides the component depending on the boolean flag b.
- Parameters:
b
- if true, show the component; otherwise, hide the component.- See Also:
Component.isVisible()
main
public static void main(String[] args)
setParentFolder
public void setParentFolder(Folder parent_folder)
- Initializes the folder in which the new
WTRNRequest
is
to be created.
- Parameters:
parent_folder
- the Folder
in which to create
the new request object- See Also:
Cabinet
,
Folder
getParentFolder
public Folder getParentFolder()
- Returns the
Folder
in which the WTRNRequest
is to be created.
- Returns:
- the
Folder
in which the request object was created - See Also:
Folder
addNotify
public void addNotify()
initResource
private void initResource()
throws MissingResourceException
- Initialize the
ResourceBundles
used for localizing the
text of this frame. Both ResourceBundles
for labels
and fields and for error messages are initialized.
- Throws:
MissingResourceException
- See Also:
ResourceBundle
localize
private void localize()
- Localizes the field labels and localizable text by getting correct values
from a
ResourceBundle
.
- See Also:
initResource
,
ResourceBundle
browseForFolder
private void browseForFolder()
- Invoked as a result of the browse button being pressed or the
enter key being pressed when the browse button has focus. This
method launches a WTFolderBrowserDialog to allow the user to
browse for a folder in which to create the request object. The
WTFolderBrowserDialog is restricted to show only those cabinets
and folders for which the user has modify rights.
formatDate
private String formatDate(Date time)
getContext
private WTContext getContext()
- Returns the WTContext corresponding to this frame. This
method attempts to use the parent applet to get a
WTContext. If no WTContext is found using
the parent applet, this method uses the default method to
retrieve a WTContext, which will create a WTContext if no
WTContext exists.
- Returns:
- the WTContext associated with this frame.
createObject
private void createObject()
throws WTException,
WTPropertyVetoException
- Throws:
WTException
WTPropertyVetoException
updateObject
private void updateObject()
throws WTException,
WTPropertyVetoException
- Throws:
WTException
WTPropertyVetoException
dispatchRefresh
private void dispatchRefresh(Object source,
int action,
Object obj)
objectChanged
private boolean objectChanged()
CreateWTRNRequestFrame_WindowClosing
void CreateWTRNRequestFrame_WindowClosing(WindowEvent event)
saveButton_ActionPerformed
void saveButton_ActionPerformed(ActionEvent event)
cancelButton_ActionPerformed
void cancelButton_ActionPerformed(ActionEvent event)
openURLButton_ActionPerformed
void openURLButton_ActionPerformed(ActionEvent event)
createInTextField_KeyTyped
void createInTextField_KeyTyped(KeyEvent event)
browseButton_ActionPerformed
void browseButton_ActionPerformed(ActionEvent event)
OKButton_ActionPerformed
void OKButton_ActionPerformed(ActionEvent event)