public class FXCircleSegmentHandlePart extends AbstractFXSegmentHandlePart<javafx.scene.shape.Circle>
FXCircleSegmentHandlePart
is an
AbstractFXSegmentHandlePart
that uses Circle
for the
visualization.active, adapters, anchoragesUnmodifiable, anchoredsUnmodifiable, children, parent, refreshVisual
anchoragesUnmodifiable, anchoredsUnmodifiable, children, parent, refreshVisual
adapters
active
IAdaptable.Bound<A extends IAdaptable>
Modifier and Type | Field and Description |
---|---|
static javafx.scene.paint.Color |
CONNECTED_FILL
The default fill color for this part's visualization when it's anchorage
is an
Connection and this handle part represents a connected
point of that Connection . |
static javafx.scene.paint.Color |
DEFAULT_FILL
The default fill color for this part's visualization.
|
static double |
DEFAULT_SIZE
The default size for this part's visualization.
|
static javafx.scene.paint.Color |
DEFAULT_STROKE
The default stroke color for this part's visualization.
|
static javafx.scene.paint.Color |
UNCONNECTED_FILL
The default fill color for this part's visualization when it's anchorage
is an
Connection and this handle part represents an unconnected
point of that Connection . |
ANCHORAGES_PROPERTY, ANCHOREDS_PROPERTY, CHILDREN_PROPERTY, PARENT_PROPERTY, REFRESH_VISUAL_PROPERTY
ADAPTERS_PROPERTY
ACTIVE_PROPERTY
Constructor and Description |
---|
FXCircleSegmentHandlePart() |
Modifier and Type | Method and Description |
---|---|
protected javafx.scene.shape.Circle |
createVisual()
Creates the visual representation of this selection handle.
|
void |
doRefreshVisual(javafx.scene.shape.Circle visual)
Refreshes this part's visualization based on this part's content.
|
protected void |
updateColor()
Updates the color of this part's visualization.
|
compareTo, getBezierSegmentInParent, getPosition, getSegmentCount, getSegmentIndex, getSegmentParameter, getSegmentsInScene, setSegmentIndex, setSegmentParameter, setSegmentsProvider, updateLocation
attachToAnchorageVisual, detachFromAnchorageVisual
addChildVisual, removeChildVisual
activate, activateChildren, activeProperty, adaptersProperty, addChild, addChild, addChildren, addChildren, anchoragesUnmodifiableProperty, anchoredsUnmodifiableProperty, attachAnchored, attachToAnchorage, attachToAnchorage, childrenProperty, deactivate, deactivateChildren, detachAnchored, detachFromAnchorage, detachFromAnchorage, determineViewer, dispose, doActivate, doDeactivate, getAdapter, getAdapter, getAdapter, getAdapters, getAdapters, getAdapters, getAnchoragesUnmodifiable, getAnchoredsUnmodifiable, getBehaviors, getChildrenUnmodifiable, getParent, getPolicies, getRoot, getViewer, getVisual, isActive, isRefreshVisual, parentProperty, refreshVisual, refreshVisualProperty, register, registerAtVisualPartMap, removeChild, removeChildren, reorderChild, setAdapter, setAdapter, setAdapter, setAdapter, setParent, setRefreshVisual, unregister, unregisterFromVisualPartMap, unsetAdapter
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addChild, addChild, addChildren, addChildren, anchoragesUnmodifiableProperty, anchoredsUnmodifiableProperty, attachAnchored, attachToAnchorage, attachToAnchorage, childrenProperty, detachAnchored, detachFromAnchorage, detachFromAnchorage, getAnchoragesUnmodifiable, getAnchoredsUnmodifiable, getBehaviors, getChildrenUnmodifiable, getParent, getPolicies, getRoot, getVisual, isRefreshVisual, parentProperty, refreshVisual, refreshVisualProperty, removeChild, removeChildren, reorderChild, setParent, setRefreshVisual
adaptersProperty, getAdapter, getAdapter, getAdapter, getAdapters, getAdapters, getAdapters, setAdapter, setAdapter, setAdapter, setAdapter, unsetAdapter
activate, activeProperty, deactivate, isActive
dispose
public static final javafx.scene.paint.Color DEFAULT_STROKE
public static final javafx.scene.paint.Color DEFAULT_FILL
public static final javafx.scene.paint.Color CONNECTED_FILL
Connection
and this handle part represents a connected
point of that Connection
.public static final javafx.scene.paint.Color UNCONNECTED_FILL
Connection
and this handle part represents an unconnected
point of that Connection
.public static final double DEFAULT_SIZE
protected javafx.scene.shape.Circle createVisual()
createVisual
in class AbstractVisualPart<javafx.scene.Node,javafx.scene.shape.Circle>
Node
representing the handle visuallypublic void doRefreshVisual(javafx.scene.shape.Circle visual)
AbstractVisualPart
doRefreshVisual
in class AbstractFXSegmentHandlePart<javafx.scene.shape.Circle>
visual
- This part's visual.protected void updateColor()
Connection
, it's color will
be set to CONNECTED_FILL
if that handle is connected to another
part, and UNCONNECTED_FILL
otherwise. If this handle part
represents a middle point on a segment, it's color will be set to
DEFAULT_FILL
.Copyright (c) 2014 itemis AG and others. All rights reserved.