Package megamek.client.ui.widget.picmap
Interface PMElement
- All Known Implementing Classes:
PMAreasGroup,PMGenericHotArea,PMMultiLineLabel,PMPicArea,PMPicPolygonalArea,PMSimpleLabel,PMSimplePolygonArea,PMValueLabel
public interface PMElement
Generic element of PicMap component
-
Method Summary
-
Method Details
-
translate
void translate(int x, int y) Translates element by x and y. -
setVisible
void setVisible(boolean v) Sets visibility of element -
drawInto
Draws element into specified Graphics. -
getBounds
Rectangle getBounds()- Returns:
- bounding box of element.
-