All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class ch.jp.robwar.DefaultInfoDisplayer

java.lang.Object
   |
   +----java.awt.Component
           |
           +----java.awt.Container
                   |
                   +----java.awt.Panel
                           |
                           +----ch.jp.robwar.InfoDisplayer
                                   |
                                   +----ch.jp.robwar.DefaultInfoDisplayer

public class DefaultInfoDisplayer
extends InfoDisplayer
implements ComponentListener

Constructor Index

 o DefaultInfoDisplayer()

Method Index

 o componentHidden(ComponentEvent)
 o componentMoved(ComponentEvent)
 o componentResized(ComponentEvent)
 o componentShown(ComponentEvent)
 o display(Contestant)
computes and displays the picture (synchronized because it shares a resource with componentResized)
 o getMinimumSize()
 o paint(Graphics)
Displays the picture
 o update(Graphics)
override so that the panel doesn't get erased first

Constructors

 o DefaultInfoDisplayer
 public DefaultInfoDisplayer()

Methods

 o update
 public void update(Graphics g)
override so that the panel doesn't get erased first

Overrides:
update in class Container
 o paint
 public void paint(Graphics g)
Displays the picture

Overrides:
paint in class Container
 o display
 public synchronized void display(Contestant input)
computes and displays the picture (synchronized because it shares a resource with componentResized)

Overrides:
display in class InfoDisplayer
 o getMinimumSize
 public Dimension getMinimumSize()
Overrides:
getMinimumSize in class Container
 o componentResized
 public synchronized void componentResized(ComponentEvent ev)
 o componentMoved
 public void componentMoved(ComponentEvent ev)
 o componentShown
 public void componentShown(ComponentEvent ev)
 o componentHidden
 public void componentHidden(ComponentEvent ev)

All Packages  Class Hierarchy  This Package  Previous  Next  Index