You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tdebindings/qtjava/javalib/org/kde/qt/TQScrollBar.java

98 lines
4.1 KiB

//Auto-generated by kalyptus. DO NOT EDIT.
package org.kde.qt;
import org.kde.qt.Qt;
/**
See {@link TQScrollBarSignals} for signals emitted by TQScrollBar
*/
public class TQScrollBar extends TQWidget implements TQRangeControlInterface {
protected TQScrollBar(Class dummy){super((Class) null);}
public native TQMetaObject metaObject();
public native String className();
public TQScrollBar(TQWidget parent, String name) {
super((Class) null);
newTQScrollBar(parent,name);
}
private native void newTQScrollBar(TQWidget parent, String name);
public TQScrollBar(TQWidget parent) {
super((Class) null);
newTQScrollBar(parent);
}
private native void newTQScrollBar(TQWidget parent);
public TQScrollBar(int arg1, TQWidget parent, String name) {
super((Class) null);
newTQScrollBar(arg1,parent,name);
}
private native void newTQScrollBar(int arg1, TQWidget parent, String name);
public TQScrollBar(int arg1, TQWidget parent) {
super((Class) null);
newTQScrollBar(arg1,parent);
}
private native void newTQScrollBar(int arg1, TQWidget parent);
public TQScrollBar(int minValue, int maxValue, int lineStep, int pageStep, int value, int arg6, TQWidget parent, String name) {
super((Class) null);
newTQScrollBar(minValue,maxValue,lineStep,pageStep,value,arg6,parent,name);
}
private native void newTQScrollBar(int minValue, int maxValue, int lineStep, int pageStep, int value, int arg6, TQWidget parent, String name);
public TQScrollBar(int minValue, int maxValue, int lineStep, int pageStep, int value, int arg6, TQWidget parent) {
super((Class) null);
newTQScrollBar(minValue,maxValue,lineStep,pageStep,value,arg6,parent);
}
private native void newTQScrollBar(int minValue, int maxValue, int lineStep, int pageStep, int value, int arg6, TQWidget parent);
public native void setOrientation(int arg1);
public native int orientation();
public native void setTracking(boolean enable);
public native boolean tracking();
public native boolean draggingSlider();
public native void setPalette(TQPalette arg1);
public native TQSize sizeHint();
public native void setSizePolicy(TQSizePolicy sp);
public native void setSizePolicy(int hor, int ver, boolean hfw);
public native void setSizePolicy(int hor, int ver);
public native int minValue();
public native int maxValue();
public native void setMinValue(int arg1);
public native void setMaxValue(int arg1);
public native int lineStep();
public native int pageStep();
public native void setLineStep(int arg1);
public native void setPageStep(int arg1);
public native int value();
public native int sliderStart();
public native TQRect sliderRect();
public native void setValue(int arg1);
public static native String tr(String arg1, String arg2);
public static native String tr(String arg1);
protected native void wheelEvent(TQWheelEvent arg1);
protected native void keyPressEvent(TQKeyEvent arg1);
protected native void resizeEvent(TQResizeEvent arg1);
protected native void paintEvent(TQPaintEvent arg1);
protected native void mousePressEvent(TQMouseEvent arg1);
protected native void mouseReleaseEvent(TQMouseEvent arg1);
protected native void mouseMoveEvent(TQMouseEvent arg1);
protected native void contextMenuEvent(TQContextMenuEvent arg1);
protected native void hideEvent(TQHideEvent arg1);
protected native void valueChange();
protected native void stepChange();
protected native void rangeChange();
public native void styleChange(TQStyle arg1);
/** Deletes the wrapped C++ instance */
protected native void finalize() throws InternalError;
/** Delete the wrapped C++ instance ahead of finalize() */
public native void dispose();
/** Has the wrapped C++ instance been deleted? */
public native boolean isDisposed();
public native void addPage();
public native void subtractPage();
public native void addLine();
public native void subtractLine();
public native void setRange(int minValue, int maxValue);
public native void setSteps(int line, int page);
public native int bound(int arg1);
protected native int positionFromValue(int val, int space);
protected native int valueFromPosition(int pos, int space);
protected native void directSetValue(int val);
protected native int prevValue();
}