Qt Jambi Home

com.trolltech.qt.gui
Class QAbstractTextDocumentLayout_Selection

java.lang.Object
  extended by com.trolltech.qt.QSignalEmitter
      extended by com.trolltech.qt.QtJambiObject
          extended by com.trolltech.qt.gui.QAbstractTextDocumentLayout_Selection
All Implemented Interfaces:
QtJambiInterface

public class QAbstractTextDocumentLayout_Selection
extends QtJambiObject


Nested Class Summary
 
Nested classes/interfaces inherited from class com.trolltech.qt.QSignalEmitter
QSignalEmitter.Signal0, QSignalEmitter.Signal1<A>, QSignalEmitter.Signal2<A,B>, QSignalEmitter.Signal3<A,B,C>, QSignalEmitter.Signal4<A,B,C,D>, QSignalEmitter.Signal5<A,B,C,D,E>, QSignalEmitter.Signal6<A,B,C,D,E,F>, QSignalEmitter.Signal7<A,B,C,D,E,F,G>, QSignalEmitter.Signal8<A,B,C,D,E,F,G,H>, QSignalEmitter.Signal9<A,B,C,D,E,F,G,H,I>
 
Constructor Summary
QAbstractTextDocumentLayout_Selection()
          Constructs a new QAbstractTextDocumentLayout_Selection object.
 
Method Summary
 QTextCursor cursor()
          Returns the selection's cursor.
 QTextCharFormat format()
          Returns the format of the selection.
static QAbstractTextDocumentLayout_Selection fromNativePointer(QNativePointer nativePointer)
          This function returns the QAbstractTextDocumentLayout_Selection instance pointed to by nativePointer
static QNativePointer nativePointerArray(QAbstractTextDocumentLayout_Selection[] array)
          This function returns a QNativePointer that is pointing to the specified QAbstractTextDocumentLayout_Selection array.
 void setCursor(QTextCursor cursor)
          Sets the selection's cursor to cursor.
 void setFormat(QTextCharFormat format)
          Sets the format of the selection to format.
 
Methods inherited from class com.trolltech.qt.QtJambiObject
dispose, disposed, finalize, reassignNativeResources, tr, tr, tr
 
Methods inherited from class com.trolltech.qt.QSignalEmitter
blockSignals, disconnect, disconnect, signalsBlocked, signalSender, thread
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.trolltech.qt.QtJambiInterface
disableGarbageCollection, nativeId, nativePointer, reenableGarbageCollection, setJavaOwnership
 

Constructor Detail

QAbstractTextDocumentLayout_Selection

public QAbstractTextDocumentLayout_Selection()
Constructs a new QAbstractTextDocumentLayout_Selection object.

Method Detail

setCursor

public final void setCursor(QTextCursor cursor)

Sets the selection's cursor to cursor.

The default value is a null cursor.

@see cursor


cursor

public final QTextCursor cursor()

Returns the selection's cursor.

The default value is a null cursor.

@see setCursor


setFormat

public final void setFormat(QTextCharFormat format)

Sets the format of the selection to format.

The default value is QTextFormat::InvalidFormat.

@see format


format

public final QTextCharFormat format()

Returns the format of the selection.

The default value is QTextFormat::InvalidFormat.

@see setFormat


fromNativePointer

public static QAbstractTextDocumentLayout_Selection fromNativePointer(QNativePointer nativePointer)
This function returns the QAbstractTextDocumentLayout_Selection instance pointed to by nativePointer

Parameters:
nativePointer - the QNativePointer of which object should be returned.

nativePointerArray

public static QNativePointer nativePointerArray(QAbstractTextDocumentLayout_Selection[] array)
This function returns a QNativePointer that is pointing to the specified QAbstractTextDocumentLayout_Selection array.

Parameters:
array - the array that the returned pointer will point to.
Returns:
a QNativePointer that is pointing to the specified array.

Qt Jambi Home