de.hillenbrand.jreqtools
Enum PropertyEditorElementType

java.lang.Object
  extended by java.lang.Enum<PropertyEditorElementType>
      extended by de.hillenbrand.jreqtools.PropertyEditorElementType
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<PropertyEditorElementType>

public enum PropertyEditorElementType
extends java.lang.Enum<PropertyEditorElementType>


Enum Constant Summary
INTEGER
           
PASSWORD
           
STRING
           
TEXT
           
URL
           
 
Method Summary
 javax.swing.JComponent getAdditionalComponent(javax.swing.text.JTextComponent parent)
           
 javax.swing.text.JTextComponent getJTextComponent(java.lang.String value)
           
 int getWeightY()
           
 boolean needsScrollPane()
           
static PropertyEditorElementType valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static PropertyEditorElementType[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
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
 

Enum Constant Detail

STRING

public static final PropertyEditorElementType STRING

URL

public static final PropertyEditorElementType URL

PASSWORD

public static final PropertyEditorElementType PASSWORD

INTEGER

public static final PropertyEditorElementType INTEGER

TEXT

public static final PropertyEditorElementType TEXT
Method Detail

values

public static PropertyEditorElementType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (PropertyEditorElementType c : PropertyEditorElementType.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static PropertyEditorElementType valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null

getJTextComponent

public javax.swing.text.JTextComponent getJTextComponent(java.lang.String value)

getWeightY

public int getWeightY()

needsScrollPane

public boolean needsScrollPane()

getAdditionalComponent

public javax.swing.JComponent getAdditionalComponent(javax.swing.text.JTextComponent parent)