Skip to content
This repository has been archived by the owner on Jan 12, 2020. It is now read-only.

Latest commit

 

History

History
20 lines (15 loc) · 564 Bytes

README.md

File metadata and controls

20 lines (15 loc) · 564 Bytes

JavaFX Circle

Project to generate a circle of given javafx-elements.

Usage (e.g. list of labels)

import controller.CircleController;

...

Pane circlePane = new Pane();
int circleRadius = 250;

CircleController<Label> circleController = new CircleController<Label>(labelList, circlePane, circleRadius);

circleController.setElementMouseEvent(MouseEvent.MOUSE_CLICKED);
circleController.setElementSelectable(Selectable.NONE);
circleController.setElementRotatable(true);
circleController.setElementReadable(true);
circleController.buildElements();