public final class MainTabHelper extends Object
MainTabView
.Modifier and Type | Method and Description |
---|---|
static void |
closeQueryForm(String formName)
Closes the form with the specified name.
|
static void |
openQueryForm(String formName)
Opens the form with the specified name in the main-tab-view.
|
static void |
openQueryForm(String formName,
org.zkoss.zk.ui.event.EventListener formCreatedListener)
Opens the form with the specified name in the main-tab-view.
|
public static void openQueryForm(String formName)
formName
- the name of the form to openpublic static void openQueryForm(String formName, org.zkoss.zk.ui.event.EventListener formCreatedListener)
formCreatedListener = new EventListener() { public void onEvent(Event event) throws Exception { IntelligentFormView form = (IntelligentFormView) event.getData(); TextField field = (TextField) form.getFieldByFrameId(1); field.setValue("some text"); } };
formName
- the name of the form to openformCreatedListener
- listener to call when the form was createdpublic static void closeQueryForm(String formName)
formName
- name of the query-form to closeCopyright © 2016 Lexmark Enterprise Software Deutschland GmbH. All rights reserved.