Class TouchEventBuilder

java.lang.Object
io.github.sosuisen.jfxbuilder.graphics.TouchEventBuilder

public class TouchEventBuilder extends Object
The TouchEventBuilder class constructs instances of the TouchEvent class and offers a fluent interface for creating and configuring it.

This class includes a static create method that accepts the same arguments as the original TouchEvent constructor and returns an instance of the TouchEventBuilder.

You can use method chaining to call the builder methods for configuring the TouchEvent. Finally, invoke the build method to generate an instance of the TouchEvent class.

Note that intermediate builder methods are not evaluated until the build method is called, meaning they are evaluated lazily.

Author:
Hidekazu Kubota <hidekazu.kubota@gmail.com>