wt.clients.filevault
Class AdminEditFolder

java.lang.Object
  extended byjava.awt.Component
      extended byjava.awt.Container
          extended byjava.awt.Window
              extended byjava.awt.Frame
                  extended bywt.clients.filevault.AdminEditFolder
All Implemented Interfaces:
Accessible, ImageObserver, MenuContainer, Serializable

public class AdminEditFolder
extends Frame

See Also:
Serialized Form

Nested Class Summary
(package private)  class AdminEditFolder.SymAction
           
(package private)  class AdminEditFolder.SymItem
           
(package private)  class AdminEditFolder.SymWindow
           
(package private)  class AdminEditFolder.WaitForShow
           
 
Nested classes inherited from class java.awt.Frame
Frame.AccessibleAWTFrame
 
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
private  int _actionCount
           
private  ThreadGroup _contextGroup
           
private  boolean _folderDataChanged
           
private  boolean _folderHasMounts
          Does this folder have any mounts?
private  FvAdminFolderInfo _folderInfo
           
private  boolean _folderIsDirty
          If a save fails, there could be crud in the fields when cancel gets clicked.
private  HelpContext _helpContext
           
private  HelpSystem _helpSystem
           
private  boolean _isNew
           
private  FvMountInfoMaster _master
          reference to the object which insures consistency between all filevault objects
private  ResourceBundle _rb
          Cached copy of the reference to the resource bundle
private  boolean _vaultChanged
           
private  String _vaultName
           
(package private)  symantec.itools.awt.LabelButton cancelButt
           
private static Font crossLocaleFont
           
(package private)  Checkbox enabledCheck
           
private static double EPSILON
           
(package private)  boolean fComponentsAdjusted
           
(package private)  symantec.itools.awt.WrappingLabel folderLab
           
(package private)  TextField folderNameField
           
private static long GBVAL
           
(package private)  symantec.itools.awt.LabelButton helpButt
           
private  boolean isPDMLinkInstalled
          booleans to store the status of installed components
private  boolean isProjectLinkInstalled
           
private static long KBVAL
           
private static long MBVAL
           
(package private)  symantec.itools.awt.LabelButton okButt
           
(package private)  Panel panel1
           
(package private)  Panel panel2
           
(package private)  Panel panel3
           
private  String PERCENT
           
(package private)  Checkbox readOnlyCheck
           
private  String SIZE_GB
           
private  String SIZE_KB
           
private  String SIZE_MB
           
(package private)  symantec.itools.awt.StatusBar statusBar1
           
private static int TIME_OUT
          Wait timeout for Netscape delay timer.
(package private)  Choice vaultChoice
           
(package private)  symantec.itools.awt.WrappingLabel vaultLab
           
 
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
 
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
private AdminEditFolder()
           
  AdminEditFolder(FvAdminFolderInfo folderInfo, FvMountInfoMaster master)
           
 
Method Summary
 void addNotify()
           
(package private)  void cancelButt_ActionPerformed(ActionEvent event)
           
(package private)  void enabledCheck_ItemStateChanged(ItemEvent event)
           
private  void fillFolderInfo()
           
(package private)  void folderNameField_EnterHit(ActionEvent event)
           
(package private)  void Frame1_WindowClosing(WindowEvent event)
           
private  WTContext getContext()
           
 HelpContext getHelpContext()
          Gets the HelpContext instance associated with this screen., This method is public by Windchill convention
 HelpSystem getHelpSystem()
          Gets the HelpSystem instance associated with this screen.
(package private)  void helpButt_ActionPerformed(ActionEvent event)
           
private  void initHelpSystem()
          Initializes the help system.
private  void initializeHelp()
          Begin Help Boiler plate
private  void localize()
          Set the labels to their appropriate values given the locale.
static void main(String[] args)
           
private  PropertyChangeListener newHelpListener()
          newHelpListener This function adds a listener to respond to the component mouse over events.
(package private)  void okButt_ActionPerformed(ActionEvent event)
           
(package private)  void readOnlyCheck_ItemStateChanged(ItemEvent event)
           
private  void setContext(boolean contextOn)
           
 void setVisible(boolean b)
          Shows or hides the component depending on the boolean flag b.
private  void stopHelp()
          stopHelp should be called every time the window gets closed.
private  boolean validateEntries()
          This function verifies that the folder has valid entries.
(package private)  void vaultChoice_ItemStateChanged(ItemEvent event)
           
 
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
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.awt.MenuContainer
getFont, postEvent
 

