Class ViewToolBarBuilder.VOIColorButton

All Implemented Interfaces:
ImageObserver, ItemSelectable, MenuContainer, Serializable, Accessible, SwingConstants
Enclosing class:
ViewToolBarBuilder

public class ViewToolBarBuilder.VOIColorButton extends JButton
See Also:
  • Constructor Details

    • VOIColorButton

      public VOIColorButton(int voiIndex)
  • Method Details

    • setVOIColor

      public void setVOIColor(int voiIndex)
    • setVOIColor

      public void setVOIColor(Color newColor)
      Sets the buttons background and foreground to a specified color.
      Parameters:
      newColor - Color