Class PaintablePicker

java.lang.Object
org.jhotdraw8.draw.popup.AbstractPicker<Paintable>
org.jhotdraw8.draw.popup.PaintablePicker
All Implemented Interfaces:
Picker<Paintable>

public class PaintablePicker extends AbstractPicker<Paintable>
  • Constructor Details

    • PaintablePicker

      public PaintablePicker()
  • Method Details

    • show

      public void show(@NonNull javafx.scene.Node anchor, double screenX, double screenY, Paintable initial, @NonNull BiConsumer<Boolean,Paintable> callback)
      Parameters:
      anchor - anchor node will be blocked by the picker
      screenX - desired screen coordinate
      screenY - desired screen coordinate
      initial - initial value
      callback - callback when a value was selected (true), or reset to the initial value (false).