Package megamek.client.ui.widget.mapset
Class GeneralInfoMapSet
java.lang.Object
megamek.client.ui.widget.mapset.GeneralInfoMapSet
- All Implemented Interfaces:
DisplayMapSet
Set of elements to represent general unit information in MekDisplay
-
Constructor Summary
ConstructorsConstructorDescriptionThis constructor can only be called from the addNotify method -
Method Summary
Modifier and TypeMethodDescriptionvoidaddOptionsToList(IGameOptions optionsInstance, PMMultiLineLabel quirksAndPartReps) Add all options from the given AbstractOptions instance into an array of PMSimpleLabel elements.voidupdates fields for the unitMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface megamek.client.ui.widget.mapset.DisplayMapSet
setCriticalLocations
-
Constructor Details
-
GeneralInfoMapSet
This constructor can only be called from the addNotify method
-
-
Method Details
-
setEntity
updates fields for the unit- Specified by:
setEntityin interfaceDisplayMapSet
-
addOptionsToList
Add all options from the given AbstractOptions instance into an array of PMSimpleLabel elements.- Parameters:
optionsInstance- AbstractOptions instance
-
getContentGroup
- Specified by:
getContentGroupin interfaceDisplayMapSet
-
getBackgroundDrawers
- Specified by:
getBackgroundDrawersin interfaceDisplayMapSet
-