|
Compiere 3.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.compiere.web.sample.SampleWindowImpl
public class SampleWindowImpl
Sample WindowImpl class for creating custom Forms for the Compiere Web UI.
| Constructor Summary | |
|---|---|
SampleWindowImpl(int windowNO,
Ctx serverCtx,
WindowCtx windowCtx,
UWindowID uid)
|
|
| 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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SampleWindowImpl(int windowNO,
Ctx serverCtx,
WindowCtx windowCtx,
UWindowID uid)
| Method Detail |
|---|
public WindowVO.ClientWindowType getClientWindowType()
WindowImplIntf
getClientWindowType in interface WindowImplIntfpublic ArrayList<ComponentImplIntf> getComponents()
getComponents in interface WindowImplIntfpublic Box getLayout()
WindowImplIntf
getLayout in interface WindowImplIntfpublic String getName()
WindowImplIntf
getName in interface WindowImplIntfpublic ChangeVO processCallback(String sender)
WindowImplIntf
processCallback in interface WindowImplIntfsender - The name of the field that initiated the callback.
public void validateResponse(ResponseVO responseVO)
WindowImplIntf
validateResponse in interface WindowImplIntfresponseVO - The ResponseVO object that will be passed back to the client.
|
Compiere 3.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||