megamek.client.ui.AWT.widget
Interface PMElement

All Known Subinterfaces:
PMHotArea, PMLabel
All Known Implementing Classes:
PMAreasGroup, PMGenericHotArea, PMPicArea, PMPicPolygonalArea, PMSimpleLabel, PMSimplePolygonArea, PMValueLabel

public interface PMElement


Method Summary
 void drawInto(java.awt.Graphics g)
          Draws element into specifyed Graphics.
 java.awt.Rectangle getBounds()
          Return bounding box of element.
 void setVisible(boolean v)
          Sets visibility of element
 void translate(int x, int y)
          Translates element by x and y.
 

Method Detail

translate

void translate(int x,
               int y)
Translates element by x and y.


setVisible

void setVisible(boolean v)
Sets visibility of element


drawInto

void drawInto(java.awt.Graphics g)
Draws element into specifyed Graphics.


getBounds

java.awt.Rectangle getBounds()
Return bounding box of element.