wt.clients.filevault
Class FraFvRule

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

public class FraFvRule
extends Frame
implements AppletListener

See Also:
Serialized Form

Nested Class Summary
(package private)  class FraFvRule.SymAction
           
(package private)  class FraFvRule.SymItem
           
(package private)  class FraFvRule.SymWindow
           
 
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  FvMountInfoMaster _master
          Reference to the object which provides a uniform snapshot of all the views.
private  SiteInfoMaster _siteMaster
          Reference to the object which knows all about the sites.
private  Hashtable _vaultSite
           
(package private)  symantec.itools.awt.LabelButton btnCancel
           
(package private)  symantec.itools.awt.LabelButton btnOk
           
(package private)  Choice cboSite
           
(package private)  EnumeratedChoice cboState
           
(package private)  WTContext context
           
private static Font crossLocaleFont
           
(package private)  boolean fComponentsAdjusted
           
(package private)  Vector fileVaultVector
           
(package private)  Vector fullClassName
           
private  HelpContext helpContext
           
private  HelpSystem helpSystem
           
(package private)  symantec.itools.awt.shape.HorizontalLine horizontalLine1
           
(package private)  symantec.itools.awt.WrappingLabel lblClass
           
(package private)  symantec.itools.awt.WrappingLabel lblDomain
           
(package private)  symantec.itools.awt.WrappingLabel lblFV
           
(package private)  symantec.itools.awt.WrappingLabel lblSite
           
(package private)  symantec.itools.awt.WrappingLabel lblState
           
(package private)  List lstFv
           
private  String myClass
           
private  String myDomain
           
private  String myFileVault
           
private  Container myParent
           
(package private)  FvPolicyRule myRule
           
private  String mySite
           
private  State myState
           
(package private)  Panel panButtons
           
(package private)  Panel panSelector
           
(package private)  Applet parentApplet
           
(package private) static ResourceBundle RB
           
private static String RESOURCE
           
private  int ruleCode
           
(package private)  symantec.itools.awt.StatusBar sbrStatusBar
           
(package private)  symantec.itools.awt.TreeView treClass
           
private  boolean updateRule
           
 
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 wt.util.AppletListener
versionID
 
Fields inherited from interface java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
 
Constructor Summary
FraFvRule()
           
FraFvRule(Applet parentApplet, Container myParent, FvMountInfoMaster master, String title, int ruleCode, String myDomain, HelpSystem helpSystem)
           
FraFvRule(Applet parentApplet, Container myParent, FvMountInfoMaster master, String title, int ruleCode, String myDomain, HelpSystem helpSystem, String myClass, State myState, String myFileVault, String mySite, FvPolicyRule myRule)
           
 
Method Summary
 void addNotify()
           
private  void addVaultsToList(Enumeration vaults, String selectedVaultName)
           
(package private)  void btnCancel_ActionPerformed(ActionEvent event)
           
(package private)  void btnOk_ActionPerformed(ActionEvent event)
           
(package private)  void cboSite_ItemStateChanged(ItemEvent event)
           
 void destroy()
           
(package private)  void Frame1_WindowClosing(WindowEvent event)
           
static Vector getClassesVector()
           
 void initAllData()
          Initialize all data
static void main(String[] args)
           
(package private)  void populateClasses()
           
(package private)  void populateClasses(String className)
           
(package private)  void populateFileVaults()
           
(package private)  void populateFileVaults(String mySite, String fvName)
           
(package private)  void populateSites()
           
(package private)  void populateSites(String mySite)
           
(package private)  void populateStates()
           
(package private)  void populateStates(State myState)
           
 void setVisible(boolean b)
          Shows or hides the component depending on the boolean flag b.
 void start()
           
 void stop()
           
private  boolean updateRule()
           
(package private)  boolean validateMe()
           
 
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

myParent

private Container myParent

helpSystem

private HelpSystem helpSystem

helpContext

private HelpContext helpContext

parentApplet

Applet parentApplet

context

WTContext context

myDomain

private String myDomain

myClass

private String myClass

myState

private State myState

myFileVault

private String myFileVault

mySite

private String mySite

ruleCode

private int ruleCode

myRule

FvPolicyRule myRule

fullClassName

Vector fullClassName

fileVaultVector

Vector fileVaultVector

_vaultSite

private Hashtable _vaultSite

updateRule

private boolean updateRule

_master

private FvMountInfoMaster _master
Reference to the object which provides a uniform snapshot of all the views.


_siteMaster

private SiteInfoMaster _siteMaster
Reference to the object which knows all about the sites.


RESOURCE

private static final String RESOURCE
See Also:
Constant Field Values

RB

static ResourceBundle RB

crossLocaleFont

private static Font crossLocaleFont

fComponentsAdjusted

boolean fComponentsAdjusted

lblDomain

symantec.itools.awt.WrappingLabel lblDomain

panSelector

Panel panSelector

lblSite

symantec.itools.awt.WrappingLabel lblSite

lblClass

symantec.itools.awt.WrappingLabel lblClass

treClass

symantec.itools.awt.TreeView treClass

lblState

symantec.itools.awt.WrappingLabel lblState

cboState

EnumeratedChoice cboState

lblFV

symantec.itools.awt.WrappingLabel lblFV

cboSite

Choice cboSite

lstFv

List lstFv

horizontalLine1

symantec.itools.awt.shape.HorizontalLine horizontalLine1

panButtons

Panel panButtons

btnOk

symantec.itools.awt.LabelButton btnOk

btnCancel

symantec.itools.awt.LabelButton btnCancel

sbrStatusBar

symantec.itools.awt.StatusBar sbrStatusBar
Constructor Detail

FraFvRule

public FraFvRule()

FraFvRule

public FraFvRule(Applet parentApplet,
                 Container myParent,
                 FvMountInfoMaster master,
                 String title,
                 int ruleCode,
                 String myDomain,
                 HelpSystem helpSystem,
                 String myClass,
                 State myState,
                 String myFileVault,
                 String mySite,
                 FvPolicyRule myRule)

FraFvRule

public FraFvRule(Applet parentApplet,
                 Container myParent,
                 FvMountInfoMaster master,
                 String title,
                 int ruleCode,
                 String myDomain,
                 HelpSystem helpSystem)
Method Detail

initAllData

public void initAllData()
Initialize all data


getClassesVector

public static Vector getClassesVector()
                               throws Exception
Throws:
Exception

populateClasses

void populateClasses()
               throws Exception
Throws:
Exception

populateClasses

void populateClasses(String className)

populateStates

void populateStates()
              throws Exception
Throws:
Exception

populateStates

void populateStates(State myState)
              throws Exception
Throws:
Exception

populateFileVaults

void populateFileVaults()
                  throws Exception
Throws:
Exception

populateFileVaults

void populateFileVaults(String mySite,
                        String fvName)
                  throws Exception
Throws:
Exception

addVaultsToList

private void addVaultsToList(Enumeration vaults,
                             String selectedVaultName)

populateSites

void populateSites()
             throws Exception
Throws:
Exception

populateSites

void populateSites(String mySite)
             throws Exception
Throws:
Exception

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)

updateRule

private boolean updateRule()

btnOk_ActionPerformed

void btnOk_ActionPerformed(ActionEvent event)

btnCancel_ActionPerformed

void btnCancel_ActionPerformed(ActionEvent event)

validateMe

boolean validateMe()

start

public void start()
Specified by:
start in interface AppletListener

stop

public void stop()
Specified by:
stop in interface AppletListener

destroy

public void destroy()
Specified by:
destroy in interface AppletListener

cboSite_ItemStateChanged

void cboSite_ItemStateChanged(ItemEvent event)