V
- The visual node used by this ITransformableContentPart
.public interface ITransformableContentPart<V extends javafx.scene.Node> extends IContentPart<V>
IContentPart
that supports content related transformations.contentAnchoragesUnmodifiable, contentChildrenUnmodifiable, content
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 |
---|---|
static AdapterKey<Provider<? extends javafx.scene.transform.Affine>> |
TRANSFORM_PROVIDER_KEY
The adapter key for the
Provider<Affine> that will be
used to obtain the host's Affine transformation. |
static java.lang.String |
TRANSFORM_PROVIDER_ROLE
The role for the adapter key of the
Provider<Affine>
that will be used to obtain the part's Affine transformation. |
CONTENT_ANCHORAGES_PROPERTY, CONTENT_CHILDREN_PROPERTY, CONTENT_PROPERTY
ANCHORAGES_PROPERTY, ANCHOREDS_PROPERTY, CHILDREN_PROPERTY, PARENT_PROPERTY, REFRESH_VISUAL_PROPERTY
ADAPTERS_PROPERTY
ACTIVE_PROPERTY
Modifier and Type | Method and Description |
---|---|
javafx.scene.transform.Affine |
getContentTransform()
Returns the current
Affine according to this
ITransformableContentPart 's content. |
default javafx.scene.transform.Affine |
getVisualTransform()
Returns the current transform according to this
ITransformableContentPart 's visual. |
void |
setContentTransform(javafx.scene.transform.Affine totalTransform)
Set the content transformation as specified by the given
AffineTransform . |
default void |
setVisualTransform(javafx.scene.transform.Affine totalTransform)
|
addContentChild, attachToContentAnchorage, contentAnchoragesUnmodifiableProperty, contentChildrenUnmodifiableProperty, contentProperty, detachFromContentAnchorage, getContent, getContentAnchoragesUnmodifiable, getContentChildrenUnmodifiable, isFocusable, isSelectable, refreshContentAnchorages, refreshContentChildren, removeContentChild, reorderContentChild, setContent
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
static final java.lang.String TRANSFORM_PROVIDER_ROLE
Provider<Affine>
that will be used to obtain the part's Affine
transformation.static final AdapterKey<Provider<? extends javafx.scene.transform.Affine>> TRANSFORM_PROVIDER_KEY
Provider<Affine>
that will be
used to obtain the host's Affine
transformation.javafx.scene.transform.Affine getContentTransform()
Affine
according to this
ITransformableContentPart
's content.Affine
according to this
ITransformableContentPart
's content.default javafx.scene.transform.Affine getVisualTransform()
ITransformableContentPart
's visual.ITransformableContentPart
's visual.void setContentTransform(javafx.scene.transform.Affine totalTransform)
AffineTransform
.totalTransform
- The AffineTransform
to set.default void setVisualTransform(javafx.scene.transform.Affine totalTransform)
totalTransform
- The Affine
that is to be set as the
visual transform
of this
ITransformableContentPart
.Copyright (c) 2014, 2016 itemis AG and others. All rights reserved.