Package org.openbravo.client.myob
Class MyOpenbravoWidgetComponent
- java.lang.Object
-
- org.openbravo.client.kernel.BaseComponent
-
- org.openbravo.client.myob.MyOpenbravoWidgetComponent
-
- All Implemented Interfaces:
Component
public class MyOpenbravoWidgetComponent extends BaseComponent
Creates the properties list which is initially loaded in the client.- Author:
- mtaal
-
-
Field Summary
Fields Modifier and Type Field Description static String
CLASSNAMEPARAMETER
-
Fields inherited from class org.openbravo.client.kernel.BaseComponent
adcs
-
-
Constructor Summary
Constructors Constructor Description MyOpenbravoWidgetComponent()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
generate()
Generates the content of the component which is sent to the client for execution/rendering.Object
getData()
String
getId()
-
Methods inherited from class org.openbravo.client.kernel.BaseComponent
bypassAuthentication, createComponent, getADCS, getApplicationName, getContentType, getContextUrl, getDependencies, getETag, getLastModified, getModule, getModulePackageName, getParameter, getParameterNames, getParameters, getSafeValue, hasParameter, isClassicMode, isInDevelopment, isInDevelopment, isJavaScriptComponent, nullifyModuleCache, setDependencies, setId, setParameters, stripHost
-
-
-
-
Field Detail
-
CLASSNAMEPARAMETER
public static final String CLASSNAMEPARAMETER
- See Also:
- Constant Field Values
-
-
Method Detail
-
getId
public String getId()
- Specified by:
getId
in interfaceComponent
- Overrides:
getId
in classBaseComponent
- Returns:
- the id of the component, see the id description in the root of this class.
-
generate
public String generate()
Description copied from interface:Component
Generates the content of the component which is sent to the client for execution/rendering.- Specified by:
generate
in interfaceComponent
- Specified by:
generate
in classBaseComponent
- Returns:
- the generated javascript which is send back to the client
-
getData
public Object getData()
- Specified by:
getData
in classBaseComponent
-
-