Package io.jmix.ui.component
Interface SupportsExpandRatio
- All Known Subinterfaces:
 BoxLayout,DialogWindow,Fragment,FragmentImplementation,Frame,GroupBoxLayout,HBoxLayout,RootWindow,TabWindow,VBoxLayout,Window,WindowImplementation
- All Known Implementing Classes:
 AbstractBox,DialogWindowImpl,FragmentImpl,GroupBoxImpl,HBoxLayoutImpl,RootWindowImpl,TabWindowImpl,VBoxLayoutImpl,WindowImpl
public interface SupportsExpandRatio
Component container which supports expand ratio of components
- 
Method Summary
Modifier and TypeMethodDescriptionfloatgetExpandRatio(Component component) voidsetExpandRatio(Component component, float ratio) Sets expand ratio for the component. 
- 
Method Details
- 
setExpandRatio
Sets expand ratio for the component. The ratio must be greater than or equal to 0.- Parameters:
 component- component to expand with ratioratio- ratio
 - 
getExpandRatio
- Parameters:
 component- component for which returns ratio- Returns:
 - ratio for the component, 0.0f by default
 
 
 -