public class DwWindow
extends Window
Modifier and Type | Class and Description |
---|---|
static interface |
DwWindow.OnButtonClickHandler |
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CSS_BBAR |
static java.lang.String |
CSS_BODY_NAME |
static java.lang.String |
CSS_CONTENT_NAME |
static java.lang.String |
CSS_HEADER_NAME |
static java.lang.String |
CSS_NAME |
Constructor and Description |
---|
DwWindow() |
DwWindow(WindowAppearance appearance) |
Modifier and Type | Method and Description |
---|---|
void |
add(Widget child) |
void |
add(Widget child,
MarginData layoutData) |
DwTextButton |
addCancelButton() |
DwTextButton |
addCancelButton(DwWindow.OnButtonClickHandler handler) |
void |
addClassName(java.lang.String name) |
DwTextButton |
addSpecButton(DwWindow.OnButtonClickHandler handler,
java.lang.String label) |
DwTextButton |
addSpecButton(DwWindow.OnButtonClickHandler handler,
java.lang.String label,
boolean hide) |
DwTextButton |
addSubmitButton(DwWindow.OnButtonClickHandler handler)
Careful with real form submits, as the form needs to be attached during the
submit.
|
java.lang.String |
getCssBodyName() |
java.lang.String |
getCssContentName() |
java.lang.String |
getCssHeaderName() |
java.lang.String |
getCssName() |
static DwWindow |
newAutoSizeDialog() |
static DwWindow |
newAutoSizeDialog(int width) |
void |
setCenterOnShow(boolean center) |
void |
setHeaderIcon(BaseIcon icon) |
void |
setSize(int width,
int height) |
void |
show() |
@CssClassConstant public static final java.lang.String CSS_NAME
@CssClassConstant public static final java.lang.String CSS_HEADER_NAME
@CssClassConstant public static final java.lang.String CSS_BODY_NAME
@CssClassConstant public static final java.lang.String CSS_CONTENT_NAME
@CssClassConstant public static final java.lang.String CSS_BBAR
public static DwWindow newAutoSizeDialog()
public static DwWindow newAutoSizeDialog(int width)
public void add(Widget child)
public void add(Widget child, MarginData layoutData)
public void addClassName(java.lang.String name)
public java.lang.String getCssName()
public java.lang.String getCssHeaderName()
public java.lang.String getCssBodyName()
public java.lang.String getCssContentName()
public void setSize(int width, int height)
public DwTextButton addCancelButton()
public DwTextButton addCancelButton(DwWindow.OnButtonClickHandler handler)
public DwTextButton addSubmitButton(DwWindow.OnButtonClickHandler handler)
handler
- public DwTextButton addSpecButton(DwWindow.OnButtonClickHandler handler, java.lang.String label)
public DwTextButton addSpecButton(DwWindow.OnButtonClickHandler handler, java.lang.String label, boolean hide)
public void setHeaderIcon(BaseIcon icon)
public void setCenterOnShow(boolean center)
public void show()