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.

Constructor Index

 o NonFlickerPanel()
Constructs a new non-flicker panel.
 o NonFlickerPanel(LayoutManager)
Constructs a new non-flicker panel with the specified layoutmanager.

Method Index

 o invalidate()
Called when the components in the panel needs to be laid out.
 o paint(Graphics)
Paints the components in the panel.
 o update(Graphics)
Overridden to avoid flicker.

Constructors

 o NonFlickerPanel
 public NonFlickerPanel()
Constructs a new non-flicker panel.

 o NonFlickerPanel
 public NonFlickerPanel(LayoutManager layoutManager)
Constructs a new non-flicker panel with the specified layoutmanager.

Parameters:
layoutManager - The layoutmanager to use.

Methods

 o invalidate
 public void invalidate()
Called when the components in the panel needs to be laid out.

Overrides:
invalidate in class Container
 o update
 public void update(Graphics g)
Overridden to avoid flicker.

Overrides:
update in class Container
 o 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