Field Detail

_contextGroup

private ThreadGroup _contextGroup

_helpSystem

private HelpSystem _helpSystem

_helpContext

private HelpContext _helpContext

EPSILON

private static final double EPSILON
See Also:
Constant Field Values

GBVAL

private static final long GBVAL
See Also:
Constant Field Values

MBVAL

private static final long MBVAL
See Also:
Constant Field Values

KBVAL

private static final long KBVAL
See Also:
Constant Field Values

SIZE_GB

private String SIZE_GB

SIZE_MB

private String SIZE_MB

SIZE_KB

private String SIZE_KB

PERCENT

private String PERCENT

_vaultName

private String _vaultName

TIME_OUT

private static final int TIME_OUT
Wait timeout for Netscape delay timer.

See Also:
Constant Field Values

_master

private FvMountInfoMaster _master
reference to the object which insures consistency between all filevault objects


_isNew

private boolean _isNew

_folderInfo

private FvAdminFolderInfo _folderInfo

_folderIsDirty

private boolean _folderIsDirty
If a save fails, there could be crud in the fields when cancel gets clicked.


_vaultChanged

private boolean _vaultChanged

_folderDataChanged

private boolean _folderDataChanged

_rb

private ResourceBundle _rb
Cached copy of the reference to the resource bundle


crossLocaleFont

private static Font crossLocaleFont

_folderHasMounts

private boolean _folderHasMounts
Does this folder have any mounts?


_actionCount

private int _actionCount

isPDMLinkInstalled

private boolean isPDMLinkInstalled
booleans to store the status of installed components


isProjectLinkInstalled

private boolean isProjectLinkInstalled

fComponentsAdjusted

boolean fComponentsAdjusted

panel3

Panel panel3

panel1

Panel panel1

vaultLab

symantec.itools.awt.WrappingLabel vaultLab

folderNameField

TextField folderNameField

vaultChoice

Choice vaultChoice

folderLab

symantec.itools.awt.WrappingLabel folderLab

readOnlyCheck

Checkbox readOnlyCheck

enabledCheck

Checkbox enabledCheck

panel2

Panel panel2

okButt

symantec.itools.awt.LabelButton okButt

cancelButt

symantec.itools.awt.LabelButton cancelButt

helpButt

symantec.itools.awt.LabelButton helpButt

statusBar1

symantec.itools.awt.StatusBar statusBar1
Constructor Detail

AdminEditFolder

private AdminEditFolder()

AdminEditFolder

public AdminEditFolder(FvAdminFolderInfo folderInfo,
                       FvMountInfoMaster master)
Method Detail

localize

private void localize()
Set the labels to their appropriate values given the locale.


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)

addNotify

public void addNotify()

Frame1_WindowClosing

void Frame1_WindowClosing(WindowEvent event)

validateEntries

private boolean validateEntries()
This function verifies that the folder has valid entries. A basic sanity check is done on the required values. The level of checking should be configurable via the filevault.properties value, but for now the error is on the side of database integrity.


cancelButt_ActionPerformed

void cancelButt_ActionPerformed(ActionEvent event)

vaultChoice_ItemStateChanged

void vaultChoice_ItemStateChanged(ItemEvent event)

fillFolderInfo

private void fillFolderInfo()

okButt_ActionPerformed

void okButt_ActionPerformed(ActionEvent event)

initializeHelp

private void initializeHelp()
Begin Help Boiler plate


getHelpContext

public HelpContext getHelpContext()
Gets the HelpContext instance associated with this screen., This method is public by Windchill convention


getHelpSystem

public HelpSystem getHelpSystem()
Gets the HelpSystem instance associated with this screen. Windchill convention says that this function should be public.


initHelpSystem

private void initHelpSystem()
Initializes the help system.


newHelpListener

private PropertyChangeListener newHelpListener()
newHelpListener This function adds a listener to respond to the component mouse over events. It updates the status bar everytime the mouse passes over one of the buttons.


stopHelp

private void stopHelp()
stopHelp should be called every time the window gets closed.


helpButt_ActionPerformed

void helpButt_ActionPerformed(ActionEvent event)

getContext

private WTContext getContext()

setContext

private void setContext(boolean contextOn)

folderNameField_EnterHit

void folderNameField_EnterHit(ActionEvent event)

readOnlyCheck_ItemStateChanged

void readOnlyCheck_ItemStateChanged(ItemEvent event)

enabledCheck_ItemStateChanged

void enabledCheck_ItemStateChanged(ItemEvent event)