Package megamek.client.ui.widget
Class GeneralInfoMapSet
java.lang.Object
megamek.client.ui.widget.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 TypeMethodDescriptionvoid
addOptionsToList
(IGameOptions optionsInstance, PMMultiLineLabel quirksAndPartReps) Add all options from the given AbstractOptions instance into an array of PMSimpleLabel elements.void
updates fields for the unit
-
Constructor Details
-
GeneralInfoMapSet
This constructor can only be called from the addNotify method
-
-
Method Details
-
setEntity
updates fields for the unit- Specified by:
setEntity
in interfaceDisplayMapSet
-
addOptionsToList
Add all options from the given AbstractOptions instance into an array of PMSimpleLabel elements.- Parameters:
optionsInstance
- AbstractOptions instancequirksAndPartReps
-
-
getContentGroup
- Specified by:
getContentGroup
in interfaceDisplayMapSet
-
getBackgroundDrawers
- Specified by:
getBackgroundDrawers
in interfaceDisplayMapSet
-