public class javafx.scene.control.TextFormatter<V>
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: javafx.scene.control.TextFormatter
super_class: java.lang.Object
{
private final javafx.util.StringConverter<V> valueConverter;
descriptor: Ljavafx/util/StringConverter;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljavafx/util/StringConverter<TV;>;
private final java.util.function.UnaryOperator<javafx.scene.control.TextFormatter$Change> filter;
descriptor: Ljava/util/function/UnaryOperator;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/function/UnaryOperator<Ljavafx/scene/control/TextFormatter$Change;>;
private java.util.function.Consumer<javafx.scene.control.TextFormatter<?>> textUpdater;
descriptor: Ljava/util/function/Consumer;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/util/function/Consumer<Ljavafx/scene/control/TextFormatter<*>;>;
public static final javafx.util.StringConverter<java.lang.String> IDENTITY_STRING_CONVERTER;
descriptor: Ljavafx/util/StringConverter;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
Signature: Ljavafx/util/StringConverter<Ljava/lang/String;>;
private final javafx.beans.property.ObjectProperty<V> value;
descriptor: Ljavafx/beans/property/ObjectProperty;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljavafx/beans/property/ObjectProperty<TV;>;
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: new javafx.scene.control.TextFormatter$1
dup
invokespecial javafx.scene.control.TextFormatter$1.<init>:()V
putstatic javafx.scene.control.TextFormatter.IDENTITY_STRING_CONVERTER:Ljavafx/util/StringConverter;
1: return
LocalVariableTable:
Start End Slot Name Signature
public void <init>(java.util.function.UnaryOperator<javafx.scene.control.TextFormatter$Change>);
descriptor: (Ljava/util/function/UnaryOperator;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aconst_null
aconst_null
aload 1
invokespecial javafx.scene.control.TextFormatter.<init>:(Ljavafx/util/StringConverter;Ljava/lang/Object;Ljava/util/function/UnaryOperator;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljavafx/scene/control/TextFormatter<TV;>;
0 2 1 filter Ljava/util/function/UnaryOperator<Ljavafx/scene/control/TextFormatter$Change;>;
Signature: (Ljava/util/function/UnaryOperator<Ljavafx/scene/control/TextFormatter$Change;>;)V
RuntimeVisibleParameterAnnotations:
0:
javafx.beans.NamedArg(value = "filter")
MethodParameters:
Name Flags
filter
public void <init>(javafx.util.StringConverter<V>, V, java.util.function.UnaryOperator<javafx.scene.control.TextFormatter$Change>);
descriptor: (Ljavafx/util/StringConverter;Ljava/lang/Object;Ljava/util/function/UnaryOperator;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
new javafx.scene.control.TextFormatter$2
dup
aload 0
invokespecial javafx.scene.control.TextFormatter$2.<init>:(Ljavafx/scene/control/TextFormatter;)V
putfield javafx.scene.control.TextFormatter.value:Ljavafx/beans/property/ObjectProperty;
2: aload 0
aload 3
putfield javafx.scene.control.TextFormatter.filter:Ljava/util/function/UnaryOperator;
3: aload 0
aload 1
putfield javafx.scene.control.TextFormatter.valueConverter:Ljavafx/util/StringConverter;
4: aload 0
aload 2
invokevirtual javafx.scene.control.TextFormatter.setValue:(Ljava/lang/Object;)V
5: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Ljavafx/scene/control/TextFormatter<TV;>;
0 6 1 valueConverter Ljavafx/util/StringConverter<TV;>;
0 6 2 defaultValue TV;
0 6 3 filter Ljava/util/function/UnaryOperator<Ljavafx/scene/control/TextFormatter$Change;>;
Signature: (Ljavafx/util/StringConverter<TV;>;TV;Ljava/util/function/UnaryOperator<Ljavafx/scene/control/TextFormatter$Change;>;)V
RuntimeVisibleParameterAnnotations:
0:
javafx.beans.NamedArg(value = "valueConverter")
1:
javafx.beans.NamedArg(value = "defaultValue")
2:
javafx.beans.NamedArg(value = "filter")
MethodParameters:
Name Flags
valueConverter
defaultValue
filter
public void <init>(javafx.util.StringConverter<V>, );
descriptor: (Ljavafx/util/StringConverter;Ljava/lang/Object;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
aconst_null
invokespecial javafx.scene.control.TextFormatter.<init>:(Ljavafx/util/StringConverter;Ljava/lang/Object;Ljava/util/function/UnaryOperator;)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljavafx/scene/control/TextFormatter<TV;>;
0 2 1 valueConverter Ljavafx/util/StringConverter<TV;>;
0 2 2 defaultValue TV;
Signature: (Ljavafx/util/StringConverter<TV;>;TV;)V
RuntimeVisibleParameterAnnotations:
0:
javafx.beans.NamedArg(value = "valueConverter")
1:
javafx.beans.NamedArg(value = "defaultValue")
MethodParameters:
Name Flags
valueConverter
defaultValue
public void <init>(javafx.util.StringConverter<V>);
descriptor: (Ljavafx/util/StringConverter;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
aconst_null
aconst_null
invokespecial javafx.scene.control.TextFormatter.<init>:(Ljavafx/util/StringConverter;Ljava/lang/Object;Ljava/util/function/UnaryOperator;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljavafx/scene/control/TextFormatter<TV;>;
0 2 1 valueConverter Ljavafx/util/StringConverter<TV;>;
Signature: (Ljavafx/util/StringConverter<TV;>;)V
RuntimeVisibleParameterAnnotations:
0:
javafx.beans.NamedArg(value = "valueConverter")
MethodParameters:
Name Flags
valueConverter
public final javafx.util.StringConverter<V> getValueConverter();
descriptor: ()Ljavafx/util/StringConverter;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield javafx.scene.control.TextFormatter.valueConverter:Ljavafx/util/StringConverter;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavafx/scene/control/TextFormatter<TV;>;
Signature: ()Ljavafx/util/StringConverter<TV;>;
public final java.util.function.UnaryOperator<javafx.scene.control.TextFormatter$Change> getFilter();
descriptor: ()Ljava/util/function/UnaryOperator;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield javafx.scene.control.TextFormatter.filter:Ljava/util/function/UnaryOperator;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavafx/scene/control/TextFormatter<TV;>;
Signature: ()Ljava/util/function/UnaryOperator<Ljavafx/scene/control/TextFormatter$Change;>;
public final javafx.beans.property.ObjectProperty<V> valueProperty();
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 javafx.scene.control.TextFormatter.value:Ljavafx/beans/property/ObjectProperty;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavafx/scene/control/TextFormatter<TV;>;
Signature: ()Ljavafx/beans/property/ObjectProperty<TV;>;
public final void setValue();
descriptor: (Ljava/lang/Object;)V
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield javafx.scene.control.TextFormatter.valueConverter:Ljavafx/util/StringConverter;
ifnonnull 2
aload 1
ifnull 2
1: new java.lang.IllegalStateException
dup
ldc "Value changes are not supported when valueConverter is not set"
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
getfield javafx.scene.control.TextFormatter.value:Ljavafx/beans/property/ObjectProperty;
aload 1
invokevirtual javafx.beans.property.ObjectProperty.set:(Ljava/lang/Object;)V
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljavafx/scene/control/TextFormatter<TV;>;
0 4 1 value TV;
Signature: (TV;)V
MethodParameters:
Name Flags
value
public final V getValue();
descriptor: ()Ljava/lang/Object;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield javafx.scene.control.TextFormatter.value:Ljavafx/beans/property/ObjectProperty;
invokevirtual javafx.beans.property.ObjectProperty.get:()Ljava/lang/Object;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavafx/scene/control/TextFormatter<TV;>;
Signature: ()TV;
private void updateText();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield javafx.scene.control.TextFormatter.textUpdater:Ljava/util/function/Consumer;
ifnull 2
1: aload 0
getfield javafx.scene.control.TextFormatter.textUpdater:Ljava/util/function/Consumer;
aload 0
invokeinterface java.util.function.Consumer.accept:(Ljava/lang/Object;)V
2: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljavafx/scene/control/TextFormatter<TV;>;
void bindToControl(java.util.function.Consumer<javafx.scene.control.TextFormatter<?>>);
descriptor: (Ljava/util/function/Consumer;)V
flags: (0x0000)
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield javafx.scene.control.TextFormatter.textUpdater:Ljava/util/function/Consumer;
ifnull 2
1: new java.lang.IllegalStateException
dup
ldc "Formatter is already used in other control"
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
aload 1
putfield javafx.scene.control.TextFormatter.textUpdater:Ljava/util/function/Consumer;
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljavafx/scene/control/TextFormatter<TV;>;
0 4 1 updater Ljava/util/function/Consumer<Ljavafx/scene/control/TextFormatter<*>;>;
Signature: (Ljava/util/function/Consumer<Ljavafx/scene/control/TextFormatter<*>;>;)V
MethodParameters:
Name Flags
updater
void unbindFromControl();
descriptor: ()V
flags: (0x0000)
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
aconst_null
putfield javafx.scene.control.TextFormatter.textUpdater:Ljava/util/function/Consumer;
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljavafx/scene/control/TextFormatter<TV;>;
void updateValue(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0000)
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield javafx.scene.control.TextFormatter.value:Ljavafx/beans/property/ObjectProperty;
invokevirtual javafx.beans.property.ObjectProperty.isBound:()Z
ifne 6
1: aload 0
getfield javafx.scene.control.TextFormatter.valueConverter:Ljavafx/util/StringConverter;
aload 1
invokevirtual javafx.util.StringConverter.fromString:(Ljava/lang/String;)Ljava/lang/Object;
astore 2
start local 2 2: aload 0
aload 2
invokevirtual javafx.scene.control.TextFormatter.setValue:(Ljava/lang/Object;)V
end local 2 3: goto 6
StackMap locals:
StackMap stack: java.lang.Exception
4: pop
5: aload 0
invokevirtual javafx.scene.control.TextFormatter.updateText:()V
6: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Ljavafx/scene/control/TextFormatter<TV;>;
0 7 1 text Ljava/lang/String;
2 3 2 v TV;
Exception table:
from to target type
1 3 4 Class java.lang.Exception
MethodParameters:
Name Flags
text
}
Signature: <V:Ljava/lang/Object;>Ljava/lang/Object;
SourceFile: "TextFormatter.java"
NestMembers:
javafx.scene.control.TextFormatter$1 javafx.scene.control.TextFormatter$2 javafx.scene.control.TextFormatter$Change
InnerClasses:
javafx.scene.control.TextFormatter$1
javafx.scene.control.TextFormatter$2
public final Change = javafx.scene.control.TextFormatter$Change of javafx.scene.control.TextFormatter