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

com.bugvm.apple.uikit.UIAccessibilityTraits 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.*;
/**/

/**/
/**/
/**/@Library("UIKit") @Marshaler(Bits.AsMachineSizedIntMarshaler.class)/**/
/**/public final/**/ class /**/UIAccessibilityTraits/**/ 
    extends /**/Bits/**/  {

    public static final UIAccessibilityTraits None = new UIAccessibilityTraits(NoneValue());
    public static final UIAccessibilityTraits Button = new UIAccessibilityTraits(ButtonValue());
    public static final UIAccessibilityTraits Link = new UIAccessibilityTraits(LinkValue());
    /**
     * @since Available in iOS 6.0 and later.
     */
    public static final UIAccessibilityTraits Header = new UIAccessibilityTraits(HeaderValue());
    public static final UIAccessibilityTraits SearchField = new UIAccessibilityTraits(SearchFieldValue());
    public static final UIAccessibilityTraits Image = new UIAccessibilityTraits(ImageValue());
    public static final UIAccessibilityTraits Selected = new UIAccessibilityTraits(SelectedValue());
    public static final UIAccessibilityTraits PlaysSound = new UIAccessibilityTraits(PlaysSoundValue());
    public static final UIAccessibilityTraits StaticText = new UIAccessibilityTraits(StaticTextValue());
    public static final UIAccessibilityTraits SummaryElement = new UIAccessibilityTraits(SummaryElementValue());
    public static final UIAccessibilityTraits NotEnabled = new UIAccessibilityTraits(NotEnabledValue());
    public static final UIAccessibilityTraits UpdatesFrequently = new UIAccessibilityTraits(UpdatesFrequentlyValue());
    /**
     * @since Available in iOS 4.0 and later.
     */
    public static final UIAccessibilityTraits StartsMediaSession = new UIAccessibilityTraits(StartsMediaSessionValue());
    /**
     * @since Available in iOS 4.0 and later.
     */
    public static final UIAccessibilityTraits Adjustable = new UIAccessibilityTraits(AdjustableValue());
    /**
     * @since Available in iOS 5.0 and later.
     */
    public static final UIAccessibilityTraits AllowsDirectInteraction = new UIAccessibilityTraits(AllowsDirectInteractionValue());
    /**
     * @since Available in iOS 5.0 and later.
     */
    public static final UIAccessibilityTraits CausesPageTurn = new UIAccessibilityTraits(CausesPageTurnValue());

    private static final /**/UIAccessibilityTraits/**/[] values = _values(/**/UIAccessibilityTraits/**/.class);

    public /**/UIAccessibilityTraits/**/(long value) { super(value); }
    private /**/UIAccessibilityTraits/**/(long value, long mask) { super(value, mask); }
    protected /**/UIAccessibilityTraits/**/ wrap(long value, long mask) {
        return new /**/UIAccessibilityTraits/**/(value, mask);
    }
    protected /**/UIAccessibilityTraits/**/[] _values() {
        return values;
    }
    public static /**/UIAccessibilityTraits/**/[] values() {
        return values.clone();
    }
    
    /**/
    @GlobalValue(symbol="UIAccessibilityTraitNone", optional=true)
    protected static native long NoneValue();
    @GlobalValue(symbol="UIAccessibilityTraitButton", optional=true)
    protected static native long ButtonValue();
    @GlobalValue(symbol="UIAccessibilityTraitLink", optional=true)
    protected static native long LinkValue();
    /**
     * @since Available in iOS 6.0 and later.
     */
    @GlobalValue(symbol="UIAccessibilityTraitHeader", optional=true)
    protected static native long HeaderValue();
    @GlobalValue(symbol="UIAccessibilityTraitSearchField", optional=true)
    protected static native long SearchFieldValue();
    @GlobalValue(symbol="UIAccessibilityTraitImage", optional=true)
    protected static native long ImageValue();
    @GlobalValue(symbol="UIAccessibilityTraitSelected", optional=true)
    protected static native long SelectedValue();
    @GlobalValue(symbol="UIAccessibilityTraitPlaysSound", optional=true)
    protected static native long PlaysSoundValue();
    @GlobalValue(symbol="UIAccessibilityTraitKeyboardKey", optional=true)
    protected static native long KeyboardKeyValue();
    @GlobalValue(symbol="UIAccessibilityTraitStaticText", optional=true)
    protected static native long StaticTextValue();
    @GlobalValue(symbol="UIAccessibilityTraitSummaryElement", optional=true)
    protected static native long SummaryElementValue();
    @GlobalValue(symbol="UIAccessibilityTraitNotEnabled", optional=true)
    protected static native long NotEnabledValue();
    @GlobalValue(symbol="UIAccessibilityTraitUpdatesFrequently", optional=true)
    protected static native long UpdatesFrequentlyValue();
    /**
     * @since Available in iOS 4.0 and later.
     */
    @GlobalValue(symbol="UIAccessibilityTraitStartsMediaSession", optional=true)
    protected static native long StartsMediaSessionValue();
    /**
     * @since Available in iOS 4.0 and later.
     */
    @GlobalValue(symbol="UIAccessibilityTraitAdjustable", optional=true)
    protected static native long AdjustableValue();
    /**
     * @since Available in iOS 5.0 and later.
     */
    @GlobalValue(symbol="UIAccessibilityTraitAllowsDirectInteraction", optional=true)
    protected static native long AllowsDirectInteractionValue();
    /**
     * @since Available in iOS 5.0 and later.
     */
    @GlobalValue(symbol="UIAccessibilityTraitCausesPageTurn", optional=true)
    protected static native long CausesPageTurnValue();
    /**/
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy