info.monitorenter.gui.chart.events
Class ChartActionSetToolTipType

java.lang.Object
  extended by javax.swing.AbstractAction
      extended by info.monitorenter.gui.chart.events.AChart2DAction
          extended by info.monitorenter.gui.chart.events.ChartActionSetToolTipType
All Implemented Interfaces:
ActionListener, PropertyChangeListener, Serializable, Cloneable, EventListener, Action

public class ChartActionSetToolTipType
extends AChart2DAction

Action that invokes Chart2D.setToolTipType(IToolTipType) with a constructor given IToolTipType.

Version:
$Revision: 1.3 $
Author:
Achim Westermann
See Also:
Serialized Form

Field Summary
 
Fields inherited from class info.monitorenter.gui.chart.events.AChart2DAction
m_chart
 
Fields inherited from class javax.swing.AbstractAction
changeSupport, enabled
 
Fields inherited from interface javax.swing.Action
ACCELERATOR_KEY, ACTION_COMMAND_KEY, DEFAULT, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SHORT_DESCRIPTION, SMALL_ICON
 
Constructor Summary
ChartActionSetToolTipType(Chart2D chart, String description, IToolTipType toolTipType)
          Create an Action that sets the constructor given IToolTipType to the chart.
 
Method Summary
 void actionPerformed(ActionEvent e)
           
 void propertyChange(PropertyChangeEvent evt)
           
 
Methods inherited from class javax.swing.AbstractAction
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ChartActionSetToolTipType

public ChartActionSetToolTipType(Chart2D chart,
                                 String description,
                                 IToolTipType toolTipType)
Create an Action that sets the constructor given IToolTipType to the chart.

Parameters:
chart - the owner of the axis to trigger actions upon.
toolTipType - the tool tip type to use.
description - the descriptive String that will be displayed by AbstractButton subclasses that get this Action assigned ( AbstractButton.setAction(javax.swing.Action)).
See Also:
Chart2D.setToolTipType(IToolTipType)
Method Detail

actionPerformed

public void actionPerformed(ActionEvent e)
See Also:
ActionListener.actionPerformed(java.awt.event.ActionEvent)

propertyChange

public void propertyChange(PropertyChangeEvent evt)
See Also:
PropertyChangeListener.propertyChange(java.beans.PropertyChangeEvent)


Copyright © 2001 - 2010 LGPL, All Rights Footloose.