ilog.cpl.graph.action
Class IlpCreateRectGroupAction

java.lang.Object
  extended by javax.swing.AbstractAction
      extended by ilog.cpl.graph.action.IlpCreateObjectAction
          extended by ilog.cpl.graph.action.IlpCreateNodeAction
              extended by ilog.cpl.graph.action.IlpCreateRectGroupAction
All Implemented Interfaces:
ActionListener, Serializable, Cloneable, EventListener, Action

public class IlpCreateRectGroupAction
extends IlpCreateNodeAction

This action creates a representation node to represent a rectangular group.

Since:
JTGO 4.0
See Also:
Serialized Form

Field Summary
 
Fields inherited from class ilog.cpl.graph.action.IlpCreateObjectAction
OBJECT_ID_PROPERTY
 
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
IlpCreateRectGroupAction(Class clazz)
          Constructor.
 
Method Summary
protected  IlpAttributeGroup getNodeAttributeGroup(IlpCreateNodeActionEvent event)
          Returns the business class of the rectangular group that will be created.
 
Methods inherited from class ilog.cpl.graph.action.IlpCreateNodeAction
actionPerformed
 
Methods inherited from class ilog.cpl.graph.action.IlpCreateObjectAction
getRepresentationObjectClass
 
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
 

Constructor Detail

IlpCreateRectGroupAction

public IlpCreateRectGroupAction(Class clazz)
Constructor.

Specifies which representation object implementation class should be used.

Parameters:
clazz - A class implementing IlpRepresentationNode interface.
Method Detail

getNodeAttributeGroup

protected IlpAttributeGroup getNodeAttributeGroup(IlpCreateNodeActionEvent event)
Returns the business class of the rectangular group that will be created.

Overrides:
getNodeAttributeGroup in class IlpCreateNodeAction
Parameters:
event - Event that is generated when a object creation is requested
Returns:
The attribute group of the group that will be created. By default, IltRectGroup is used.


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