public class Percent_Bar_UI extends Percent_BarUI
Percent_Bar
Modifier and Type | Field and Description |
---|---|
static String |
ID
Class identification name with source code version and date.
|
Constructor and Description |
---|
Percent_Bar_UI()
Construct a Percent_Bar_UI object.
|
Modifier and Type | Method and Description |
---|---|
static ComponentUI |
createUI(JComponent component)
Construct a Percent_Bar_UI object for the specified JComponent.
|
void |
paint(Graphics graphics,
JComponent component)
Paint the component on the graphics display device.
|
contains, getAccessibleChild, getAccessibleChildrenCount, getBaseline, getBaselineResizeBehavior, getMaximumSize, getMinimumSize, getPreferredSize, installUI, uninstallUI, update
public static final String ID
public static ComponentUI createUI(JComponent component)
component
- The JComponent for which ComponentUI delegation
is to be provided.public void paint(Graphics graphics, JComponent component)
paint
in class ComponentUI
graphics
- The Graphics on which to paint the component.component
- The JComponent to be painted.