org.tbee.swing
Class SwingXUtils
java.lang.Object
org.tbee.swing.SwingXUtils
public class SwingXUtils
- extends Object
- Version:
- $Revision: 1.5 $
|
Method Summary |
static Container |
addToolbar(Component content,
AppleMenu toolbar,
SwingXUtils.Orientation orientation)
|
static Container |
addToolbar(Component content,
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(String defaultUser,
String defaultPassword,
InputStream logoInputStream,
List<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 |
SOURCECODE_VERSION
public static final String SOURCECODE_VERSION
- Standard variable for determining version of a class file.
- See Also:
- Constant Field Values
SwingXUtils
public SwingXUtils()
addToolbar
public static Container addToolbar(Component content,
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 Container addToolbar(Component content,
AppleMenu toolbar,
SwingXUtils.Orientation orientation)
showJXLoginFrame
public static boolean showJXLoginFrame(String defaultUser,
String defaultPassword,
InputStream logoInputStream,
List<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 © 2011 KnowledgePlaza. All Rights Reserved.