|
Bounce | ||||||||
| 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 ComponentUI |
createUI(JComponent c)
Creates the one version of this UI. |
void |
installUI(JComponent c)
Installs the UI for the supplied component. |
void |
paint(Graphics g,
JComponent c)
Overrides the paint method in the BasicPanelUI class. |
void |
uninstallUI(JComponent c)
Un-installs the current UI for the supplied component. |
| Methods inherited from class javax.swing.plaf.basic.BasicPanelUI |
|---|
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 ComponentUI createUI(JComponent c)
c - the component the ui needs to be installed for.
public void installUI(JComponent c)
installUI in class BasicPanelUIc - the component the ui needs to be installed for.public void uninstallUI(JComponent c)
uninstallUI in class BasicPanelUIc - the component the ui needs to be un-installed for.
public void paint(Graphics g,
JComponent c)
paint in class ComponentUIg - the graphics.c - the button component.
|
Bounce | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||