|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Enum
com.trolltech.qt.gui.QGraphicsScene.ItemIndexMethod
public static final class QGraphicsScene.ItemIndexMethod
This enum describes the indexing algorithms QGraphicsScene
provides for managing positional information about items on the scene.
bspTreeDepth
.
Field Summary | |
---|---|
static QGraphicsScene.ItemIndexMethod |
BspTreeIndex
A Binary Space Partitioning tree is applied. |
static QGraphicsScene.ItemIndexMethod |
NoIndex
No index is applied. |
Method Summary | |
---|---|
static QGraphicsScene.ItemIndexMethod |
resolve(int value)
|
int |
value()
This function should return an integer value for the enum values of the enumeration that implements this interface. |
static QGraphicsScene.ItemIndexMethod |
valueOf(java.lang.String name)
|
static QGraphicsScene.ItemIndexMethod[] |
values()
|
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final QGraphicsScene.ItemIndexMethod BspTreeIndex
QGraphicsScene
's item location algorithms are of an order close to logarithmic complexity, by making use of binary search. Adding, moving and removing items is logarithmic. This approach is best for static scenes (i.e., scenes where most items do not move).
public static final QGraphicsScene.ItemIndexMethod NoIndex
Method Detail |
---|
public static QGraphicsScene.ItemIndexMethod[] values()
public static QGraphicsScene.ItemIndexMethod valueOf(java.lang.String name)
public int value()
value
in interface QtEnumerator
public static QGraphicsScene.ItemIndexMethod resolve(int value)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |