Servoy 3.5.x Public API

com.servoy.j2db.scripting
Interface IScriptObject

All Known Implementing Classes:
RepositoryException, com.servoy.j2db.util.ServoyException

public interface IScriptObject

Interface to be implemented by all Java object which must be accessed by JavaScript


Method Summary
 Class[] getAllReturnedTypes()
          If the returned class has a default constructor and is instanceof IScriptObject move sample will work.
 String[] getParameterNames(String methodName)
           
 String getSample(String methodName)
           
 String getToolTip(String methodName)
           
 boolean isDeprecated(String methodName)
          will hide methods from debugger treeview, but you could leave them in so scripting will not break
 

Method Detail

getAllReturnedTypes

Class[] getAllReturnedTypes()
If the returned class has a default constructor and is instanceof IScriptObject move sample will work.


getParameterNames

String[] getParameterNames(String methodName)

getSample

String getSample(String methodName)

getToolTip

String getToolTip(String methodName)

isDeprecated

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


Copyright © 2009 Servoy B.V.