public class IlvRowExpandCollapseAction extends Object implements IlvServerAction
IlvRowExpandCollapseAction
is a server side action that
toggles the expand/collapse status of a row when requested from the client.
This action is designed to coordinate with an
IlvRowExpandCollapseInteractor
on the client side. You can
register this action on the server side by calling the IlvGanttServletSupport.addServerAction
method.
This action should be requested from the client side by calling the
IlvGanttComponentView.performAction()
method with the
updateAll argument set to true
. This will send updated
capabilities to the client based upon the change in row expand/collapse
status that was requested.
This action takes a single integer parameter that is the
visible vertical position
of the row. These implementation details are handled for you automatically
if you use an IlvRowExpandCollapseInteractor
on the client side.
Constructor and Description |
---|
IlvRowExpandCollapseAction()
Creates a new
IlvRowExpandCollapseAction . |
Modifier and Type | Method and Description |
---|---|
void |
actionPerformed(ServerActionEvent event)
Performs the row expand/collapse action requested from the client side.
|
protected boolean |
isClickOnExpandIcon(ServerActionEvent event)
Returns whether the selection is on an expand icon.
|
public IlvRowExpandCollapseAction()
IlvRowExpandCollapseAction
.public void actionPerformed(ServerActionEvent event) throws jakarta.servlet.ServletException
actionPerformed
in interface IlvServerAction
event
- The server action event.jakarta.servlet.ServletException
protected boolean isClickOnExpandIcon(ServerActionEvent event) throws jakarta.servlet.ServletException
event
- The server action event.jakarta.servlet.ServletException
© Copyright 2024 Rogue Wave Software, Inc., a Perforce company.. All Rights Reserved.