Class CastBarComponent

All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable

public class CastBarComponent extends ResourceBar
See Also:
  • Field Details

    • defaultInProgressColor

      public static final Color defaultInProgressColor
    • defaultSuccessColor

      public static final Color defaultSuccessColor
    • defaultInterruptedColor

      public static final Color defaultInterruptedColor
    • defaultUnknownColor

      public static final Color defaultUnknownColor
    • defaultBackgroundColor

      public static final Color defaultBackgroundColor
    • defaultTextColor

      public static final Color defaultTextColor
  • Constructor Details

    • CastBarComponent

      public CastBarComponent()
  • Method Details

    • setData

      public void setData(@Nullable @Nullable CastTracker tracker)
    • makeText

      protected String makeText(CastTracker tracker)
    • setInProgressColor

      public void setInProgressColor(Color inProgressColor)
    • setSuccessColor

      public void setSuccessColor(Color successColor)
    • setInterruptedColor

      public void setInterruptedColor(Color interruptedColor)
    • setUnknownColor

      public void setUnknownColor(Color unknownColor)
    • setBackground

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

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

      public String getToolTipText()
      Overrides:
      getToolTipText in class JComponent