class javax.swing.plaf.basic.BasicTabbedPaneUI$CroppedEdge extends javax.swing.JPanel implements javax.swing.plaf.UIResource
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: javax.swing.plaf.basic.BasicTabbedPaneUI$CroppedEdge
super_class: javax.swing.JPanel
{
private java.awt.Shape shape;
descriptor: Ljava/awt/Shape;
flags: (0x0002) ACC_PRIVATE
private int tabIndex;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private int cropline;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private int cropx;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private int cropy;
descriptor: I
flags: (0x0002) ACC_PRIVATE
final javax.swing.plaf.basic.BasicTabbedPaneUI this$0;
descriptor: Ljavax/swing/plaf/basic/BasicTabbedPaneUI;
flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC
public void <init>(javax.swing.plaf.basic.BasicTabbedPaneUI);
descriptor: (Ljavax/swing/plaf/basic/BasicTabbedPaneUI;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 0: aload 0
aload 1
putfield javax.swing.plaf.basic.BasicTabbedPaneUI$CroppedEdge.this$0:Ljavax/swing/plaf/basic/BasicTabbedPaneUI;
aload 0
invokespecial javax.swing.JPanel.<init>:()V
1: aload 0
iconst_0
invokevirtual javax.swing.plaf.basic.BasicTabbedPaneUI$CroppedEdge.setOpaque:(Z)V
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljavax/swing/plaf/basic/BasicTabbedPaneUI$CroppedEdge;
MethodParameters:
Name Flags
this$0 final
public void setParams(int, int, int, int);
descriptor: (IIII)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=6, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
iload 1
putfield javax.swing.plaf.basic.BasicTabbedPaneUI$CroppedEdge.tabIndex:I
1: aload 0
iload 2
putfield javax.swing.plaf.basic.BasicTabbedPaneUI$CroppedEdge.cropline:I
2: aload 0
iload 3
putfield javax.swing.plaf.basic.BasicTabbedPaneUI$CroppedEdge.cropx:I
3: aload 0
iload 4
putfield javax.swing.plaf.basic.BasicTabbedPaneUI$CroppedEdge.cropy:I
4: aload 0
getfield javax.swing.plaf.basic.BasicTabbedPaneUI$CroppedEdge.this$0:Ljavax/swing/plaf/basic/BasicTabbedPaneUI;
getfield javax.swing.plaf.basic.BasicTabbedPaneUI.rects:[Ljava/awt/Rectangle;
iload 1
aaload
astore 5
start local 5 5: aload 0
aload 5
invokevirtual javax.swing.plaf.basic.BasicTabbedPaneUI$CroppedEdge.setBounds:(Ljava/awt/Rectangle;)V
6: aload 0
aload 0
getfield javax.swing.plaf.basic.BasicTabbedPaneUI$CroppedEdge.this$0:Ljavax/swing/plaf/basic/BasicTabbedPaneUI;
getfield javax.swing.plaf.basic.BasicTabbedPaneUI.tabPane:Ljavax/swing/JTabbedPane;
invokevirtual javax.swing.JTabbedPane.getTabPlacement:()I
aload 5
iload 2
invokestatic javax.swing.plaf.basic.BasicTabbedPaneUI.createCroppedTabShape:(ILjava/awt/Rectangle;I)Ljava/awt/Polygon;
putfield javax.swing.plaf.basic.BasicTabbedPaneUI$CroppedEdge.shape:Ljava/awt/Shape;
7: aload 0
invokevirtual javax.swing.plaf.basic.BasicTabbedPaneUI$CroppedEdge.getParent:()Ljava/awt/Container;
ifnonnull 9
aload 0
getfield javax.swing.plaf.basic.BasicTabbedPaneUI$CroppedEdge.this$0:Ljavax/swing/plaf/basic/BasicTabbedPaneUI;
getfield javax.swing.plaf.basic.BasicTabbedPaneUI.tabContainer:Ljavax/swing/plaf/basic/BasicTabbedPaneUI$TabContainer;
ifnull 9
8: aload 0
getfield javax.swing.plaf.basic.BasicTabbedPaneUI$CroppedEdge.this$0:Ljavax/swing/plaf/basic/BasicTabbedPaneUI;
getfield javax.swing.plaf.basic.BasicTabbedPaneUI.tabContainer:Ljavax/swing/plaf/basic/BasicTabbedPaneUI$TabContainer;
aload 0
iconst_0
invokevirtual javax.swing.plaf.basic.BasicTabbedPaneUI$TabContainer.add:(Ljava/awt/Component;I)Ljava/awt/Component;
pop
9: StackMap locals: java.awt.Rectangle
StackMap stack:
return
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Ljavax/swing/plaf/basic/BasicTabbedPaneUI$CroppedEdge;
0 10 1 tabIndex I
0 10 2 cropline I
0 10 3 cropx I
0 10 4 cropy I
5 10 5 tabRect Ljava/awt/Rectangle;
MethodParameters:
Name Flags
tabIndex
cropline
cropx
cropy
public void resetParams();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
aconst_null
putfield javax.swing.plaf.basic.BasicTabbedPaneUI$CroppedEdge.shape:Ljava/awt/Shape;
1: aload 0
invokevirtual javax.swing.plaf.basic.BasicTabbedPaneUI$CroppedEdge.getParent:()Ljava/awt/Container;
aload 0
getfield javax.swing.plaf.basic.BasicTabbedPaneUI$CroppedEdge.this$0:Ljavax/swing/plaf/basic/BasicTabbedPaneUI;
getfield javax.swing.plaf.basic.BasicTabbedPaneUI.tabContainer:Ljavax/swing/plaf/basic/BasicTabbedPaneUI$TabContainer;
if_acmpne 3
aload 0
getfield javax.swing.plaf.basic.BasicTabbedPaneUI$CroppedEdge.this$0:Ljavax/swing/plaf/basic/BasicTabbedPaneUI;
getfield javax.swing.plaf.basic.BasicTabbedPaneUI.tabContainer:Ljavax/swing/plaf/basic/BasicTabbedPaneUI$TabContainer;
ifnull 3
2: aload 0
getfield javax.swing.plaf.basic.BasicTabbedPaneUI$CroppedEdge.this$0:Ljavax/swing/plaf/basic/BasicTabbedPaneUI;
getfield javax.swing.plaf.basic.BasicTabbedPaneUI.tabContainer:Ljavax/swing/plaf/basic/BasicTabbedPaneUI$TabContainer;
aload 0
invokevirtual javax.swing.plaf.basic.BasicTabbedPaneUI$TabContainer.remove:(Ljava/awt/Component;)V
3: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljavax/swing/plaf/basic/BasicTabbedPaneUI$CroppedEdge;
public boolean isParamsSet();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.swing.plaf.basic.BasicTabbedPaneUI$CroppedEdge.shape:Ljava/awt/Shape;
ifnull 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljavax/swing/plaf/basic/BasicTabbedPaneUI$CroppedEdge;
public int getTabIndex();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.swing.plaf.basic.BasicTabbedPaneUI$CroppedEdge.tabIndex:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/plaf/basic/BasicTabbedPaneUI$CroppedEdge;
public int getCropline();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.swing.plaf.basic.BasicTabbedPaneUI$CroppedEdge.cropline:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/plaf/basic/BasicTabbedPaneUI$CroppedEdge;
public int getCroppedSideWidth();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: iconst_3
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/plaf/basic/BasicTabbedPaneUI$CroppedEdge;
private java.awt.Color getBgColor();
descriptor: ()Ljava/awt/Color;
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=3, args_size=1
start local 0 0: aload 0
getfield javax.swing.plaf.basic.BasicTabbedPaneUI$CroppedEdge.this$0:Ljavax/swing/plaf/basic/BasicTabbedPaneUI;
getfield javax.swing.plaf.basic.BasicTabbedPaneUI.tabPane:Ljavax/swing/JTabbedPane;
invokevirtual javax.swing.JTabbedPane.getParent:()Ljava/awt/Container;
astore 1
start local 1 1: aload 1
ifnull 5
2: aload 1
invokevirtual java.awt.Component.getBackground:()Ljava/awt/Color;
astore 2
start local 2 3: aload 2
ifnull 5
4: aload 2
areturn
end local 2 5: StackMap locals: java.awt.Component
StackMap stack:
ldc "control"
invokestatic javax.swing.UIManager.getColor:(Ljava/lang/Object;)Ljava/awt/Color;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Ljavax/swing/plaf/basic/BasicTabbedPaneUI$CroppedEdge;
1 6 1 parent Ljava/awt/Component;
3 5 2 bg Ljava/awt/Color;
protected void paintComponent(java.awt.Graphics);
descriptor: (Ljava/awt/Graphics;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=5, locals=3, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokespecial javax.swing.JPanel.paintComponent:(Ljava/awt/Graphics;)V
1: aload 0
invokevirtual javax.swing.plaf.basic.BasicTabbedPaneUI$CroppedEdge.isParamsSet:()Z
ifeq 9
aload 1
instanceof java.awt.Graphics2D
ifeq 9
2: aload 1
checkcast java.awt.Graphics2D
astore 2
start local 2 3: aload 2
iconst_0
iconst_0
aload 0
invokevirtual javax.swing.plaf.basic.BasicTabbedPaneUI$CroppedEdge.getWidth:()I
aload 0
invokevirtual javax.swing.plaf.basic.BasicTabbedPaneUI$CroppedEdge.getHeight:()I
invokevirtual java.awt.Graphics2D.clipRect:(IIII)V
4: aload 2
aload 0
invokevirtual javax.swing.plaf.basic.BasicTabbedPaneUI$CroppedEdge.getBgColor:()Ljava/awt/Color;
invokevirtual java.awt.Graphics2D.setColor:(Ljava/awt/Color;)V
5: aload 2
aload 0
getfield javax.swing.plaf.basic.BasicTabbedPaneUI$CroppedEdge.cropx:I
aload 0
getfield javax.swing.plaf.basic.BasicTabbedPaneUI$CroppedEdge.cropy:I
invokevirtual java.awt.Graphics2D.translate:(II)V
6: aload 2
aload 0
getfield javax.swing.plaf.basic.BasicTabbedPaneUI$CroppedEdge.shape:Ljava/awt/Shape;
invokevirtual java.awt.Graphics2D.fill:(Ljava/awt/Shape;)V
7: aload 0
getfield javax.swing.plaf.basic.BasicTabbedPaneUI$CroppedEdge.this$0:Ljavax/swing/plaf/basic/BasicTabbedPaneUI;
aload 1
invokevirtual javax.swing.plaf.basic.BasicTabbedPaneUI.paintCroppedTabEdge:(Ljava/awt/Graphics;)V
8: aload 2
aload 0
getfield javax.swing.plaf.basic.BasicTabbedPaneUI$CroppedEdge.cropx:I
ineg
aload 0
getfield javax.swing.plaf.basic.BasicTabbedPaneUI$CroppedEdge.cropy:I
ineg
invokevirtual java.awt.Graphics2D.translate:(II)V
end local 2 9: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Ljavax/swing/plaf/basic/BasicTabbedPaneUI$CroppedEdge;
0 10 1 g Ljava/awt/Graphics;
3 9 2 g2 Ljava/awt/Graphics2D;
MethodParameters:
Name Flags
g
}
SourceFile: "BasicTabbedPaneUI.java"
NestHost: javax.swing.plaf.basic.BasicTabbedPaneUI
InnerClasses:
private CroppedEdge = javax.swing.plaf.basic.BasicTabbedPaneUI$CroppedEdge of javax.swing.plaf.basic.BasicTabbedPaneUI
private TabContainer = javax.swing.plaf.basic.BasicTabbedPaneUI$TabContainer of javax.swing.plaf.basic.BasicTabbedPaneUI