META-INF.modules.java.desktop.classes.javax.swing.JPopupMenu.class Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of java.desktop Show documentation
Show all versions of java.desktop Show documentation
Bytecoder java.desktop Module
???? :? javax/swing/JPopupMenu defaultLWPopupEnabledKey Ljava/lang/Object;
java/lang/Boolean valueOf (Z)Ljava/lang/Boolean;
javax/swing/SwingUtilities
appContextPut '(Ljava/lang/Object;Ljava/lang/Object;)V
appContextGet &(Ljava/lang/Object;)Ljava/lang/Object; TRUE Ljava/lang/Boolean;
booleanValue ()Z
! " (Ljava/lang/String;)V
$ % & ! ' javax/swing/JComponent ()V ) * + label Ljava/lang/String; - . / paintBorder Z 1 2 3 margin Ljava/awt/Insets; 5 6 / lightWeightPopup
8 9 !getDefaultLightWeightPopupEnabled ; 'javax/swing/DefaultSingleSelectionModel
: %
> ? @ setSelectionModel %(Ljavax/swing/SingleSelectionModel;)V B java/awt/AWTEvent
F G H enableEvents (J)V
J K L setFocusTraversalKeysEnabled (Z)V
N O ' updateUI Q R S ui Ljavax/swing/plaf/ComponentUI; U javax/swing/plaf/PopupMenuUI
$ W X Y setUI !(Ljavax/swing/plaf/ComponentUI;)V
[ \ ] ^ _ javax/swing/UIManager getUI 8(Ljavax/swing/JComponent;)Ljavax/swing/plaf/ComponentUI;
a X b !(Ljavax/swing/plaf/PopupMenuUI;)V d PopupMenuUI
$ f g h processFocusEvent (Ljava/awt/event/FocusEvent;)V
j k l m n javax/swing/MenuSelectionManager defaultManager $()Ljavax/swing/MenuSelectionManager;
j p q r processKeyEvent (Ljava/awt/event/KeyEvent;)V
t u v w java/awt/event/KeyEvent
isConsumed
$ p z { | selectionModel "Ljavax/swing/SingleSelectionModel;
$ ~ ? add *(Ljava/awt/Component;)Ljava/awt/Component; ? javax/swing/JMenuItem
?
? ? 0(Ljavax/swing/JMenuItem;)Ljavax/swing/JMenuItem;
? ? ? createActionComponent -(Ljavax/swing/Action;)Ljavax/swing/JMenuItem;
? ? ? ? setAction (Ljavax/swing/Action;)V ? java/awt/Point
? ? ! ? (II)V ? ? / popupPostionFixDisabled
? ? ? ? java/awt/GraphicsEnvironment
isHeadless
? ? ? getCurrentGraphicsConfiguration 2(Ljava/awt/Point;)Ljava/awt/GraphicsConfiguration;
? ? ? ? getLocalGraphicsEnvironment ()Ljava/awt/GraphicsEnvironment;
? ? ? ? getDefaultScreenDevice ()Ljava/awt/GraphicsDevice;
? ? ? ? ? java/awt/GraphicsDevice getDefaultConfiguration "()Ljava/awt/GraphicsConfiguration;
? ? ? ? ? java/awt/GraphicsConfiguration getBounds ()Ljava/awt/Rectangle;
? ? ? getPreferredSize ()Ljava/awt/Dimension; ? ? ? ? x I ? ? ? ? ? java/awt/Dimension width ? ? ? ? y ? ? ? ? height ? ? ? java/awt/Rectangle ? ?
? ? canPopupOverlapTaskBar
? ? ? ? ? java/awt/Toolkit getDefaultToolkit ()Ljava/awt/Toolkit;
? ? ? ? getScreenInsets 3(Ljava/awt/GraphicsConfiguration;)Ljava/awt/Insets; ? ? ? ? ? ? ? java/awt/Insets left ? ? ? ? ? ? top ? ? ? ? right ? ? ? ? bottom
? ? ? ? getScreenDevices ()[Ljava/awt/GraphicsDevice;
? ? ? ? getType ()I
? ? ? ? contains (Ljava/awt/Point;)Z
? ? ?
getInvoker ()Ljava/awt/Component;
? ? ? ? ? java/awt/Component getGraphicsConfiguration ? sun/awt/SunToolkit
? ? javax/swing/JPopupMenu$1
! (Ljavax/swing/JPopupMenu;)V javax/swing/JButton
?
setHorizontalTextPosition (I)V
?
setVerticalTextPosition
? getAction ()Ljavax/swing/Action;
? #createActionPropertyChangeListener0 9(Ljavax/swing/Action;)Ljava/beans/PropertyChangeListener; "java/lang/IllegalArgumentException index less than zero.
? getComponentCount 'index greater than the number of items.
$!"
remove *
%&' firePropertyChange 9(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)V )*+ accessibleContext 'Ljavax/accessibility/AccessibleContext;- %javax/accessibility/AccessibleContext/ AccessibleVisibleData
,%
23 '
invalidate
56 ' repaint8 javax/swing/JPopupMenu$Separator
7 %
~
<=> insert (Ljava/awt/Component;I)V@ java/util/Vector
? %
CDE getComponent (I)Ljava/awt/Component;
?GHI
addElement (Ljava/lang/Object;)V
!
?LMN iterator ()Ljava/util/Iterator;PQRS java/util/Iterator hasNextPUVW next ()Ljava/lang/Object; YZ[ listenerList %Ljavax/swing/event/EventListenerList;] #javax/swing/event/PopupMenuListener
_`a b #javax/swing/event/EventListenerList -(Ljava/lang/Class;Ljava/util/EventListener;)V
_d"b
_fgh getListeners -(Ljava/lang/Class;)[Ljava/util/EventListener;j &[Ljavax/swing/event/PopupMenuListener;l !javax/swing/event/MenuKeyListenern $[Ljavax/swing/event/MenuKeyListener;
_pqr getListenerList ()[Ljava/lang/Object;t javax/swing/event/PopupMenuEvent
sv !I\xyz popupMenuWillBecomeVisible %(Ljavax/swing/event/PopupMenuEvent;)V\|}z popupMenuWillBecomeInvisible\?z popupMenuCanceled ??? popup Ljavax/swing/Popup;
?? ? getWidth
?? ? getHeight
?? ' showPopup
?? ' validate
?? isVisible? JPopupMenu.firePopupMenuCanceled
?? getClientProperty ?? FALSE
?? putClientProperty
?? ' firePopupMenuCanceled
??? getSelectionModel $()Ljavax/swing/SingleSelectionModel;???? ' javax/swing/SingleSelectionModel clearSelection
?? isPopupMenu? javax/swing/MenuElement
j??? setSelectedPath ([Ljavax/swing/MenuElement;)V
?? ' firePopupMenuWillBecomeVisible? visible
?? ' firePopupMenuWillBecomeInvisible
???? ' javax/swing/Popup hide
j?? ' clearSelectedPath
????? javax/swing/PopupFactory getSharedInstance ()Ljavax/swing/PopupFactory;
?? isLightWeightPopupEnabled
???
setPopupType ?? ? desiredLocationX ?? ? desiredLocationY
??? adjustPopupLocationToFitScreen (II)Ljava/awt/Point;
? ^? ()Ljavax/swing/plaf/PopupMenuUI;
T??? getPopup /(Ljavax/swing/JPopupMenu;II)Ljavax/swing/Popup;
??? ' show ??? invoker Ljava/awt/Component;? javax/swing/JMenu
????? javax/swing/plaf/ComponentUI uninstallUI (Ljavax/swing/JComponent;)V
???? installUI
???
setInvoker (Ljava/awt/Component;)V
??? getFrame &(Ljava/awt/Component;)Ljava/awt/Frame; ??? frame Ljava/awt/Frame;
L
setVisible
? getLocationOnScreen ()Ljava/awt/Point; java/lang/Integer ????????
? setLocation
? getParent ()Ljava/awt/Container;
getComponents ()[Ljava/awt/Component;
setPreferredSize (Ljava/awt/Dimension;)V
? equals (Ljava/lang/Object;)Z
? ?
!" setPopupSize
$%& getComponentIndex (Ljava/awt/Component;)I?()
setSelectedIndex
+, isBorderPainted
$. ./ (Ljava/awt/Graphics;)V
?1 !2 (IIII)V
?456 getPopupMenu ()Ljavax/swing/JPopupMenu;
89: isSubPopupMenu (Ljavax/swing/JPopupMenu;)Z< java/awt/Frame> @ trueB false
?DEF toString ()Ljava/lang/String;
$HIF paramString KLM makeConcatWithConstants p(Ljava/lang/String;IILjava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;O +javax/swing/JPopupMenu$AccessibleJPopupMenu
N
RSTU ' java/io/ObjectOutputStream defaultWriteObjectW java/io/Serializable??
R[\I writeObject
^_F getUIClassID
ab java/lang/String
$def getWriteObjCounter (Ljavax/swing/JComponent;)B
$hij setWriteObjCounter (Ljavax/swing/JComponent;B)V
lmnop java/io/ObjectInputStream
readFields &()Ljava/io/ObjectInputStream$GetField;?
stuvw "java/io/ObjectInputStream$GetField get (Ljava/lang/String;I)I?
szv{ 8(Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object; .
s~v (Ljava/lang/String;Z)Z 2 6 {
l??W
readObject
??? ? size
???? elementAt (I)Ljava/lang/Object;
?? java/lang/Object? javax/swing/event/MenuKeyEvent
t?D ?
t?? ? getID
t??? getWhen ()J
t?? ? getModifiers
t?? ?
getKeyCode
t???
getKeyChar ()C
?? !? X(Ljava/awt/Component;IJIIC[Ljavax/swing/MenuElement;Ljavax/swing/MenuSelectionManager;)V
??? processMenuKeyEvent #(Ljavax/swing/event/MenuKeyEvent;)V
? u
t?? ' consume
??
??? fireMenuKeyPressed
??? fireMenuKeyReleased
??? fireMenuKeyTypedk??? menuKeyPressedk??? menuKeyReleasedk??? menuKeyTyped
??? L setPopupMenuVisible
T??? isPopupTrigger (Ljava/awt/event/MouseEvent;)Z? java/lang/StringBuffer? #JPopupMenu.defaultLWPopupEnabledKey
? ? %sun/security/action/GetPropertyAction? $javax.swing.adjustPopupLocationToFit
?? !? '(Ljava/lang/String;Ljava/lang/String;)V
????? java/security/AccessController doPrivileged 4(Ljava/security/PrivilegedAction;)Ljava/lang/Object;
? % ?? classLock? javax/accessibility/Accessible uiClassID
ConstantValue TRACE VERBOSE DEBUG !setDefaultLightWeightPopupEnabled Code LineNumberTable LocalVariableTable aFlag b
StackMapTable this Ljavax/swing/JPopupMenu; Ljavax/swing/plaf/PopupMenuUI; RuntimeVisibleAnnotations Ljava/beans/BeanProperty; hidden visualUpdate description :The UI object that implements the Component's LookAndFeel. bound evt Ljava/awt/event/FocusEvent; Ljava/awt/event/KeyEvent; model expert &The selection model for the popup menu menuItem Ljavax/swing/JMenuItem; +(Ljava/lang/String;)Ljavax/swing/JMenuItem; s a Ljavax/swing/Action; mi toolkit Ljava/awt/Toolkit; scrInsets xPosition yPosition
popupLocation Ljava/awt/Point; gc Ljava/awt/GraphicsConfiguration; scrBounds Ljava/awt/Rectangle; popupSize Ljava/awt/Dimension; popupRightX J popupBottomY scrWidth scrHeight scrRightX
scrBottomY dgc i ge Ljava/awt/GraphicsEnvironment; gd [Ljava/awt/GraphicsDevice; result tk createActionChangeListener <(Ljavax/swing/JMenuItem;)Ljava/beans/PropertyChangeListener; pos setLightWeightPopupEnabled