de.unihalle.informatik.MiToBo.core.dataio
Class AwtColorDataIOSwing.ColorChooserButton
java.lang.Object
de.unihalle.informatik.Alida.dataio.provider.swing.events.ALDSwingValueChangeReporter
de.unihalle.informatik.Alida.dataio.provider.swing.components.ALDSwingComponent
de.unihalle.informatik.MiToBo.core.dataio.AwtColorDataIOSwing.ColorChooserButton
- All Implemented Interfaces:
- java.awt.event.ActionListener, java.util.EventListener
- Enclosing class:
- AwtColorDataIOSwing
protected class AwtColorDataIOSwing.ColorChooserButton
- extends de.unihalle.informatik.Alida.dataio.provider.swing.components.ALDSwingComponent
- implements java.awt.event.ActionListener
Fields inherited from class de.unihalle.informatik.Alida.dataio.provider.swing.events.ALDSwingValueChangeReporter |
listenerList |
Methods inherited from class de.unihalle.informatik.Alida.dataio.provider.swing.events.ALDSwingValueChangeReporter |
addValueChangeEventListener, fireALDSwingValueChangeEvent, removeValueChangeEventListener |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
color
private java.awt.Color color
selectButton
private javax.swing.JButton selectButton
- Button to open selection window.
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
AwtColorDataIOSwing.ColorChooserButton
public AwtColorDataIOSwing.ColorChooserButton(java.awt.Color initialColor)
actionPerformed
public void actionPerformed(java.awt.event.ActionEvent e)
- Specified by:
actionPerformed
in interface java.awt.event.ActionListener
getChosenColor
public java.awt.Color getChosenColor()
getJComponent
public javax.swing.JButton getJComponent()
- Specified by:
getJComponent
in class de.unihalle.informatik.Alida.dataio.provider.swing.components.ALDSwingComponent
setChosenColor
public void setChosenColor(java.awt.Color c)
updateButtonColor
private void updateButtonColor(java.awt.Color c)