public class IlvDiagrammerResizeActionListener extends Object implements ServerActionListener
IlvDiagrammerResizeActionListener
defines a server action
dedicated to resize the current selection.
This action is triggered by the "resizeNode", "resizeLane" or "resizePool" action. It takes the following parameters: [numberOfSelectedNode, dleft, dtop, dwidth, dheight, centerX, centerY]
numberOfSelectedNode
The number of selected nodes.left
The left coordinate of the resized node in view coordinate.top
The top coordinate of the resized node in view coordinate.width
The width of the resized node, in view coordinates.height
The height of the resized node, in view coordinates.centerX
The x-coordinate of the center of the current node before the resize, in view coordinates.centerY
: The y-coordinate of the center of the current node before the resize, in view coordinates.Modifier and Type | Field and Description |
---|---|
static String |
RESIZE_LANE
The action name used to identify Diagrammer resize selected lane actions.
|
static String |
RESIZE_NODE
The action name used to identify Diagrammer resize selected node actions.
|
static String |
RESIZE_POOL
The action name used to identify Diagrammer resize selected pool actions.
|
Constructor and Description |
---|
IlvDiagrammerResizeActionListener()
Creates a new
IlvDiagrammerResizeRectActionListener instance. |
Modifier and Type | Method and Description |
---|---|
void |
actionPerformed(ServerActionEvent event)
Performs the action requested from the client side.
|
public static final String RESIZE_NODE
public static final String RESIZE_LANE
public static final String RESIZE_POOL
public IlvDiagrammerResizeActionListener()
IlvDiagrammerResizeRectActionListener
instance.public void actionPerformed(ServerActionEvent event) throws jakarta.servlet.ServletException
actionPerformed
in interface ServerActionListener
event
- The server action event.jakarta.servlet.ServletException
© Copyright 2024 Rogue Wave Software, Inc., a Perforce company.. All Rights Reserved.