com.dlsc.flexgantt.swing.action.gantt
Class AddHighlightedTimelineObjectsAction<T extends AbstractGanttChart>

java.lang.Object
  extended by javax.swing.AbstractAction
      extended by com.dlsc.flexgantt.swing.action.AbstractFlexGanttAction
          extended by com.dlsc.flexgantt.swing.action.gantt.AbstractGanttChartAction<T>
              extended by com.dlsc.flexgantt.swing.action.gantt.AddHighlightedTimelineObjectsAction<T>
Type Parameters:
T - the object type of the Gantt chart
All Implemented Interfaces:
java.awt.event.ActionListener, java.io.Serializable, java.lang.Cloneable, java.util.EventListener, javax.swing.Action

public class AddHighlightedTimelineObjectsAction<T extends AbstractGanttChart>
extends AbstractGanttChartAction<T>

An action that adds the currently selected timeline objects to the set of highlighted objects. A highlighted object stands out by changing its appearance after a certain number of milliseconds.

Since:
1.0
Author:
Dirk Lemmermann
See Also:
LayerContainer.addHighlightedObjects(java.util.Collection), LayerContainer.setHighlightingDelay(long), Serialized Form

Field Summary
 
Fields inherited from class com.dlsc.flexgantt.swing.action.gantt.AbstractGanttChartAction
ganttChart
 
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
AddHighlightedTimelineObjectsAction(T gc)
          Constructs a new action.
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent evt)
           
 
Methods inherited from class com.dlsc.flexgantt.swing.action.gantt.AbstractGanttChartAction
getGanttChart, setGanttChart
 
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

AddHighlightedTimelineObjectsAction

public AddHighlightedTimelineObjectsAction(T gc)
Constructs a new action.

Parameters:
gc - the Gantt chart on which the action gets performed
Since:
1.0
Method Detail

actionPerformed

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