Package org.robovm.apple.uikit
Class UICollectionViewLayoutAttributes
- java.lang.Object
-
- org.robovm.rt.bro.NativeObject
-
- org.robovm.objc.ObjCObject
-
- org.robovm.apple.foundation.NSObject
-
- org.robovm.apple.uikit.UICollectionViewLayoutAttributes
-
- All Implemented Interfaces:
NSObjectProtocol
,UIDynamicItem
,org.robovm.objc.ObjCProtocol
public class UICollectionViewLayoutAttributes extends NSObject implements UIDynamicItem
- Since:
- Available in iOS 6.0 and later.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
UICollectionViewLayoutAttributes.UICollectionViewLayoutAttributesPtr
-
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 UICollectionViewLayoutAttributes()
protected
UICollectionViewLayoutAttributes(NSObject.Handle h, long handle)
protected
UICollectionViewLayoutAttributes(NSObject.SkipInit skipInit)
-
Method Summary
-
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
-
UICollectionViewLayoutAttributes
public UICollectionViewLayoutAttributes()
-
UICollectionViewLayoutAttributes
protected UICollectionViewLayoutAttributes(NSObject.Handle h, long handle)
-
UICollectionViewLayoutAttributes
protected UICollectionViewLayoutAttributes(NSObject.SkipInit skipInit)
-
-
Method Detail
-
getFrame
public CGRect getFrame()
-
setFrame
public void setFrame(CGRect v)
-
getCenter
public CGPoint getCenter()
- Specified by:
getCenter
in interfaceUIDynamicItem
-
setCenter
public void setCenter(CGPoint v)
- Specified by:
setCenter
in interfaceUIDynamicItem
-
getSize
public CGSize getSize()
-
setSize
public void setSize(CGSize v)
-
getTransform3D
public CATransform3D getTransform3D()
-
setTransform3D
public void setTransform3D(CATransform3D v)
-
getBounds
public CGRect getBounds()
- Specified by:
getBounds
in interfaceUIDynamicItem
- Since:
- Available in iOS 7.0 and later.
-
setBounds
public void setBounds(CGRect v)
- Since:
- Available in iOS 7.0 and later.
-
getTransform
public CGAffineTransform getTransform()
- Specified by:
getTransform
in interfaceUIDynamicItem
- Since:
- Available in iOS 7.0 and later.
-
setTransform
public void setTransform(CGAffineTransform v)
- Specified by:
setTransform
in interfaceUIDynamicItem
- Since:
- Available in iOS 7.0 and later.
-
getAlpha
public double getAlpha()
-
setAlpha
public void setAlpha(double v)
-
getZIndex
public long getZIndex()
-
setZIndex
public void setZIndex(long v)
-
isHidden
public boolean isHidden()
-
setHidden
public void setHidden(boolean v)
-
getIndexPath
public NSIndexPath getIndexPath()
-
setIndexPath
public void setIndexPath(NSIndexPath v)
-
getRepresentedElementCategory
public UICollectionElementCategory getRepresentedElementCategory()
-
getRepresentedElementKind
public java.lang.String getRepresentedElementKind()
-
getCollisionBoundsType
public UIDynamicItemCollisionBoundsType getCollisionBoundsType()
- Specified by:
getCollisionBoundsType
in interfaceUIDynamicItem
- Since:
- Available in iOS 9.0 and later.
-
getCollisionBoundingPath
public UIBezierPath getCollisionBoundingPath()
- Specified by:
getCollisionBoundingPath
in interfaceUIDynamicItem
- Since:
- Available in iOS 9.0 and later.
-
createForCell
public static UICollectionViewLayoutAttributes createForCell(NSIndexPath indexPath)
-
createForSupplementaryView
public static UICollectionViewLayoutAttributes createForSupplementaryView(java.lang.String elementKind, NSIndexPath indexPath)
-
createForDecorationView
public static UICollectionViewLayoutAttributes createForDecorationView(java.lang.String decorationViewKind, NSIndexPath indexPath)
-
-