public class FXCircleSegmentHandlePart extends AbstractFXSegmentHandlePart<javafx.scene.shape.Circle>
FXCircleSegmentHandlePart is an
AbstractFXSegmentHandlePart that uses Circle for the
visualization.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
FXConnection and this handle part represents a connected
point of that FXConnection. |
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
FXConnection and this handle part represents an unconnected
point of that FXConnection. |
pcsANCHORAGES_PROPERTY, ANCHOREDS_PROPERTY, CHILDREN_PROPERTY, PARENT_PROPERTYADAPTERS_PROPERTYACTIVE_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, getPosition, getSegmentCount, getSegmentIndex, getSegmentParameter, getSegmentsInScene, setSegmentIndex, setSegmentParameter, setSegmentsProvider, updateLocationattachToAnchorageVisual, detachFromAnchorageVisualaddChildVisual, removeChildVisualactivate, addAnchorage, addAnchorage, addAnchored, addChild, addChild, addChildren, addChildren, addPropertyChangeListener, deactivate, dispose, doActivate, doDeactivate, getAdapter, getAdapter, getAdapter, getAdapters, getAdapters, getAnchorages, getAnchoreds, getBehaviors, getChildren, getParent, getPolicies, getRoot, getViewer, getVisual, isActive, isRefreshVisual, refreshVisual, register, registerAtVisualPartMap, removeAnchorage, removeAnchorage, removeAnchored, removeChild, removeChildren, removePropertyChangeListener, reorderChild, setAdapter, setAdapter, setAdapter, setAdapters, setParent, setRefreshVisual, unregister, unregisterFromVisualPartMap, unsetAdapterclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddAnchorage, addAnchorage, addAnchored, addChild, addChild, addChildren, addChildren, getAnchorages, getAnchoreds, getBehaviors, getChildren, getParent, getPolicies, getRoot, getVisual, isRefreshVisual, refreshVisual, removeAnchorage, removeAnchorage, removeAnchored, removeChild, removeChildren, reorderChild, setParent, setRefreshVisualgetAdapter, getAdapter, getAdapter, getAdapters, getAdapters, setAdapter, setAdapter, setAdapter, unsetAdapteractivate, deactivate, isActiveaddPropertyChangeListener, removePropertyChangeListenerdisposepublic 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
FXConnection and this handle part represents a connected
point of that FXConnection.public static final javafx.scene.paint.Color UNCONNECTED_FILL
FXConnection and this handle part represents an unconnected
point of that FXConnection.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)
AbstractVisualPartdoRefreshVisual in class AbstractFXSegmentHandlePart<javafx.scene.shape.Circle>visual - This part's visual.protected void updateColor()
FXConnection, 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.