All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable

public class MpBar extends JComponent
See Also:
  • Field Details

    • defaultMpColor

      public static final Color defaultMpColor
    • defaultBgColor

      public static final Color defaultBgColor
  • Constructor Details

    • MpBar

      public MpBar()
  • Method Details

    • setTextMode

      public void setTextMode(BarFractionDisplayOption textMode)
    • setTextColor

      public void setTextColor(Color textColor)
    • setFgTransparency

      public void setFgTransparency(int fgTransparency)
    • setBgTransparency

      public void setBgTransparency(int bgTransparency)
    • setMpColor

      public void setMpColor(Color mpColor)
    • setBackground

      public void setBackground(Color bg)
      Overrides:
      setBackground in class JComponent
    • setData

      public void setData(XivCombatant cbt)
    • setData

      public void setData(ManaPoints mp)
    • setBounds

      public void setBounds(int x, int y, int width, int height)
      Overrides:
      setBounds in class Component
    • revalidate

      public void revalidate()
      Overrides:
      revalidate in class JComponent
    • validate

      public void validate()
      Overrides:
      validate in class Container
    • paint

      public void paint(Graphics g)
      Overrides:
      paint in class JComponent
    • paintComponent

      protected void paintComponent(Graphics graphics)
      Overrides:
      paintComponent in class JComponent