|
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.swing.plaf.ComponentUI
javax.swing.plaf.PanelUI
javax.swing.plaf.basic.BasicPanelUI
org.bounce.plaf.BouncePanelUI
public class BouncePanelUI
Extend the BasicPanelUI class, this PanelUI allows for a background image that can be centered, tiled, anchored in a corner or stretched. The UI also allows for a diagonal gradient filled background, for a very subtle 3D effect.
| Constructor Summary | |
|---|---|
BouncePanelUI()
|
|
| Method Summary | |
|---|---|
static javax.swing.plaf.ComponentUI |
createUI(javax.swing.JComponent c)
Creates the one version of this UI. |
void |
installUI(javax.swing.JComponent c)
Installs the UI for the supplied component. |
void |
paint(java.awt.Graphics g,
javax.swing.JComponent c)
Overrides the paint method in the BasicPanelUI class. |
void |
uninstallUI(javax.swing.JComponent c)
Un-installs the current UI for the supplied component. |
| Methods inherited from class javax.swing.plaf.basic.BasicPanelUI |
|---|
getBaseline, getBaselineResizeBehavior, installDefaults, uninstallDefaults |
| Methods inherited from class javax.swing.plaf.ComponentUI |
|---|
contains, getAccessibleChild, getAccessibleChildrenCount, getMaximumSize, getMinimumSize, getPreferredSize, update |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public BouncePanelUI()
| Method Detail |
|---|
public static javax.swing.plaf.ComponentUI createUI(javax.swing.JComponent c)
c - the component the ui needs to be installed for.
public void installUI(javax.swing.JComponent c)
installUI in class javax.swing.plaf.basic.BasicPanelUIc - the component the ui needs to be installed for.public void uninstallUI(javax.swing.JComponent c)
uninstallUI in class javax.swing.plaf.basic.BasicPanelUIc - the component the ui needs to be un-installed for.
public void paint(java.awt.Graphics g,
javax.swing.JComponent c)
paint in class javax.swing.plaf.ComponentUIg - the graphics.c - the button component.
|
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||