class ScrollAction extends SimpleAction {

    @Override
    public boolean perform(UiObject root) {
        List<UiObject> scrollableNodes = findScrollableNodes(root);
        boolean result = mIndex < scrollableNodes.size() && scrollableNodes.get(mIndex).performAction(mAction);
        recycle(scrollableNodes, root);
        return result;
    }

    public  ScrollAction(int action, int i);

}