com.explodingpixels.macwidgets
Class TriAreaComponent
java.lang.Object
com.explodingpixels.macwidgets.TriAreaComponent
- Direct Known Subclasses:
- ComponentBottomBar, ComponentTopBar
public class TriAreaComponent
- extends java.lang.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 javax.swing.JComponent getComponent()
installWindowDraggerOnWindow
public void installWindowDraggerOnWindow(java.awt.Window window)
addComponentToLeft
public void addComponentToLeft(javax.swing.JComponent toolToAdd)
addComponentToLeft
public void addComponentToLeft(javax.swing.JComponent toolToAdd,
int spacer_pixels)
addComponentToCenter
public void addComponentToCenter(javax.swing.JComponent toolToAdd)
addComponentToCenter
public void addComponentToCenter(javax.swing.JComponent toolToAdd,
int spacer_pixels)
addComponentToRight
public void addComponentToRight(javax.swing.JComponent toolToAdd)
addComponentToRight
public void addComponentToRight(javax.swing.JComponent toolToAdd,
int spacer_pixels)
getLeftComponentCount
protected final int getLeftComponentCount()
getCenterComponentCount
protected final int getCenterComponentCount()
getRightComponentCount
protected final int getRightComponentCount()