public abstract class BaseEditor extends Object
| Modifier and Type | Field and Description |
|---|---|
protected com.smartgwt.client.widgets.form.DynamicForm |
form |
protected com.smartgwt.client.widgets.layout.VStack |
vStack |
| Constructor and Description |
|---|
BaseEditor(String title) |
BaseEditor(String title,
int width,
int height) |
| Modifier and Type | Method and Description |
|---|---|
void |
addMember(com.smartgwt.client.widgets.Canvas canvas) |
static ValueEditor<String> |
getValueEditor(String pname,
String type,
Contents contents) |
void |
hide()
Hides this dialog.
|
abstract void |
onConfirm(com.smartgwt.client.widgets.form.fields.events.ClickEvent event)
Executes action when 'OK' button clicked.
|
void |
setControls(com.smartgwt.client.widgets.form.fields.FormItem... items)
Adds controls to this dialog.
|
void |
setHeight(int height) |
void |
setTop(int top) |
void |
setWidth(int width) |
protected void |
showModal() |
protected final com.smartgwt.client.widgets.form.DynamicForm form
protected final com.smartgwt.client.widgets.layout.VStack vStack
public BaseEditor(String title, int width, int height)
public BaseEditor(String title)
public void setWidth(int width)
public void setHeight(int height)
public void setTop(int top)
public void addMember(com.smartgwt.client.widgets.Canvas canvas)
public static ValueEditor<String> getValueEditor(String pname, String type, Contents contents)
public void hide()
public abstract void onConfirm(com.smartgwt.client.widgets.form.fields.events.ClickEvent event)
event - public void setControls(com.smartgwt.client.widgets.form.fields.FormItem... items)
items - controlsprotected void showModal()
Copyright © 2008–2018 JBoss, a division of Red Hat. All rights reserved.