Class ErrorBarPainterActionSetSegmentColor
- java.lang.Object
-
- javax.swing.AbstractAction
-
- info.monitorenter.gui.chart.events.ErrorBarPainterActionSetSegmentColor
-
- All Implemented Interfaces:
java.awt.event.ActionListener
,java.io.Serializable
,java.lang.Cloneable
,java.util.EventListener
,javax.swing.Action
public final class ErrorBarPainterActionSetSegmentColor extends javax.swing.AbstractAction
Action
that sets a custom color to the corresponding segment of an error bar painter by showing a modal color chooser.- Version:
- $Revision: 1.5 $
- Author:
- Achim Westermann
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ErrorBarPainterActionSetSegmentColor(IErrorBarPainter.ISegment errorBarPainterFacade, javax.swing.JComponent dialogParent, java.lang.String name)
Create anAction
that accesses the error bar painter and identifies itself with the given action String.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
actionPerformed(java.awt.event.ActionEvent e)
-
Methods inherited from class javax.swing.AbstractAction
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
-
-
-
-
Constructor Detail
-
ErrorBarPainterActionSetSegmentColor
public ErrorBarPainterActionSetSegmentColor(IErrorBarPainter.ISegment errorBarPainterFacade, javax.swing.JComponent dialogParent, java.lang.String name)
Create anAction
that accesses the error bar painter and identifies itself with the given action String.- Parameters:
errorBarPainterFacade
- the target the action will work on.dialogParent
- needed as the parent UI component of the modal dialog which will be blocked by the modal color chooser dialog that pops up.name
- the descriptiveString
that will be displayed byAbstractButton
subclasses that get thisAction
assigned (AbstractButton.setAction(javax.swing.Action)
).
-
-