Servoy 5.x Public API

com.servoy.j2db.dataui
Enum PropertyEditorClass

java.lang.Object
  extended by java.lang.Enum<PropertyEditorClass>
      extended by com.servoy.j2db.dataui.PropertyEditorClass
All Implemented Interfaces:
Serializable, Comparable<PropertyEditorClass>

public enum PropertyEditorClass
extends Enum<PropertyEditorClass>

Enumeration of property editors supported by Servoy Developer to be used for bean properties.

Since:
5.0

Enum Constant Summary
dataprovider
          Dataprovider name property editor, supports String properties.
form
          Form name property editor, supports String properties.
media
          Media name property editor, supports String properties.
method
          Method name property editor, supports FunctionDefinition or String properties.
relation
          Relation name property editor, supports String properties.
styleclass
          Style class name property editor, supports String properties.
valuelist
          Value list name property editor, supports String properties.
 
Method Summary
static PropertyEditorClass valueOf(String name)
          Returns the enum constant of this type with the specified name.
static PropertyEditorClass[] values()
          Returns an array containing the constants of this enum type, in the order they're declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

dataprovider

public static final PropertyEditorClass dataprovider
Dataprovider name property editor, supports String properties.

Supported options: PropertyEditorOption.includeNone, PropertyEditorOption.includeColumns, PropertyEditorOption.includeCalculations, PropertyEditorOption.includeRelatedCalculations, PropertyEditorOption.includeForm, PropertyEditorOption.includeGlobal, PropertyEditorOption.includeAggregates, PropertyEditorOption.includeRelatedAggregates, PropertyEditorOption.includeRelations, PropertyEditorOption.includeNestedRelations.


form

public static final PropertyEditorClass form
Form name property editor, supports String properties.

Supported options: PropertyEditorOption.includeNone.


media

public static final PropertyEditorClass media
Media name property editor, supports String properties.

Supported options: PropertyEditorOption.includeNone.


method

public static final PropertyEditorClass method
Method name property editor, supports FunctionDefinition or String properties.

In case of String properties, the format is either globals.myglobalmethod or myform.myformmethod. This string is supported by the FunctionDefinition 1-string constructor:

new FunctionDefinition(myDataprovider).execute(access, null, false);

Supported options: PropertyEditorOption.includeNone, PropertyEditorOption.includeForm, PropertyEditorOption.includeGlobal.


relation

public static final PropertyEditorClass relation
Relation name property editor, supports String properties.

Supported options: PropertyEditorOption.includeNone, PropertyEditorOption.includeNestedRelations.


styleclass

public static final PropertyEditorClass styleclass
Style class name property editor, supports String properties.

Supported options: PropertyEditorOption.styleLookupName.


valuelist

public static final PropertyEditorClass valuelist
Value list name property editor, supports String properties.

Supported options: PropertyEditorOption.includeNone.

Method Detail

valueOf

public static PropertyEditorClass valueOf(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:
IllegalArgumentException - if this enum type has no constant with the specified name

values

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

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

Copyright © 2010 Servoy B.V.