|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jtheque.movies.utils.SwingUtils
public final class SwingUtils
A temporary swing utility class. This class must be moved to JTheque Core/Utils at the next release of this two projects.
| Method Summary | |
|---|---|
static void |
addFilthyButtonBar(org.jtheque.core.utils.ui.PanelBuilder panel,
Object constraints,
Action... actions)
Add a button bar. |
static JCheckBox |
addFilthyCheckbox(org.jtheque.core.utils.ui.PanelBuilder panel,
String key,
Object constraints)
Add a filthy checkbox to the panel builder. |
static Border |
createFilthyTitledBorder(String key)
Create a filthy titled border. |
static Image |
paintFilthyBackground(Graphics g,
Image gradientImage,
org.jtheque.utils.ui.SizeTracker tracker,
Component panel)
Paint a filthy background to a panel. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static Image paintFilthyBackground(Graphics g,
Image gradientImage,
org.jtheque.utils.ui.SizeTracker tracker,
Component panel)
g - The graphics to paint to.gradientImage - The gradient image to use.tracker - The size tracker of the panel.panel - The panel to paint.
public static Border createFilthyTitledBorder(String key)
key - The internationalization key.
public static void addFilthyButtonBar(org.jtheque.core.utils.ui.PanelBuilder panel,
Object constraints,
Action... actions)
panel - The panel builder to add the button bar to.constraints - The constraints to use to add to the panel.actions - The actions to add to the button bar.
public static JCheckBox addFilthyCheckbox(org.jtheque.core.utils.ui.PanelBuilder panel,
String key,
Object constraints)
panel - The panel builder to add the check box to.key - The i18n key of the check box.constraints - The constraints to use to add the check box to the builder.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||