|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.ObjectComposite
org.csstudio.ui.util.widgets.ErrorBar
public class ErrorBar
An error bar to display an exception message and the details in a pop-up.
| Constructor Summary | |
|---|---|
ErrorBar(Composite parent,
int style)
Create a new error bar. |
|
| Method Summary | |
|---|---|
int |
getMarginBottom()
The margin on the bottom of the error bar, if displayed. |
int |
getMarginLeft()
The margin on the left of the error bar, if displayed. |
int |
getMarginRight()
The margin on the right of the error bar, if displayed. |
int |
getMarginTop()
The margin on the top of the error bar, if displayed. |
void |
setException(java.lang.Exception ex)
|
void |
setMarginBottom(int marginBottom)
Changes the margin on the bottom of the error bar, if displayed. |
void |
setMarginLeft(int marginLeft)
Changes the margin on the left of the error bar, if displayed. |
void |
setMarginRight(int marginRight)
Changes the margin on the right of the error bar, if displayed. |
void |
setMarginTop(int marginTop)
Changes the margin on the top of the error bar, if displayed. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ErrorBar(Composite parent,
int style)
parent - widget parentstyle - style of the widget| Method Detail |
|---|
public void setException(java.lang.Exception ex)
public int getMarginTop()
public void setMarginTop(int marginTop)
marginTop - the new marginpublic int getMarginBottom()
public void setMarginBottom(int marginBottom)
marginBottom - the new marginpublic int getMarginLeft()
public void setMarginLeft(int marginLeft)
marginLeft - the new marginpublic int getMarginRight()
public void setMarginRight(int marginRight)
marginRight - the new margin
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||