Package rma.swing

Class RmaJColorButton

All Implemented Interfaces:
ActionListener, ImageObserver, ItemSelectable, MenuContainer, Serializable, EventListener, Accessible, SwingConstants, Modifiable, EditableComponent, FormManagementListener, RmaValidComponent

See Also:
  • Field Details

    • _color

      protected Color _color
  • Constructor Details

    • RmaJColorButton

      public RmaJColorButton()
    • RmaJColorButton

      public RmaJColorButton(boolean enableColorChooser)
    • RmaJColorButton

      public RmaJColorButton(Color c)
  • Method Details

    • setColorIconWidth

      public void setColorIconWidth(int w)
    • getColorIconWidth

      public int getColorIconWidth()
    • setColorIconHeight

      public void setColorIconHeight(int h)
    • getColorIconHeight

      public int getColorIconHeight()
    • getColor

      public Color getColor()
    • setColor

      public void setColor(Color c)
    • getColorIcon

      protected ImageIcon getColorIcon(Color c)
    • actionPerformed

      public void actionPerformed(ActionEvent e)
      Specified by:
      actionPerformed in interface ActionListener
    • setModified

      public void setModified(boolean b)
      Specified by:
      setModified in interface Modifiable
    • isModified

      public boolean isModified()
      Specified by:
      isModified in interface Modifiable
    • setIsEditable

      public void setIsEditable(boolean b)
      Specified by:
      setIsEditable in interface EditableComponent
    • setModifiable

      public void setModifiable(boolean b)
    • clearPerformed

      public void clearPerformed()
      Specified by:
      clearPerformed in interface FormManagementListener
    • isValid

      public boolean isValid(boolean showError)
      Specified by:
      isValid in interface RmaValidComponent
    • setChooserTitle

      public void setChooserTitle(String title)
    • getChooserTitle

      public String getChooserTitle()