public class SetChangeVisibleStartAndEndTimeZoomStrategyAction extends AbstractDatelineAction
Dateline.ZoomStrategy.CHANGE_VISIBLE_START_AND_END_TIME
. This will
cause the dateline to zoom into the center of the currently visible time
span.Dateline.setZoomStrategy(com.dlsc.flexgantt.swing.timeline.Dateline.ZoomStrategy)
,
Serialized Formdateline
changeSupport, enabled
ACCELERATOR_KEY, ACTION_COMMAND_KEY, DEFAULT, DISPLAYED_MNEMONIC_INDEX_KEY, LARGE_ICON_KEY, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SELECTED_KEY, SHORT_DESCRIPTION, SMALL_ICON
Constructor and Description |
---|
SetChangeVisibleStartAndEndTimeZoomStrategyAction(Dateline dateline)
Constructs a new action.
|
Modifier and Type | Method and Description |
---|---|
void |
actionPerformed(ActionEvent e) |
getDateline, setDateline
getToolTipText, setToolTipText
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
public SetChangeVisibleStartAndEndTimeZoomStrategyAction(Dateline dateline)
dateline
- the dateline on which the action will be performedpublic void actionPerformed(ActionEvent e)
Copyright © 2006–2020 Dirk Lemmermann Software & Consulting. All rights reserved.