com.bugvm.apple.uikit.UITableViewCell 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 2.0 and later.
*/
/* */
/**/@Library("UIKit") @NativeClass/* */
/**/public/* */ class /**/UITableViewCell/* */
extends /**/UIView/* */
/**/implements NSCoding, UIGestureRecognizerDelegate/* */ {
/**/public static class UITableViewCellPtr extends Ptr {}/* */
/**/static { ObjCRuntime.bind(UITableViewCell.class); }/* */
/**//* */
/**/
public UITableViewCell() {}
protected UITableViewCell(SkipInit skipInit) { super(skipInit); }
/**
* @since Available in iOS 3.0 and later.
*/
public UITableViewCell(UITableViewCellStyle style, String reuseIdentifier) { super((SkipInit) null); initObject(init(style, reuseIdentifier)); }
public UITableViewCell(NSCoder aDecoder) { super((SkipInit) null); initObject(init(aDecoder)); }
/* */
public UITableViewCell(CGRect frame) {
super(frame);
}
/**/
/**
* @since Available in iOS 3.0 and later.
*/
@Property(selector = "imageView")
public native UIImageView getImageView();
/**
* @since Available in iOS 3.0 and later.
*/
@Property(selector = "textLabel")
public native UILabel getTextLabel();
/**
* @since Available in iOS 3.0 and later.
*/
@Property(selector = "detailTextLabel")
public native UILabel getDetailTextLabel();
@Property(selector = "contentView")
public native UIView getContentView();
@Property(selector = "backgroundView")
public native UIView getBackgroundView();
@Property(selector = "setBackgroundView:")
public native void setBackgroundView(UIView v);
@Property(selector = "selectedBackgroundView")
public native UIView getSelectedBackgroundView();
@Property(selector = "setSelectedBackgroundView:")
public native void setSelectedBackgroundView(UIView v);
/**
* @since Available in iOS 5.0 and later.
*/
@Property(selector = "multipleSelectionBackgroundView")
public native UIView getMultipleSelectionBackgroundView();
/**
* @since Available in iOS 5.0 and later.
*/
@Property(selector = "setMultipleSelectionBackgroundView:")
public native void setMultipleSelectionBackgroundView(UIView v);
@Property(selector = "reuseIdentifier")
public native String getReuseIdentifier();
@Property(selector = "selectionStyle")
public native UITableViewCellSelectionStyle getSelectionStyle();
@Property(selector = "setSelectionStyle:")
public native void setSelectionStyle(UITableViewCellSelectionStyle v);
@Property(selector = "isSelected")
public native boolean isSelected();
@Property(selector = "setSelected:")
public native void setSelected(boolean v);
@Property(selector = "isHighlighted")
public native boolean isHighlighted();
@Property(selector = "setHighlighted:")
public native void setHighlighted(boolean v);
@Property(selector = "editingStyle")
public native UITableViewCellEditingStyle getEditingStyle();
@Property(selector = "showsReorderControl")
public native boolean showsReorderControl();
@Property(selector = "setShowsReorderControl:")
public native void setShowsReorderControl(boolean v);
@Property(selector = "shouldIndentWhileEditing")
public native boolean shouldIndentWhileEditing();
@Property(selector = "setShouldIndentWhileEditing:")
public native void setShouldIndentWhileEditing(boolean v);
@Property(selector = "accessoryType")
public native UITableViewCellAccessoryType getAccessoryType();
@Property(selector = "setAccessoryType:")
public native void setAccessoryType(UITableViewCellAccessoryType v);
@Property(selector = "accessoryView")
public native UIView getAccessoryView();
@Property(selector = "setAccessoryView:")
public native void setAccessoryView(UIView v);
@Property(selector = "editingAccessoryType")
public native UITableViewCellAccessoryType getEditingAccessoryType();
@Property(selector = "setEditingAccessoryType:")
public native void setEditingAccessoryType(UITableViewCellAccessoryType v);
@Property(selector = "editingAccessoryView")
public native UIView getEditingAccessoryView();
@Property(selector = "setEditingAccessoryView:")
public native void setEditingAccessoryView(UIView v);
@Property(selector = "indentationLevel")
public native @MachineSizedSInt long getIndentationLevel();
@Property(selector = "setIndentationLevel:")
public native void setIndentationLevel(@MachineSizedSInt long v);
@Property(selector = "indentationWidth")
public native @MachineSizedFloat double getIndentationWidth();
@Property(selector = "setIndentationWidth:")
public native void setIndentationWidth(@MachineSizedFloat double v);
/**
* @since Available in iOS 7.0 and later.
*/
@Property(selector = "separatorInset")
public native @ByVal UIEdgeInsets getSeparatorInset();
/**
* @since Available in iOS 7.0 and later.
*/
@Property(selector = "setSeparatorInset:")
public native void setSeparatorInset(@ByVal UIEdgeInsets v);
@Property(selector = "isEditing")
public native boolean isEditing();
@Property(selector = "setEditing:")
public native void setEditing(boolean v);
@Property(selector = "showingDeleteConfirmation")
public native boolean isShowingDeleteConfirmation();
/* */
/**//* */
/**/
/**
* @since Available in iOS 3.0 and later.
*/
@Method(selector = "initWithStyle:reuseIdentifier:")
protected native @Pointer long init(UITableViewCellStyle style, String reuseIdentifier);
@Method(selector = "initWithCoder:")
protected native @Pointer long init(NSCoder aDecoder);
@Method(selector = "prepareForReuse")
public native void prepareForReuse();
@Method(selector = "setSelected:animated:")
public native void setSelected(boolean selected, boolean animated);
@Method(selector = "setHighlighted:animated:")
public native void setHighlighted(boolean highlighted, boolean animated);
@Method(selector = "setEditing:animated:")
public native void setEditing(boolean editing, boolean animated);
/**
* @since Available in iOS 3.0 and later.
*/
@Method(selector = "willTransitionToState:")
public native void willTransitionToState(UITableViewCellStateMask state);
/**
* @since Available in iOS 3.0 and later.
*/
@Method(selector = "didTransitionToState:")
public native void didTransitionToState(UITableViewCellStateMask state);
@Method(selector = "gestureRecognizerShouldBegin:")
public native boolean shouldBegin(UIGestureRecognizer gestureRecognizer);
@Method(selector = "gestureRecognizer:shouldRecognizeSimultaneouslyWithGestureRecognizer:")
public native boolean shouldRecognizeSimultaneously(UIGestureRecognizer gestureRecognizer, UIGestureRecognizer otherGestureRecognizer);
/**
* @since Available in iOS 7.0 and later.
*/
@Method(selector = "gestureRecognizer:shouldRequireFailureOfGestureRecognizer:")
public native boolean shouldRequireFailure(UIGestureRecognizer gestureRecognizer, UIGestureRecognizer otherGestureRecognizer);
/**
* @since Available in iOS 7.0 and later.
*/
@Method(selector = "gestureRecognizer:shouldBeRequiredToFailByGestureRecognizer:")
public native boolean shouldBeRequiredToFail(UIGestureRecognizer gestureRecognizer, UIGestureRecognizer otherGestureRecognizer);
@Method(selector = "gestureRecognizer:shouldReceiveTouch:")
public native boolean shouldReceiveTouch(UIGestureRecognizer gestureRecognizer, UITouch touch);
/* */
}