|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.explodingpixels.macwidgets.HudWindow
public class HudWindow
An implementation of an OS X Transparent Panel, also known as a Heads Up Display (HUD). For a full descrption of what a Transparent Panel is, see the Transparent Panels section of Apple's Human Interface Guidelines.
HUD's are designed to offer a lightweight way to unobtrusivley offer controls to the user. The window
looks like this:
As Apple points out, this component is not appropriate for all situations and should be used judiciously.
Constructor Summary | |
---|---|
HudWindow()
Creates a Heads Up Display style window. |
|
HudWindow(java.lang.String title)
Creates a Heads Up Display style window. |
|
HudWindow(java.lang.String title,
java.awt.Frame owner)
Creates a Heads Up Display style window. |
Method Summary | |
---|---|
javax.swing.JComponent |
getContentPane()
Gets the JComponent to add content to. |
javax.swing.JDialog |
getJDialog()
Gets the JDialog backing this HudWindow . |
void |
setContentPane(javax.swing.JComponent contentPane)
Sets the JComponent to use as the container for this HudWindow 's content. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public HudWindow()
public HudWindow(java.lang.String title)
title
- the title to use for this window.public HudWindow(java.lang.String title, java.awt.Frame owner)
title
- the title to use for this window.owner
- the Frame
that this HUD is parented to. Can be null.Method Detail |
---|
public javax.swing.JDialog getJDialog()
JDialog
backing this HudWindow
.
JDialog
backing this HudWindow
.public javax.swing.JComponent getContentPane()
JComponent
to add content to.
public void setContentPane(javax.swing.JComponent contentPane)
JComponent
to use as the container for this HudWindow
's content.
contentPane
- the container for this HudWindow
's content.
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |