wt.security
Class PrivilegesDialog
java.lang.Object
java.awt.Component
java.awt.Container
java.awt.Window
java.awt.Dialog
wt.security.PrivilegesDialog
- All Implemented Interfaces:
- Accessible, ImageObserver, MenuContainer, Serializable
- public class PrivilegesDialog
- extends Dialog
- See Also:
- Serialized Form
Fields inherited from class java.awt.Dialog |
|
Fields inherited from class java.awt.Window |
|
Fields inherited from class java.awt.Container |
|
Methods inherited from class java.awt.Dialog |
addNotify, dispose, getAccessibleContext, getTitle, hide, isModal, isResizable, isUndecorated, paramString, setModal, setResizable, setTitle, setUndecorated, show |
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 |
RESOURCE
private static final String RESOURCE
- See Also:
- Constant Field Values
RB
private ResourceBundle RB
privilegeSet
private PrivilegeSet privilegeSet
requestedCapabilities
private Object[] requestedCapabilities
granted
private boolean granted
parentFrame
private Frame parentFrame
titlePanel
private Panel titlePanel
mainPanel
private Panel mainPanel
buttonPanel
private Panel buttonPanel
message
private TextArea message
title
private Label title
subtitle
private Label subtitle
rememberDecision
private Checkbox rememberDecision
grantButton
private Button grantButton
denyButton
private Button denyButton
editButton
private Button editButton
helpButton
private Button helpButton
wAdapter
PrivilegesDialog.MyWindowAdapter wAdapter
aListener
PrivilegesDialog.MyActionListener aListener
PrivilegesDialog
PrivilegesDialog(Frame parent,
boolean modal)
init
public void init()
refresh
void refresh()
setVisible
public void setVisible(boolean tf)
getTitlePanel
private Panel getTitlePanel()
getMainPanel
private TextArea getMainPanel()
getMessage
private TextArea getMessage()
getButtonPanel
private Panel getButtonPanel()
getRememberDecision
private Checkbox getRememberDecision()
getGrantButton
private Button getGrantButton()
grantButtonPressed
void grantButtonPressed(ActionEvent event)
getDenyButton
private Button getDenyButton()
denyButtonPressed
void denyButtonPressed(ActionEvent event)
getEditButton
private Button getEditButton()
editButtonPressed
void editButtonPressed(ActionEvent event)
getParentFrame
private Frame getParentFrame()
getHelpButton
private Button getHelpButton()
helpButtonPressed
void helpButtonPressed(ActionEvent event)
setPrivilegeSet
void setPrivilegeSet(PrivilegeSet privilegeSet)
setRequestedCapabilities
void setRequestedCapabilities(Object[] requestedCapabilities)
getRequestedCapabilities
String getRequestedCapabilities()
checkAccess
boolean checkAccess()
throws WTSecurityException
- Throws:
WTSecurityException
checkAccess
boolean checkAccess(boolean throwException)
throws WTSecurityException
- Throws:
WTSecurityException
closeWindow
void closeWindow()