public interface MenuLineLayoutFactory
LayoutBlock
s that are required by the MenuLineLayout
. These objects
are responsible for layouting a subset of components, clients may replace this factory and return blocks that
behave different that the original blocks.Modifier and Type | Method and Description |
---|---|
LayoutBlock |
createInfo(MenuLineLayout layout,
TabPane pane)
Creates the
LayoutBlock for the info component of pane . |
MenuLayoutBlock |
createMenu(MenuLineLayout layout,
TabPane pane)
Creates a new
LayoutBlock representing the menu of pane . |
MenuLineLayoutOrder |
createOrder(MenuLineLayout layout,
TabPane pane)
Creates the order in which the
LayoutBlock s should be presented. |
TabsLayoutBlock |
createTabs(MenuLineLayout layout,
TabPane pane)
Creates a new
LayoutBlock representing the tabs of pane . |
MenuLayoutBlock createMenu(MenuLineLayout layout, TabPane pane)
LayoutBlock
representing the menu of pane
. This method
must call MenuLayoutBlock.setMenu(TabMenu)
with an appropriate menu.layout
- the layout requesting the blockpane
- the panel on which the menu will be shownnull
TabsLayoutBlock createTabs(MenuLineLayout layout, TabPane pane)
LayoutBlock
representing the tabs of pane
. This method
may call AbstractTabsLayoutBlock.setPane(TabPane)
with pane
.layout
- the layout requesting the blockpane
- the panel on which the tabs will be shownnull
LayoutBlock createInfo(MenuLineLayout layout, TabPane pane)
LayoutBlock
for the info component of pane
. This method
should just call TabPane.getInfoComponent()
adnd LonelyTabPaneComponent.toLayoutBlock()
.layout
- the layout requesting the blockpane
- the panel on which the component will be shownnull
MenuLineLayoutOrder createOrder(MenuLineLayout layout, TabPane pane)
LayoutBlock
s should be presented.layout
- the layout requesting the orderpane
- the panel on which the components will be shownnull