All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.bugvm.apple.uikit.UINavigationItem Maven / Gradle / Ivy

There is a newer version: 1.2.9
Show 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 /**/UINavigationItem/**/ 
    extends /**/NSObject/**/ 
    /**/implements NSCoding/**/ {

    /**/public static class UINavigationItemPtr extends Ptr {}/**/
    /**/static { ObjCRuntime.bind(UINavigationItem.class); }/**/
    /**//**/
    /**/
    public UINavigationItem() {}
    protected UINavigationItem(SkipInit skipInit) { super(skipInit); }
    public UINavigationItem(String title) { super((SkipInit) null); initObject(init(title)); }
    public UINavigationItem(NSCoder coder) { super((SkipInit) null); initObject(init(coder)); }
    /**/
    /**/
    @Property(selector = "title")
    public native String getTitle();
    @Property(selector = "setTitle:")
    public native void setTitle(String v);
    @Property(selector = "titleView")
    public native UIView getTitleView();
    @Property(selector = "setTitleView:")
    public native void setTitleView(UIView v);
    @Property(selector = "prompt")
    public native String getPrompt();
    @Property(selector = "setPrompt:")
    public native void setPrompt(String v);
    @Property(selector = "backBarButtonItem")
    public native UIBarButtonItem getBackBarButtonItem();
    @Property(selector = "setBackBarButtonItem:")
    public native void setBackBarButtonItem(UIBarButtonItem v);
    @Property(selector = "hidesBackButton")
    public native boolean hidesBackButton();
    @Property(selector = "setHidesBackButton:")
    public native void setHidesBackButton(boolean v);
    /**
     * @since Available in iOS 5.0 and later.
     */
    @Property(selector = "leftBarButtonItems")
    public native NSArray getLeftBarButtonItems();
    /**
     * @since Available in iOS 5.0 and later.
     */
    @Property(selector = "setLeftBarButtonItems:")
    public native void setLeftBarButtonItems(NSArray v);
    /**
     * @since Available in iOS 5.0 and later.
     */
    @Property(selector = "rightBarButtonItems")
    public native NSArray getRightBarButtonItems();
    /**
     * @since Available in iOS 5.0 and later.
     */
    @Property(selector = "setRightBarButtonItems:")
    public native void setRightBarButtonItems(NSArray v);
    /**
     * @since Available in iOS 5.0 and later.
     */
    @Property(selector = "leftItemsSupplementBackButton")
    public native boolean leftItemsSupplementBackButton();
    /**
     * @since Available in iOS 5.0 and later.
     */
    @Property(selector = "setLeftItemsSupplementBackButton:")
    public native void setLeftItemsSupplementBackButton(boolean v);
    @Property(selector = "leftBarButtonItem")
    public native UIBarButtonItem getLeftBarButtonItem();
    @Property(selector = "setLeftBarButtonItem:")
    public native void setLeftBarButtonItem(UIBarButtonItem v);
    @Property(selector = "rightBarButtonItem")
    public native UIBarButtonItem getRightBarButtonItem();
    @Property(selector = "setRightBarButtonItem:")
    public native void setRightBarButtonItem(UIBarButtonItem v);
    /**/
    /**//**/
    /**/
    @Method(selector = "initWithTitle:")
    protected native @Pointer long init(String title);
    @Method(selector = "initWithCoder:")
    protected native @Pointer long init(NSCoder coder);
    @Method(selector = "setHidesBackButton:animated:")
    public native void setHidesBackButton(boolean hidesBackButton, boolean animated);
    /**
     * @since Available in iOS 5.0 and later.
     */
    @Method(selector = "setLeftBarButtonItems:animated:")
    public native void setLeftBarButtonItems(NSArray items, boolean animated);
    /**
     * @since Available in iOS 5.0 and later.
     */
    @Method(selector = "setRightBarButtonItems:animated:")
    public native void setRightBarButtonItems(NSArray items, boolean animated);
    @Method(selector = "setLeftBarButtonItem:animated:")
    public native void setLeftBarButtonItem(UIBarButtonItem item, boolean animated);
    @Method(selector = "setRightBarButtonItem:animated:")
    public native void setRightBarButtonItem(UIBarButtonItem item, boolean animated);
    @Method(selector = "encodeWithCoder:")
    public native void encode(NSCoder coder);
    /**/
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy