ilog.cpl.graph.action
Class IlpCreateNodeAction
java.lang.Object
javax.swing.AbstractAction
ilog.cpl.graph.action.IlpCreateObjectAction
ilog.cpl.graph.action.IlpCreateNodeAction
- All Implemented Interfaces:
- ActionListener, Serializable, Cloneable, EventListener, Action
- Direct Known Subclasses:
- IlpCreateLinearGroupAction, IlpCreateNodeAction, IlpCreatePolyGroupAction, IlpCreateRectGroupAction
public class IlpCreateNodeAction
- extends IlpCreateObjectAction
This action creates a representation node.
- Since:
- JTGO 4.0
- See Also:
- Serialized Form
IlpCreateNodeAction
public IlpCreateNodeAction(Class clazz)
- Constructor.
Specifies which representation object implementation class should
be used.
- Parameters:
clazz - A class implementing IlpRepresentationNode
interface.- Since:
- JTGO 4.0
getNodeAttributeGroup
protected IlpAttributeGroup getNodeAttributeGroup(IlpCreateNodeActionEvent event)
- Returns the business class of the node that will be
created.
- Parameters:
event - Create node event
- Returns:
- Attribute group that will be used to create the representation object.
By default, this method returns
null. - Since:
- JTGO 4.0
actionPerformed
public void actionPerformed(ActionEvent evt)
- Executes the action.
- Parameters:
evt - An IlpCreateNodeActionEvent.
Copyright © 1996-2007 ILOG S.A. All rights reserved. Documentation homepage. . All Rights Reserved.