Package org.robovm.apple.uikit
Class UITableViewDataSourceAdapter
- java.lang.Object
-
- org.robovm.rt.bro.NativeObject
-
- org.robovm.objc.ObjCObject
-
- org.robovm.apple.foundation.NSObject
-
- org.robovm.apple.uikit.UITableViewDataSourceAdapter
-
- All Implemented Interfaces:
NSObjectProtocol
,UITableViewDataSource
,org.robovm.objc.ObjCProtocol
public class UITableViewDataSourceAdapter extends NSObject implements UITableViewDataSource
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.robovm.apple.foundation.NSObject
NSObject.Handle, NSObject.Marshaler, NSObject.NoRetainMarshaler, NSObject.NSKeyValueObserver, NSObject.NSObjectPtr, NSObject.SkipInit
-
-
Field Summary
-
Fields inherited from class org.robovm.apple.foundation.NSObject
FLAG_NO_RETAIN
-
-
Constructor Summary
Constructors Constructor Description UITableViewDataSourceAdapter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
canEditRow(UITableView tableView, NSIndexPath indexPath)
boolean
canMoveRow(UITableView tableView, NSIndexPath indexPath)
void
commitEditingStyleForRow(UITableView tableView, UITableViewCellEditingStyle editingStyle, NSIndexPath indexPath)
UITableViewCell
getCellForRow(UITableView tableView, NSIndexPath indexPath)
long
getNumberOfRowsInSection(UITableView tableView, long section)
long
getNumberOfSections(UITableView tableView)
long
getSectionForSectionIndexTitle(UITableView tableView, java.lang.String title, long index)
java.util.List<java.lang.String>
getSectionIndexTitles(UITableView tableView)
java.lang.String
getTitleForFooter(UITableView tableView, long section)
java.lang.String
getTitleForHeader(UITableView tableView, long section)
void
moveRow(UITableView tableView, NSIndexPath sourceIndexPath, NSIndexPath destinationIndexPath)
-
Methods inherited from class org.robovm.apple.foundation.NSObject
addKeyValueObserver, addKeyValueObserver, afterMarshaled, alloc, autorelease, autorelease, awakeFromNib, conformsToProtocol, copy, description, didChangeValue, didChangeValue, didChangeValues, doDispose, equals, forceSkipInit, getAutoContentAccessingProxy, getClassForCoder, getClassForKeyedArchiver, getKeyValueCoder, getObservationInfo, hash, hashCode, init, isEqual, isKindOfClass, isMemberOfClass, mutableCopy, performSelector, performSelector, performSelector, performSelector, performSelector, performSelector, performSelector, performSelectorInBackground, performSelectorOnMainThread, performSelectorOnMainThread, performSelectorV, performSelectorV, performSelectorV, release, release, removeKeyValueObserver, removeKeyValueObservers, respondsToSelector, retain, retain, retainCount, setObservationInfo, toString, willChangeValue, willChangeValue, willChangeValues
-
-
-
-
Method Detail
-
getNumberOfRowsInSection
public long getNumberOfRowsInSection(UITableView tableView, long section)
- Specified by:
getNumberOfRowsInSection
in interfaceUITableViewDataSource
-
getCellForRow
public UITableViewCell getCellForRow(UITableView tableView, NSIndexPath indexPath)
- Specified by:
getCellForRow
in interfaceUITableViewDataSource
-
getNumberOfSections
public long getNumberOfSections(UITableView tableView)
- Specified by:
getNumberOfSections
in interfaceUITableViewDataSource
-
getTitleForHeader
public java.lang.String getTitleForHeader(UITableView tableView, long section)
- Specified by:
getTitleForHeader
in interfaceUITableViewDataSource
-
getTitleForFooter
public java.lang.String getTitleForFooter(UITableView tableView, long section)
- Specified by:
getTitleForFooter
in interfaceUITableViewDataSource
-
canEditRow
public boolean canEditRow(UITableView tableView, NSIndexPath indexPath)
- Specified by:
canEditRow
in interfaceUITableViewDataSource
-
canMoveRow
public boolean canMoveRow(UITableView tableView, NSIndexPath indexPath)
- Specified by:
canMoveRow
in interfaceUITableViewDataSource
-
getSectionIndexTitles
public java.util.List<java.lang.String> getSectionIndexTitles(UITableView tableView)
- Specified by:
getSectionIndexTitles
in interfaceUITableViewDataSource
-
getSectionForSectionIndexTitle
public long getSectionForSectionIndexTitle(UITableView tableView, java.lang.String title, long index)
- Specified by:
getSectionForSectionIndexTitle
in interfaceUITableViewDataSource
-
commitEditingStyleForRow
public void commitEditingStyleForRow(UITableView tableView, UITableViewCellEditingStyle editingStyle, NSIndexPath indexPath)
- Specified by:
commitEditingStyleForRow
in interfaceUITableViewDataSource
-
moveRow
public void moveRow(UITableView tableView, NSIndexPath sourceIndexPath, NSIndexPath destinationIndexPath)
- Specified by:
moveRow
in interfaceUITableViewDataSource
-
-