com.bugvm.apple.uikit.UICollectionViewFlowLayout 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.*;
/* */
/**/
/**
* @since Available in iOS 6.0 and later.
*/
/* */
/**/@Library("UIKit") @NativeClass/* */
/**/public/* */ class /**/UICollectionViewFlowLayout/* */
extends /**/UICollectionViewLayout/* */
/**//* */ {
/**/public static class UICollectionViewFlowLayoutPtr extends Ptr {}/* */
/**/static { ObjCRuntime.bind(UICollectionViewFlowLayout.class); }/* */
/**//* */
/**/
public UICollectionViewFlowLayout() {}
protected UICollectionViewFlowLayout(SkipInit skipInit) { super(skipInit); }
/* */
/**/
@Property(selector = "minimumLineSpacing")
public native @MachineSizedFloat double getMinimumLineSpacing();
@Property(selector = "setMinimumLineSpacing:")
public native void setMinimumLineSpacing(@MachineSizedFloat double v);
@Property(selector = "minimumInteritemSpacing")
public native @MachineSizedFloat double getMinimumInteritemSpacing();
@Property(selector = "setMinimumInteritemSpacing:")
public native void setMinimumInteritemSpacing(@MachineSizedFloat double v);
@Property(selector = "itemSize")
public native @ByVal CGSize getItemSize();
@Property(selector = "setItemSize:")
public native void setItemSize(@ByVal CGSize v);
/**
* @since Available in iOS 8.0 and later.
*/
@Property(selector = "estimatedItemSize")
public native @ByVal CGSize getEstimatedItemSize();
/**
* @since Available in iOS 8.0 and later.
*/
@Property(selector = "setEstimatedItemSize:")
public native void setEstimatedItemSize(@ByVal CGSize v);
@Property(selector = "scrollDirection")
public native UICollectionViewScrollDirection getScrollDirection();
@Property(selector = "setScrollDirection:")
public native void setScrollDirection(UICollectionViewScrollDirection v);
@Property(selector = "headerReferenceSize")
public native @ByVal CGSize getHeaderReferenceSize();
@Property(selector = "setHeaderReferenceSize:")
public native void setHeaderReferenceSize(@ByVal CGSize v);
@Property(selector = "footerReferenceSize")
public native @ByVal CGSize getFooterReferenceSize();
@Property(selector = "setFooterReferenceSize:")
public native void setFooterReferenceSize(@ByVal CGSize v);
@Property(selector = "sectionInset")
public native @ByVal UIEdgeInsets getSectionInset();
@Property(selector = "setSectionInset:")
public native void setSectionInset(@ByVal UIEdgeInsets v);
/**
* @since Available in iOS 9.0 and later.
*/
@Property(selector = "sectionHeadersPinToVisibleBounds")
public native boolean isSectionHeadersPinToVisibleBounds();
/**
* @since Available in iOS 9.0 and later.
*/
@Property(selector = "setSectionHeadersPinToVisibleBounds:")
public native void setSectionHeadersPinToVisibleBounds(boolean v);
/**
* @since Available in iOS 9.0 and later.
*/
@Property(selector = "sectionFootersPinToVisibleBounds")
public native boolean isSectionFootersPinToVisibleBounds();
/**
* @since Available in iOS 9.0 and later.
*/
@Property(selector = "setSectionFootersPinToVisibleBounds:")
public native void setSectionFootersPinToVisibleBounds(boolean v);
/* */
/**//* */
/**/
/* */
}