ilog.cpl.graph.action.toolbar
Class IlpAbstractGraphAction

java.lang.Object
  extended by javax.swing.AbstractAction
      extended by ilog.cpl.graph.action.toolbar.IlpAbstractGraphAction
All Implemented Interfaces:
ActionListener, Serializable, Cloneable, EventListener, Action
Direct Known Subclasses:
IlpEquipmentLabelLayoutAction, IlpEquipmentScrollToContentsAction, IlpEquipmentZoomBackAction, IlpEquipmentZoomInAction, IlpEquipmentZoomResetAction, IlpGraphFitToContentsAction, IlpGraphInteractorAction, IlpNetworkLabelLayoutAction, IlpNetworkScrollToContentsAction, IlpNetworkZoomBackAction, IlpNetworkZoomInAction, IlpNetworkZoomResetAction

public abstract class IlpAbstractGraphAction
extends AbstractAction
implements Action

Abstract action to perform a task in the associated view.

Since:
JViews 7.5
See Also:
Serialized Form

Field Summary
 
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
protected IlpAbstractGraphAction(IlpViewsView view)
          Constructor
 
Method Summary
 IlpContext getContext()
          Returns the application context.
 IlpViewsView getView()
          Returns the view.
 
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
 
Methods inherited from interface javax.swing.Action
addPropertyChangeListener, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
 
Methods inherited from interface java.awt.event.ActionListener
actionPerformed
 

Constructor Detail

IlpAbstractGraphAction

protected IlpAbstractGraphAction(IlpViewsView view)
Constructor

Parameters:
view - Graphic view where the action will be performed
Method Detail

getView

public IlpViewsView getView()
Returns the view.

Since:
JViews 7.5

getContext

public IlpContext getContext()
Returns the application context.

Since:
JViews 7.5


Copyright © 1996-2007 ILOG S.A. All rights reserved.   Documentation homepage.   . All Rights Reserved.