| Modifier and Type | Class and Description |
|---|---|
| public class |
| Access | Constructor and Description |
|---|---|
| public |
| PhotoViewSkin | back to summary |
|---|---|
| public PhotoViewSkin(PhotoView view) | |
| Modifier and Type | Class and Description |
|---|---|
| pack-priv class | |
| pack-priv class |
| Modifier and Type | Field and Description |
|---|---|
| private final Circle | |
| private final PhotoViewSkin. | |
| private final ImageView | |
| private final Rectangle | |
| private double | |
| private double |
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| private void | |
| protected void | layoutChildren()
Overrides javafx. Invoked during the layout pass to layout the children in this
|
| private void | |
| private void | |
| private void | |
| private void | |
| private void |
| circle | back to summary |
|---|---|
| private final Circle circle | |
| cropService | back to summary |
|---|---|
| private final PhotoViewSkin. | |
| imageView | back to summary |
|---|---|
| private final ImageView imageView | |
| rectangle | back to summary |
|---|---|
| private final Rectangle rectangle | |
| startX | back to summary |
|---|---|
| private double startX | |
| startY | back to summary |
|---|---|
| private double startY | |
| ImageBox | back to summary |
|---|---|
| public ImageBox(PhotoView view) | |
| crop | back to summary |
|---|---|
| public void crop() | |
| doCrop | back to summary |
|---|---|
| private void doCrop() | |
| layoutChildren | back to summary |
|---|---|
| protected void layoutChildren() Overrides javafx. Doc from javafx. Invoked during the layout pass to layout the children in this
Subclasses should override this function to layout content as needed.
| |
| updateBorderShape | back to summary |
|---|---|
| private void updateBorderShape() | |
| updateCircleClip | back to summary |
|---|---|
| private void updateCircleClip() | |
| updateClip | back to summary |
|---|---|
| private void updateClip() | |
| updatePlaceholder | back to summary |
|---|---|
| private void updatePlaceholder(Node oldPlaceholder, Node newPlaceholder) | |
| updateRectangleClip | back to summary |
|---|---|
| private void updateRectangleClip() | |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| protected Task | createTask()
Implements abstract javafx. Invoked after the Service is started on the JavaFX Application Thread. |
| CropService | back to summary |
|---|---|
| pack-priv CropService() | |
| createTask | back to summary |
|---|---|
| protected Task Implements abstract javafx. Doc from javafx. Invoked after the Service is started on the JavaFX Application Thread. Implementations should save off any state into final variables prior to creating the Task, since accessing properties defined on the Service within the background thread code of the Task will result in exceptions. For example:
If the Task is a pre-defined class (as opposed to being an anonymous class), and if it followed the recommended best-practice, then there is no need to save off state prior to constructing the Task since its state is completely provided in its constructor.
| |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| protected Void | call()
Implements abstract javafx. Invoked when the Task is executed, the call method must be overridden and implemented by subclasses. |
| CropTask | back to summary |
|---|---|
| pack-priv CropTask() | |
| call | back to summary |
|---|---|
| protected Void call() throws Exception Implements abstract javafx. Doc from javafx. Invoked when the Task is executed, the call method must be overridden and implemented by subclasses. The call method actually performs the background thread logic. Only the updateProgress, updateMessage, updateValue and updateTitle methods of Task may be called from code within this method. Any other interaction with the Task from the background thread will result in runtime exceptions. | |