Package megamek.client.ui.widget.picmap
Class PMValueLabel
java.lang.Object
megamek.client.ui.widget.picmap.PMSimpleLabel
megamek.client.ui.widget.picmap.PMValueLabel
-
Field Summary
Fields inherited from class megamek.client.ui.widget.picmap.PMSimpleLabel
drawScale, outlined, width -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class megamek.client.ui.widget.picmap.PMSimpleLabel
drawOutlinedString, getDescent, getSize, moveTo, setColor, setDrawScale, setOutlined, setString, translate
-
Constructor Details
-
PMValueLabel
-
-
Method Details
-
setValue
-
setVisible
public void setVisible(boolean visible) Description copied from interface:PMElementSets visibility of element- Specified by:
setVisiblein interfacePMElement- Overrides:
setVisiblein classPMSimpleLabel
-
drawInto
Description copied from interface:PMElementDraws element into specified Graphics.- Specified by:
drawIntoin interfacePMElement- Overrides:
drawIntoin classPMSimpleLabel
-
getBounds
- Specified by:
getBoundsin interfacePMElement- Overrides:
getBoundsin classPMSimpleLabel- Returns:
- bounding box of element.
-