|
Compiere 3.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface WindowImplIntf
This is the interface to implement when you want to create a custom Form for the web UI.
Note that the class that implements this interface needs to have a constructor accepting the parameters (int windowNO, Ctx serverCtx, WindowCtx windowCtx, UWindowID uid), since this is the constructor that the class loading system will look for using the Java reflection API.
Once the class is created, the fully qualified Java class name needs to be specified in AD_Form.WebClassname for the appropriate record.
| Method Summary | |
|---|---|
WindowVO.ClientWindowType |
getClientWindowType()
Implement this method to indicate the type of client-side UI that should be used to render this window. |
ArrayList<ComponentImplIntf> |
getComponents()
|
Box |
getLayout()
Implement this method to return a custom layout for the components. |
String |
getName()
Implement this method to return the translated name for the window. |
ChangeVO |
processCallback(String sender)
This method allows the WindowImplIntf to handle callbacks from the client. |
void |
validateResponse(ResponseVO responseVO)
This method provides a mechanism for the server-side code to signal errors or warnings to the client upon the initial loading of the window. |
| Method Detail |
|---|
ArrayList<ComponentImplIntf> getComponents()
ChangeVO processCallback(String sender)
sender - The name of the field that initiated the callback.
String getName()
void validateResponse(ResponseVO responseVO)
responseVO - The ResponseVO object that will be passed back to the client.Box getLayout()
WindowVO.ClientWindowType getClientWindowType()
|
Compiere 3.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||