public class com.sun.javafx.charts.Legend extends javafx.scene.layout.TilePane
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: com.sun.javafx.charts.Legend
super_class: javafx.scene.layout.TilePane
{
private static final int GAP;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 5
private javafx.collections.ListChangeListener<com.sun.javafx.charts.Legend$LegendItem> itemsListener;
descriptor: Ljavafx/collections/ListChangeListener;
flags: (0x0002) ACC_PRIVATE
Signature: Ljavafx/collections/ListChangeListener<Lcom/sun/javafx/charts/Legend$LegendItem;>;
private javafx.beans.property.BooleanProperty vertical;
descriptor: Ljavafx/beans/property/BooleanProperty;
flags: (0x0002) ACC_PRIVATE
private javafx.beans.property.ObjectProperty<javafx.collections.ObservableList<com.sun.javafx.charts.Legend$LegendItem>> items;
descriptor: Ljavafx/beans/property/ObjectProperty;
flags: (0x0002) ACC_PRIVATE
Signature: Ljavafx/beans/property/ObjectProperty<Ljavafx/collections/ObservableList<Lcom/sun/javafx/charts/Legend$LegendItem;>;>;
public final boolean isVertical();
descriptor: ()Z
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.javafx.charts.Legend.vertical:Ljavafx/beans/property/BooleanProperty;
invokevirtual javafx.beans.property.BooleanProperty.get:()Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/javafx/charts/Legend;
public final void setVertical(boolean);
descriptor: (Z)V
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield com.sun.javafx.charts.Legend.vertical:Ljavafx/beans/property/BooleanProperty;
iload 1
invokevirtual javafx.beans.property.BooleanProperty.set:(Z)V
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/javafx/charts/Legend;
0 1 1 value Z
MethodParameters:
Name Flags
value
public final javafx.beans.property.BooleanProperty verticalProperty();
descriptor: ()Ljavafx/beans/property/BooleanProperty;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.javafx.charts.Legend.vertical:Ljavafx/beans/property/BooleanProperty;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/javafx/charts/Legend;
public final void setItems(javafx.collections.ObservableList<com.sun.javafx.charts.Legend$LegendItem>);
descriptor: (Ljavafx/collections/ObservableList;)V
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual com.sun.javafx.charts.Legend.itemsProperty:()Ljavafx/beans/property/ObjectProperty;
aload 1
invokevirtual javafx.beans.property.ObjectProperty.set:(Ljava/lang/Object;)V
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/javafx/charts/Legend;
0 1 1 value Ljavafx/collections/ObservableList<Lcom/sun/javafx/charts/Legend$LegendItem;>;
Signature: (Ljavafx/collections/ObservableList<Lcom/sun/javafx/charts/Legend$LegendItem;>;)V
MethodParameters:
Name Flags
value
public final javafx.collections.ObservableList<com.sun.javafx.charts.Legend$LegendItem> getItems();
descriptor: ()Ljavafx/collections/ObservableList;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.javafx.charts.Legend.items:Ljavafx/beans/property/ObjectProperty;
invokevirtual javafx.beans.property.ObjectProperty.get:()Ljava/lang/Object;
checkcast javafx.collections.ObservableList
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/javafx/charts/Legend;
Signature: ()Ljavafx/collections/ObservableList<Lcom/sun/javafx/charts/Legend$LegendItem;>;
public final javafx.beans.property.ObjectProperty<javafx.collections.ObservableList<com.sun.javafx.charts.Legend$LegendItem>> itemsProperty();
descriptor: ()Ljavafx/beans/property/ObjectProperty;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.javafx.charts.Legend.items:Ljavafx/beans/property/ObjectProperty;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/javafx/charts/Legend;
Signature: ()Ljavafx/beans/property/ObjectProperty<Ljavafx/collections/ObservableList<Lcom/sun/javafx/charts/Legend$LegendItem;>;>;
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=1, args_size=1
start local 0 0: aload 0
ldc 5.0
ldc 5.0
invokespecial javafx.scene.layout.TilePane.<init>:(DD)V
1: aload 0
aload 0
invokedynamic onChanged(Lcom/sun/javafx/charts/Legend;)Ljavafx/collections/ListChangeListener;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljavafx/collections/ListChangeListener$Change;)V
com/sun/javafx/charts/Legend.lambda$0(Ljavafx/collections/ListChangeListener$Change;)V (7)
(Ljavafx/collections/ListChangeListener$Change;)V
putfield com.sun.javafx.charts.Legend.itemsListener:Ljavafx/collections/ListChangeListener;
2: aload 0
new com.sun.javafx.charts.Legend$1
dup
aload 0
iconst_0
invokespecial com.sun.javafx.charts.Legend$1.<init>:(Lcom/sun/javafx/charts/Legend;Z)V
putfield com.sun.javafx.charts.Legend.vertical:Ljavafx/beans/property/BooleanProperty;
3: aload 0
new com.sun.javafx.charts.Legend$2
dup
aload 0
invokespecial com.sun.javafx.charts.Legend$2.<init>:(Lcom/sun/javafx/charts/Legend;)V
putfield com.sun.javafx.charts.Legend.items:Ljavafx/beans/property/ObjectProperty;
4: aload 0
getstatic javafx.geometry.Pos.CENTER_LEFT:Ljavafx/geometry/Pos;
invokevirtual com.sun.javafx.charts.Legend.setTileAlignment:(Ljavafx/geometry/Pos;)V
5: aload 0
invokestatic javafx.collections.FXCollections.observableArrayList:()Ljavafx/collections/ObservableList;
invokevirtual com.sun.javafx.charts.Legend.setItems:(Ljavafx/collections/ObservableList;)V
6: aload 0
invokevirtual com.sun.javafx.charts.Legend.getStyleClass:()Ljavafx/collections/ObservableList;
iconst_1
anewarray java.lang.String
dup
iconst_0
ldc "chart-legend"
aastore
invokeinterface javafx.collections.ObservableList.setAll:([Ljava/lang/Object;)Z
pop
7: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lcom/sun/javafx/charts/Legend;
protected double computePrefWidth(double);
descriptor: (D)D
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual com.sun.javafx.charts.Legend.getItems:()Ljavafx/collections/ObservableList;
invokeinterface javafx.collections.ObservableList.size:()I
ifle 1
aload 0
dload 1
invokespecial javafx.scene.layout.TilePane.computePrefWidth:(D)D
goto 2
StackMap locals:
StackMap stack:
1: dconst_0
StackMap locals:
StackMap stack: double
2: dreturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/javafx/charts/Legend;
0 3 1 forHeight D
MethodParameters:
Name Flags
forHeight
protected double computePrefHeight(double);
descriptor: (D)D
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual com.sun.javafx.charts.Legend.getItems:()Ljavafx/collections/ObservableList;
invokeinterface javafx.collections.ObservableList.size:()I
ifle 1
aload 0
dload 1
invokespecial javafx.scene.layout.TilePane.computePrefHeight:(D)D
goto 2
StackMap locals:
StackMap stack:
1: dconst_0
StackMap locals:
StackMap stack: double
2: dreturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/javafx/charts/Legend;
0 3 1 forWidth D
MethodParameters:
Name Flags
forWidth
private void lambda$0(javafx.collections.ListChangeListener$Change);
descriptor: (Ljavafx/collections/ListChangeListener$Change;)V
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual com.sun.javafx.charts.Legend.getItems:()Ljavafx/collections/ObservableList;
invokeinterface javafx.collections.ObservableList.stream:()Ljava/util/stream/Stream;
1: invokedynamic apply()Ljava/util/function/Function;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/lang/Object;)Ljava/lang/Object;
com/sun/javafx/charts/Legend.lambda$1(Lcom/sun/javafx/charts/Legend$LegendItem;)Ljavafx/scene/control/Label; (6)
(Lcom/sun/javafx/charts/Legend$LegendItem;)Ljavafx/scene/control/Label;
invokeinterface java.util.stream.Stream.map:(Ljava/util/function/Function;)Ljava/util/stream/Stream;
2: invokestatic java.util.stream.Collectors.toList:()Ljava/util/stream/Collector;
invokeinterface java.util.stream.Stream.collect:(Ljava/util/stream/Collector;)Ljava/lang/Object;
checkcast java.util.List
3: astore 2
start local 2 4: aload 0
invokevirtual com.sun.javafx.charts.Legend.getChildren:()Ljavafx/collections/ObservableList;
aload 2
invokeinterface javafx.collections.ObservableList.setAll:(Ljava/util/Collection;)Z
pop
5: aload 0
invokevirtual com.sun.javafx.charts.Legend.isVisible:()Z
ifeq 6
aload 0
invokevirtual com.sun.javafx.charts.Legend.requestLayout:()V
end local 2 6: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lcom/sun/javafx/charts/Legend;
0 7 1 c Ljavafx/collections/ListChangeListener$Change<+Lcom/sun/javafx/charts/Legend$LegendItem;>;
4 6 2 labels Ljava/util/List<Ljavafx/scene/control/Label;>;
private static javafx.scene.control.Label lambda$1(com.sun.javafx.charts.Legend$LegendItem);
descriptor: (Lcom/sun/javafx/charts/Legend$LegendItem;)Ljavafx/scene/control/Label;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.javafx.charts.Legend$LegendItem.label:Ljavafx/scene/control/Label;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 i Lcom/sun/javafx/charts/Legend$LegendItem;
}
SourceFile: "Legend.java"
NestMembers:
com.sun.javafx.charts.Legend$1 com.sun.javafx.charts.Legend$2 com.sun.javafx.charts.Legend$LegendItem com.sun.javafx.charts.Legend$LegendItem$1 com.sun.javafx.charts.Legend$LegendItem$2
InnerClasses:
com.sun.javafx.charts.Legend$1
com.sun.javafx.charts.Legend$2
public LegendItem = com.sun.javafx.charts.Legend$LegendItem of com.sun.javafx.charts.Legend
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
public abstract Change = javafx.collections.ListChangeListener$Change of javafx.collections.ListChangeListener