org.tbee.swing
Class SwingXUtils

java.lang.Object
  extended by org.tbee.swing.SwingXUtils

public class SwingXUtils
extends java.lang.Object

Version:
$Revision: 1.4 $

Nested Class Summary
static class SwingXUtils.Orientation
           
 
Constructor Summary
SwingXUtils()
           
 
Method Summary
static java.awt.Container addToolbar(java.awt.Component content, AppleMenu toolbar, SwingXUtils.Orientation orientation)
           
static java.awt.Container addToolbar(java.awt.Component content, java.awt.Component toolbar, int size, SwingXUtils.Orientation orientation)
          Wrap the content and toolbar in such a way that the toolbar can overlap the content (used for AppleMenu) So the size amount of room is reserved in the content area, but the toolbar may go outside.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SwingXUtils

public SwingXUtils()
Method Detail

addToolbar

public static java.awt.Container addToolbar(java.awt.Component content,
                                            java.awt.Component toolbar,
                                            int size,
                                            SwingXUtils.Orientation orientation)
Wrap the content and toolbar in such a way that the toolbar can overlap the content (used for AppleMenu) So the size amount of room is reserved in the content area, but the toolbar may go outside.

Parameters:
content -
toolbar -
size -
orientation -
Returns:

addToolbar

public static java.awt.Container addToolbar(java.awt.Component content,
                                            AppleMenu toolbar,
                                            SwingXUtils.Orientation orientation)


Copyright © 2010. All Rights Reserved.