io.qt.widgets.QScrollBar Maven / Gradle / Ivy
package io.qt.widgets;
/**
* Vertical or horizontal scroll bar
* Java wrapper for Qt class QScrollBar
*/
public class QScrollBar extends io.qt.widgets.QAbstractSlider
{
/**
* This variable stores the meta-object for the class.
*/
public static final io.qt.core.QMetaObject staticMetaObject = io.qt.core.QMetaObject.forType(QScrollBar.class);
/**
* Overloaded constructor for {@link #QScrollBar(io.qt.widgets.QWidget)}
* with parent = null
.
*/
public QScrollBar() {
this((io.qt.widgets.QWidget)null);
}
/**
* See QScrollBar::QScrollBar(QWidget*)
*/
public QScrollBar(io.qt.widgets.QWidget parent){
super((QPrivateConstructor)null);
initialize_native(this, parent);
}
private native static void initialize_native(QScrollBar instance, io.qt.widgets.QWidget parent);
/**
* Overloaded constructor for {@link #QScrollBar(io.qt.core.Qt.Orientation, io.qt.widgets.QWidget)}
* with parent = null
.
*/
public QScrollBar(io.qt.core.Qt.Orientation arg__1) {
this(arg__1, (io.qt.widgets.QWidget)null);
}
/**
* See QScrollBar::QScrollBar(Qt::Orientation,QWidget*)
*/
public QScrollBar(io.qt.core.Qt.Orientation arg__1, io.qt.widgets.QWidget parent){
super((QPrivateConstructor)null);
initialize_native(this, arg__1, parent);
}
private native static void initialize_native(QScrollBar instance, io.qt.core.Qt.Orientation arg__1, io.qt.widgets.QWidget parent);
/**
* See QWidget::contextMenuEvent(QContextMenuEvent*)
*/
@io.qt.QtUninvokable
protected void contextMenuEvent(io.qt.gui.QContextMenuEvent arg__1){
contextMenuEvent_native_QContextMenuEvent_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(arg__1));
}
@io.qt.QtUninvokable
private native void contextMenuEvent_native_QContextMenuEvent_ptr(long __this__nativeId, long arg__1);
/**
*
*/
@io.qt.QtUninvokable
public boolean event(io.qt.core.QEvent event){
return event_native_QEvent_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(event));
}
@io.qt.QtUninvokable
private native boolean event_native_QEvent_ptr(long __this__nativeId, long event);
/**
* See QWidget::hideEvent(QHideEvent*)
*/
@io.qt.QtUninvokable
protected void hideEvent(io.qt.gui.QHideEvent arg__1){
hideEvent_native_QHideEvent_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(arg__1));
}
@io.qt.QtUninvokable
private native void hideEvent_native_QHideEvent_ptr(long __this__nativeId, long arg__1);
/**
* See QScrollBar::initStyleOption(QStyleOptionSlider*)const
*/
@io.qt.QtUninvokable
protected void initStyleOption(io.qt.widgets.QStyleOptionSlider option){
initStyleOption_native_QStyleOptionSlider_ptr_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), option);
}
@io.qt.QtUninvokable
private native void initStyleOption_native_QStyleOptionSlider_ptr_constfct(long __this__nativeId, io.qt.widgets.QStyleOptionSlider option);
/**
* See QWidget::mouseMoveEvent(QMouseEvent*)
*/
@io.qt.QtUninvokable
protected void mouseMoveEvent(io.qt.gui.QMouseEvent arg__1){
mouseMoveEvent_native_QMouseEvent_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(arg__1));
}
@io.qt.QtUninvokable
private native void mouseMoveEvent_native_QMouseEvent_ptr(long __this__nativeId, long arg__1);
/**
* See QWidget::mousePressEvent(QMouseEvent*)
*/
@io.qt.QtUninvokable
protected void mousePressEvent(io.qt.gui.QMouseEvent arg__1){
mousePressEvent_native_QMouseEvent_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(arg__1));
}
@io.qt.QtUninvokable
private native void mousePressEvent_native_QMouseEvent_ptr(long __this__nativeId, long arg__1);
/**
* See QWidget::mouseReleaseEvent(QMouseEvent*)
*/
@io.qt.QtUninvokable
protected void mouseReleaseEvent(io.qt.gui.QMouseEvent arg__1){
mouseReleaseEvent_native_QMouseEvent_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(arg__1));
}
@io.qt.QtUninvokable
private native void mouseReleaseEvent_native_QMouseEvent_ptr(long __this__nativeId, long arg__1);
/**
* See QWidget::paintEvent(QPaintEvent*)
*/
@io.qt.QtUninvokable
protected void paintEvent(io.qt.gui.QPaintEvent arg__1){
paintEvent_native_QPaintEvent_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(arg__1));
}
@io.qt.QtUninvokable
private native void paintEvent_native_QPaintEvent_ptr(long __this__nativeId, long arg__1);
/**
*
*/
@io.qt.QtUninvokable
public io.qt.core.QSize sizeHint(){
return sizeHint_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native io.qt.core.QSize sizeHint_native_constfct(long __this__nativeId);
/**
* See QAbstractSlider::sliderChange(QAbstractSlider::SliderChange)
*/
@io.qt.QtUninvokable
protected void sliderChange(io.qt.widgets.QAbstractSlider.SliderChange change){
sliderChange_native_QAbstractSlider_SliderChange(QtJambi_LibraryUtilities.internal.nativeId(this), change.value());
}
@io.qt.QtUninvokable
private native void sliderChange_native_QAbstractSlider_SliderChange(long __this__nativeId, int change);
/**
* See QWidget::wheelEvent(QWheelEvent*)
*/
@io.qt.QtUninvokable
protected void wheelEvent(io.qt.gui.QWheelEvent arg__1){
wheelEvent_native_QWheelEvent_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(arg__1));
}
@io.qt.QtUninvokable
private native void wheelEvent_native_QWheelEvent_ptr(long __this__nativeId, long arg__1);
/**
* Constructor for internal use only.
* @param p expected to be null
.
*/
@io.qt.NativeAccess
protected QScrollBar(QPrivateConstructor p) { super(p); }
/**
* Constructor for internal use only.
* It is not allowed to call the declarative constructor from inside Java.
*/
@io.qt.NativeAccess
protected QScrollBar(QDeclarativeConstructor constructor) {
super((QPrivateConstructor)null);
initialize_native(this, constructor);
}
@io.qt.QtUninvokable
private static native void initialize_native(QScrollBar instance, QDeclarativeConstructor constructor);
}