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

io.qt.pdf.QPdfLink Maven / Gradle / Ivy

package io.qt.pdf;


/**
 * 

Defines a link between a region on a page (such as a hyperlink or a search result) and a destination (page, location on the page, and zoom level at which to view it)

*

Java wrapper for Qt's class QPdfLink

*/ public class QPdfLink extends io.qt.QtObject implements java.lang.Cloneable { static { QtJambi_LibraryUtilities.initialize(); } /** * This variable stores the meta-object for the class. */ public static final io.qt.core.QMetaObject staticMetaObject = io.qt.core.QMetaObject.forType(QPdfLink.class); /** *

See QPdfLink::QPdfLink()

*/ public QPdfLink(){ super((QPrivateConstructor)null); initialize_native(this); } private native static void initialize_native(QPdfLink instance); /** *

See QPdfLink::QPdfLink(QPdfLink)

*/ public QPdfLink(io.qt.pdf.QPdfLink other){ super((QPrivateConstructor)null); initialize_native(this, other); } private native static void initialize_native(QPdfLink instance, io.qt.pdf.QPdfLink other); /** *

See QPdfLink::contextAfter()const

*/ @io.qt.QtPropertyReader(name="contextAfter") @io.qt.QtUninvokable public final java.lang.String contextAfter(){ return contextAfter_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @io.qt.QtUninvokable private native java.lang.String contextAfter_native_constfct(long __this__nativeId); /** *

See QPdfLink::contextBefore()const

*/ @io.qt.QtPropertyReader(name="contextBefore") @io.qt.QtUninvokable public final java.lang.String contextBefore(){ return contextBefore_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @io.qt.QtUninvokable private native java.lang.String contextBefore_native_constfct(long __this__nativeId); /** *

Overloaded function for {@link #copyToClipboard(io.qt.gui.QClipboard.Mode)} * with mode = io.qt.gui.QClipboard.Mode.Clipboard.

*/ public final void copyToClipboard() { copyToClipboard(io.qt.gui.QClipboard.Mode.Clipboard); } /** *

See QPdfLink::copyToClipboard(QClipboard::Mode)const

*/ public final void copyToClipboard(io.qt.gui.QClipboard.Mode mode){ copyToClipboard_native_QClipboard_Mode_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), mode.value()); } private native void copyToClipboard_native_QClipboard_Mode_constfct(long __this__nativeId, int mode); /** *

See QPdfLink::isValid()const

*/ @io.qt.QtPropertyReader(name="valid") @io.qt.QtUninvokable public final boolean isValid(){ return isValid_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @io.qt.QtUninvokable private native boolean isValid_native_constfct(long __this__nativeId); /** *

See QPdfLink::location()const

*/ @io.qt.QtPropertyReader(name="location") @io.qt.QtUninvokable public final io.qt.core.QPointF location(){ return location_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @io.qt.QtUninvokable private native io.qt.core.QPointF location_native_constfct(long __this__nativeId); @io.qt.QtUninvokable private final boolean operator_equal(io.qt.pdf.QPdfLink value2){ return operator_equal_native_cref_QPdfLink(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(value2)); } @io.qt.QtUninvokable private native boolean operator_equal_native_cref_QPdfLink(long __this__nativeId, long value2); /** *

See QPdfLink::page()const

*/ @io.qt.QtPropertyReader(name="page") @io.qt.QtUninvokable public final int page(){ return page_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @io.qt.QtUninvokable private native int page_native_constfct(long __this__nativeId); /** *

See QPdfLink::rectangles()const

*/ @io.qt.QtPropertyReader(name="rectangles") @io.qt.QtUninvokable public final io.qt.core.QList rectangles(){ return rectangles_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @io.qt.QtUninvokable private native io.qt.core.QList rectangles_native_constfct(long __this__nativeId); @io.qt.QtUninvokable public final void swap(io.qt.pdf.QPdfLink other){ java.util.Objects.requireNonNull(other, "Argument 'other': null not expected."); swap_native_ref_QPdfLink(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(other)); } @io.qt.QtUninvokable private native void swap_native_ref_QPdfLink(long __this__nativeId, long other); /** *

See QPdfLink::toString()const

*/ public final java.lang.String toString(){ return toString_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } private native java.lang.String toString_native_constfct(long __this__nativeId); /** *

See QPdfLink::url()const

*/ @io.qt.QtPropertyReader(name="url") @io.qt.QtUninvokable public final io.qt.core.QUrl url(){ return url_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @io.qt.QtUninvokable private native io.qt.core.QUrl url_native_constfct(long __this__nativeId); /** *

See QPdfLink::zoom()const

*/ @io.qt.QtPropertyReader(name="zoom") @io.qt.QtUninvokable public final double zoom(){ return zoom_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @io.qt.QtUninvokable private native double zoom_native_constfct(long __this__nativeId); /** * Constructor for internal use only. * @param p expected to be null. */ @io.qt.NativeAccess protected QPdfLink(QPrivateConstructor p) { super(p); } @Override @io.qt.QtUninvokable public boolean equals(Object other) { if (other instanceof io.qt.pdf.QPdfLink) { return operator_equal((io.qt.pdf.QPdfLink) other); } return false; } @io.qt.QtUninvokable @Override public int hashCode() { return hashCode_native(QtJambi_LibraryUtilities.internal.nativeId(this)); } @io.qt.QtUninvokable private native static int hashCode_native(long __this_nativeId); @Override public QPdfLink clone() { return clone_native(QtJambi_LibraryUtilities.internal.nativeId(this)); } private native QPdfLink clone_native(long __this_nativeId); }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy