com.dlsc.flexgantt.swing.action.timeline
Class EventlineAction

java.lang.Object
  extended by javax.swing.AbstractAction
      extended by com.dlsc.flexgantt.swing.action.AbstractFlexGanttAction
          extended by com.dlsc.flexgantt.swing.action.timeline.AbstractTimelineAction
              extended by com.dlsc.flexgantt.swing.action.timeline.EventlineAction
All Implemented Interfaces:
java.awt.event.ActionListener, java.io.Serializable, java.lang.Cloneable, java.util.EventListener, javax.swing.Action

public class EventlineAction
extends AbstractTimelineAction

An action that will toggle the visibility of the eventline.

Since:
1.0
Author:
Dirk Lemmermann
See Also:
Eventline, Serialized Form

Field Summary
 
Fields inherited from class com.dlsc.flexgantt.swing.action.timeline.AbstractTimelineAction
timeline
 
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
EventlineAction(Timeline timeline)
          Constructs a new action.
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent e)
           
 
Methods inherited from class com.dlsc.flexgantt.swing.action.timeline.AbstractTimelineAction
getTimeline, setTimeline
 
Methods inherited from class com.dlsc.flexgantt.swing.action.AbstractFlexGanttAction
getToolTipText, setToolTipText
 
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

EventlineAction

public EventlineAction(Timeline timeline)
Constructs a new action.

Parameters:
timeline - the timeline on which to invoke the action
Since:
1.0
Method Detail

actionPerformed

public void actionPerformed(java.awt.event.ActionEvent e)