public class DefaultMenuLineLayoutFactory extends Object implements MenuLineLayoutFactory
MenuLineLayoutFactory.| Constructor and Description |
|---|
DefaultMenuLineLayoutFactory() |
| 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
LayoutBlocks should be presented. |
TabsLayoutBlock |
createTabs(MenuLineLayout layout,
TabPane pane)
Creates a new
LayoutBlock representing the tabs of pane. |
public LayoutBlock createInfo(MenuLineLayout layout, TabPane pane)
MenuLineLayoutFactoryLayoutBlock for the info component of pane. This method
should just call TabPane.getInfoComponent() and LonelyTabPaneComponent.toLayoutBlock().createInfo in interface MenuLineLayoutFactorylayout - the layout requesting the blockpane - the panel on which the component will be shownnullpublic MenuLayoutBlock createMenu(MenuLineLayout layout, TabPane pane)
MenuLineLayoutFactoryLayoutBlock representing the menu of pane. This method
must call MenuLayoutBlock.setMenu(TabMenu) with an appropriate menu.createMenu in interface MenuLineLayoutFactorylayout - the layout requesting the blockpane - the panel on which the menu will be shownnullpublic TabsLayoutBlock createTabs(MenuLineLayout layout, TabPane pane)
MenuLineLayoutFactoryLayoutBlock representing the tabs of pane. This method
may call AbstractTabsLayoutBlock.setPane(TabPane) with pane.createTabs in interface MenuLineLayoutFactorylayout - the layout requesting the blockpane - the panel on which the tabs will be shownnullpublic MenuLineLayoutOrder createOrder(MenuLineLayout layout, TabPane pane)
MenuLineLayoutFactoryLayoutBlocks should be presented.createOrder in interface MenuLineLayoutFactorylayout - the layout requesting the orderpane - the panel on which the components will be shownnullCopyright © 2017 Docking Frames. All rights reserved.