Servoy 5.x Public API

com.servoy.j2db.dataprocessing
Interface IPropertyDescriptor

All Known Implementing Classes:
PropertyDescriptor

public interface IPropertyDescriptor

Interface for describing properties of Column Converters or Validators Try to use the the implementation class PropertyDescriptor this interface can change with new Servoy versions if new functionality is needed.

Since:
5.0
See Also:
PropertyDescriptor

Field Summary
static int GLOBAL_METHOD
           
static int NUMBER
           
static int STRING
           
 
Method Summary
 String[] getChoices()
          For type STRING or NUMBER you can define predefined list so that users can only choose one of those.
 String getLabel()
          The label that will be shown in the developer for this property.
 int getType()
          The type of the property, return one of the types STRING or GLOBAL_METHOD
 

Field Detail

GLOBAL_METHOD

static final int GLOBAL_METHOD
See Also:
Constant Field Values

NUMBER

static final int NUMBER
See Also:
Constant Field Values

STRING

static final int STRING
See Also:
Constant Field Values
Method Detail

getChoices

String[] getChoices()
For type STRING or NUMBER you can define predefined list so that users can only choose one of those.

Returns:
An array of predefined choices.

getLabel

String getLabel()
The label that will be shown in the developer for this property. If null then just the property will be printed.

Returns:
The label for this property.

getType

int getType()
The type of the property, return one of the types STRING or GLOBAL_METHOD

Returns:
The type of this property.

Copyright © 2010 Servoy B.V.