org.tbee.swing
Class SwingXUtils

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

public class SwingXUtils
extends java.lang.Object

Version:
$Revision: 1.5 $

Nested Class Summary
static class SwingXUtils.Orientation
           
 
Field Summary
static java.lang.String SOURCECODE_VERSION
          Standard variable for determining version of a class file.
 
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.
static boolean showJXLoginFrame(java.lang.String defaultUser, java.lang.String defaultPassword, java.io.InputStream logoInputStream, java.util.List<java.lang.String> servers, org.jdesktop.swingx.auth.LoginService loginService)
          show a JXLoginFrame The current thread is blocked until the login frame closes, so this method cannot be called from the EDT
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SOURCECODE_VERSION

public static final java.lang.String SOURCECODE_VERSION
Standard variable for determining version of a class file.

See Also:
Constant Field Values
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)

showJXLoginFrame

public static boolean showJXLoginFrame(java.lang.String defaultUser,
                                       java.lang.String defaultPassword,
                                       java.io.InputStream logoInputStream,
                                       java.util.List<java.lang.String> servers,
                                       org.jdesktop.swingx.auth.LoginService loginService)
show a JXLoginFrame The current thread is blocked until the login frame closes, so this method cannot be called from the EDT



Copyright © 2010 KnowledgePlaza. All Rights Reserved.