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

io.qt.core.QHistoryState Maven / Gradle / Ivy

package io.qt.core;


/**
 * 

Means of returning to a previously active substate

*

Java wrapper for Qt class QHistoryState

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

Java wrapper for Qt enum QHistoryState::HistoryType

*/ public enum HistoryType implements io.qt.QtEnumerator { ShallowHistory(0), DeepHistory(1); private HistoryType(int value) { this.value = value; } /** * {@inheritDoc} */ public int value() { return value; } /** * Returns the corresponding enum entry for the given value. * @param value * @return enum entry */ public static HistoryType resolve(int value) { switch (value) { case 0: return ShallowHistory; case 1: return DeepHistory; default: throw new io.qt.QNoSuchEnumValueException(value); } } private final int value; } /** *

See QHistoryState::defaultStateChanged()

*/ @io.qt.QtPropertyNotify(name="defaultState") public final PrivateSignal0 defaultStateChanged = new PrivateSignal0(); /** *

See QHistoryState::defaultTransitionChanged()

*/ @io.qt.QtPropertyNotify(name="defaultTransition") public final PrivateSignal0 defaultTransitionChanged = new PrivateSignal0(); /** *

See QHistoryState::historyTypeChanged()

*/ @io.qt.QtPropertyNotify(name="historyType") public final PrivateSignal0 historyTypeChanged = new PrivateSignal0(); /** *

Overloaded constructor for {@link #QHistoryState(io.qt.core.QHistoryState.HistoryType, io.qt.core.QState)} * with parent = null.

*/ public QHistoryState(io.qt.core.QHistoryState.HistoryType type) { this(type, (io.qt.core.QState)null); } /** *

See QHistoryState::QHistoryState(QHistoryState::HistoryType,QState*)

*/ public QHistoryState(io.qt.core.QHistoryState.HistoryType type, io.qt.core.QState parent){ super((QPrivateConstructor)null); initialize_native(this, type, parent); } private native static void initialize_native(QHistoryState instance, io.qt.core.QHistoryState.HistoryType type, io.qt.core.QState parent); /** *

Overloaded constructor for {@link #QHistoryState(io.qt.core.QState)} * with parent = null.

*/ public QHistoryState() { this((io.qt.core.QState)null); } /** *

See QHistoryState::QHistoryState(QState*)

*/ public QHistoryState(io.qt.core.QState parent){ super((QPrivateConstructor)null); initialize_native(this, parent); } private native static void initialize_native(QHistoryState instance, io.qt.core.QState parent); /** *

See QHistoryState::defaultState()const

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

See QHistoryState::defaultTransition()const

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

See QHistoryState::historyType()const

*/ @io.qt.QtPropertyReader(name="historyType") @io.qt.QtUninvokable public final io.qt.core.QHistoryState.HistoryType historyType(){ return io.qt.core.QHistoryState.HistoryType.resolve(historyType_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this))); } @io.qt.QtUninvokable private native int historyType_native_constfct(long __this__nativeId); /** *

See QHistoryState::setDefaultState(QAbstractState*)

*/ @io.qt.QtPropertyWriter(name="defaultState") @io.qt.QtUninvokable public final void setDefaultState(io.qt.core.QAbstractState state){ setDefaultState_native_QAbstractState_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(state)); QtJambi_LibraryUtilities.internal.addReferenceCount(defaultTransition(), QAbstractTransition.class, "__rcTargetStates", false, false, state); } @io.qt.QtUninvokable private native void setDefaultState_native_QAbstractState_ptr(long __this__nativeId, long state); /** *

See QHistoryState::setDefaultTransition(QAbstractTransition*)

*/ @io.qt.QtPropertyWriter(name="defaultTransition") @io.qt.QtUninvokable public final void setDefaultTransition(io.qt.core.QAbstractTransition transition){ setDefaultTransition_native_QAbstractTransition_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(transition)); } @io.qt.QtUninvokable private native void setDefaultTransition_native_QAbstractTransition_ptr(long __this__nativeId, long transition); /** *

See QHistoryState::setHistoryType(QHistoryState::HistoryType)

*/ @io.qt.QtPropertyWriter(name="historyType") @io.qt.QtUninvokable public final void setHistoryType(io.qt.core.QHistoryState.HistoryType type){ setHistoryType_native_QHistoryState_HistoryType(QtJambi_LibraryUtilities.internal.nativeId(this), type.value()); } @io.qt.QtUninvokable private native void setHistoryType_native_QHistoryState_HistoryType(long __this__nativeId, int type); /** *

See QObject::event(QEvent*)

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

See QAbstractState::onEntry(QEvent*)

*/ @io.qt.QtUninvokable protected void onEntry(io.qt.core.QEvent event){ onEntry_native_QEvent_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(event)); } @io.qt.QtUninvokable private native void onEntry_native_QEvent_ptr(long __this__nativeId, long event); /** *

See QAbstractState::onExit(QEvent*)

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




© 2015 - 2025 Weber Informatics LLC | Privacy Policy