com.explodingpixels.macwidgets
Class TriAreaComponent
java.lang.Object
com.explodingpixels.macwidgets.TriAreaComponent
- Direct Known Subclasses:
- ComponentBottomBar, ComponentTopBar
public class TriAreaComponent
- extends Object
A component that has three areas in which it widgets can be added. This is the component behind
the Unfied Tool Bar and the Bottom Bar. Here's what a TriAreaComponent Unified Tool Bar
looks like with widgets added to each of the three areas:
You cannot directly create a TriAreaComponent and should instead use the factory
methods provided in MacWidgetFactory.
- See Also:
MacWidgetFactory.createBottomBar(BottomBarSize),
MacWidgetFactory.createUnifiedToolBar()
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
getComponent
public JComponent getComponent()
installWindowDraggerOnWindow
public void installWindowDraggerOnWindow(Window window)
addComponentToLeft
public void addComponentToLeft(JComponent toolToAdd)
addComponentToLeft
public void addComponentToLeft(JComponent toolToAdd,
int spacer_pixels)
addComponentToCenter
public void addComponentToCenter(JComponent toolToAdd)
addComponentToCenter
public void addComponentToCenter(JComponent toolToAdd,
int spacer_pixels)
addComponentToRight
public void addComponentToRight(JComponent toolToAdd)
addComponentToRight
public void addComponentToRight(JComponent toolToAdd,
int spacer_pixels)
getLeftComponentCount
protected final int getLeftComponentCount()
getCenterComponentCount
protected final int getCenterComponentCount()
getRightComponentCount
protected final int getRightComponentCount()