bibliothek.gui.dock.station.toolbar.layout
Class ToolbarGridLayoutManager.Wrapper
java.lang.Object
bibliothek.gui.dock.station.toolbar.layout.ToolbarGridLayoutManager.Wrapper
- Enclosing class:
- ToolbarGridLayoutManager<P extends bibliothek.gui.dock.station.support.PlaceholderListItem<bibliothek.gui.Dockable>>
protected class ToolbarGridLayoutManager.Wrapper
- extends Object
A wrapper around one Component
, caches minimal, maximal or
preferred size.
- Author:
- Benjamin Sigg
Method Summary |
Rectangle |
getBounds()
Gets the current boundaries of this cell. |
Rectangle |
getScreenBounds()
Gets the current boundaries of this cell in the screen coordinates |
void |
reset(bibliothek.gui.dock.station.toolbar.layout.ToolbarGridLayoutManager.Size size)
Resets the size constraints of this item. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
component
public Component component
required
public Dimension required
ToolbarGridLayoutManager.Wrapper
public ToolbarGridLayoutManager.Wrapper(Component component)
reset
public void reset(bibliothek.gui.dock.station.toolbar.layout.ToolbarGridLayoutManager.Size size)
- Resets the size constraints of this item.
- Parameters:
size
- the kind of size that should be used as constraint
getBounds
public Rectangle getBounds()
- Gets the current boundaries of this cell.
- Returns:
- the current boundaries, never
null
getScreenBounds
public Rectangle getScreenBounds()
- Gets the current boundaries of this cell in the screen coordinates
- Returns:
- the current boundaries, never
null