public class BouncePanelUI extends BasicPanelUI
Constructor and Description |
---|
BouncePanelUI() |
Modifier and Type | Method and Description |
---|---|
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.
|
getBaseline, getBaselineResizeBehavior, installDefaults, uninstallDefaults
contains, getAccessibleChild, getAccessibleChildrenCount, getMaximumSize, getMinimumSize, getPreferredSize, update
public static ComponentUI createUI(JComponent c)
c
- the component the ui needs to be installed for.public void installUI(JComponent c)
installUI
in class BasicPanelUI
c
- the component the ui needs to be installed for.public void uninstallUI(JComponent c)
uninstallUI
in class BasicPanelUI
c
- the component the ui needs to be un-installed for.public void paint(Graphics g, JComponent c)
paint
in class ComponentUI
g
- the graphics.c
- the button component.Copyright © 2002-2013 Edwin Dankert. All Rights Reserved.