All Packages Class Hierarchy This Package Previous Next Index
Class com.objectplanet.chart.NonFlickerPanel
java.lang.Object
|
+----java.awt.Component
|
+----java.awt.Container
|
+----java.awt.Panel
|
+----com.objectplanet.chart.NonFlickerPanel
- public class NonFlickerPanel
- extends Panel
This panel can be used to place any charts in so they won't flicker.
- Author:
- Bjorn J. Kvande.
-
NonFlickerPanel()
- Constructs a new non-flicker panel.
-
NonFlickerPanel(LayoutManager)
- Constructs a new non-flicker panel with the specified layoutmanager.
-
invalidate()
- Called when the components in the panel needs to be laid out.
-
paint(Graphics)
- Paints the components in the panel.
-
update(Graphics)
- Overridden to avoid flicker.
NonFlickerPanel
public NonFlickerPanel()
- Constructs a new non-flicker panel.
NonFlickerPanel
public NonFlickerPanel(LayoutManager layoutManager)
- Constructs a new non-flicker panel with the specified layoutmanager.
- Parameters:
- layoutManager - The layoutmanager to use.
invalidate
public void invalidate()
- Called when the components in the panel needs to be laid out.
- Overrides:
- invalidate in class Container
update
public void update(Graphics g)
- Overridden to avoid flicker.
- Overrides:
- update in class Container
paint
public void paint(Graphics g)
- Paints the components in the panel.
- Overrides:
- paint in class Container
All Packages Class Hierarchy This Package Previous Next Index