
META-INF.modules.java.desktop.classes.javax.swing.plaf.metal.MetalTitlePane.class Maven / Gradle / Ivy
???? =?
javax/swing/JComponent ()V inactiveCaption
javax/swing/UIManager getColor $(Ljava/lang/Object;)Ljava/awt/Color; %javax/swing/plaf/metal/MetalTitlePane inactiveBackground Ljava/awt/Color; inactiveCaptionText inactiveForeground inactiveCaptionBorder inactiveShadow
! " # $ 'javax/swing/plaf/metal/MetalLookAndFeel getPrimaryControlHighlight $()Ljavax/swing/plaf/ColorUIResource; & ' activeBumpsHighlight
) * $ getPrimaryControlDarkShadow , - activeBumpsShadow / 0 activeBackground 2 3 activeForeground 5 6 activeShadow 8 !javax/swing/plaf/metal/MetalBumps
: ; $ getPrimaryControl
7 = > 5(IILjava/awt/Color;Ljava/awt/Color;Ljava/awt/Color;)V @ A B activeBumps #Ljavax/swing/plaf/metal/MetalBumps;
D E $ getControlHighlight
G H $ getControlDarkShadow
J K $
getControl M N B
inactiveBumps P Q R rootPane Ljavax/swing/JRootPane; T U V
rootPaneUI (Ljavax/swing/plaf/metal/MetalRootPaneUI; X Y Z state I
\ ] installSubcomponents
_ ` determineColors
b c installDefaults
e f g createLayout ()Ljava/awt/LayoutManager;
i j k setLayout (Ljava/awt/LayoutManager;)V
m n uninstallListeners p q r window Ljava/awt/Window;
t u removeAll
w x y createWindowListener !()Ljava/awt/event/WindowListener; { | } windowListener Ljava/awt/event/WindowListener;
? ? ? ? java/awt/Window addWindowListener "(Ljava/awt/event/WindowListener;)V
? ? ? "createWindowPropertyChangeListener %()Ljava/beans/PropertyChangeListener; ? ? ? propertyChangeListener #Ljava/beans/PropertyChangeListener;
? ? ? addPropertyChangeListener &(Ljava/beans/PropertyChangeListener;)V
? ? ? removeWindowListener
? ? ? removePropertyChangeListener ? 3javax/swing/plaf/metal/MetalTitlePane$WindowHandler
? ? ? *(Ljavax/swing/plaf/metal/MetalTitlePane;)V ? ;javax/swing/plaf/metal/MetalTitlePane$PropertyChangeHandler
? ?
? ? ? getRootPane ()Ljavax/swing/JRootPane;
? ? ? ? ? javax/swing/JRootPane getWindowDecorationStyle ()I
? ? addNotify
? ? ? ? ? javax/swing/SwingUtilities getWindowAncestor '(Ljava/awt/Component;)Ljava/awt/Window; ? java/awt/Frame
? ? ? ? getExtendedState
? ? ? setState (I)V
? ? ? isActive ()Z
? ? ? setActive (Z)V
? ? installListeners
? ? updateSystemIcon
? ? removeNotify
?
? ?
createActions
? ? ?
createMenuBar ()Ljavax/swing/JMenuBar; ? ? ? menuBar Ljavax/swing/JMenuBar;
? ? ? add *(Ljava/awt/Component;)Ljava/awt/Component;
? ?
createButtons ? ? ?
iconifyButton Ljavax/swing/JButton; ? ? ? toggleButton ? ? ? closeButton ?
activeCaption ? activeCaptionText ? activeCaptionBorder ? +OptionPane.errorDialog.titlePane.background ? +OptionPane.errorDialog.titlePane.foreground ? 'OptionPane.errorDialog.titlePane.shadow ? .OptionPane.questionDialog.titlePane.background ? .OptionPane.questionDialog.titlePane.foreground ? *OptionPane.questionDialog.titlePane.shadow ? -OptionPane.warningDialog.titlePane.background ? -OptionPane.warningDialog.titlePane.foreground ? )OptionPane.warningDialog.titlePane.shadow
7
setBumpColors 3(Ljava/awt/Color;Ljava/awt/Color;Ljava/awt/Color;)V InternalFrame.titleFont
getLocale ()Ljava/util/Locale;
getFont 5(Ljava/lang/Object;Ljava/util/Locale;)Ljava/awt/Font;
setFont (Ljava/awt/Font;)V 3javax/swing/plaf/metal/MetalTitlePane$SystemMenuBar
?
? javax/swing/JMenuBar setFocusable
? setBorderPainted
createMenu ()Ljavax/swing/JMenu;
" ?# ((Ljavax/swing/JMenu;)Ljavax/swing/JMenu;
%&' getWindow ()Ljava/awt/Window;) java/awt/event/WindowEvent
(+ , (Ljava/awt/Window;I)V
./0
dispatchEvent (Ljava/awt/AWTEvent;)V
234 getFrame ()Ljava/awt/Frame;
?67 ? setExtendedState9 1javax/swing/plaf/metal/MetalTitlePane$CloseAction
8 ? <=> closeAction Ljavax/swing/Action;@ 3javax/swing/plaf/metal/MetalTitlePane$IconifyAction
? ? CD>
iconifyActionF 3javax/swing/plaf/metal/MetalTitlePane$RestoreAction
E ? IJ>
restoreActionL 4javax/swing/plaf/metal/MetalTitlePane$MaximizeAction
K ? OP> maximizeActionR javax/swing/JMenuT
QV W (Ljava/lang/String;)V
YZ[ addMenuItems (Ljavax/swing/JMenu;)V
?
Q^ ?_ -(Ljavax/swing/Action;)Ljavax/swing/JMenuItem;a MetalTitlePane.restoreMnemonic
cdefg !javax/swing/plaf/metal/MetalUtils getInt (Ljava/lang/Object;I)I
ijkl ? javax/swing/JMenuItem setMnemonicn MetalTitlePane.iconifyMnemonic
pqrst java/awt/Toolkit getDefaultToolkit ()Ljava/awt/Toolkit;
pvwx isFrameStateSupported (I)Zz MetalTitlePane.maximizeMnemonic| javax/swing/JSeparator
{
Q ?? MetalTitlePane.closeMnemonic? javax/swing/JButton
?
??? ? setFocusPainted
?
??? ? setOpaque
??? createTitleButton ()Ljavax/swing/JButton;
???? setAction (Ljavax/swing/Action;)V
???W setText? paintActive ????? java/lang/Boolean TRUE Ljava/lang/Boolean;
???? putClientProperty '(Ljava/lang/Object;Ljava/lang/Object;)V ??? handyEmptyBorder Ljavax/swing/border/Border;
???? setBorder (Ljavax/swing/border/Border;)V? %javax/accessibility/AccessibleContext? AccessibleName? Close? InternalFrame.closeIcon
??? getIcon &(Ljava/lang/Object;)Ljavax/swing/Icon;
???? setIcon (Ljavax/swing/Icon;)V? InternalFrame.maximizeIcon ??? maximizeIcon Ljavax/swing/Icon;? InternalFrame.minimizeIcon ??? minimizeIcon? Iconify? InternalFrame.iconifyIcon? Maximize? 5javax/swing/plaf/metal/MetalTitlePane$TitlePaneLayout
? ? ???? FALSE
??? repaint
? ?? (IZ)V
???? getBorder ()Ljavax/swing/border/Border;? javax/swing/plaf/UIResource
??? ? isShowing
??
????? &javax/swing/plaf/metal/MetalRootPaneUI
installBorder (Ljavax/swing/JRootPane;)V
??? ? isResizable
??? updateToggleButton )(Ljavax/swing/Action;Ljavax/swing/Icon;)V???? ? javax/swing/Action
setEnabled
???? getParent ()Ljava/awt/Container;
??
revalidate
?
??? remove (Ljava/awt/Component;)V
? getTitle ()Ljava/lang/String; java/awt/Dialog
? getComponentOrientation !()Ljava/awt/ComponentOrientation;
? java/awt/ComponentOrientation
isLeftToRight
? getWidth
? getHeight
java/awt/Graphics setColor (Ljava/awt/Color;)V
fillRect (IIII)V
!" drawLine
%&'() sun/swing/SwingUtilities2 getFontMetrics C(Ljavax/swing/JComponent;Ljava/awt/Graphics;)Ljava/awt/FontMetrics;
+, java/awt/FontMetrics
+./ ? getAscent1 java/awt/Rectangle
03
?567 getBounds ()Ljava/awt/Rectangle; 09: Z x
=>? getInsets ()Ljava/awt/Insets; ABCD Z java/awt/Insets right
%FGH clipStringIfNecessary U(Ljavax/swing/JComponent;Ljava/awt/FontMetrics;Ljava/lang/String;I)Ljava/lang/String; 0JK Z width
%MNO stringWidth C(Ljavax/swing/JComponent;Ljava/awt/FontMetrics;Ljava/lang/String;)I
%QRS
drawString B(Ljavax/swing/JComponent;Ljava/awt/Graphics;Ljava/lang/String;II)V UV Z buttonsWidth
7XYZ setBumpArea (II)V
7\]^ paintIcon ,(Ljava/awt/Component;Ljava/awt/Graphics;II)V `ab
systemIcon Ljava/awt/Image;
def
getIconImages ()Ljava/util/List; hij $assertionsDisabled Zl java/lang/AssertionError
k opqr ? java/util/List sizeotuv get (I)Ljava/lang/Object;x java/awt/Image
z{|}~ sun/awt/SunToolkit getScaledIconImage 2(Ljava/util/List;II)Ljava/awt/image/BufferedImage;
???? ? java/lang/Class desiredAssertionStatus? javax/swing/border/EmptyBorder
?3 IMAGE_HEIGHT
ConstantValue IMAGE_WIDTH B(Ljavax/swing/JRootPane;Ljavax/swing/plaf/metal/MetalRootPaneUI;)V Code LineNumberTable LocalVariableTable this 'Ljavax/swing/plaf/metal/MetalTitlePane; root ui uninstall
StackMapTable decorationStyle uninstallDefaults close iconify frame Ljava/awt/Frame; maximize restore menu Ljavax/swing/JMenu; locale Ljava/util/Locale; mi Ljavax/swing/JMenuItem; mnemonic? java/util/Locale button activeB updateRegardless w action icon paintComponent (Ljava/awt/Graphics;)V
background
foreground
darkShadow bumps titleW fm Ljava/awt/FontMetrics; yOffset rect Ljava/awt/Rectangle; titleLength bumpXOffset
bumpLength g Ljava/awt/Graphics; leftToRight
isSelected height xOffset theTitle Ljava/lang/String; bumpYOffset
bumpHeight? java/awt/Color? java/lang/String icons Ljava/util/List; LocalVariableTypeTable "Ljava/util/List;
SourceFile MetalTitlePane.java NestMembers InnerClasses
WindowHandler PropertyChangeHandler
SystemMenuBar CloseAction
IconifyAction
RestoreAction MaximizeAction TitlePaneLayout ?? ? Z ? ? ? Z ? ? ? ? ? ? => D> J> P> ? ? ? ? ? ? ?? ?? ab | } q r Q R V Z Y Z U V ' - 0 3 6 A B N B ij # ? ? $ ?*? *? ? *? ? *? ? *? ? %*? (? +*? .*? 1*? 4*? 7Y*? %*? +? 9?