com.trolltech.qt.gui
Class QRubberBand.Shape

java.lang.Object
  extended by java.lang.Enum
      extended by 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

Field Summary
static QRubberBand.Shape Line
           
static QRubberBand.Shape Rectangle
           
 
Method Summary
static QRubberBand.Shape resolve(int value)
          Returns the Shape constant with the specified int.
 int value()
          This function should return an integer value for the enum values of the enumeration that implements this interface.
static QRubberBand.Shape valueOf(java.lang.String name)
           
static QRubberBand.Shape[] 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

Line

public static final QRubberBand.Shape Line

Rectangle

public static final QRubberBand.Shape Rectangle
Method Detail

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.