All Downloads are FREE. Search and download functionalities are using the official Maven repository.

META-INF.modules.java.desktop.classes.sun.swing.MenuItemLayoutHelper.class Maven / Gradle / Ivy

There is a newer version: 2024-05-10
Show newest version
????:?
java/lang/Object()V
	
sun/swing/MenuItemLayoutHelperreset?(Ljavax/swing/JMenuItem;Ljavax/swing/Icon;Ljavax/swing/Icon;Ljava/awt/Rectangle;ILjava/lang/String;ZLjava/awt/Font;Ljava/awt/Font;ZLjava/lang/String;)V	miLjavax/swing/JMenuItem;
getMenuItemParent1(Ljavax/swing/JMenuItem;)Ljavax/swing/JComponent;	miParentLjavax/swing/JComponent;

getAccText&(Ljava/lang/String;)Ljava/lang/String;	 accTextLjava/lang/String;
"#$%&javax/swing/JMenuItemgetVerticalAlignment()I	()*verticalAlignmentI
",-&getHorizontalAlignment	/0*horizontalAlignment
"23&getVerticalTextPosition	56*verticalTextPosition
"89&getHorizontalTextPosition	;<*horizontalTextPosition	>?@useCheckAndArrowZ	BCDfontLjava/awt/Font;	FGDaccFont
"IJKgetFontMetrics'(Ljava/awt/Font;)Ljava/awt/FontMetrics;	MNOfmLjava/awt/FontMetrics;	QROaccFm	TU@
isLeftToRight
WXYisColumnLayout(ZIII)Z	[X@	]^@isTopLevelMenu	`ab	checkIconLjavax/swing/Icon;
defgetIcon&(Ljava/lang/String;)Ljavax/swing/Icon;	hibicon	klb	arrowIcon
"nopgetText()Ljava/lang/String;	rs text	uv*gap
xyzgetAfterCheckIconGap(Ljava/lang/String;)I	|}*afterCheckIconGap
?zgetMinTextOffset	??*
minTextOffset? javax/swing/plaf/basic/BasicHTML?html
"???getClientProperty&(Ljava/lang/Object;)Ljava/lang/Object;?javax/swing/text/View	???htmlViewLjavax/swing/text/View;	???viewRectLjava/awt/Rectangle;?'sun/swing/MenuItemLayoutHelper$RectSize
?	???iconSize)Lsun/swing/MenuItemLayoutHelper$RectSize;	???textSize	???accSize	???	checkSize	???	arrowSize	???	labelSize
??calcExtraWidths
??calcWidthsAndHeights
??setOriginalWidths
??
calcMaxWidths
??z
getLeadingGap	??*
leadingGap
???calcMaxTextOffset(Ljava/awt/Rectangle;)V
??zgetLeftExtraWidth	??*leftTextExtraWidth
?????sun/swing/SwingUtilities2getLeftSideBearingC(Ljavax/swing/JComponent;Ljava/awt/FontMetrics;Ljava/lang/String;)I	???*width	???*	origWidth?
"???getAccelerator()Ljavax/swing/KeyStroke;
????&javax/swing/KeyStrokegetModifiers
?????java/awt/event/KeyEventgetKeyModifiersText(I)Ljava/lang/String;???makeConcatWithConstants8(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
???&
getKeyCode
????
getKeyText
????
getKeyChar()C???'(Ljava/lang/String;C)Ljava/lang/String;??
?????javax/swing/UIManagerget?"sun/swing/MenuItemCheckIconFactory?isCompatible'(Ljava/lang/Object;Ljava/lang/String;)Z
"e()Ljavax/swing/Icon;?java/lang/Integer

&intValue?
?&getMaxWidth
zgetCheckOffset?&javax/swing/IcongetIconWidth&
getIconHeight	?*height
 !"#$java/lang/StringisEmpty()Z
?&'?stringWidth
)*+,&java/awt/FontMetrics	getHeight
?./0getPreferredSpan(I)F
234max([I)I6java/awt/Rectangle
5
9:;<=javax/swing/SwingUtilitieslayoutCompoundLabel?(Ljavax/swing/JComponent;Ljava/awt/FontMetrics;Ljava/lang/String;Ljavax/swing/Icon;IIIILjava/awt/Rectangle;Ljava/awt/Rectangle;Ljava/awt/Rectangle;I)Ljava/lang/String;	5?
5@ABunion*(Ljava/awt/Rectangle;)Ljava/awt/Rectangle;	5	EFGMAX_CHECK_WIDTH%Lsun/swing/StringUIClientPropertyKey;
IJKcalcMaxWidth>(Lsun/swing/MenuItemLayoutHelper$RectSize;Ljava/lang/Object;)V	MNGMAX_ARROW_WIDTH	PQG
MAX_ACC_WIDTH	STGMAX_ICON_WIDTH	VWGMAX_TEXT_WIDTH	YZGMAX_LABEL_WIDTH	?\]*maxWidth
_`acalcMaxValue(Ljava/lang/Object;I)I
cdegetParentIntProperty(Ljava/lang/Object;)I
ghivalueOf(I)Ljava/lang/Integer;
klmnojavax/swing/JComponentputClientProperty'(Ljava/lang/Object;Ljava/lang/Object;)V
k?	rs@$assertionsDisabledujava/lang/AssertionError
txjavax/swing/SwingConstants	5z{*x	?}~GBASICMENUITEMUI_MAX_TEXT_OFFSET
???createLayoutResult/()Lsun/swing/MenuItemLayoutHelper$LayoutResult;
???prepareForLayout0(Lsun/swing/MenuItemLayoutHelper$LayoutResult;)V
?X$
?U$
???getLTRColumnAlignment2()Lsun/swing/MenuItemLayoutHelper$ColumnAlignment;
???doLTRColumnLayout`(Lsun/swing/MenuItemLayoutHelper$LayoutResult;Lsun/swing/MenuItemLayoutHelper$ColumnAlignment;)V
???getRTLColumnAlignment
???doRTLColumnLayout
???doLTRComplexLayout
???doRTLComplexLayout
???alignAccCheckAndArrowVertically?+sun/swing/MenuItemLayoutHelper$LayoutResult
5??(II)V
???{(Ljava/awt/Rectangle;Ljava/awt/Rectangle;Ljava/awt/Rectangle;Ljava/awt/Rectangle;Ljava/awt/Rectangle;Ljava/awt/Rectangle;)V	?????.sun/swing/MenuItemLayoutHelper$ColumnAlignmentLEFT_ALIGNMENT0Lsun/swing/MenuItemLayoutHelper$ColumnAlignment;	????RIGHT_ALIGNMENT	????	checkRect	????accRect	????	arrowRect	????	labelRect	5??*y
???fixVerticalAlignmentD(Lsun/swing/MenuItemLayoutHelper$LayoutResult;Ljava/awt/Rectangle;)V	????iconRect	????textRect
???calcXPositionsLTR(III[Ljava/awt/Rectangle;)V
???calcXPositionsRTL
???
alignRects
???calcTextAndIconYPositions
????setLabelRect
???calcLabelYPosition
???layoutIconAndTextInLabelRect
???&getCheckAlignment
???&getOrigWidth
???	alignRect(Ljava/awt/Rectangle;II)V
???&getIconAlignment
???&getTextAlignment
???&getAccAlignment
???&getArrowAlignment
????setTextRect
????setIconRect
"?	getParent()Ljava/awt/Container;javax/swing/JMenu
^$
	clearUsedClientProperties(Ljavax/swing/JComponent;)V????
5
(IIII)V	?java/awt/Dimension
$java/lang/ClassdesiredAssertionStatus#sun/swing/StringUIClientPropertyKey
maxArrowWidth
(Ljava/lang/String;)V
maxCheckWidth!maxIconWidth#maxTextWidth%maxAccWidth'
maxLabelWidthCodeLineNumberTableLocalVariableTablethis Lsun/swing/MenuItemLayoutHelper;accDelimiterpropertyPrefix
StackMapTable1
java/awt/Fontstrlsb	modifierskeyCodeacceleratorDelimiteracceleratorLjavax/swing/KeyStroke;iconFactory$Lsun/swing/MenuItemCheckIconFactory;minimumTextOffsetminimumTextOffsetObjectLjava/lang/Object;afterCheckIconGapObjectcheckIconOffsetcheckIconOffsetObjectcurGapcandidateTextWidthrskeypropertyNamevaluemaxValue(ZLjavax/swing/JMenuItem;)ZoffsetlayoutMenuItemlr-Lsun/swing/MenuItemLayoutHelper$LayoutResult;rdelta	alignment
textOffsetlabelOffsetrect	startXPosrects[Ljava/awt/Rectangle;curXPosUmenuItemparentLjava/awt/Container;\java/awt/ContainerclearUsedParentClientProperties(Ljavax/swing/JMenuItem;)Vcivalues[Ib
createMaxRect()Ljava/awt/Rectangle;addMaxWidthA(Lsun/swing/MenuItemLayoutHelper$RectSize;ILjava/awt/Dimension;)VsizeresultLjava/awt/Dimension;addWidth(IILjava/awt/Dimension;)VgetMenuItem()Ljavax/swing/JMenuItem;()Ljavax/swing/JComponent;getFont()Ljava/awt/Font;
getAccFont()Ljava/awt/FontMetrics;getAccFontMetricsgetCheckIcongetArrowIcongetHtmlView()Ljavax/swing/text/View;getGapgetViewRectgetIconSize+()Lsun/swing/MenuItemLayoutHelper$RectSize;getTextSize
getAccSizegetCheckSizegetArrowSizegetLabelSizesetMenuItemsetMenuItemParentsetFont(Ljava/awt/Font;)V
setAccFontsetFontMetrics(Ljava/awt/FontMetrics;)VsetAccFontMetricssetIcon(Ljavax/swing/Icon;)VsetCheckIconsetArrowIconsetText
setAccTextsetColumnLayout(Z)VcolumnLayoutsetUseCheckAndArrowsetLeftToRightleftToRightsetTopLevelMenutopLevelMenusetHtmlView(Ljavax/swing/text/View;)VsetVerticalAlignment(I)VsetHorizontalAlignmentsetVerticalTextPositionsetHorizontalTextPositionsetGap
setLeadingGapsetAfterCheckIconGapsetMinTextOffsetsetViewRectsetIconSize,(Lsun/swing/MenuItemLayoutHelper$RectSize;)VsetTextSize
setAccSizesetCheckSizesetArrowSizesetLabelSizegetLeftTextExtraWidth(Ljavax/swing/JMenuItem;)Zb
SourceFileMenuItemLayoutHelper.javaNestMembersBootstrapMethods?
?????$java/lang/invoke/StringConcatFactory?(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/invoke/CallSite;??.checkIconFactory?.minimumTextOffset?.afterCheckIconGap?.checkIconOffsetInnerClassesRectSizeLayoutResultColumnAlignment?%java/lang/invoke/MethodHandles$Lookup?java/lang/invoke/MethodHandlesLookup!'NGFGTGWGQGZGCDGDNOROibablbs  X@?@U@^@??)*0*6*<*v*?*}*?*?*??????????????s@n(3*??)
de*+,(?*?*+,-	
??)jkm*z+,ablb??v*- U@CDGD	?@
. (?4*+?
*+??**??*+?!?'*+?+?.*+?1?4*+?7?:*
?=*?A*	?E*+?H?L*+	?H?P*?S**?.*?:*?4?V?Z**????\*,?_**?c?g*-?j*+?m?q*?t**?w?{**?~??*+???????*??*??Y????*??Y????*??Y????*??Y????*??Y????*??Y????*??*??*??*??**????*???)?%st
uvw'x/y7z={C|I}S~]c?x??????????????????????????????????#?-?3?*z4+,44ab4lb4??4v*4- 4U@4CD4GD	4?@
4. /1???"5 00 ?(;
***?q?µű)
??*
+,?z(l*?
*?L+??=?t??)?
???* +,2 
	3*/??(?G*??*???ε?*??*???ε?*??*???ε?*??*???ε?*??*???εѱ)???*?8?F?*G+,(?O?M*?
??N-?A-??6???M,+??M-??6?,???M?,-???M,?)2?????? ?(?.?3?B?M?*>84*.5*O+,O6 L D78/?( ???
ef(?9M+??????N*?Z?*?=?-?-*?_+???*?
?M,?)????'?/?7?**9+,9. 7ib*9:/?/??z(?=+???N-??-??	=?)??????**+,. ;*<=/	?yz(? *?t=+???N-??-??	=?)??????** +, . }*>=/	??z(Z*???
?	*+??*?t?)?
??*+,. /z(? *?t=+???N-??-??	=?)??????** +, . ?*@=/	??(??*?g?#*??*?g???*??*?g??*???'*??*?
*?P*??%??*??*?P?(?*?q?*Եq?[*?q??Q*???&*??*???-???*??*???-???'*??*?
*?L*?q?%??*??*?L?(?*?=?Q*?_?#*??*?_???*??*?_??*?j?#*??*?j???*??*?j??*?Z?`*??*????*????`*?t`??*???
Y*???OY*???OY*???OY*???OY*???O?1??j?5Y?7L?5Y?7M*?
*?L*?q*?g*?'*?.*?4*?:*??,+*?t?8W+Y?>*??`?>,+??N*??-?C?*??-?>?α)?"???'1GU	\
eov????????? ?!"'(4)v,~-?.?2?3?4?5?7**~_???W??????+,/	'-3#-&?c?f?(f?**???D?H**???L?H**???O?H*?Z?V**???R?H**???U?H*?t<*???
?
*???
?<*??*?X*???[*???[``?^?[?L*??*?R?b?[**???X?H*???[*???[d<*???[?
*?td<*??*?U?^?[?)R:;<!>(?3@>ACBQCWDYFrGxI{L?M?Q?R?S?U?W* C5A*? B*?+,/?W?!?9?JK(P+*,+?ζ^?[?)
Z
[* +,C?D=`a(?"*+?b>?*??*?+?f?j??)gijkm o**"+,"E="F*G*/?de(?*M*??*?+?pM,?
,???fM,??	?)yz	{}~"?* *+,*E=(F=/
?
	XH(l#?q?+??tY?v?+?++?7+?1?V?)????*#U@#/	XY(?@???
?
???$??
?
???
???)2???
???"?$?/?1?<?>?**@U@@0*@<*@6*/??(?l*?Z?
*?S??+?y*??`*???[`*?{`*???[`*?t`=*???[?
*?{d=*???[?
*?td=*???*??=*?|?^W?).???3?=?D?N?U?]?b?k?* l+,l??39I*/
?4J?(?S*?L*+??*???"*???*+*?????+*+*?????*???*+*?????*+*????*+??+?).??
???$?0?7?C?L?Q?*S+,NKL/?$???(????Y?5Y*????*??????5Y*????*??????5Y*????*??????5Y*????*??????5Y*????*??????5Y*????*????????)?*?+,??(.???)?*+,??(.???)*+,??(k++??*???[?>+??*???[?>+??*???[?>?)*	*++,+KL??(??+??+?????+???C?
nb+???C?
nf???*++????*?=?a+??+?????+???C?
nb+???C?
nf???+??+?????+???C?
nb+???C?
nf???*++????*++???±)"&/6\???*?+,?KL/????(0?>,??*?????*????,??d>?8,??,?C`*????*???C`?*????*???C`,??d,?Cd>?Q+??Y??`??+??Y??`??+??Y??`??+??Y??`??+??Y??`??+??Y??`???)6
%&' (;)U+Y,f-s.?/?0?1?3**?+,?KL?M??N*/
? 4?Q??(??+??*???[?>+??*???[?>**???y*??*?t?5Y+??SY+??SY+??S??+???>?-+??Y?y*?{*?td`?y+??Y?y*?{*?td`?y**???y*???>`*??*?t?5Y+??SY+??S??+?ɴy*???yd>*?\?*???+??Y?y*??d`?y*+,??*+??++??+?ƶ??ٱ):89=HARBgC|F?J?K?L?O?T?W?X**?+,?KL?O??<P*/	?|?]??(D?+??*???[?>**???y*??*?t?5Y+??SY+??S??+???>?+??Y?y*?{*?td`?y**???y*???>`*??*?t?5Y+??SY+??S??+???y*???yd>*?\?*???+??Y?y*??d`?y*+,??*+??*+?߱)2[^3b=cRfj?k?l?o?r?t?u**?+,?KL?O??2Q*/	?R?]??(?+??*???[?>+??*???[?>**???y*???>`*??*?t?5Y+??SY+??SY+??S??+???>?-+??Y?y*?{*?tdd?y+??Y?y*?{*?tdd?y**???y*??*?t?5Y+??SY+??S??*???y*???>`+?ɴy+?ɴ>`d>*?\?*???+??Y?y*??dd?y*+,??*+??++??+?ƶ??ٱ):z{~P?Z?o????????????????**+,KLO??<P*/	???e??(T?+??*???[?>**???y*???>`*??*?t?5Y+??SY+??S??+???>?+??Y?y*?{*?tdd?y**???y*??*?t?5Y+??SY+??S??*???y*???>`+???y+???>`d>*?\?*???+??Y?y*??dd?y*+,??*+??*+?߱)2??;?E?Z??????????????**?+,?KL?O??2Q*/	?Z?e??(?`*+??,??*?????*+??,??*?????*+??,??*?????*+??,??*?????*+??,??*?????)B?
??? ?#?&?3?6?9?F?I?L?Y?\?_?* `+,`KL`O???(w?++?y+?>`d?y+?>?)????**+,R?O*?*/??(?K+?5Y?7??+?5Y?7??*?
*?L*?q*?g*?'*?.*?4*?:+??+??+??*?t?8W?)???J?*K+,KKL???(?
A`6:?66?+2:		?y	?>?	?>``6???Ա)???&?.?:?@?*HR?	A+,AS*A?*Av*ATU<V*/?	WW(????(?
Gd6:?66?12:			?>d?y	?>?	?>`d6???α)???,?4?@?F?*H!R?	G+,GS*G?*Gv*GTUBV*/?	WW.???({*?'?R+??*?????+???C?
nb+?ɴC?
nf???+??*?????+???C?
nb+?ƴC?
nf?????*?'?R+??*?????*???C?
nb+?ɴC?
nf???+??*?????*???C?
nb+?ƴC?
nf????g*?'?_+??*????*???C`?+???C?
nf+?ɴC?
nf???+??*????*???C`?+???C?
nf+?ƴC?
nf????)*
??.?W?^??????
*+,KL/?W?U?c??(?p*?'?+??*???????Y*?'?,+??*?????*???C?
nb+???C?
nf????)*?'?!+??*????*???C`+???Cd???) IQo*p+,pKL//%	(w$*??L+?k?*??
*???+?k??)%&()"+*$XYZ/	?[	]^(6*???)
01*X		(?=*?;*?L?j*?D?j*?O?j*?U?j*?R?j*?X?j*?|?j?)&	45678$9,:4;<=*=_/<?34(?)
<*M,?>6?,.6?*+?
?)
??*+,?	(>*+??)
??*+,??(>*+?A?)
??*+,CD??(>*+?E?)
??*+,GD??(>*+?L?)
??*+,NO??(>*+?P?)
??*+,RO??(>*+?g?)
??*+,ib??(>*+?_?)
??*+,ab??(>*+?j?)
??*+,lb?(>*+?q?)
?*+,s ?(>*+??)
*+, ??(>*?Z?)
*+,?@??(>*?=?)
*+,?@??(>*?S?)
*+,?@??(>*?\?)
*+,?@??(>*+???)
*+,????(>*?'?)
*+,)*??(>*?.?)
 *+,0*??(>*?4?)
#$*+,6*??(>*?:?)
'(*+,<*??(>*?t?)
+,*+,v*??(>*???)
/0*+,?*??(>*?{?)
34*+,}*??(>*???)
78*+,?*??(>*+???)
;<*+,????(>*+???)
?@*+,????(>*+???)
CD*+,????(>*+???)
GH*+,????(>*+???)
KL*+,????(>*+???)
OP*+,????(>*+???)
ST*+,???&(/*?Ŭ)W*+,	??(g<*??*???<?)_`
abd*X?@/??(?_????q?Y??L?Y??D?Y ??R?Y"??U?Y$??O?Y&??X?)),.*072D4Q6/@??????? ???????????"??	??	??	???




© 2015 - 2025 Weber Informatics LLC | Privacy Policy