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

io.qt.gui.nativeinterface.QWindowsApplication Maven / Gradle / Ivy

The newest version!
package io.qt.gui.nativeinterface;


/**
 * 

Java wrapper for Qt class QNativeInterface::Private::QWindowsApplication

*/ public interface QWindowsApplication extends io.qt.QtObjectInterface { /** *

Java wrapper for Qt enum QNativeInterface::Private::QWindowsApplication::DarkModeHandlingFlag

* * @see DarkModeHandling */ public enum DarkModeHandlingFlag implements io.qt.QtFlagEnumerator { DarkModeWindowFrames(1), DarkModeStyle(2); private DarkModeHandlingFlag(int value) { this.value = value; } /** * {@inheritDoc} */ public int value() { return value; } /** * Create a QFlags of the enum entry. * @return QFlags */ public DarkModeHandling asFlags() { return new DarkModeHandling(value); } /** * Combines this entry with other enum entry. * @param e enum entry * @return new flag */ public DarkModeHandling combined(DarkModeHandlingFlag e) { return new DarkModeHandling(this, e); } /** * Creates a new {@link DarkModeHandling} from the entries. * @param values entries * @return new flag */ public static DarkModeHandling flags(DarkModeHandlingFlag ... values) { return new DarkModeHandling(values); } /** * Returns the corresponding enum entry for the given value. * @param value * @return enum entry */ public static DarkModeHandlingFlag resolve(int value) { switch (value) { case 1: return DarkModeWindowFrames; case 2: return DarkModeStyle; default: throw new io.qt.QNoSuchEnumValueException(value); } } private final int value; } /** * QFlags type for enum {@link DarkModeHandlingFlag} */ public static final class DarkModeHandling extends io.qt.QFlags implements Comparable { private static final long serialVersionUID = 0xd1006d10b88a8c4bL; /** * Creates a new DarkModeHandling where the flags in args are set. * @param args enum entries */ public DarkModeHandling(DarkModeHandlingFlag ... args){ super(args); } /** * Creates a new DarkModeHandling with given value. * @param value */ public DarkModeHandling(int value) { super(value); } /** * Combines this flags with enum entry. * @param e enum entry * @return new DarkModeHandling */ @Override public final DarkModeHandling combined(DarkModeHandlingFlag e){ return new DarkModeHandling(value() | e.value()); } /** * Sets the flag e * @param e enum entry * @return this */ public final DarkModeHandling setFlag(DarkModeHandlingFlag e){ super.setFlag(e); return this; } /** * Sets or clears the flag flag * @param e enum entry * @param on set (true) or clear (false) * @return this */ public final DarkModeHandling setFlag(DarkModeHandlingFlag e, boolean on){ super.setFlag(e, on); return this; } /** * Returns an array of flag objects represented by this DarkModeHandling. * @return array of enum entries */ @Override public final DarkModeHandlingFlag[] flags(){ return super.flags(DarkModeHandlingFlag.values()); } /** * {@inheritDoc} */ @Override public final DarkModeHandling clone(){ return new DarkModeHandling(value()); } /** * {@inheritDoc} */ @Override public final int compareTo(DarkModeHandling other){ return Integer.compare(value(), other.value()); } } /** *

Java wrapper for Qt enum QNativeInterface::Private::QWindowsApplication::TouchWindowTouchType

* * @see TouchWindowTouchTypes */ public enum TouchWindowTouchType implements io.qt.QtFlagEnumerator { NormalTouch(0), FineTouch(1), WantPalmTouch(2); private TouchWindowTouchType(int value) { this.value = value; } /** * {@inheritDoc} */ public int value() { return value; } /** * Create a QFlags of the enum entry. * @return QFlags */ public TouchWindowTouchTypes asFlags() { return new TouchWindowTouchTypes(value); } /** * Combines this entry with other enum entry. * @param e enum entry * @return new flag */ public TouchWindowTouchTypes combined(TouchWindowTouchType e) { return new TouchWindowTouchTypes(this, e); } /** * Creates a new {@link TouchWindowTouchTypes} from the entries. * @param values entries * @return new flag */ public static TouchWindowTouchTypes flags(TouchWindowTouchType ... values) { return new TouchWindowTouchTypes(values); } /** * Returns the corresponding enum entry for the given value. * @param value * @return enum entry */ public static TouchWindowTouchType resolve(int value) { switch (value) { case 0: return NormalTouch; case 1: return FineTouch; case 2: return WantPalmTouch; default: throw new io.qt.QNoSuchEnumValueException(value); } } private final int value; } /** * QFlags type for enum {@link TouchWindowTouchType} */ public static final class TouchWindowTouchTypes extends io.qt.QFlags implements Comparable { private static final long serialVersionUID = 0x21660f12a4769ea3L; /** * Creates a new TouchWindowTouchTypes where the flags in args are set. * @param args enum entries */ public TouchWindowTouchTypes(TouchWindowTouchType ... args){ super(args); } /** * Creates a new TouchWindowTouchTypes with given value. * @param value */ public TouchWindowTouchTypes(int value) { super(value); } /** * Combines this flags with enum entry. * @param e enum entry * @return new TouchWindowTouchTypes */ @Override public final TouchWindowTouchTypes combined(TouchWindowTouchType e){ return new TouchWindowTouchTypes(value() | e.value()); } /** * Sets the flag e * @param e enum entry * @return this */ public final TouchWindowTouchTypes setFlag(TouchWindowTouchType e){ super.setFlag(e); return this; } /** * Sets or clears the flag flag * @param e enum entry * @param on set (true) or clear (false) * @return this */ public final TouchWindowTouchTypes setFlag(TouchWindowTouchType e, boolean on){ super.setFlag(e, on); return this; } /** * Returns an array of flag objects represented by this TouchWindowTouchTypes. * @return array of enum entries */ @Override public final TouchWindowTouchType[] flags(){ return super.flags(TouchWindowTouchType.values()); } /** * {@inheritDoc} */ @Override public final TouchWindowTouchTypes clone(){ return new TouchWindowTouchTypes(value()); } /** * {@inheritDoc} */ @Override public final int compareTo(TouchWindowTouchTypes other){ return Integer.compare(value(), other.value()); } } /** *

Java wrapper for Qt enum QNativeInterface::Private::QWindowsApplication::WindowActivationBehavior

*/ public enum WindowActivationBehavior implements io.qt.QtEnumerator { DefaultActivateWindow(0), AlwaysActivateWindow(1); private WindowActivationBehavior(int value) { this.value = value; } /** * {@inheritDoc} */ public int value() { return value; } /** * Returns the corresponding enum entry for the given value. * @param value * @return enum entry */ public static WindowActivationBehavior resolve(int value) { switch (value) { case 0: return DefaultActivateWindow; case 1: return AlwaysActivateWindow; default: throw new io.qt.QNoSuchEnumValueException(value); } } private final int value; } /** *

Implementor class for interface {@link io.qt.gui.nativeinterface.QWindowsApplication}

*/ public static abstract class Impl extends io.qt.QtObject implements io.qt.gui.nativeinterface.QWindowsApplication { static { QtJambi_LibraryUtilities.initialize(); } @io.qt.NativeAccess private static final class ConcreteWrapper extends QWindowsApplication.Impl { @io.qt.NativeAccess private ConcreteWrapper(QPrivateConstructor p) { super(p); } @Override @io.qt.QtUninvokable public boolean asyncExpose(){ throw new io.qt.QNoImplementationException(); } private native static boolean asyncExpose_native_constfct(long __this__nativeId); @Override @io.qt.QtUninvokable public io.qt.QNativePointer createMessageWindow(java.lang.String classNameTemplate, java.lang.String windowName, io.qt.core.QFunctionPointer eventProc){ throw new io.qt.QNoImplementationException(); } private native static io.qt.QNativePointer createMessageWindow_native_cref_QString_cref_QString_QFunctionPointer_constfct(long __this__nativeId, java.lang.String classNameTemplate, java.lang.String windowName, io.qt.core.QFunctionPointer eventProc); @Override @io.qt.QtUninvokable public io.qt.gui.nativeinterface.QWindowsApplication.DarkModeHandling darkModeHandling(){ throw new io.qt.QNoImplementationException(); } private native static int darkModeHandling_native_constfct(long __this__nativeId); @Override @io.qt.QtUninvokable public java.lang.Object gpu(){ throw new io.qt.QNoImplementationException(); } private native static java.lang.Object gpu_native_constfct(long __this__nativeId); @Override @io.qt.QtUninvokable public java.lang.Object gpuList(){ throw new io.qt.QNoImplementationException(); } private native static java.lang.Object gpuList_native_constfct(long __this__nativeId); @Override @io.qt.QtUninvokable public boolean isDarkMode(){ throw new io.qt.QNoImplementationException(); } private native static boolean isDarkMode_native_constfct(long __this__nativeId); @Override @io.qt.QtUninvokable public boolean isTabletMode(){ throw new io.qt.QNoImplementationException(); } private native static boolean isTabletMode_native_constfct(long __this__nativeId); @Override @io.qt.QtUninvokable public boolean isWinTabEnabled(){ throw new io.qt.QNoImplementationException(); } private native static boolean isWinTabEnabled_native_constfct(long __this__nativeId); @Override @io.qt.QtUninvokable public int registerMimeType(java.lang.String mime){ throw new io.qt.QNoImplementationException(); } private native static int registerMimeType_native_cref_QString(long __this__nativeId, java.lang.String mime); @Override @io.qt.QtUninvokable public void setAsyncExpose(boolean value){ throw new io.qt.QNoImplementationException(); } private native static void setAsyncExpose_native_bool(long __this__nativeId, boolean value); @Override @io.qt.QtUninvokable public void setDarkModeHandling(io.qt.gui.nativeinterface.QWindowsApplication.DarkModeHandling handling){ throw new io.qt.QNoImplementationException(); } private native static void setDarkModeHandling_native_QFlags_QNativeInterface_Private_QWindowsApplication_DarkModeHandlingFlag_(long __this__nativeId, int handling); @Override @io.qt.QtUninvokable public void setTouchWindowTouchType(io.qt.gui.nativeinterface.QWindowsApplication.TouchWindowTouchTypes type){ throw new io.qt.QNoImplementationException(); } private native static void setTouchWindowTouchType_native_QFlags_QNativeInterface_Private_QWindowsApplication_TouchWindowTouchType_(long __this__nativeId, int type); @Override @io.qt.QtUninvokable public boolean setWinTabEnabled(boolean enabled){ throw new io.qt.QNoImplementationException(); } private native static boolean setWinTabEnabled_native_bool(long __this__nativeId, boolean enabled); @Override @io.qt.QtUninvokable public void setWindowActivationBehavior(io.qt.gui.nativeinterface.QWindowsApplication.WindowActivationBehavior behavior){ throw new io.qt.QNoImplementationException(); } private native static void setWindowActivationBehavior_native_QNativeInterface_Private_QWindowsApplication_WindowActivationBehavior(long __this__nativeId, int behavior); @Override @io.qt.QtUninvokable public io.qt.gui.nativeinterface.QWindowsApplication.TouchWindowTouchTypes touchWindowTouchType(){ throw new io.qt.QNoImplementationException(); } private native static int touchWindowTouchType_native_constfct(long __this__nativeId); @Override @io.qt.QtUninvokable public io.qt.gui.nativeinterface.QWindowsApplication.WindowActivationBehavior windowActivationBehavior(){ throw new io.qt.QNoImplementationException(); } private native static int windowActivationBehavior_native_constfct(long __this__nativeId); } @io.qt.QtUninvokable public abstract boolean asyncExpose(); /** *

Overloaded function for {@link #createMessageWindow(java.lang.String, java.lang.String, io.qt.core.QFunctionPointer)} * with eventProc = null.

*/ @io.qt.QtUninvokable public final io.qt.QNativePointer createMessageWindow(java.lang.String classNameTemplate, java.lang.String windowName) { return createMessageWindow(classNameTemplate, windowName, (io.qt.core.QFunctionPointer)null); } @io.qt.QtUninvokable public abstract io.qt.QNativePointer createMessageWindow(java.lang.String classNameTemplate, java.lang.String windowName, io.qt.core.QFunctionPointer eventProc); @io.qt.QtUninvokable public abstract io.qt.gui.nativeinterface.QWindowsApplication.DarkModeHandling darkModeHandling(); @io.qt.QtUninvokable public abstract java.lang.Object gpu(); @io.qt.QtUninvokable public abstract java.lang.Object gpuList(); @io.qt.QtUninvokable public abstract boolean isDarkMode(); @io.qt.QtUninvokable public abstract boolean isTabletMode(); @io.qt.QtUninvokable public abstract boolean isWinTabEnabled(); @io.qt.QtUninvokable public abstract int registerMimeType(java.lang.String mime); @io.qt.QtUninvokable public abstract void setAsyncExpose(boolean value); @io.qt.QtUninvokable public abstract void setDarkModeHandling(io.qt.gui.nativeinterface.QWindowsApplication.DarkModeHandling handling); @io.qt.QtUninvokable public abstract void setTouchWindowTouchType(io.qt.gui.nativeinterface.QWindowsApplication.TouchWindowTouchTypes type); @io.qt.QtUninvokable public abstract boolean setWinTabEnabled(boolean enabled); @io.qt.QtUninvokable public abstract void setWindowActivationBehavior(io.qt.gui.nativeinterface.QWindowsApplication.WindowActivationBehavior behavior); @io.qt.QtUninvokable public abstract io.qt.gui.nativeinterface.QWindowsApplication.TouchWindowTouchTypes touchWindowTouchType(); @io.qt.QtUninvokable public abstract io.qt.gui.nativeinterface.QWindowsApplication.WindowActivationBehavior windowActivationBehavior(); /** * Constructor for internal use only. * @param p expected to be null. */ @io.qt.NativeAccess protected Impl(QPrivateConstructor p) { super(p); } } @io.qt.QtUninvokable public boolean asyncExpose(); /** *

Overloaded function for {@link #createMessageWindow(java.lang.String, java.lang.String, io.qt.core.QFunctionPointer)} * with eventProc = null.

*/ @io.qt.QtUninvokable public default io.qt.QNativePointer createMessageWindow(java.lang.String classNameTemplate, java.lang.String windowName) { return createMessageWindow(classNameTemplate, windowName, (io.qt.core.QFunctionPointer)null); } @io.qt.QtUninvokable public io.qt.QNativePointer createMessageWindow(java.lang.String classNameTemplate, java.lang.String windowName, io.qt.core.QFunctionPointer eventProc); @io.qt.QtUninvokable public io.qt.gui.nativeinterface.QWindowsApplication.DarkModeHandling darkModeHandling(); @io.qt.QtUninvokable public java.lang.Object gpu(); @io.qt.QtUninvokable public java.lang.Object gpuList(); @io.qt.QtUninvokable public boolean isDarkMode(); @io.qt.QtUninvokable public boolean isTabletMode(); @io.qt.QtUninvokable public boolean isWinTabEnabled(); @io.qt.QtUninvokable public int registerMimeType(java.lang.String mime); @io.qt.QtUninvokable public void setAsyncExpose(boolean value); @io.qt.QtUninvokable public void setDarkModeHandling(io.qt.gui.nativeinterface.QWindowsApplication.DarkModeHandling handling); @io.qt.QtUninvokable public void setTouchWindowTouchType(io.qt.gui.nativeinterface.QWindowsApplication.TouchWindowTouchTypes type); @io.qt.QtUninvokable public boolean setWinTabEnabled(boolean enabled); @io.qt.QtUninvokable public void setWindowActivationBehavior(io.qt.gui.nativeinterface.QWindowsApplication.WindowActivationBehavior behavior); @io.qt.QtUninvokable public io.qt.gui.nativeinterface.QWindowsApplication.TouchWindowTouchTypes touchWindowTouchType(); @io.qt.QtUninvokable public io.qt.gui.nativeinterface.QWindowsApplication.WindowActivationBehavior windowActivationBehavior(); }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy