com.trolltech.qt.gui
Class QTextFrame_iterator

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

public class QTextFrame_iterator
extends QtJambiObject
implements java.lang.Cloneable


Nested Class Summary
 
Nested classes/interfaces inherited from class com.trolltech.qt.QSignalEmitter
QSignalEmitter.Signal0, QSignalEmitter.Signal1, QSignalEmitter.Signal2, QSignalEmitter.Signal3, QSignalEmitter.Signal4, QSignalEmitter.Signal5, QSignalEmitter.Signal6, QSignalEmitter.Signal7, QSignalEmitter.Signal8, QSignalEmitter.Signal9
 
Constructor Summary
QTextFrame_iterator()
          Creates a new QTextFrame_iterator
 
Method Summary
 boolean atEnd()
          Returns true if the current item is the last item in the text frame.
 QTextFrame_iterator clone()
          This method is reimplemented for internal reasons
 QTextBlock currentBlock()
          Returns the current block the iterator points to.
 QTextFrame currentFrame()
          Returns the current frame pointed to by the iterator, or 0 if the iterator currently points to a block.
static QTextFrame_iterator fromNativePointer(QNativePointer nativePointer)
          This method returns the QTextFrame_iterator instance pointed to by nativePointer.
static QNativePointer nativePointerArray(QTextFrame_iterator[] array)
          This function returns a QNativePointer that is pointing to the specified QTextFrame_iterator array.
 void next()
          Returns the next QTextFrame in this iterator.
 QTextFrame parentFrame()
          Returns the parent frame of the current frame.
 void previous()
          Returns the previous QTextFrame in this iterator.
 
Methods inherited from class com.trolltech.qt.QtJambiObject
dispose, disposed, equals, 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
getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.trolltech.qt.QtJambiInterface
disableGarbageCollection, nativeId, nativePointer, reenableGarbageCollection, setJavaOwnership
 

Constructor Detail

QTextFrame_iterator

public QTextFrame_iterator()
Creates a new QTextFrame_iterator

Method Detail

atEnd

public final boolean atEnd()
Returns true if the current item is the last item in the text frame.


currentBlock

public final QTextBlock currentBlock()
Returns the current block the iterator points to. If the iterator points to a child frame, the returned block is invalid.

See also:
currentFrame().


currentFrame

public final QTextFrame currentFrame()
Returns the current frame pointed to by the iterator, or 0 if the iterator currently points to a block.

See also:
currentBlock().


parentFrame

public final QTextFrame parentFrame()
Returns the parent frame of the current frame.

See also:
currentFrame(), and QTextFrame::parentFrame().


fromNativePointer

public static QTextFrame_iterator fromNativePointer(QNativePointer nativePointer)
This method returns the QTextFrame_iterator instance pointed to by nativePointer.


nativePointerArray

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


next

public final void next()
Returns the next QTextFrame in this iterator.


previous

public final void previous()
Returns the previous QTextFrame in this iterator.


clone

public QTextFrame_iterator clone()
This method is reimplemented for internal reasons

Overrides:
clone in class java.lang.Object