public static class MessageBox.Builder
extends java.lang.Object
Constructor and Description |
---|
Builder()
The MessageBox builder.
|
Modifier and Type | Method and Description |
---|---|
MessageBox |
build()
After you make all of your process of build, call this to return the result.
|
MessageBox.Builder |
setBaseContainer(Container baseContainer)
This is the content that will be placed between the title and the buttons.
|
MessageBox.Builder |
setBaseContainerInsets(int left,
int right,
int top,
int bottom)
Sets the insets of the Container (The container that will be your content).
|
MessageBox.Builder |
setButtons(java.lang.String[] buttonCaptions)
Sets the buttons that will appear on the MessageBox.
|
MessageBox.Builder |
setButtonsMargin(int margin)
Sets the margins of the buttons.
|
MessageBox.Builder |
setContButtonGap(int gap)
Sets the gap between the Container (MessageBox's content) and the buttons.
|
MessageBox.Builder |
setImage(Image image)
Sets the image that is displayed on the top of the MessageBox.
|
MessageBox.Builder |
setMessage(java.lang.String message)
Sets the MessageBox message.
|
MessageBox.Builder |
setMessageBoxInsets(int left,
int right,
int top,
int bottom)
Sets the insets of the MessageBox.
|
MessageBox.Builder |
setTitle(java.lang.String title)
Sets the MessageBox title.
|
MessageBox.Builder |
setTitleContGap(int gap)
Sets the gap between the title and the Container (MessageBox's content).
|
public Builder()
public MessageBox build()
public MessageBox.Builder setTitle(java.lang.String title)
public MessageBox.Builder setMessage(java.lang.String message)
public MessageBox.Builder setBaseContainer(Container baseContainer)
public MessageBox.Builder setBaseContainerInsets(int left, int right, int top, int bottom)
public MessageBox.Builder setImage(Image image)
public MessageBox.Builder setMessageBoxInsets(int left, int right, int top, int bottom)
public MessageBox.Builder setButtons(java.lang.String[] buttonCaptions)
public MessageBox.Builder setButtonsMargin(int margin)
public MessageBox.Builder setTitleContGap(int gap)
public MessageBox.Builder setContButtonGap(int gap)