Package org.robovm.apple.foundation
Class NSIndexPath
- java.lang.Object
-
- org.robovm.rt.bro.NativeObject
-
- org.robovm.objc.ObjCObject
-
- org.robovm.apple.foundation.NSObject
-
- org.robovm.apple.foundation.NSIndexPath
-
- All Implemented Interfaces:
NSCoding
,NSObjectProtocol
,NSSecureCoding
,org.robovm.objc.ObjCProtocol
public class NSIndexPath extends NSObject implements NSSecureCoding
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
NSIndexPath.NSIndexPathPtr
-
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 Modifier Constructor Description NSIndexPath()
NSIndexPath(long index)
NSIndexPath(long[] indexes)
NSIndexPath(NSCoder decoder)
protected
NSIndexPath(NSObject.Handle h, long handle)
protected
NSIndexPath(NSObject.SkipInit skipInit)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description NSIndexPath
addIndex(long index)
NSComparisonResult
compare(NSIndexPath otherObject)
void
encode(NSCoder coder)
long
getIndexAt(long position)
int[]
getIndexes()
int[]
getIndexes(NSRange positionRange)
int
getItem()
long
getLength()
int
getRow()
int
getSection()
protected long
init(long index)
protected long
init(NSCoder decoder)
static NSIndexPath
item(long item, long section)
NSIndexPath
removeLastIndex()
static NSIndexPath
row(long row, long section)
static boolean
supportsSecureCoding()
-
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
-
-
-
-
Constructor Detail
-
NSIndexPath
public NSIndexPath()
-
NSIndexPath
protected NSIndexPath(NSObject.Handle h, long handle)
-
NSIndexPath
protected NSIndexPath(NSObject.SkipInit skipInit)
-
NSIndexPath
public NSIndexPath(long index)
-
NSIndexPath
public NSIndexPath(NSCoder decoder)
-
NSIndexPath
public NSIndexPath(long[] indexes)
-
-
Method Detail
-
getLength
public long getLength()
-
supportsSecureCoding
public static boolean supportsSecureCoding()
-
getIndexes
public int[] getIndexes()
-
getIndexes
public int[] getIndexes(NSRange positionRange)
- Since:
- Available in iOS 7.0 and later.
-
getSection
public int getSection()
-
getRow
public int getRow()
-
getItem
public int getItem()
- Since:
- Available in iOS 6.0 and later.
-
row
public static NSIndexPath row(long row, long section)
-
item
public static NSIndexPath item(long item, long section)
- Since:
- Available in iOS 6.0 and later.
-
init
protected long init(long index)
-
addIndex
public NSIndexPath addIndex(long index)
-
removeLastIndex
public NSIndexPath removeLastIndex()
-
getIndexAt
public long getIndexAt(long position)
-
compare
public NSComparisonResult compare(NSIndexPath otherObject)
-
init
protected long init(NSCoder decoder)
-
-