Unnamed: 0 int64 0 305k | body stringlengths 7 52.9k | name stringlengths 1 185 |
|---|---|---|
284,000 | void (int delta) { beginTime = 0L; lastDelta = delta; } | registerUpdate |
284,001 | int () { return Registry.intValue("idea.inertial.touch.fling.pixelThreshold"); } | getPixelThreshold |
284,002 | int () { return Registry.intValue("idea.inertial.touch.fling.multiplier"); } | getFlingMultiplier |
284,003 | int () { return Registry.intValue("idea.inertial.touch.fling.interruptLag"); } | getFlingInterruptLag |
284,004 | boolean () { return abs(lastDelta) >= getPixelThreshold(); } | shouldStart |
284,005 | Predicate<Integer> (JScrollBar bar) { return TouchScroll.shouldStop(bar).or(v -> { return beginTime != 0L && (System.currentTimeMillis() - beginTime) > getFlingInterruptLag(); }); } | shouldStop |
284,006 | void (JScrollBar bar, InertialAnimator animator) { if (bar != null && shouldStart()) { int initValue = bar.getValue(); int targetValue = initValue + lastDelta * getFlingMultiplier(); animator.start(initValue, targetValue, bar::setValue, shouldStop(bar), TouchAnimationSettings.SETTINGS); } } | start |
284,007 | double () { return max(abs(Registry.doubleValue("idea.inertial.smooth.scrolling.touch.duration")), 0); } | getDuration |
284,008 | Easing () { if (cubicEaseOut == null) { cubicEaseOut = new CubicBezierEasing(0.215, 0.61, 0.355, 1, 2000); } return cubicEaseOut; } | getEasing |
284,009 | boolean (@NotNull MouseWheelEvent e) { return e.getScrollType() >= TOUCH_BEGIN && e.getScrollType() <= TOUCH_END; } | isTouchScroll |
284,010 | double (@NotNull MouseWheelEvent e) { return e.getPreciseWheelRotation() * e.getScrollAmount(); } | getDelta |
284,011 | boolean (@NotNull MouseWheelEvent e) { return e.getScrollType() == TOUCH_BEGIN; } | isBegin |
284,012 | boolean (@NotNull MouseWheelEvent e) { return e.getScrollType() == TOUCH_UPDATE; } | isUpdate |
284,013 | boolean (@NotNull MouseWheelEvent e) { return e.getScrollType() == TOUCH_END; } | isEnd |
284,014 | boolean (@NotNull MouseWheelEvent e) { return e.isShiftDown(); } | isHorizontalScroll |
284,015 | boolean (MouseWheelEvent event) { var source = (JScrollPane)event.getSource(); // do not process any event from JBScrollPane with this option if (ClientProperty.isTrue(getViewportView(source), JBScrollPane.IGNORE_SCROLL_LATCHING)) { return false; } myScrollEvents.add(new MyScrollEvent(event.getWhen(), event.getPreciseWheelRotation(), event.isShiftDown())); double xs = 0.0, ys = 0.0; var iterator = myScrollEvents.iterator(); while (iterator.hasNext()) { MyScrollEvent se = iterator.next(); if (se.when() + getExpireAfter() < event.getWhen()) { iterator.remove(); } else { if (se.isHorizontal()) { xs += Math.abs(se.rotation()); } else { ys += Math.abs(se.rotation()); } } } double angle = Math.toDegrees(Math.atan(Math.abs(ys / xs))); boolean isHorizontal = event.isShiftDown(); double thatAngle = getAngle(); if (angle <= thatAngle && !isHorizontal || angle >= 90 - thatAngle && isHorizontal) { return true; } return false; } | shouldBeIgnored |
284,016 | long () { return Math.max(Registry.intValue("idea.latching.scrolling.time"), 0); } | getExpireAfter |
284,017 | double () { return Math.min(Math.max(Registry.doubleValue("idea.latching.scrolling.angle"), 0.0), 45.0); } | getAngle |
284,018 | boolean () { return Registry.is("idea.latching.scrolling.enabled", false); } | isEnabled |
284,019 | record (long when, double rotation, boolean isHorizontal) { } | MyScrollEvent |
284,020 | void (Component c, Graphics g, int x, int y, int width, int height) { int labelX = x + outsideInsets.left; int labelY = y + outsideInsets.top; TitledSeparator titledSeparator = getTitledSeparator(c); JLabel label = titledSeparator.getLabel(); Dimension labelSize = label.getPreferredSize(); label.setSize(labelSize); g.translate(labelX, labelY); label.paint(g); int separatorX = labelX + labelSize.width + TitledSeparator.SEPARATOR_LEFT_INSET; int separatorY = labelY + labelSize.height / 2 - 1; int separatorW = Math.max(0, width - separatorX - TitledSeparator.SEPARATOR_RIGHT_INSET); int separatorH = 2; JSeparator separator = titledSeparator.getSeparator(); separator.setSize(separatorW, separatorH); g.translate(separatorX - labelX, separatorY - labelY); if (myShowLine) { separator.paint(g); } g.translate(-separatorX, -separatorY); } | paintBorder |
284,021 | TitledSeparator (Component c) { titledSeparator.setEnabled(c.isEnabled()); return titledSeparator; } | getTitledSeparator |
284,022 | IdeaTitledBorder (boolean showLine) { myShowLine = showLine; insideInsets.top = JBUI.scale(myShowLine ? TitledSeparator.BOTTOM_INSET : 3); return this; } | setShowLine |
284,023 | void (Component c) { Dimension minimumSize = getMinimumSize(c); c.setMinimumSize(new Dimension(Math.max(minimumSize.width, c.getMinimumSize().width), Math.max(minimumSize.height, c.getMinimumSize().height))); } | acceptMinimumSize |
284,024 | Insets () { return insideInsets; } | getInsideInsets |
284,025 | Insets () { return outsideInsets; } | getOutsideInsets |
284,026 | Dimension (Component c) { Insets insets = getBorderInsets(c); Dimension minSize = new Dimension(insets.right + insets.left, insets.top + insets.bottom); Dimension separatorSize = getTitledSeparator(c).getPreferredSize(); minSize.width = Math.max(minSize.width, separatorSize.width + outsideInsets.left + outsideInsets.right); return minSize; } | getMinimumSize |
284,027 | Insets (Component c, final Insets insets) { insets.top += getTitledSeparator(c).getPreferredSize().getHeight() - TitledSeparator.TOP_INSET - TitledSeparator.BOTTOM_INSET; insets.top += myShowLine ? UIUtil.DEFAULT_VGAP : 0; insets.top += insideInsets.top; insets.left += insideInsets.left; insets.bottom += insideInsets.bottom; insets.right += insideInsets.right; insets.top += outsideInsets.top; insets.left += outsideInsets.left; insets.bottom += outsideInsets.bottom; insets.right += outsideInsets.right; return insets; } | getBorderInsets |
284,028 | boolean () { try { /* getVersionDetails() was introduced alongside JCEF API versioning with first version of 1.1, which also added these necessary * for shortcuts to work CefFrame methods. Therefore successful call to getVersionDetails() means our JCEF API is at least 1.1 */ JCefAppConfig.getVersionDetails(); return true; } catch (NoSuchMethodError | JCefVersionDetails.VersionUnavailableException e) { Logger.getInstance(ShortcutProvider.class).warn("JCEF shortcuts are unavailable (incompatible API)", e); return false; } } | isSupportedByJCefApi |
284,029 | void (JComponent uiComp, JBCefBrowser jbCefBrowser) { ActionManager actionManager = ActionManager.getInstance(); for (Pair<String, AnAction> action : ourActions) { action.second.registerCustomShortcutSet(actionManager.getAction(action.first).getShortcutSet(), uiComp, jbCefBrowser); } } | registerShortcuts |
284,030 | JBCefBrowserBuilder () { return new JBCefBrowserBuilder(); } | createBuilder |
284,031 | JBCefBrowser (@NotNull JBCefBrowserBuilder builder) { return new JBCefBrowser(builder); } | create |
284,032 | void (CefBrowser browser, boolean next) { super.onTakeFocus(browser, next); //noinspection AssignmentToStaticFieldFromInstanceMethod focusedBrowser = null; } | onTakeFocus |
284,033 | void (CefBrowser browser) { super.onGotFocus(browser); //noinspection AssignmentToStaticFieldFromInstanceMethod focusedBrowser = JBCefBrowser.this; } | onGotFocus |
284,034 | boolean (CefBrowser browser, FocusSource source) { Component focusOwner = KeyboardFocusManager.getCurrentKeyboardFocusManager().getFocusOwner(); boolean componentFocused = focusOwner == getComponent() || focusOwner == getCefBrowser().getUIComponent(); boolean focusOnNavigation = (myFirstShow && isProperty(Properties.FOCUS_ON_SHOW) || isProperty(Properties.FOCUS_ON_NAVIGATION)) || componentFocused; myFirstShow = false; if (source == FocusSource.FOCUS_SOURCE_NAVIGATION && !focusOnNavigation) { if (SystemInfo.isWindows) { myCefBrowser.setFocus(false); } return true; // suppress focusing the browser on navigation events } if (!browser.getUIComponent().hasFocus()) { if (SystemInfo.isLinux) { if (isOffScreenRendering()) { browser.getUIComponent().requestFocusInWindow(); } else { browser.getUIComponent().requestFocus(); } } else { browser.getUIComponent().requestFocusInWindow(); } } return false; } | onSetFocus |
284,035 | boolean (CefBrowser browser, CefKeyEvent cefKeyEvent) { if (isOffScreenRendering()) return false; Component focusOwner = KeyboardFocusManager.getCurrentKeyboardFocusManager().getFocusOwner(); boolean consume = focusOwner != browser.getUIComponent(); if (consume && SystemInfo.isMac && isUpDownKeyEvent(cefKeyEvent)) return true; // consume Window focusedWindow = KeyboardFocusManager.getCurrentKeyboardFocusManager().getFocusedWindow(); if (focusedWindow == null) { return true; // consume } KeyEvent javaKeyEvent = convertCefKeyEvent(cefKeyEvent, focusedWindow); Toolkit.getDefaultToolkit().getSystemEventQueue().postEvent(javaKeyEvent); return consume; } | onKeyEvent |
284,036 | JPanel (boolean isMouseWheelEventEnabled) { Component uiComp = getCefBrowser().getUIComponent(); JPanel resultPanel = new MyPanel(uiComp, isMouseWheelEventEnabled); resultPanel.setBackground(getBackgroundColor()); resultPanel.putClientProperty(JBCEFBROWSER_INSTANCE_PROP, this); if (SystemInfo.isMac) { // We handle shortcuts manually on MacOS: https://www.magpcss.org/ceforum/viewtopic.php?f=6&t=12561 ShortcutProvider.registerShortcuts(resultPanel, this); } resultPanel.add(uiComp, BorderLayout.CENTER); if (SystemInfo.isWindows) { myCefBrowser.getUIComponent().addMouseListener(new MouseAdapter() { @Override public void mousePressed(MouseEvent e) { if (myCefBrowser.getUIComponent().isFocusable()) { getCefBrowser().setFocus(true); } } }); } resultPanel.setFocusCycleRoot(true); resultPanel.setFocusTraversalPolicyProvider(true); resultPanel.setFocusTraversalPolicy(new MyFTP()); resultPanel.addComponentListener(new ComponentAdapter() { @Override public void componentResized(ComponentEvent e) { ourOnBrowserMoveResizeCallbacks.forEach(callback -> callback.accept(JBCefBrowser.this)); } @Override public void componentMoved(ComponentEvent e) { ourOnBrowserMoveResizeCallbacks.forEach(callback -> callback.accept(JBCefBrowser.this)); } @Override public void componentShown(ComponentEvent e) { ourOnBrowserMoveResizeCallbacks.forEach(callback -> callback.accept(JBCefBrowser.this)); } @Override public void componentHidden(ComponentEvent e) { ourOnBrowserMoveResizeCallbacks.forEach(callback -> callback.accept(JBCefBrowser.this)); } }); return resultPanel; } | createComponent |
284,037 | void (MouseEvent e) { if (myCefBrowser.getUIComponent().isFocusable()) { getCefBrowser().setFocus(true); } } | mousePressed |
284,038 | void (ComponentEvent e) { ourOnBrowserMoveResizeCallbacks.forEach(callback -> callback.accept(JBCefBrowser.this)); } | componentResized |
284,039 | void (ComponentEvent e) { ourOnBrowserMoveResizeCallbacks.forEach(callback -> callback.accept(JBCefBrowser.this)); } | componentMoved |
284,040 | void (ComponentEvent e) { ourOnBrowserMoveResizeCallbacks.forEach(callback -> callback.accept(JBCefBrowser.this)); } | componentShown |
284,041 | void (ComponentEvent e) { ourOnBrowserMoveResizeCallbacks.forEach(callback -> callback.accept(JBCefBrowser.this)); } | componentHidden |
284,042 | Color () { return JBColor.background(); } | getBackgroundColor |
284,043 | void (@NotNull Consumer<? super JBCefBrowser> callback) { ourOnBrowserMoveResizeCallbacks.add(callback); } | addOnBrowserMoveResizeCallback |
284,044 | void (@NotNull Consumer<? super JBCefBrowser> callback) { ourOnBrowserMoveResizeCallbacks.remove(callback); } | removeOnBrowserMoveResizeCallback |
284,045 | JComponent () { return myComponent; } | getComponent |
284,046 | void (@NotNull String name, @Nullable Object value) { super.setProperty(name, value); } | setProperty |
284,047 | void () { super.dispose(() -> { myCefClient.removeFocusHandler(myCefFocusHandler, myCefBrowser); myCefClient.removeKeyboardHandler(myKeyboardHandler, myCefBrowser); }); } | dispose |
284,048 | Component (Container aContainer, Component aComponent) { return myCefBrowser.getUIComponent(); } | getComponentAfter |
284,049 | Component (Container aContainer, Component aComponent) { return myCefBrowser.getUIComponent(); } | getComponentBefore |
284,050 | Component (Container aContainer) { return myCefBrowser.getUIComponent(); } | getFirstComponent |
284,051 | Component (Container aContainer) { return myCefBrowser.getUIComponent(); } | getLastComponent |
284,052 | Component (Container aContainer) { return myCefBrowser.getUIComponent(); } | getDefaultComponent |
284,053 | void (Color bg) { if (myUiComp != null) myUiComp.setBackground(bg); super.setBackground(bg); } | setBackground |
284,054 | void () { if (SystemInfo.isWindows) { if (myCefBrowser.getUIComponent().hasFocus()) { // pass focus before removal myCefBrowser.setFocus(false); } } myFirstShow = true; super.removeNotify(); } | removeNotify |
284,055 | Dimension () { // Preferred size should not be zero, otherwise the content loading is not triggered Dimension size = super.getPreferredSize(); return size.width > 0 && size.height > 0 ? size : DEF_PREF_SIZE; } | getPreferredSize |
284,056 | void (FocusEvent e) { super.processFocusEvent(e); if (e.getID() == FocusEvent.FOCUS_GAINED) { myUiComp.requestFocusInWindow(); } } | processFocusEvent |
284,057 | JBCefBrowser () { return JBCefBrowser.this; } | getJBCefBrowser |
284,058 | JBCefProxySettings () { if (ApplicationManager.getApplication().isUnitTestMode() && ourTestInstance != null) { return ourTestInstance; } HttpConfigurable httpSettings = HttpConfigurable.getInstance(); return new JBCefProxySettings( httpSettings.USE_HTTP_PROXY, httpSettings.PROXY_TYPE_IS_SOCKS, httpSettings.USE_PROXY_PAC, httpSettings.USE_PAC_URL, httpSettings.PAC_URL, httpSettings.PROXY_HOST, httpSettings.PROXY_PORT, httpSettings.PROXY_EXCEPTIONS, httpSettings.PROXY_AUTHENTICATION, new Credentials() { @Override public @Nullable String getLogin() { return httpSettings.getProxyLogin(); } @Override public @Nullable String getPassword() { return httpSettings.getPlainProxyPassword(); } }); } | getInstance |
284,059 | void (boolean useHttpProxy, boolean proxyTypeIsSocks, boolean useProxyPac, boolean usePacUrl, @Nullable String pacUrl, @Nullable String proxyHost, int proxyPort, @Nullable String proxyExceptions, boolean proxyAuthentication, @Nullable String login, @Nullable String password) { if (!ApplicationManager.getApplication().isUnitTestMode()) { throw new IllegalStateException("not in unit test mode!"); } ourTestInstance = new JBCefProxySettings( useHttpProxy, proxyTypeIsSocks, useProxyPac, usePacUrl, pacUrl, proxyHost, proxyPort, proxyExceptions, proxyAuthentication, new Credentials() { @Override public @Nullable String getLogin() { return login; } @Override public @Nullable String getPassword() { return password; } }); } | setTestInstance |
284,060 | boolean (@NotNull CefRequest request, @NotNull CefCallback callback) { callback.Continue(); return true; } | processRequest |
284,061 | void (@NotNull CefResponse response, IntRef response_length, StringRef redirectUrl) { response.setMimeType("text/html"); response.setStatus(200); } | getResponseHeaders |
284,062 | boolean (byte@NotNull[] data_out, int bytes_to_read, IntRef bytes_read, CefCallback callback) { try { int availableSize = myInputStream.available(); if (availableSize > 0) { int bytesToRead = Math.min(bytes_to_read, availableSize); bytesToRead = myInputStream.read(data_out, 0, bytesToRead); bytes_read.set(bytesToRead); return true; } } catch (IOException e) { LOG.error(e); } bytes_read.set(0); try { myInputStream.close(); } catch (IOException e) { LOG.error(e); } return false; } | readResponse |
284,063 | void () {} | dispose |
284,064 | boolean (CefRequest request, CefCallback callback) { String url = request.getURL(); if (url == null || !url.startsWith(SOURCE_SCHEME)) return false; if (JBCefPsiNavigationUtils.INSTANCE.navigateTo(url)) { callback.Continue(); return true; } return false; } | processRequest |
284,065 | CefResourceHandler (@NotNull CefBrowser browser, CefFrame frame, String schemeName, CefRequest request) { if (!FILE_SCHEME_NAME.equals(schemeName)) return null; String url = request.getURL(); if (url == null) return null; url = normalizeUrl(url); // 1) check if the request has been registered Map<String, String> map = LOADHTML_REQUEST_MAP.get(browser); if (map != null) { String html = map.get(url); if (html != null) { return new JBCefLoadHtmlResourceHandler(html); } } // 2) otherwise allow default handling (with default CEF security) return null; } | create |
284,066 | String (@NotNull CefBrowser browser, @NotNull String html, @NotNull String origUrl) { origUrl = normalizeUrl(origUrl); String fileUrl = makeFileUrl(origUrl); getInitMap(browser).put(fileUrl, html); return fileUrl; } | registerLoadHTMLRequest |
284,067 | String (@NotNull String url) { if (url.startsWith(FILE_SCHEME_NAME + URLUtil.SCHEME_SEPARATOR)) { return url; } // otherwise make a random file:// url return normalizeUrl(LOADHTML_RANDOM_URL_PREFIX + new Random().nextInt(Integer.MAX_VALUE) + "#url=" + url); } | makeFileUrl |
284,068 | String (@NotNull String url) { return url.replaceAll("/$", ""); } | normalizeUrl |
284,069 | void (@NotNull CefSchemeRegistrar registrar) { registrar.addCustomScheme(SOURCE_SCHEME, true, true, false, false, false, false, false); } | registerCustomScheme |
284,070 | String () { return SOURCE_SCHEME; } | getSchemeName |
284,071 | String () { return ""; } | getDomainName |
284,072 | CefResourceHandler (CefBrowser browser, CefFrame frame, String schemeName, CefRequest request) { return new JBCefSourceSchemeHandler(); } | create |
284,073 | void (@NotNull String name, @NotNull Class<?> type) { TYPES.put(name, type); } | setType |
284,074 | Action () { return new DialogWrapper.OkAction() { @Override protected void doAction(ActionEvent e) { myCredentials = new Credentials(myLoginField.getText(), String.valueOf(myPasswordField.getPassword())); super.doAction(e); } }; } | getOKAction |
284,075 | void (ActionEvent e) { myCredentials = new Credentials(myLoginField.getText(), String.valueOf(myPasswordField.getPassword())); super.doAction(e); } | doAction |
284,076 | void () { init(); super.show(); } | show |
284,077 | String () { return myFunc.myFuncName; } | getFuncName |
284,078 | JBCefJSQuery (@NotNull JBCefBrowserBase browser) { Function<Void, JBCefJSQuery> create = (v) -> { return new JBCefJSQuery(browser, new JSQueryFunc(browser.getJBCefClient())); }; if (!browser.isCefBrowserCreateStarted()) { return create.apply(null); } JSQueryPool pool = browser.getJBCefClient().getJSQueryPool(); JSQueryFunc slot; if (pool != null && (slot = pool.useFreeSlot()) != null) { return new JBCefJSQuery(browser, slot); } Logger.getInstance(JBCefJSQuery.class). warn("Set the property JBCefClient.Properties.JS_QUERY_POOL_SIZE to use JBCefJSQuery after the browser has been created", new IllegalStateException()); // this query will produce en error in JS debug console like: "Uncaught TypeError: window.cefQuery_0123456789_1 is not a function" return create.apply(null); } | create |
284,079 | JBCefJSQuery (@NotNull JBCefBrowser browser) { return create((JBCefBrowserBase)browser); } | create |
284,080 | String (@Nullable String queryResult) { return inject(queryResult, "function(response) {}", "function(error_code, error_message) {}"); } | inject |
284,081 | String (@Nullable String queryResult, @NotNull String onSuccessCallback, @NotNull String onFailureCallback) { checkDisposed(); if (queryResult != null && queryResult.isEmpty()) queryResult = "''"; return "window." + myFunc.myFuncName + "({request: '' + " + queryResult + "," + "onSuccess: " + onSuccessCallback + "," + "onFailure: " + onFailureCallback + "});"; } | inject |
284,082 | void (@NotNull Function<? super String, ? extends Response> handler) { checkDisposed(); CefMessageRouterHandler cefHandler; myFunc.myRouter.addHandler(cefHandler = new CefMessageRouterHandlerAdapter() { @Override public boolean onQuery(CefBrowser browser, CefFrame frame, long query_id, String request, boolean persistent, CefQueryCallback callback) { if (DEBUG_JS) CefLog.Debug("onQuery: browser=%s, frame=%s, qid=%d, request=%s", browser, frame, query_id, request); Response response = handler.apply(request); if (callback != null && response != null) { if (response.isSuccess() && response.hasResponse()) { callback.success(response.response()); } else { callback.failure(response.errCode(), response.errMsg()); } } else if (callback != null) { callback.success(""); } return true; } @Override public void onQueryCanceled(CefBrowser browser, CefFrame frame, long queryId) { if (DEBUG_JS) CefLog.Debug("onQueryCanceled: browser=%s, frame=%s, qid=%d", browser, frame, queryId); } }, false); myHandlerMap.put(handler, cefHandler); } | addHandler |
284,083 | boolean (CefBrowser browser, CefFrame frame, long query_id, String request, boolean persistent, CefQueryCallback callback) { if (DEBUG_JS) CefLog.Debug("onQuery: browser=%s, frame=%s, qid=%d, request=%s", browser, frame, query_id, request); Response response = handler.apply(request); if (callback != null && response != null) { if (response.isSuccess() && response.hasResponse()) { callback.success(response.response()); } else { callback.failure(response.errCode(), response.errMsg()); } } else if (callback != null) { callback.success(""); } return true; } | onQuery |
284,084 | void (CefBrowser browser, CefFrame frame, long queryId) { if (DEBUG_JS) CefLog.Debug("onQueryCanceled: browser=%s, frame=%s, qid=%d", browser, frame, queryId); } | onQueryCanceled |
284,085 | void (@NotNull Function<? super String, ? extends Response> function) { CefMessageRouterHandler cefHandler; cefHandler = myHandlerMap.remove(function); if (cefHandler != null) { myFunc.myRouter.removeHandler(cefHandler); } } | removeHandler |
284,086 | void () { List<Function<? super String, ? extends Response>> functions = new ArrayList<>(myHandlerMap.size()); // Collection.synchronizedMap object is the internal mutex for the collection. synchronized (myHandlerMap) { myHandlerMap.forEach((func, handler) -> functions.add(func)); } functions.forEach(func -> removeHandler(func)); } | clearHandlers |
284,087 | void () { myDisposeHelper.dispose(() -> { if (myFunc.myIsSlot) { JSQueryPool pool = myJBCefClient.getJSQueryPool(); if (pool != null) { clearHandlers(); pool.releaseUsedSlot(myFunc); return; } } myJBCefClient.getCefClient().removeMessageRouter(myFunc.myRouter); myFunc.myRouter.dispose(); myHandlerMap.clear(); }); } | dispose |
284,088 | boolean () { return myDisposeHelper.isDisposed(); } | isDisposed |
284,089 | void () { if (isDisposed()) throw new IllegalStateException("the JS query has been disposed"); } | checkDisposed |
284,090 | int () { return myErrCode; } | errCode |
284,091 | boolean () { return myErrCode == ERR_CODE_SUCCESS; } | isSuccess |
284,092 | boolean () { return myResponse != null; } | hasResponse |
284,093 | JBCefBrowserBuilder (boolean isOffScreenRendering) { myIsOffScreenRendering = isOffScreenRendering; return this; } | setOffScreenRendering |
284,094 | JBCefBrowserBuilder (@Nullable JBCefClient client) { myClient = client; return this; } | setClient |
284,095 | JBCefBrowserBuilder (@Nullable String url) { myUrl = url; return this; } | setUrl |
284,096 | JBCefBrowserBuilder (@Nullable CefBrowser browser) { myCefBrowser = browser; return this; } | setCefBrowser |
284,097 | JBCefBrowserBuilder (boolean createImmediately) { myCreateImmediately = createImmediately; return this; } | setCreateImmediately |
284,098 | JBCefBrowserBuilder (@Nullable JBCefOSRHandlerFactory factory) { myOSRHandlerFactory = factory; return this; } | setOSRHandlerFactory |
284,099 | JBCefBrowserBuilder (boolean enableOpenDevToolsMenuItem) { myEnableOpenDevToolsMenuItem = enableOpenDevToolsMenuItem; return this; } | setEnableOpenDevToolsMenuItem |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.