Package com.solibri.smc.api.layout
Interface Split
public interface Split
Split describes a splitting of the UI space for different LayoutViews.
- Since:
- 9.10.8
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic enum
Orientation describes the direction the space is split. -
Method Summary
Modifier and TypeMethodDescriptionReturns the orientation of this split.Returns the subsplits inside this split.getViews()
Returns the views that are inside this split.double
Returns the relative weight of this split element amongst it siblings.
-
Method Details
-
getOrientation
Split.Orientation getOrientation()Returns the orientation of this split. Horizontal means that the parts of this split are on top of each other. Vertical means that the parts of this split are next to each other.- Returns:
- the orientation
- Since:
- 9.10.8
-
getWeight
double getWeight()Returns the relative weight of this split element amongst it siblings.- Returns:
- the weight
- Since:
- 9.10.8
-
getSubSplits
Returns the subsplits inside this split. If this split contains any subsplits it will not contain any views.- Returns:
- a list of the subsplits
- Since:
- 9.10.8
-
getViews
List<LayoutView> getViews()Returns the views that are inside this split. If this split contains any views, it will not contain any subsplits.- Returns:
- a list of the contained views
- Since:
- 9.10.8
-