- All Known Implementing Classes:
AbstractPicker,BooleanPicker,CssColorPicker,CssFontPicker,EnumPicker,ExamplesPicker,FontFamilyPicker,PaintablePicker
public interface Picker<T>
-
Method Summary
Modifier and TypeMethodDescriptionvoidshow(javafx.scene.Node anchor, double screenX, double screenY, T initialValue, BiConsumer<Boolean, T> callback)
-
Method Details
-
show
void show(javafx.scene.Node anchor, double screenX, double screenY, T initialValue, BiConsumer<Boolean, T> callback) - Parameters:
anchor- anchor node will be blocked by the pickerscreenX- desired screen coordinatescreenY- desired screen coordinateinitialValue- initial valuecallback- callback when a value was selected (true), or reset to the initial value (false).
-