Servoy 5.x Public API

com.servoy.j2db.scripting
Interface IScriptObject

All Superinterfaces:
com.servoy.j2db.scripting.IReturnedTypesProvider

public interface IScriptObject
extends com.servoy.j2db.scripting.IReturnedTypesProvider

Interface to be implemented by all Java objects that must be accessed by JavaScript


Method Summary
 String[] getParameterNames(String methodName)
          Get the parameterNames for a methodName
 String getSample(String methodName)
          Get the sample for a methodName
 String getToolTip(String methodName)
          Get the tooltip for a methodName
 boolean isDeprecated(String methodName)
          Will hide methods from developer treeview, but you could leave them in to code so scripting will not break
 
Methods inherited from interface com.servoy.j2db.scripting.IReturnedTypesProvider
getAllReturnedTypes
 

Method Detail

getParameterNames

String[] getParameterNames(String methodName)
Get the parameterNames for a methodName

Parameters:
methodName -
Returns:
the parameterNames

getSample

String getSample(String methodName)
Get the sample for a methodName

Parameters:
methodName -
Returns:
the sample code

getToolTip

String getToolTip(String methodName)
Get the tooltip for a methodName

Parameters:
methodName -
Returns:
the tooltip

isDeprecated

boolean isDeprecated(String methodName)
Will hide methods from developer treeview, but you could leave them in to code so scripting will not break


Copyright © 2010 Servoy B.V.