public class RectangleSegmentHandlePart extends AbstractSegmentHandlePart<javafx.scene.shape.Rectangle>
AbstractSegmentHandlePart
with a rectangular
Rectangle
visual.active, adaptable, adapters, anchoragesUnmodifiable, anchoredsUnmodifiable, childrenUnmodifiable, parent, refreshVisual
anchoragesUnmodifiable, anchoredsUnmodifiable, childrenUnmodifiable, parent, refreshVisual
adapters
adaptable
active
IAdaptable.Bound<A extends IAdaptable>
IAdaptable.Bound.Impl<T extends IAdaptable>
Modifier and Type | Field and Description |
---|---|
protected static double |
DEFAULT_LENGTH
The default length for this part's visualization.
|
protected static double |
DEFAULT_WIDTH
The default width for this part's visualization.
|
ANCHORAGES_PROPERTY, ANCHOREDS_PROPERTY, CHILDREN_PROPERTY, PARENT_PROPERTY, REFRESH_VISUAL_PROPERTY
ADAPTERS_PROPERTY
ACTIVE_PROPERTY
Constructor and Description |
---|
RectangleSegmentHandlePart() |
Modifier and Type | Method and Description |
---|---|
protected javafx.scene.shape.Rectangle |
doCreateVisual()
Creates this part's visual.
|
void |
doRefreshVisual(javafx.scene.shape.Rectangle visual)
Refreshes this part's visualization based on this part's content.
|
protected void |
updateColor()
Updates the color of this part's visualization.
|
protected void |
updateLocation(javafx.scene.shape.Rectangle visual)
Computes the location for this part and relocates its visual to that
location.
|
compareTo, getBezierSegmentInParent, getConnectedFill, getInsertFill, getMoveFill, getPosition, getSegmentCount, getSegmentIndex, getSegmentParameter, getSegmentsInScene, getStroke, setSegmentIndex, setSegmentParameter, setSegmentsProvider
doAddChildVisual, doAttachToAnchorageVisual, doDetachFromAnchorageVisual, doRemoveChildVisual
activate, activateAdapters, activateChildren, activeProperty, adaptableProperty, adaptersProperty, addChild, addChild, addChildren, addChildren, anchoragesUnmodifiableProperty, anchoredsUnmodifiableProperty, attachAnchored, attachToAnchorage, attachToAnchorage, childrenUnmodifiableProperty, deactivate, deactivateAdapters, deactivateChildren, detachAnchored, detachFromAnchorage, detachFromAnchorage, determineViewer, dispose, doActivate, doDeactivate, getAdaptable, getAdapter, getAdapter, getAdapter, getAdapterKey, getAdapters, getAdapters, getAdapters, getAnchoragesUnmodifiable, getAnchoredsUnmodifiable, getBehaviors, getChildrenUnmodifiable, getHandlers, getParent, getPolicies, getRoot, getVisual, isActive, isRefreshVisual, parentProperty, refreshVisual, refreshVisualProperty, register, registerAtVisualPartMap, removeChild, removeChildren, reorderChild, setAdaptable, 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, childrenUnmodifiableProperty, detachAnchored, detachFromAnchorage, detachFromAnchorage, getAnchoragesUnmodifiable, getAnchoredsUnmodifiable, getBehaviors, getChildrenUnmodifiable, getHandlers, getParent, getPolicies, getRoot, getViewer, getVisual, isRefreshVisual, parentProperty, refreshVisual, refreshVisualProperty, removeChild, removeChildren, reorderChild, setParent, setRefreshVisual
adaptersProperty, getAdapter, getAdapter, getAdapter, getAdapterKey, getAdapters, getAdapters, getAdapters, setAdapter, setAdapter, setAdapter, setAdapter, unsetAdapter
adaptableProperty, getAdaptable, setAdaptable
activate, activeProperty, deactivate, isActive
dispose
protected static final double DEFAULT_WIDTH
protected static final double DEFAULT_LENGTH
protected javafx.scene.shape.Rectangle doCreateVisual()
AbstractVisualPart
doCreateVisual
in class AbstractVisualPart<javafx.scene.shape.Rectangle>
public void doRefreshVisual(javafx.scene.shape.Rectangle visual)
AbstractVisualPart
doRefreshVisual
in class AbstractSegmentHandlePart<javafx.scene.shape.Rectangle>
visual
- This part's visual.protected void updateColor()
Connection
, it's color will
be set to indicate whether the handle is connected to another part or
not.protected void updateLocation(javafx.scene.shape.Rectangle visual)
AbstractSegmentHandlePart
updateLocation
in class AbstractSegmentHandlePart<javafx.scene.shape.Rectangle>
visual
- This part's visual for convenience.Copyright (c) 2014, 2016 itemis AG and others. All rights reserved.