V - The visual node used by this IResizableContentPart.public interface IResizableContentPart<V extends javafx.scene.Node> extends IContentPart<V>
IContentPart that supports content related resize.contentAnchoragesUnmodifiable, contentChildrenUnmodifiable, contentanchoragesUnmodifiable, anchoredsUnmodifiable, childrenUnmodifiable, parent, refreshVisualadaptersadaptableactiveIAdaptable.Bound<A extends IAdaptable>IAdaptable.Bound.Impl<T extends IAdaptable>CONTENT_ANCHORAGES_PROPERTY, CONTENT_CHILDREN_PROPERTY, CONTENT_PROPERTYANCHORAGES_PROPERTY, ANCHOREDS_PROPERTY, CHILDREN_PROPERTY, PARENT_PROPERTY, REFRESH_VISUAL_PROPERTYADAPTERS_PROPERTYACTIVE_PROPERTY| Modifier and Type | Method and Description |
|---|---|
Dimension |
getContentSize()
Returns the current size according to this part's content.
|
default Dimension |
getVisualSize()
Returns the current size according to this
IResizableContentPart
's visual. |
void |
setContentSize(Dimension totalSize)
Resizes the content element as specified by the given
Dimension. |
default void |
setVisualSize(Dimension totalSize)
Resizes the visual of this
IResizableContentPart to the given
size. |
addContentChild, attachToContentAnchorage, contentAnchoragesUnmodifiableProperty, contentChildrenUnmodifiableProperty, contentProperty, detachFromContentAnchorage, getContent, getContentAnchoragesUnmodifiable, getContentChildrenUnmodifiable, isFocusable, isSelectable, refreshContentAnchorages, refreshContentChildren, removeContentChild, reorderContentChild, setContentaddChild, 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, setRefreshVisualadaptersProperty, getAdapter, getAdapter, getAdapter, getAdapterKey, getAdapters, getAdapters, getAdapters, setAdapter, setAdapter, setAdapter, setAdapter, unsetAdapteradaptableProperty, getAdaptable, setAdaptableactivate, activeProperty, deactivate, isActivedisposeDimension getContentSize()
default Dimension getVisualSize()
IResizableContentPart
's visual.IResizableContentPart
's visual.void setContentSize(Dimension totalSize)
Dimension.totalSize - The new size.default void setVisualSize(Dimension totalSize)
IResizableContentPart to the given
size.totalSize - The new size for this IResizableContentPart's visual.Copyright (c) 2014, 2016 itemis AG and others. All rights reserved.