Package com.solibri.smc.api.layout
Interface LayoutView
-
public interface LayoutView
LayoutView represents a single view embedded in a layout.- Since:
- 9.10.8
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
LayoutView.State
Describes the current state of the layoutview.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description LayoutView.State
getState()
Returns the state of (the position of) this layout view.View
getView()
Returns the view that this layoutview holds.double
getWeight()
Returns the relative weight of this layout view element amongst it siblings.
-
-
-
Method Detail
-
getView
View getView()
Returns the view that this layoutview holds. The view is returned in its true form only if the view has been defined throught custom views API. This means that for internal Solibri views this returns a View, but that view does not contain the whole logic.- Returns:
- the embedded view
- Since:
- 9.10.8
-
getWeight
double getWeight()
Returns the relative weight of this layout view element amongst it siblings.- Returns:
- the weight
- Since:
- 9.10.8
-
getState
LayoutView.State getState()
Returns the state of (the position of) this layout view.- Returns:
- the state of this layout view
- Since:
- 9.10.8
-
-