| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.rad.genui.UIResource<C>
javax.rad.genui.UIComponent<C>
javax.rad.genui.UIContainer<C>
javax.rad.genui.container.AbstractWindow<C>
javax.rad.genui.container.AbstractFrame<IInternalFrame>
javax.rad.genui.container.UIInternalFrame
com.sibvisions.rad.application.Error
public class Error
The Error is designed to visualize errors occured 
 in an application. It displays the whole error chain.
| Field Summary | 
|---|
| Fields inherited from class javax.rad.genui.container.AbstractFrame | 
|---|
| iconImage, menuBar | 
| Fields inherited from class javax.rad.genui.UIContainer | 
|---|
| allComponents, components | 
| Fields inherited from class javax.rad.genui.UIComponent | 
|---|
| bTranslate, lLastTranslationModified, parent, popupMenu | 
| Fields inherited from class javax.rad.genui.UIResource | 
|---|
| uiResource | 
| Fields inherited from interface javax.rad.ui.container.IFrame | 
|---|
| ICONIFIED, MAXIMIZED_BOTH, MAXIMIZED_HORIZ, MAXIMIZED_VERT, NORMAL | 
| Fields inherited from interface javax.rad.ui.container.IToolBarPanel | 
|---|
| AREA_BOTTOM, AREA_LEFT, AREA_RIGHT, AREA_TOP | 
| Constructor Summary | |
|---|---|
| Error(IDesktopPanel pDesktop)Creates a new instance of Errorfor a special desktop. | |
| Method Summary | ||
|---|---|---|
|  void | addError(java.lang.Throwable pError)Adds an error to the list of errors. | |
|  void | doDetails(UIActionEvent pEvent)Shows the details. | |
|  void | doOk(UIActionEvent pEvent)Closes the content. | |
|  ErrorHandler | eventHideDetails()Gets the "hide details" event handler. | |
|  ErrorHandler | eventShowDetails()Gets the "show details" event handler. | |
| protected  UIToggleButton | getDetailsButton()Gets the details button. | |
| protected  UIGroupPanel | getDetailsGroupPanel()Gets the details group panel. | |
|  java.lang.Throwable[] | getErrors()Gets all available errors. | |
|  java.lang.String | getMessage()Gets the error message. | |
| protected  UIButton | getOKButton()Gets the OK button. | |
| 
 | getOpener()Gets the opener of the content. | |
| protected  UITextArea | getTextArea()Gets the message text area. | |
|  boolean | isDestroyed()Gets whether the content is already destroyed. | |
|  void | notifyDestroy()Notifies the content, that it will be destroyed. | |
|  void | notifyVisible()Notifies the content, that it is now positioned and showing. | |
| 
 | setOpener(OP pOpener)Sets the opener of the content. | |
| protected  void | updateAnchors()Updates the Layout anchors dependent of the visible details. | |
| Methods inherited from class javax.rad.genui.container.UIInternalFrame | 
|---|
| close, dispose, isClosable, isClosed, isGlobalActive, isIconifiable, isMaximizable, isModal, setClosable, setIconifiable, setMaximizable, setModal, toBack, toFront, topLevelAddNotify | 
| Methods inherited from class javax.rad.genui.container.AbstractFrame | 
|---|
| addNotify, addToolBar, addToolBar, beforeAddNotify, getIconImage, getMenuBar, getState, getTitle, getToolBar, getToolBarArea, getToolBarCount, indexOfToolBar, isResizable, isToolBarMovable, removeAllToolBars, removeNotify, removeToolBar, removeToolBar, setIconImage, setMenuBar, setResizable, setState, setTitle, setToolBarArea, setToolBarMovable, updateTranslation | 
| Methods inherited from class javax.rad.genui.container.AbstractWindow | 
|---|
| centerRelativeTo, eventWindowActivated, eventWindowClosed, eventWindowClosing, eventWindowDeactivated, eventWindowDeiconified, eventWindowIconified, eventWindowOpened, isActive, isDisposed, pack, setVisible | 
| Methods inherited from class javax.rad.genui.UIContainer | 
|---|
| add, add, add, add, addInternal, checkAdd, contains, getComponent, getComponentCount, getComponents, getInsets, getLayout, getUIResourceContainer, indexOf, remove, remove, removeAll, removeInternal, setLayout, setUIResourceContainer, setZOrder | 
| Methods inherited from class javax.rad.genui.UIResource | 
|---|
| eventResourceChanged, eventResourceChanged, fireResourceChanged, getObject, getObjectNames, getUIResource, hasResourceHandler, putObject, toString | 
| Methods inherited from class java.lang.Object | 
|---|
| clone, finalize, getClass, notify, notifyAll, wait, wait, wait | 
| Methods inherited from interface javax.rad.ui.IResource | 
|---|
| getResource | 
| Methods inherited from interface javax.rad.ui.container.IFrame | 
|---|
| getIconImage, getMenuBar, getState, getTitle, isResizable, setIconImage, setMenuBar, setResizable, setState, setTitle | 
| Methods inherited from interface javax.rad.ui.container.IWindow | 
|---|
| centerRelativeTo, eventWindowActivated, eventWindowClosed, eventWindowClosing, eventWindowDeactivated, eventWindowDeiconified, eventWindowIconified, eventWindowOpened, getTranslation, isActive, isDisposed, pack, setTranslation | 
| Methods inherited from interface javax.rad.ui.container.IToolBarPanel | 
|---|
| addToolBar, addToolBar, getToolBar, getToolBarArea, getToolBarCount, indexOfToolBar, removeAllToolBars, removeToolBar, removeToolBar, setToolBarArea | 
| Methods inherited from interface javax.rad.ui.IContainer | 
|---|
| add, add, add, add, getComponent, getComponentCount, getLayout, indexOf, remove, remove, removeAll, setLayout | 
| Constructor Detail | 
|---|
public Error(IDesktopPanel pDesktop)
      throws java.lang.Exception
Error for a special desktop.
pDesktop - the desktop for showing the frame
java.lang.Exception - if it's not possible to build the UI| Method Detail | 
|---|
public void notifyVisible()
notifyVisible in interface IContentpublic void notifyDestroy()
notifyDestroy in interface IContentpublic boolean isDestroyed()
isDestroyed in interface IContenttrue if content is destroyed, false otherwisepublic <OP> void setOpener(OP pOpener)
setOpener in interface IContentOP - the opener typepOpener - the opener component or null if the component is 
                unknownpublic <OP> OP getOpener()
getOpener in interface IContentOP - the opener type
null if the opener is unknownpublic void addError(java.lang.Throwable pError)
pError - the errorprotected void updateAnchors()
protected UITextArea getTextArea()
protected UIButton getOKButton()
protected UIToggleButton getDetailsButton()
protected UIGroupPanel getDetailsGroupPanel()
public java.lang.String getMessage()
public java.lang.Throwable[] getErrors()
public ErrorHandler eventHideDetails()
public ErrorHandler eventShowDetails()
public void doOk(UIActionEvent pEvent)
pEvent - the triggering eventpublic void doDetails(UIActionEvent pEvent)
pEvent - the triggering event| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||