com.bugvm.apple.uikit.UITableViewDelegate Maven / Gradle / Ivy
The newest version!
/*
* Copyright (C) 2013-2015 RoboVM AB
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.bugvm.apple.uikit;
/**/
import java.io.*;
import java.nio.*;
import java.util.*;
import com.bugvm.objc.*;
import com.bugvm.objc.annotation.*;
import com.bugvm.objc.block.*;
import com.bugvm.rt.*;
import com.bugvm.rt.annotation.*;
import com.bugvm.rt.bro.*;
import com.bugvm.rt.bro.annotation.*;
import com.bugvm.rt.bro.ptr.*;
import com.bugvm.apple.foundation.*;
import com.bugvm.apple.coreanimation.*;
import com.bugvm.apple.coregraphics.*;
import com.bugvm.apple.coredata.*;
import com.bugvm.apple.coreimage.*;
import com.bugvm.apple.coretext.*;
import com.bugvm.apple.corelocation.*;
/* */
/**/
/* */
/**//* */
/**/public/* */ interface /**/UITableViewDelegate/* */
/**/extends NSObjectProtocol, UIScrollViewDelegate/* */ {
/**/
/* */
/**/
/* */
/**//* */
/**/
/* */
/**/
@Method(selector = "tableView:willDisplayCell:forRowAtIndexPath:")
void willDisplayCell(UITableView tableView, UITableViewCell cell, NSIndexPath indexPath);
/**
* @since Available in iOS 6.0 and later.
*/
@Method(selector = "tableView:willDisplayHeaderView:forSection:")
void willDisplayHeaderView(UITableView tableView, UIView view, @MachineSizedSInt long section);
/**
* @since Available in iOS 6.0 and later.
*/
@Method(selector = "tableView:willDisplayFooterView:forSection:")
void willDisplayFooterView(UITableView tableView, UIView view, @MachineSizedSInt long section);
/**
* @since Available in iOS 6.0 and later.
*/
@Method(selector = "tableView:didEndDisplayingCell:forRowAtIndexPath:")
void didEndDisplayingCell(UITableView tableView, UITableViewCell cell, NSIndexPath indexPath);
/**
* @since Available in iOS 6.0 and later.
*/
@Method(selector = "tableView:didEndDisplayingHeaderView:forSection:")
void didEndDisplayingHeaderView(UITableView tableView, UIView view, @MachineSizedSInt long section);
/**
* @since Available in iOS 6.0 and later.
*/
@Method(selector = "tableView:didEndDisplayingFooterView:forSection:")
void didEndDisplayingFooterView(UITableView tableView, UIView view, @MachineSizedSInt long section);
@Method(selector = "tableView:heightForRowAtIndexPath:")
@MachineSizedFloat double getHeightForRow(UITableView tableView, NSIndexPath indexPath);
@Method(selector = "tableView:heightForHeaderInSection:")
@MachineSizedFloat double getHeightForHeader(UITableView tableView, @MachineSizedSInt long section);
@Method(selector = "tableView:heightForFooterInSection:")
@MachineSizedFloat double getHeightForFooter(UITableView tableView, @MachineSizedSInt long section);
/**
* @since Available in iOS 7.0 and later.
*/
@Method(selector = "tableView:estimatedHeightForRowAtIndexPath:")
@MachineSizedFloat double getEstimatedHeightForRow(UITableView tableView, NSIndexPath indexPath);
/**
* @since Available in iOS 7.0 and later.
*/
@Method(selector = "tableView:estimatedHeightForHeaderInSection:")
@MachineSizedFloat double getEstimatedHeightForHeader(UITableView tableView, @MachineSizedSInt long section);
/**
* @since Available in iOS 7.0 and later.
*/
@Method(selector = "tableView:estimatedHeightForFooterInSection:")
@MachineSizedFloat double getEstimatedHeightForFooter(UITableView tableView, @MachineSizedSInt long section);
@Method(selector = "tableView:viewForHeaderInSection:")
UIView getViewForHeader(UITableView tableView, @MachineSizedSInt long section);
@Method(selector = "tableView:viewForFooterInSection:")
UIView getViewForFooter(UITableView tableView, @MachineSizedSInt long section);
@Method(selector = "tableView:accessoryButtonTappedForRowWithIndexPath:")
void accessoryButtonTapped(UITableView tableView, NSIndexPath indexPath);
/**
* @since Available in iOS 6.0 and later.
*/
@Method(selector = "tableView:shouldHighlightRowAtIndexPath:")
boolean shouldHighlightRow(UITableView tableView, NSIndexPath indexPath);
/**
* @since Available in iOS 6.0 and later.
*/
@Method(selector = "tableView:didHighlightRowAtIndexPath:")
void didHighlightRow(UITableView tableView, NSIndexPath indexPath);
/**
* @since Available in iOS 6.0 and later.
*/
@Method(selector = "tableView:didUnhighlightRowAtIndexPath:")
void didUnhighlightRow(UITableView tableView, NSIndexPath indexPath);
@Method(selector = "tableView:willSelectRowAtIndexPath:")
NSIndexPath willSelectRow(UITableView tableView, NSIndexPath indexPath);
/**
* @since Available in iOS 3.0 and later.
*/
@Method(selector = "tableView:willDeselectRowAtIndexPath:")
NSIndexPath willDeselectRow(UITableView tableView, NSIndexPath indexPath);
@Method(selector = "tableView:didSelectRowAtIndexPath:")
void didSelectRow(UITableView tableView, NSIndexPath indexPath);
/**
* @since Available in iOS 3.0 and later.
*/
@Method(selector = "tableView:didDeselectRowAtIndexPath:")
void didDeselectRow(UITableView tableView, NSIndexPath indexPath);
@Method(selector = "tableView:editingStyleForRowAtIndexPath:")
UITableViewCellEditingStyle getEditingStyleForRow(UITableView tableView, NSIndexPath indexPath);
/**
* @since Available in iOS 3.0 and later.
*/
@Method(selector = "tableView:titleForDeleteConfirmationButtonForRowAtIndexPath:")
String getTitleForDeleteConfirmationButton(UITableView tableView, NSIndexPath indexPath);
/**
* @since Available in iOS 8.0 and later.
*/
@Method(selector = "tableView:editActionsForRowAtIndexPath:")
NSArray getEditActionsForRow(UITableView tableView, NSIndexPath indexPath);
@Method(selector = "tableView:shouldIndentWhileEditingRowAtIndexPath:")
boolean shouldIndentWhileEditingRow(UITableView tableView, NSIndexPath indexPath);
@Method(selector = "tableView:willBeginEditingRowAtIndexPath:")
void willBeginEditingRow(UITableView tableView, NSIndexPath indexPath);
@Method(selector = "tableView:didEndEditingRowAtIndexPath:")
void didEndEditingRow(UITableView tableView, NSIndexPath indexPath);
@Method(selector = "tableView:targetIndexPathForMoveFromRowAtIndexPath:toProposedIndexPath:")
NSIndexPath getTargetForMove(UITableView tableView, NSIndexPath sourceIndexPath, NSIndexPath proposedDestinationIndexPath);
@Method(selector = "tableView:indentationLevelForRowAtIndexPath:")
@MachineSizedSInt long getIndentationLevelForRow(UITableView tableView, NSIndexPath indexPath);
/**
* @since Available in iOS 5.0 and later.
*/
@Method(selector = "tableView:shouldShowMenuForRowAtIndexPath:")
boolean shouldShowMenuForRow(UITableView tableView, NSIndexPath indexPath);
/**
* @since Available in iOS 5.0 and later.
*/
@Method(selector = "tableView:canPerformAction:forRowAtIndexPath:withSender:")
boolean canPerformAction(UITableView tableView, Selector action, NSIndexPath indexPath, NSObject sender);
/**
* @since Available in iOS 5.0 and later.
*/
@Method(selector = "tableView:performAction:forRowAtIndexPath:withSender:")
void performActionForRow(UITableView tableView, Selector action, NSIndexPath indexPath, NSObject sender);
/* */
/**/
/* */
}