java.lang.Object
org.jhotdraw8.draw.popup.AbstractPicker<T>
org.jhotdraw8.draw.popup.EnumPicker<T>
- Type Parameters:
T- the enum type
- All Implemented Interfaces:
Picker<T>
Picker for boolean values.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidshow(javafx.scene.Node anchor, double screenX, double screenY, T initialValue, BiConsumer<Boolean, T> callback)
-
Constructor Details
-
EnumPicker
-
-
Method Details
-
show
public 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).
-