Package snap.viewx
Class DevPaneExceptions
java.lang.Object
snap.props.PropObject
snap.view.ViewOwner
snap.viewx.DevPaneExceptions
- All Implemented Interfaces:
PropChange.DoChange
A DevPane to show the console.
-
Field Summary
Fields inherited from class snap.view.ViewOwner
Action, DragDrop, DragEnter, DragEvents, DragExit, DragGesture, DragOver, KeyEvents, KeyPress, KeyRelease, KeyType, MouseDrag, MouseEnter, MouseEvents, MouseExit, MouseMove, MousePress, MouseRelease, Showing_Prop, WinClose
Fields inherited from class snap.props.PropObject
_pcs, EMPTY_OBJECT
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic String
Returns the AppInfo.static String
Returns the App name.int
Returns the selected index.static String
Returns user email.static String
Returns user name.protected void
initUI()
Initialize UI.static boolean
Returns whether to ignore previous exceptions.protected void
resetUI()
Reset UI.protected void
Respond UI.static void
setAppInfo
(String aValue) Sets the AppInfo.static void
setAppName
(String aValue) Sets the App name.static void
Sets this class to start watching for uncaught exceptions.static void
setIgnoreSuccessiveExceptions
(boolean aValue) Sets whether to ignore previous exceptions.void
setSelIndex
(int aValue) Sets the selected index.protected void
setShowing
(boolean aValue) Override to show last exception.static void
setUserEmail
(String aValue) Sets user email.static void
setUserName
(String aValue) Sets user name.static void
showException
(Throwable anExc) Shows the given exception.Methods inherited from class snap.view.ViewOwner
addKeyActionFilter, addKeyActionHandler, addViewEventHandler, beep, cancelReset, createUI, createUIForClass, dispatchEventToOwner, enableEvents, fireActionEventForObject, getEnv, getFirstFocus, getImage, getNative, getToggleGroup, getUI, getUI, getUISource, getView, getView, getViewBoolValue, getViewFloatValue, getViewIntValue, getViewItems, getViewSelIndex, getViewSelItem, getViewStringValue, getViewText, getViewValue, getWindow, initShowing, initWindow, invokeResetUI, invokeRespondUI, isEventThread, isSendEventDisabled, isShowing, isUISet, isViewDisabled, isViewEnabled, isViewVisible, isWindowSet, isWindowVisible, requestFocus, resetLater, runDelayed, runLater, setFirstFocus, setSendEventDisabled, setViewDisabled, setViewEnabled, setViewItems, setViewItems, setViewSelIndex, setViewSelItem, setViewText, setViewValue, setViewVisible, setWindowVisible
Methods inherited from class snap.props.PropObject
addDeepChangeListener, addPropChangeListener, addPropChangeListener, clone, firePropChange, firePropChange, firePropChange, getPropDefault, getPropForName, getPropParent, getPropSet, getPropsForArchival, getPropsForArchivalExtra, getPropsString, getPropValue, initProps, isPropDefault, processPropChange, removeDeepChangeListener, removePropChangeListener, removePropChangeListener, setPropsString, setPropValue, setPropValues, toString, toStringProps
-
Constructor Details
-
DevPaneExceptions
public DevPaneExceptions()Constructor.
-
-
Method Details
-
getSelIndex
public int getSelIndex()Returns the selected index. -
setSelIndex
public void setSelIndex(int aValue) Sets the selected index. -
initUI
protected void initUI()Initialize UI. -
resetUI
protected void resetUI()Reset UI. -
respondUI
Respond UI. -
setShowing
protected void setShowing(boolean aValue) Override to show last exception.- Overrides:
setShowing
in classViewOwner
-
showException
Shows the given exception. -
setDefaultUncaughtExceptionHandler
public static void setDefaultUncaughtExceptionHandler()Sets this class to start watching for uncaught exceptions. -
getUserName
Returns user name. -
setUserName
Sets user name. -
getUserEmail
Returns user email. -
setUserEmail
Sets user email. -
getAppName
Returns the App name. -
setAppName
Sets the App name. -
getAppInfo
Returns the AppInfo. -
setAppInfo
Sets the AppInfo. -
isIgnoreSuccessiveExceptions
public static boolean isIgnoreSuccessiveExceptions()Returns whether to ignore previous exceptions. -
setIgnoreSuccessiveExceptions
public static void setIgnoreSuccessiveExceptions(boolean aValue) Sets whether to ignore previous exceptions.
-