com.trolltech.qt.gui
Class QRubberBand.Shape
java.lang.Object
java.lang.Enum
com.trolltech.qt.gui.QRubberBand.Shape
- All Implemented Interfaces:
- QtEnumerator, java.io.Serializable, java.lang.Comparable
- Enclosing class:
- QRubberBand
public static final class QRubberBand.Shape
- extends java.lang.Enum
- implements QtEnumerator
This enum type lists the built-in shapes supported by QTabBar
. Treat these as hints as some styles may not render some of the shapes. However, position should be honored.
- See Also:
- Serialized Form
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 |
Line
public static final QRubberBand.Shape Line
Rectangle
public static final QRubberBand.Shape Rectangle
values
public static QRubberBand.Shape[] values()
valueOf
public static QRubberBand.Shape valueOf(java.lang.String name)
value
public int value()
- This function should return an integer value for the enum values of the enumeration that implements this interface.
- Specified by:
value
in interface QtEnumerator
resolve
public static QRubberBand.Shape resolve(int value)
- Returns the Shape constant with the specified int.