META-INF.modules.java.desktop.classes.javax.swing.text.DefaultHighlighter.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
???? :1
#javax/swing/text/LayeredHighlighter ()V java/util/Vector
#javax/swing/text/DefaultHighlighter
highlights Ljava/util/Vector; /javax/swing/text/DefaultHighlighter$SafeDamager
((Ljavax/swing/text/DefaultHighlighter;)V safeDamager 1Ljavax/swing/text/DefaultHighlighter$SafeDamager; drawsLayeredHighlights Z
size ()I
" # $ elementAt (I)Ljava/lang/Object; & 1javax/swing/text/DefaultHighlighter$HighlightInfo ( 8javax/swing/text/DefaultHighlighter$LayeredHighlightInfo * + , component !Ljavax/swing/text/JTextComponent;
. / 0 1 2 javax/swing/text/JTextComponent getBounds ()Ljava/awt/Rectangle;
. 4 5 6 getInsets ()Ljava/awt/Insets; 8 9 : ; < java/awt/Insets left I > ? @ A < java/awt/Rectangle x 8 C D < top > F G < y > I J < width 8 L M < right > O P < height 8 R S < bottom
% U V W
getPainter 1()Ljavax/swing/text/Highlighter$HighlightPainter;
% Y Z getStartOffset
% \ ] getEndOffset _ ` a b c -javax/swing/text/Highlighter$HighlightPainter paint I(Ljava/awt/Graphics;IILjava/awt/Shape;Ljavax/swing/text/JTextComponent;)V
e f removeAllHighlights h %javax/swing/text/BadLocationException j Invalid start offset
g l m (Ljava/lang/String;I)V o Invalid end offset
. q r s getDocument ()Ljavax/swing/text/Document;
u v w getDrawsLayeredHighlights ()Z y 0javax/swing/text/LayeredHighlighter$LayerPainter
'
% % } ~ painter /Ljavax/swing/text/Highlighter$HighlightPainter; ? ? ? ? ? javax/swing/text/Document createPosition (I)Ljavax/swing/text/Position; % ? ? ? p0 Ljavax/swing/text/Position; % ? ? ? p1
? ? ?
addElement (Ljava/lang/Object;)V
? ? ? safeDamageRange (II)V ' I ' O ' ? ' F
. ? ? ? repaint (IIII)V
? ? ? 9(Ljavax/swing/text/Position;Ljavax/swing/text/Position;)V
? ? ?
removeElement (Ljava/lang/Object;)Z
. ? ? ? getUI ()Ljavax/swing/plaf/TextUI;
? ? ? ? ? java/lang/Math min (II)I
? ? ? ? max ? ? ? ? javax/swing/text/Position getOffset
? ? removeAllElements ? java/lang/Integer??? ? Invalid beginning of the range ? Invalid end of the range ' ? ' ? ? ? ? noHighlights )[Ljavax/swing/text/Highlighter$Highlight; ? &javax/swing/text/Highlighter$Highlight
? ? ? copyInto ([Ljava/lang/Object;)V
' Y
' \
' ? ? ? paintLayeredHighlights `(Ljava/awt/Graphics;IILjava/awt/Shape;Ljavax/swing/text/JTextComponent;Ljavax/swing/text/View;)V
? ? ? damageRange ? ;javax/swing/text/DefaultHighlighter$DefaultHighlightPainter
? ? ? (Ljava/awt/Color;)V ? ? ? DefaultPainter 2Ljavax/swing/text/LayeredHighlighter$LayerPainter; Signature GLjava/util/Vector; Code LineNumberTable LocalVariableTable this %Ljavax/swing/text/DefaultHighlighter; (Ljava/awt/Graphics;)V p a Ljava/awt/Rectangle; insets Ljava/awt/Insets; info 3Ljavax/swing/text/DefaultHighlighter$HighlightInfo; i g Ljava/awt/Graphics; len
StackMapTable install $(Ljavax/swing/text/JTextComponent;)V c deinstall addHighlight E(IILjavax/swing/text/Highlighter$HighlightPainter;)Ljava/lang/Object; doc Ljavax/swing/text/Document;
Exceptions removeHighlight lhi :Ljavax/swing/text/DefaultHighlighter$LayeredHighlightInfo; tag Ljava/lang/Object; hi minX minY maxX maxY mapper Ljavax/swing/plaf/TextUI; javax/swing/plaf/TextUI changeHighlight (Ljava/lang/Object;II)V oldP0 oldP1
getHighlights +()[Ljavax/swing/text/Highlighter$Highlight; h start end counter
viewBounds Ljava/awt/Shape; editor view Ljavax/swing/text/View; java/awt/Graphics java/awt/Shape javax/swing/text/View a0 a1 setDrawsLayeredHighlights (Z)V newValue
SourceFile DefaultHighlighter.java NestMembers InnerClasses SafeDamager
HighlightInfo LayeredHighlightInfo, javax/swing/text/Highlighter HighlightPainter LayerPainter Highlight DefaultHighlightPainter ! ? ? ? ? + , ? ? ? [ !*? *? Y? ?
*? Y*? ? *? ? ? , e h - . ? ! ? ? b ? ? ? ?*?
? =>? ?*?
? !? %:? '? ?*? )? -:*? )? 3:? 7? =? B? EY? H? 7? K`d? HY? N? B? Q`d? N? =*?
? !? %:? '? "? T:+? X? [*? )? ^ ???Ą??T? ? J 9 : ; <