Class EntityImagePanel

All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible

public class EntityImagePanel extends JPanel
The EntityImagePanel displays the Entity's Image using the provided camouflage.
See Also:
  • Constructor Details

  • Method Details

    • getImageLabel

      public JLabel getImageLabel()
    • setImageLabel

      public void setImageLabel(JLabel imageLabel)
    • updateDisplayedEntity

      public void updateDisplayedEntity(@Nullable Entity entity, AbstractIcon camouflage)
      This updates the panel's currently displayed entity
      Parameters:
      entity - the entity to update to, or null if the label is to be reset.
      camouflage - the camouflage to display