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

io.qt.widgets.QScrollArea Maven / Gradle / Ivy

The newest version!
package io.qt.widgets;


/**
 * 

Scrolling view onto another widget

*

Java wrapper for Qt class QScrollArea

*/ public class QScrollArea extends io.qt.widgets.QAbstractScrollArea { /** * This variable stores the meta-object for the class. */ public static final io.qt.core.QMetaObject staticMetaObject = io.qt.core.QMetaObject.forType(QScrollArea.class); /** *

Overloaded constructor for {@link #QScrollArea(io.qt.widgets.QWidget)} * with parent = null.

*/ public QScrollArea() { this((io.qt.widgets.QWidget)null); } /** *

See QScrollArea::QScrollArea(QWidget*)

*/ public QScrollArea(io.qt.widgets.QWidget parent){ super((QPrivateConstructor)null); initialize_native(this, parent); } private native static void initialize_native(QScrollArea instance, io.qt.widgets.QWidget parent); /** *

See QScrollArea::alignment()const

*/ @io.qt.QtPropertyReader(name="alignment") @io.qt.QtUninvokable public final io.qt.core.Qt.Alignment alignment(){ return new io.qt.core.Qt.Alignment(alignment_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this))); } @io.qt.QtUninvokable private native int alignment_native_constfct(long __this__nativeId); /** *

Overloaded function for {@link #ensureVisible(int, int, int, int)} * with ymargin = 50.

*/ @io.qt.QtUninvokable public final void ensureVisible(int x, int y, int xmargin) { ensureVisible(x, y, xmargin, (int)50); } /** *

Overloaded function for {@link #ensureVisible(int, int, int, int)}

*

with:

    *
  • xmargin = 50
  • *
  • ymargin = 50
  • *
*/ @io.qt.QtUninvokable public final void ensureVisible(int x, int y) { ensureVisible(x, y, (int)50, (int)50); } /** *

See QScrollArea::ensureVisible(int,int,int,int)

*/ @io.qt.QtUninvokable public final void ensureVisible(int x, int y, int xmargin, int ymargin){ ensureVisible_native_int_int_int_int(QtJambi_LibraryUtilities.internal.nativeId(this), x, y, xmargin, ymargin); } @io.qt.QtUninvokable private native void ensureVisible_native_int_int_int_int(long __this__nativeId, int x, int y, int xmargin, int ymargin); /** *

Overloaded function for {@link #ensureWidgetVisible(io.qt.widgets.QWidget, int, int)} * with ymargin = 50.

*/ @io.qt.QtUninvokable public final void ensureWidgetVisible(io.qt.widgets.QWidget childWidget, int xmargin) { ensureWidgetVisible(childWidget, xmargin, (int)50); } /** *

Overloaded function for {@link #ensureWidgetVisible(io.qt.widgets.QWidget, int, int)}

*

with:

    *
  • xmargin = 50
  • *
  • ymargin = 50
  • *
*/ @io.qt.QtUninvokable public final void ensureWidgetVisible(io.qt.widgets.QWidget childWidget) { ensureWidgetVisible(childWidget, (int)50, (int)50); } /** *

See QScrollArea::ensureWidgetVisible(QWidget*,int,int)

*/ @io.qt.QtUninvokable public final void ensureWidgetVisible(io.qt.widgets.QWidget childWidget, int xmargin, int ymargin){ ensureWidgetVisible_native_QWidget_ptr_int_int(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(childWidget), xmargin, ymargin); } @io.qt.QtUninvokable private native void ensureWidgetVisible_native_QWidget_ptr_int_int(long __this__nativeId, long childWidget, int xmargin, int ymargin); /** *

Overloaded function for {@link #setAlignment(io.qt.core.Qt.Alignment)}.

*/ @io.qt.QtUninvokable public final void setAlignment(io.qt.core.Qt.AlignmentFlag ... arg__1){ setAlignment(new io.qt.core.Qt.Alignment(arg__1)); } /** *

See QScrollArea::setAlignment(Qt::Alignment)

*/ @io.qt.QtPropertyWriter(name="alignment") @io.qt.QtUninvokable public final void setAlignment(io.qt.core.Qt.Alignment arg__1){ setAlignment_native_QFlags_Qt_AlignmentFlag_(QtJambi_LibraryUtilities.internal.nativeId(this), arg__1.value()); } @io.qt.QtUninvokable private native void setAlignment_native_QFlags_Qt_AlignmentFlag_(long __this__nativeId, int arg__1); /** *

See QScrollArea::setWidget(QWidget*)

*/ @io.qt.QtUninvokable public final void setWidget(io.qt.widgets.QWidget widget){ setWidget_native_QWidget_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(widget)); } @io.qt.QtUninvokable private native void setWidget_native_QWidget_ptr(long __this__nativeId, long widget); /** *

See QScrollArea::setWidgetResizable(bool)

*/ @io.qt.QtPropertyWriter(name="widgetResizable") @io.qt.QtUninvokable public final void setWidgetResizable(boolean resizable){ setWidgetResizable_native_bool(QtJambi_LibraryUtilities.internal.nativeId(this), resizable); } @io.qt.QtUninvokable private native void setWidgetResizable_native_bool(long __this__nativeId, boolean resizable); /** *

See QScrollArea::takeWidget()

*/ @io.qt.QtUninvokable public final io.qt.widgets.QWidget takeWidget(){ return takeWidget_native(QtJambi_LibraryUtilities.internal.nativeId(this)); } @io.qt.QtUninvokable private native io.qt.widgets.QWidget takeWidget_native(long __this__nativeId); /** *

See QScrollArea::widget()const

*/ @io.qt.QtUninvokable public final io.qt.widgets.QWidget widget(){ return widget_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @io.qt.QtUninvokable private native io.qt.widgets.QWidget widget_native_constfct(long __this__nativeId); /** *

See QScrollArea::widgetResizable()const

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

See QObject::event(QEvent*)

*/ @io.qt.QtUninvokable public boolean event(io.qt.core.QEvent arg__1){ return event_native_QEvent_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(arg__1)); } @io.qt.QtUninvokable private native boolean event_native_QEvent_ptr(long __this__nativeId, long arg__1); /** *

See QObject::eventFilter(QObject*,QEvent*)

*/ @io.qt.QtUninvokable public boolean eventFilter(io.qt.core.QObject arg__1, io.qt.core.QEvent arg__2){ return eventFilter_native_QObject_ptr_QEvent_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(arg__1), QtJambi_LibraryUtilities.internal.checkedNativeId(arg__2)); } @io.qt.QtUninvokable private native boolean eventFilter_native_QObject_ptr_QEvent_ptr(long __this__nativeId, long arg__1, long arg__2); /** *

See QWidget::focusNextPrevChild(bool)

*/ @io.qt.QtUninvokable protected boolean focusNextPrevChild(boolean next){ return focusNextPrevChild_native_bool(QtJambi_LibraryUtilities.internal.nativeId(this), next); } @io.qt.QtUninvokable private native boolean focusNextPrevChild_native_bool(long __this__nativeId, boolean next); /** *

See QWidget::resizeEvent(QResizeEvent*)

*/ @io.qt.QtUninvokable protected void resizeEvent(io.qt.gui.QResizeEvent arg__1){ resizeEvent_native_QResizeEvent_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(arg__1)); } @io.qt.QtUninvokable private native void resizeEvent_native_QResizeEvent_ptr(long __this__nativeId, long arg__1); /** *

See QAbstractScrollArea::scrollContentsBy(int,int)

*/ @io.qt.QtUninvokable protected void scrollContentsBy(int dx, int dy){ scrollContentsBy_native_int_int(QtJambi_LibraryUtilities.internal.nativeId(this), dx, dy); } @io.qt.QtUninvokable private native void scrollContentsBy_native_int_int(long __this__nativeId, int dx, int dy); /** *

See QWidget::sizeHint()const

*/ @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 QAbstractScrollArea::viewportSizeHint()const

*/ @io.qt.QtUninvokable protected io.qt.core.QSize viewportSizeHint(){ return viewportSizeHint_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @io.qt.QtUninvokable private native io.qt.core.QSize viewportSizeHint_native_constfct(long __this__nativeId); /** * Constructor for internal use only. * @param p expected to be null. */ @io.qt.NativeAccess protected QScrollArea(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 QScrollArea(QDeclarativeConstructor constructor) { super((QPrivateConstructor)null); initialize_native(this, constructor); } @io.qt.QtUninvokable private static native void initialize_native(QScrollArea instance, QDeclarativeConstructor constructor); }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy