bibliothek.gui.dock.station.stack.tab.layouting
Class MenuLayoutBlock

java.lang.Object
  extended by bibliothek.gui.dock.station.stack.tab.layouting.ComponentLayoutBlock<TabMenu>
      extended by bibliothek.gui.dock.station.stack.tab.layouting.MenuLayoutBlock
All Implemented Interfaces:
LayoutBlock

public class MenuLayoutBlock
extends ComponentLayoutBlock<TabMenu>

A wrapper around a TabMenu.

Author:
Benjamin Sigg

Constructor Summary
MenuLayoutBlock()
           
 
Method Summary
 TabMenu getMenu()
          Gets the menu of this block.
 void setMenu(TabMenu menu)
          Sets the menu for this block.
 
Methods inherited from class bibliothek.gui.dock.station.stack.tab.layouting.ComponentLayoutBlock
getComponent, getSizes, setBounds, setComponent, setLayout, setOrientation
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MenuLayoutBlock

public MenuLayoutBlock()
Method Detail

setMenu

public void setMenu(TabMenu menu)
Sets the menu for this block.

Parameters:
menu - the menu, may be null
See Also:
ComponentLayoutBlock.setComponent(bibliothek.gui.dock.station.stack.tab.TabPaneComponent)

getMenu

public TabMenu getMenu()
Gets the menu of this block.

Returns:
the menu, may be null
See Also:
ComponentLayoutBlock.getComponent()