megamek.client.ui.AWT.widget
Class ProtomechMapSet

java.lang.Object
  extended by megamek.client.ui.AWT.widget.ProtomechMapSet
All Implemented Interfaces:
DisplayMapSet

public class ProtomechMapSet
extends java.lang.Object
implements DisplayMapSet

Class which keeps set of all areas required to represent Protomech unit in MechDisplay.ArmorPanel class.


Constructor Summary
ProtomechMapSet(java.awt.Component c)
          This constructor have to be called anly from addNotify() method
 
Method Summary
 java.util.Vector<BackGroundDrawer> getBackgroundDrawers()
           
 PMAreasGroup getContentGroup()
           
 void setEntity(Entity entity)
          Show the diagram for the given Protomech.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProtomechMapSet

public ProtomechMapSet(java.awt.Component c)
This constructor have to be called anly from addNotify() method

Method Detail

getContentGroup

public PMAreasGroup getContentGroup()
Specified by:
getContentGroup in interface DisplayMapSet

getBackgroundDrawers

public java.util.Vector<BackGroundDrawer> getBackgroundDrawers()
Specified by:
getBackgroundDrawers in interface DisplayMapSet

setEntity

public void setEntity(Entity entity)
Show the diagram for the given Protomech.

Specified by:
setEntity in interface DisplayMapSet
Parameters:
entity - - the Entity to be displayed. This should be a Protomech unit.