Drag[en]gine Script Module DragonScript
1.21
|
Interface knowing how to arrange child widgets in Container. More...
Public Member Functions | |
void | addWidget (Widget widget, Object settings) |
Add widget to layout using settings. More... | |
void | doLayout (Container container) |
Layout widgets in container. More... | |
Point | getMinimumSize (Container container) |
Minimal size required for layout in container. More... | |
Point | getMinimumSizeForHeight (Container container, int height) |
Minimum size of layout using reference widget height and variable width. More... | |
Point | getMinimumSizeForWidth (Container container, int width) |
Minimum size of layout using reference width and variable height. More... | |
void | removeWidget (Widget widget) |
Remove widget from layout. More... | |
Interface knowing how to arrange child widgets in Container.
void Dragengine.Gui.Layout.addWidget | ( | Widget | widget, |
Object | settings | ||
) |
Add widget to layout using settings.
widget | Widget to add to layout. |
settings | Settings for widget. Can be null. |
Implemented in Dragengine.Gui.Slider.ActionSlide.SliderLayout, Dragengine.Gui.Layouts.WeightLayout, Dragengine.Gui.Layouts.TabLayout, Dragengine.Gui.Layouts.StackLayout, Dragengine.Gui.Layouts.ScrollPanelLayout, Dragengine.Gui.Layouts.GridLayout, Dragengine.Gui.Layouts.FormLayout, Dragengine.Gui.Layouts.FixedLayout, Dragengine.Gui.Layouts.BoxLayout, and Dragengine.Gui.Layouts.BorderLayout.
void Dragengine.Gui.Layout.doLayout | ( | Container | container | ) |
Layout widgets in container.
Implemented in Dragengine.Gui.Slider.ActionSlide.SliderLayout, Dragengine.Gui.Layouts.WeightLayout, Dragengine.Gui.Layouts.ViewportLayout, Dragengine.Gui.Layouts.TabLayout, Dragengine.Gui.Layouts.StackLayout, Dragengine.Gui.Layouts.ScrollPanelLayout, Dragengine.Gui.Layouts.GridLayout, Dragengine.Gui.Layouts.FormLayout, Dragengine.Gui.Layouts.FlowLayout, Dragengine.Gui.Layouts.FixedMinimalLayout, Dragengine.Gui.Layouts.FixedLayout, Dragengine.Gui.Layouts.CentrizedBoxLayout, Dragengine.Gui.Layouts.BoxLayout, and Dragengine.Gui.Layouts.BorderLayout.
Minimal size required for layout in container.
Implemented in Dragengine.Gui.Slider.ActionSlide.SliderLayout, Dragengine.Gui.Layouts.WeightLayout, Dragengine.Gui.Layouts.StackLayout, Dragengine.Gui.Layouts.ScrollPanelLayout, Dragengine.Gui.Layouts.GridLayout, Dragengine.Gui.Layouts.FormLayout, Dragengine.Gui.Layouts.FixedMinimalLayout, Dragengine.Gui.Layouts.FixedLayout, Dragengine.Gui.Layouts.BoxLayout, and Dragengine.Gui.Layouts.BorderLayout.
Minimum size of layout using reference widget height and variable width.
Implemented in Dragengine.Gui.Slider.ActionSlide.SliderLayout, Dragengine.Gui.Layouts.WeightLayout, Dragengine.Gui.Layouts.StackLayout, Dragengine.Gui.Layouts.ScrollPanelLayout, Dragengine.Gui.Layouts.GridLayout, Dragengine.Gui.Layouts.FormLayout, Dragengine.Gui.Layouts.FixedMinimalLayout, Dragengine.Gui.Layouts.FixedLayout, Dragengine.Gui.Layouts.BoxLayout, and Dragengine.Gui.Layouts.BorderLayout.
Minimum size of layout using reference width and variable height.
Implemented in Dragengine.Gui.Slider.ActionSlide.SliderLayout, Dragengine.Gui.Layouts.WeightLayout, Dragengine.Gui.Layouts.TabLayout, Dragengine.Gui.Layouts.StackLayout, Dragengine.Gui.Layouts.ScrollPanelLayout, Dragengine.Gui.Layouts.GridLayout, Dragengine.Gui.Layouts.FormLayout, Dragengine.Gui.Layouts.FixedMinimalLayout, Dragengine.Gui.Layouts.FixedLayout, Dragengine.Gui.Layouts.BoxLayout, and Dragengine.Gui.Layouts.BorderLayout.
void Dragengine.Gui.Layout.removeWidget | ( | Widget | widget | ) |
Remove widget from layout.
Implemented in Dragengine.Gui.Slider.ActionSlide.SliderLayout, Dragengine.Gui.Layouts.WeightLayout, Dragengine.Gui.Layouts.TabLayout, Dragengine.Gui.Layouts.StackLayout, Dragengine.Gui.Layouts.ScrollPanelLayout, Dragengine.Gui.Layouts.GridLayout, Dragengine.Gui.Layouts.FormLayout, Dragengine.Gui.Layouts.FixedLayout, Dragengine.Gui.Layouts.BoxLayout, and Dragengine.Gui.Layouts.BorderLayout.