All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class ch.jp.robwar.MapDisplayer

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

public abstract class MapDisplayer
extends Panel
This abstract class must be extended to design a map displayer. Implement display() to display the map contained in the map variable on yourself (remember you are a Panel), if you want to do something when you get the map (like resize yourself or adjust zoom factors), you can implement your own setMap - just don't forget to call super.setMap from it.


Variable Index

 o map

Constructor Index

 o MapDisplayer()
 o MapDisplayer(Map)

Method Index

 o assignMap(Map)
 o display()
 o setMap(Map)

Variables

 o map
 protected Map map

Constructors

 o MapDisplayer
 public MapDisplayer(Map m)
 o MapDisplayer
 public MapDisplayer()

Methods

 o display
 public abstract void display()
 o assignMap
 public final void assignMap(Map m)
 o setMap
 protected void setMap(Map m)

All Packages  Class Hierarchy  This Package  Previous  Next  Index