com.levigo.jadice.demo.pdf.crypto
Class RolloutPasswordBox

java.lang.Object
  extended by java.awt.Component
      extended by java.awt.Container
          extended by javax.swing.JComponent
              extended by javax.swing.JPanel
                  extended by com.levigo.util.swing.CollapsiblePane
                      extended by com.levigo.util.swing.effect.RolloutBox
                          extended by com.levigo.jadice.demo.pdf.crypto.RolloutPasswordBox
All Implemented Interfaces:
ImageObserver, MenuContainer, PropertyChangeListener, Serializable, EventListener, Accessible

public class RolloutPasswordBox
extends RolloutBox

See Also:
Serialized Form

Nested Class Summary
protected  class RolloutPasswordBox.ApplyAction
           
protected  class RolloutPasswordBox.CancelAction
           
 
Nested classes/interfaces inherited from class com.levigo.util.swing.CollapsiblePane
CollapsiblePane.JCollapsiblePaneContainer, CollapsiblePane.Style
 
Nested classes/interfaces inherited from class javax.swing.JPanel
JPanel.AccessibleJPanel
 
Nested classes/interfaces inherited from class javax.swing.JComponent
JComponent.AccessibleJComponent
 
Nested classes/interfaces inherited from class java.awt.Container
Container.AccessibleAWTContainer
 
Nested classes/interfaces inherited from class java.awt.Component
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy
 
Field Summary
protected  Color accessDeniedColor
           
protected  Color accessDeniedTextColor
           
protected  Color accessGrantedColor
           
protected  Color accessGrantedTextColor
           
protected  RolloutPasswordBox.ApplyAction applyAction
           
protected  JButton applyButton
           
protected  JLabel authLevelStateLabel
           
protected static String CANCEL_PROPERTY
           
protected  RolloutPasswordBox.CancelAction cancelAction
           
protected  JButton cancelButton
           
protected  Context ctx
           
protected  JLabel defaultAccessStateLabel
           
protected static String PASSWORD_FOUND_PROPERTY
           
protected  JPasswordField passwordField
           
protected  JLabel passwordLabel
           
protected  com.levigo.jadice.format.pdf.crypt.CryptoMaterialReceiver<com.levigo.jadice.format.pdf.crypt.standard.PasswordMaterial> receiver
           
 
Fields inherited from class com.levigo.util.swing.CollapsiblePane
ANIMATION_STATE_KEY, COLLAPSED_ICON, COLLAPSED_NAME, EXPANDED_ICON, EXPANDED_NAME, TOGGLE_ACTION
 
Fields inherited from class javax.swing.JComponent
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW
 
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
RolloutPasswordBox(EffectLayout.Edge position, com.levigo.jadice.format.pdf.crypt.CryptoMaterialReceiver<com.levigo.jadice.format.pdf.crypt.standard.PasswordMaterial> receiver)
           
 
Method Summary
protected  JButton createButton(Action action)
           
protected  Container createUI()
           
 boolean requestFocusInWindow()
           
 
Methods inherited from class com.levigo.util.swing.effect.RolloutBox
addNotify, isEnabled, propertyChange, removeNotify, setContentPane, setEnabled
 
Methods inherited from class com.levigo.util.swing.CollapsiblePane
addImpl, getAnimationFPS, getAnimationSteps, getBorder, getContentPanel, getInsets, getInsets, getMaxAnimationStepSize, getMinimumSize, getOrientation, getPreferredSize, getStyle, isAnimated, isCollapsed, paintBorder, setAnimated, setAnimationFPS, setAnimationSteps, setBorder, setBounds, setCollapsed, setMaxAnimationStepSize, setOrientation, setStyle
 
Methods inherited from class javax.swing.JPanel
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI
 
Methods inherited from class javax.swing.JComponent
addAncestorListener, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBaseline, getBaselineResizeBehavior, getBounds, getClientProperty, getComponentGraphics, getComponentPopupMenu, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getFontMetrics, getGraphics, getHeight, getInheritsPopupMenu, getInputMap, getInputMap, getInputVerifier, getListeners, getLocation, getMaximumSize, getNextFocusableComponent, getPopupLocation, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintChildren, paintComponent, paintImmediately, paintImmediately, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setComponentPopupMenu, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setFocusTraversalKeys, setFont, setForeground, setInheritsPopupMenu, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, update
 
Methods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, getMousePosition, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setLayout, transferFocusBackward, transferFocusDownCycle, 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, createImage, createImage, createVolatileImage, createVolatileImage, disableEvents, dispatchEvent, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, resize, resize, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setName, setSize, setSize, show, show, size, toString, transferFocus, transferFocusUpCycle
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

CANCEL_PROPERTY

protected static final String CANCEL_PROPERTY
See Also:
Constant Field Values

PASSWORD_FOUND_PROPERTY

protected static final String PASSWORD_FOUND_PROPERTY
See Also:
Constant Field Values

cancelAction

protected final RolloutPasswordBox.CancelAction cancelAction

applyAction

protected final RolloutPasswordBox.ApplyAction applyAction

accessGrantedTextColor

protected Color accessGrantedTextColor

accessDeniedTextColor

protected Color accessDeniedTextColor

accessGrantedColor

protected Color accessGrantedColor

accessDeniedColor

protected Color accessDeniedColor

passwordLabel

protected JLabel passwordLabel

passwordField

protected JPasswordField passwordField

cancelButton

protected JButton cancelButton

applyButton

protected JButton applyButton

defaultAccessStateLabel

protected JLabel defaultAccessStateLabel

authLevelStateLabel

protected JLabel authLevelStateLabel

ctx

protected Context ctx

receiver

protected com.levigo.jadice.format.pdf.crypt.CryptoMaterialReceiver<com.levigo.jadice.format.pdf.crypt.standard.PasswordMaterial> receiver
Constructor Detail

RolloutPasswordBox

public RolloutPasswordBox(EffectLayout.Edge position,
                          com.levigo.jadice.format.pdf.crypt.CryptoMaterialReceiver<com.levigo.jadice.format.pdf.crypt.standard.PasswordMaterial> receiver)
Method Detail

createUI

protected Container createUI()

createButton

protected JButton createButton(Action action)

requestFocusInWindow

public boolean requestFocusInWindow()
Overrides:
requestFocusInWindow in class JComponent


Copyright © 1995-2020 levigo holding gmbh. All Rights Reserved.