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, content
anchoragesUnmodifiable, anchoredsUnmodifiable, childrenUnmodifiable, parent, refreshVisual
adapters
adaptable
active
IAdaptable.Bound<A extends IAdaptable>
IAdaptable.Bound.Impl<T extends IAdaptable>
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 |
---|---|
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, 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
Dimension 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.