|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.awt.Component
java.awt.Container
java.awt.Window
java.awt.Frame
javax.swing.JFrame
com.jgoodies.uif.AbstractFrame
com.jgoodies.looks.launcher.Launcher
public final class Launcher
Launcher for the JGoodies Looks Demo. Provides an interface
to choose a look and theme and many settings.
Launches the DemoFrameUIF
.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class javax.swing.JFrame |
---|
JFrame.AccessibleJFrame |
Nested classes/interfaces inherited from class java.awt.Frame |
---|
Frame.AccessibleAWTFrame |
Nested classes/interfaces inherited from class java.awt.Window |
---|
Window.AccessibleAWTWindow |
Nested classes/interfaces inherited from class java.awt.Container |
---|
Container.AccessibleAWTContainer |
Nested classes/interfaces inherited from class java.awt.Component |
---|
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy |
Field Summary |
---|
Fields inherited from class javax.swing.JFrame |
---|
accessibleContext, EXIT_ON_CLOSE, rootPane, rootPaneCheckingEnabled |
Fields inherited from class java.awt.Frame |
---|
CROSSHAIR_CURSOR, DEFAULT_CURSOR, E_RESIZE_CURSOR, HAND_CURSOR, ICONIFIED, MAXIMIZED_BOTH, MAXIMIZED_HORIZ, MAXIMIZED_VERT, MOVE_CURSOR, N_RESIZE_CURSOR, NE_RESIZE_CURSOR, NORMAL, NW_RESIZE_CURSOR, S_RESIZE_CURSOR, SE_RESIZE_CURSOR, SW_RESIZE_CURSOR, TEXT_CURSOR, W_RESIZE_CURSOR, WAIT_CURSOR |
Fields inherited from class java.awt.Component |
---|
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT |
Fields inherited from interface javax.swing.WindowConstants |
---|
DISPOSE_ON_CLOSE, DO_NOTHING_ON_CLOSE, HIDE_ON_CLOSE |
Fields inherited from interface java.awt.image.ImageObserver |
---|
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
Constructor Summary | |
---|---|
Launcher()
Constructs the launcher (main) frame. |
Method Summary | |
---|---|
JComponent |
buildContentPane()
Builds and returns the content pane; delegated to the LauncherPageView to enable Applet support later. |
(package private) LookAndFeel[] |
computeLooks()
Computes and returns an array of available and supported look&feel implementations. |
(package private) com.jgoodies.looks.plastic.PlasticTheme[] |
computeThemes()
Computes and answers an array of available Plastic themes. |
protected void |
configureCloseOperation()
Configures the close behavior to close the application on Window closing. |
(package private) String |
defaultLookAndFeelClassName()
Computes and returns the class name for the default look and feel. |
(package private) void |
doLaunch()
Launches the demo frame: stores bounds of an existing frame, configures the demo, opens the demo frame, iconifies the launcher, and finally listens to demo frame close events. |
Dimension |
getWindowMinimumSize()
Returns the frame's minimum size. |
protected void |
locateOnScreen()
Locates the frame on the screen. |
void |
open()
Opens the frame. |
protected void |
resizeHook(JComponent component)
Resizes the specified component and is called during the #build process. |
Methods inherited from class com.jgoodies.uif.AbstractFrame |
---|
build, configureWindowIcon, getTitleSuffix, initEventHandling, restoreState, setTitlePrefix, setTitleSuffix, storeState |
Methods inherited from class java.awt.Frame |
---|
addNotify, getCursorType, getExtendedState, getFrames, getIconImage, getMaximizedBounds, getMenuBar, getState, getTitle, isResizable, isUndecorated, remove, removeNotify, setCursor, setExtendedState, setMaximizedBounds, setMenuBar, setResizable, setState, setTitle, setUndecorated |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface java.awt.MenuContainer |
---|
getFont, postEvent |
Constructor Detail |
---|
public Launcher()
Method Detail |
---|
public void open()
open
in class com.jgoodies.uif.AbstractFrame
public JComponent buildContentPane()
LauncherPageView
to enable Applet support later.
buildContentPane
in class com.jgoodies.uif.AbstractFrame
public Dimension getWindowMinimumSize()
WindowUtils
.
protected void configureCloseOperation()
configureCloseOperation
in class com.jgoodies.uif.AbstractFrame
JFrame.setDefaultCloseOperation(int)
,
Application.getApplicationExitOnWindowClosingHandler()
protected void resizeHook(JComponent component)
resizeHook
in class com.jgoodies.uif.AbstractFrame
protected void locateOnScreen()
locateOnScreen
in class com.jgoodies.uif.AbstractFrame
void doLaunch()
String defaultLookAndFeelClassName()
LookAndFeel[] computeLooks()
com.jgoodies.looks.plastic.PlasticTheme[] computeThemes()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |