public interface MenuLineLayoutStrategy
MenuLineLayout, these algorithms
tell how exactly to lay out the items of a TabPane.| Modifier and Type | Method and Description |
|---|---|
double |
getScore(MenuLineLayoutPossibility possibility,
Size menuSize,
Size infoSize,
Size tabSize)
Calculates how good a layout with the given sizes is.
|
double getScore(MenuLineLayoutPossibility possibility, Size menuSize, Size infoSize, Size tabSize)
Size.getScore(). MenuLineLayout will create
different combinations of Size, call this method, and use the one combination
with the highest score.possibility - a description of the layout that might be appliedmenuSize - the size of the menu, can be null if the menu is now showninfoSize - the size of the info-component, can be null if the component is not showntabSize - the size of the tabs, can be null if there are no tabs0.0 and 1.0Copyright © 2017 Docking Frames. All rights reserved.