Package io.jmix.ui.component
Interface Fragment
- All Superinterfaces:
ActionsHolder,Component,Component.BelongToFrame,Component.HasCaption,Component.HasDescription,Component.HasIcon,ComponentContainer,ExpandingLayout,Frame,HasComponents,HasMargin,HasSpacing,HasSubParts,OrderedContainer,SupportsExpandRatio
- All Known Subinterfaces:
FragmentImplementation
- All Known Implementing Classes:
FragmentImpl
@StudioComponent(caption="Fragment",
category="Containers",
xmlElement="fragment",
icon="io/jmix/ui/icon/container/fragment.svg",
canvasBehaviour=BOX,
canvasIconSize=LARGE,
unsupportedProperties={"spacing","margin"},
documentationURL="https://docs.jmix.io/jmix/%VERSION%/ui/screens.html")
public interface Fragment
extends Frame
Reusable part of
Window with separate UI controller.- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.jmix.ui.component.Component
Component.Alignment, Component.BelongToFrame, Component.Disposable, Component.Editable, Component.Focusable, Component.HasCaption, Component.HasDescription, Component.HasIcon, Component.HasXmlDescriptor, Component.WrapperNested classes/interfaces inherited from interface io.jmix.ui.component.ExpandingLayout
ExpandingLayout.ExpandDirection -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringName that is used to register a client type specific screen implementation inUiComponentsFields inherited from interface io.jmix.ui.component.Component
AUTO_SIZE, AUTO_SIZE_PX, FULL_SIZE -
Method Summary
Methods inherited from interface io.jmix.ui.component.ActionsHolder
addAction, addAction, getAction, getActionNN, getActions, getSubPart, removeAction, removeAction, removeAllActionsMethods inherited from interface io.jmix.ui.component.Component
addStyleName, getAlignment, getHeight, getHeightSizeUnit, getId, getParent, getStyleName, getWidth, getWidthSizeUnit, isEnabled, isEnabledRecursive, isResponsive, isVisible, isVisibleRecursive, removeStyleName, setAlignment, setEnabled, setHeight, setHeightAuto, setHeightFull, setId, setParent, setResponsive, setSizeAuto, setSizeFull, setStyleName, setVisible, setWidth, setWidthAuto, setWidthFull, unwrap, unwrapComposition, unwrapCompositionOrNull, unwrapOrNull, withUnwrapped, withUnwrappedCompositionMethods inherited from interface io.jmix.ui.component.Component.BelongToFrame
getFrame, setFrameMethods inherited from interface io.jmix.ui.component.Component.HasCaption
getCaption, setCaptionMethods inherited from interface io.jmix.ui.component.Component.HasDescription
getDescription, setDescriptionMethods inherited from interface io.jmix.ui.component.Component.HasIcon
getIcon, setIcon, setIconFromSetMethods inherited from interface io.jmix.ui.component.ComponentContainer
add, add, remove, remove, removeAllMethods inherited from interface io.jmix.ui.component.ExpandingLayout
expand, getExpandDirection, isExpanded, resetExpandedMethods inherited from interface io.jmix.ui.component.Frame
addFacet, getFacet, getFacetNN, getFacets, isValid, removeFacet, validate, validate, validateAllMethods inherited from interface io.jmix.ui.component.HasComponents
focusFirstComponent, getComponent, getComponentNN, getComponents, getOwnComponent, getOwnComponents, getOwnComponentsStreamMethods inherited from interface io.jmix.ui.component.HasMargin
getMargin, setMargin, setMargin, setMarginMethods inherited from interface io.jmix.ui.component.HasSpacing
getSpacing, setSpacingMethods inherited from interface io.jmix.ui.component.OrderedContainer
add, getComponent, getComponentNN, indexOfMethods inherited from interface io.jmix.ui.component.SupportsExpandRatio
getExpandRatio, setExpandRatio
-
Field Details
-
NAME
Name that is used to register a client type specific screen implementation inUiComponents- See Also:
-
-
Method Details
-
getFrameOwner
ScreenFragment getFrameOwner()- Specified by:
getFrameOwnerin interfaceFrame- Returns:
- UI controller of the frame
- See Also:
-
getContext
@StudioElementsGroup(caption="Properties", xmlElement="properties", elementClass="io.jmix.ui.sys.UiControllerProperty", icon="io/jmix/ui/icon/element/properties.svg") FrameContext getContext()- Specified by:
getContextin interfaceFrame- Returns:
- current frame context
-