io.qt.widgets.QSplitterHandle Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of qtjambi Show documentation
Show all versions of qtjambi Show documentation
QtJambi base module containing QtCore, QtGui and QtWidgets.
package io.qt.widgets;
import io.qt.*;
/**
* Handle functionality for the splitter
* Java wrapper for Qt class QSplitterHandle
*/
public class QSplitterHandle extends io.qt.widgets.QWidget
{
/**
* This variable stores the meta-object for the class.
*/
public static final io.qt.core.@NonNull QMetaObject staticMetaObject = io.qt.core.QMetaObject.forType(QSplitterHandle.class);
/**
* See QSplitterHandle:: QSplitterHandle(Qt::Orientation, QSplitter*)
*/
public QSplitterHandle(io.qt.core.Qt.@NonNull Orientation o, io.qt.widgets.@Nullable QSplitter parent){
super((QPrivateConstructor)null);
initialize_native(this, o, parent);
}
private native static void initialize_native(QSplitterHandle instance, io.qt.core.Qt.Orientation o, io.qt.widgets.QSplitter parent);
/**
* See QSplitterHandle:: closestLegalPosition(int)
*/
@QtUninvokable
protected final int closestLegalPosition(int p){
return closestLegalPosition_native_int(QtJambi_LibraryUtilities.internal.nativeId(this), p);
}
@QtUninvokable
private native int closestLegalPosition_native_int(long __this__nativeId, int p);
/**
* See QSplitterHandle:: moveSplitter(int)
*/
@QtUninvokable
protected final void moveSplitter(int p){
moveSplitter_native_int(QtJambi_LibraryUtilities.internal.nativeId(this), p);
}
@QtUninvokable
private native void moveSplitter_native_int(long __this__nativeId, int p);
/**
* See QSplitterHandle:: opaqueResize()const
*/
@QtUninvokable
public final boolean opaqueResize(){
return opaqueResize_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native boolean opaqueResize_native_constfct(long __this__nativeId);
/**
* See QSplitterHandle:: orientation()const
*/
@QtUninvokable
public final io.qt.core.Qt.@NonNull Orientation orientation(){
return io.qt.core.Qt.Orientation.resolve(orientation_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)));
}
@QtUninvokable
private native int orientation_native_constfct(long __this__nativeId);
/**
* See QSplitterHandle:: setOrientation(Qt::Orientation)
*/
@QtUninvokable
public final void setOrientation(io.qt.core.Qt.@NonNull Orientation o){
setOrientation_native_Qt_Orientation(QtJambi_LibraryUtilities.internal.nativeId(this), o.value());
}
@QtUninvokable
private native void setOrientation_native_Qt_Orientation(long __this__nativeId, int o);
/**
* See QSplitterHandle:: splitter()const
*/
@QtUninvokable
public final io.qt.widgets.@Nullable QSplitter splitter(){
return splitter_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.widgets.QSplitter splitter_native_constfct(long __this__nativeId);
/**
*
*/
@QtUninvokable
@Override
public boolean event(io.qt.core.@Nullable QEvent arg__1){
java.util.Objects.requireNonNull(arg__1, "Argument 'arg__1': null not expected.");
return event_native_QEvent_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(arg__1));
}
@QtUninvokable
private native boolean event_native_QEvent_ptr(long __this__nativeId, long arg__1);
/**
* See QWidget:: mouseMoveEvent(QMouseEvent*)
*/
@QtUninvokable
@Override
protected void mouseMoveEvent(io.qt.gui.@Nullable QMouseEvent arg__1){
java.util.Objects.requireNonNull(arg__1, "Argument 'arg__1': null not expected.");
mouseMoveEvent_native_QMouseEvent_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(arg__1));
}
@QtUninvokable
private native void mouseMoveEvent_native_QMouseEvent_ptr(long __this__nativeId, long arg__1);
/**
* See QWidget:: mousePressEvent(QMouseEvent*)
*/
@QtUninvokable
@Override
protected void mousePressEvent(io.qt.gui.@Nullable QMouseEvent arg__1){
java.util.Objects.requireNonNull(arg__1, "Argument 'arg__1': null not expected.");
mousePressEvent_native_QMouseEvent_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(arg__1));
}
@QtUninvokable
private native void mousePressEvent_native_QMouseEvent_ptr(long __this__nativeId, long arg__1);
/**
* See QWidget:: mouseReleaseEvent(QMouseEvent*)
*/
@QtUninvokable
@Override
protected void mouseReleaseEvent(io.qt.gui.@Nullable QMouseEvent arg__1){
java.util.Objects.requireNonNull(arg__1, "Argument 'arg__1': null not expected.");
mouseReleaseEvent_native_QMouseEvent_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(arg__1));
}
@QtUninvokable
private native void mouseReleaseEvent_native_QMouseEvent_ptr(long __this__nativeId, long arg__1);
/**
* See QWidget:: paintEvent(QPaintEvent*)
*/
@QtUninvokable
@Override
protected void paintEvent(io.qt.gui.@Nullable QPaintEvent arg__1){
paintEvent_native_QPaintEvent_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(arg__1));
}
@QtUninvokable
private native void paintEvent_native_QPaintEvent_ptr(long __this__nativeId, long arg__1);
/**
* See QWidget:: resizeEvent(QResizeEvent*)
*/
@QtUninvokable
@Override
protected void resizeEvent(io.qt.gui.@Nullable QResizeEvent arg__1){
resizeEvent_native_QResizeEvent_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(arg__1));
}
@QtUninvokable
private native void resizeEvent_native_QResizeEvent_ptr(long __this__nativeId, long arg__1);
/**
*
*/
@QtUninvokable
@Override
public io.qt.core.@NonNull QSize sizeHint(){
return sizeHint_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.core.QSize sizeHint_native_constfct(long __this__nativeId);
/**
* Constructor for internal use only.
* @param p expected to be null
.
* @hidden
*/
@NativeAccess
protected QSplitterHandle(QPrivateConstructor p) { super(p); }
}