Class CefBrowserOsrCustom

java.lang.Object
org.cef.callback.CefNativeAdapter
org.cef.browser.CefBrowserOsrWithHandler
net.mcreator.ui.chromium.osr.CefBrowserOsrCustom
All Implemented Interfaces:
org.cef.browser.CefBrowser, org.cef.callback.CefNative, org.cef.handler.CefAppStateHandler

public class CefBrowserOsrCustom extends org.cef.browser.CefBrowserOsrWithHandler
  • Constructor Details

    • CefBrowserOsrCustom

      public CefBrowserOsrCustom(org.cef.CefClient client, String url, org.cef.browser.CefRendering.CefRenderingWithHandler renderingWithHandler, boolean isTransparent)
  • Method Details

    • createImmediately

      public void createImmediately()
      Specified by:
      createImmediately in interface org.cef.browser.CefBrowser
      Overrides:
      createImmediately in class org.cef.browser.CefBrowserOsrWithHandler
    • createDevToolsBrowser

      protected org.cef.browser.CefBrowser createDevToolsBrowser(org.cef.CefClient client, String url, org.cef.browser.CefRequestContext context, org.cef.browser.CefBrowser parent, Point inspectAt)
      Overrides:
      createDevToolsBrowser in class org.cef.browser.CefBrowserOsrWithHandler
    • getNativeWindowHandle

      public static long getNativeWindowHandle(Component component)
    • getUrl

      protected String getUrl()
    • getParentBrowser

      protected org.cef.browser.CefBrowser_N getParentBrowser()
    • getInspectAt

      protected Point getInspectAt()
    • stateHasChanged

      public void stateHasChanged(org.cef.CefApp.CefAppState arg0)
      Specified by:
      stateHasChanged in interface org.cef.handler.CefAppStateHandler
    • isClosed

      public boolean isClosed()
      Specified by:
      isClosed in interface org.cef.browser.CefBrowser
    • isClosing

      public boolean isClosing()
      Specified by:
      isClosing in interface org.cef.browser.CefBrowser
    • getClient

      public org.cef.CefClient getClient()
      Specified by:
      getClient in interface org.cef.browser.CefBrowser
    • getRequestContext

      public org.cef.browser.CefRequestContext getRequestContext()
      Specified by:
      getRequestContext in interface org.cef.browser.CefBrowser
    • getWindowHandler

      public org.cef.handler.CefWindowHandler getWindowHandler()
      Specified by:
      getWindowHandler in interface org.cef.browser.CefBrowser
    • setCloseAllowed

      public void setCloseAllowed()
      Specified by:
      setCloseAllowed in interface org.cef.browser.CefBrowser
    • doClose

      public boolean doClose()
      Specified by:
      doClose in interface org.cef.browser.CefBrowser
    • onBeforeClose

      public void onBeforeClose()
      Specified by:
      onBeforeClose in interface org.cef.browser.CefBrowser
    • openDevTools

      public void openDevTools()
      Specified by:
      openDevTools in interface org.cef.browser.CefBrowser
    • openDevTools

      public void openDevTools(Point arg0)
      Specified by:
      openDevTools in interface org.cef.browser.CefBrowser
    • getDevToolsClient

      public org.cef.browser.CefDevToolsClient getDevToolsClient()
      Specified by:
      getDevToolsClient in interface org.cef.browser.CefBrowser
    • createBrowser

      protected void createBrowser(org.cef.handler.CefClientHandler arg0, long arg1, String arg2, boolean arg3, boolean arg4, Component arg5)
    • createDevTools

      protected final void createDevTools(org.cef.browser.CefBrowser_N arg0, org.cef.handler.CefClientHandler arg1, long arg2, boolean arg3, boolean arg4, Component arg5, Point arg6)
    • getWindowHandle

      protected final long getWindowHandle(long arg0)
    • finalize

      protected void finalize() throws Throwable
      Overrides:
      finalize in class Object
      Throws:
      Throwable
    • canGoBack

      public boolean canGoBack()
      Specified by:
      canGoBack in interface org.cef.browser.CefBrowser
    • goBack

      public void goBack()
      Specified by:
      goBack in interface org.cef.browser.CefBrowser
    • canGoForward

      public boolean canGoForward()
      Specified by:
      canGoForward in interface org.cef.browser.CefBrowser
    • goForward

      public void goForward()
      Specified by:
      goForward in interface org.cef.browser.CefBrowser
    • isLoading

      public boolean isLoading()
      Specified by:
      isLoading in interface org.cef.browser.CefBrowser
    • reload

      public void reload()
      Specified by:
      reload in interface org.cef.browser.CefBrowser
    • reloadIgnoreCache

      public void reloadIgnoreCache()
      Specified by:
      reloadIgnoreCache in interface org.cef.browser.CefBrowser
    • stopLoad

      public void stopLoad()
      Specified by:
      stopLoad in interface org.cef.browser.CefBrowser
    • getIdentifier

      public int getIdentifier()
      Specified by:
      getIdentifier in interface org.cef.browser.CefBrowser
    • getMainFrame

      public org.cef.browser.CefFrame getMainFrame()
      Specified by:
      getMainFrame in interface org.cef.browser.CefBrowser
    • getFocusedFrame

      public org.cef.browser.CefFrame getFocusedFrame()
      Specified by:
      getFocusedFrame in interface org.cef.browser.CefBrowser
    • getFrameByIdentifier

      public org.cef.browser.CefFrame getFrameByIdentifier(String arg0)
      Specified by:
      getFrameByIdentifier in interface org.cef.browser.CefBrowser
    • getFrameByName

      public org.cef.browser.CefFrame getFrameByName(String arg0)
      Specified by:
      getFrameByName in interface org.cef.browser.CefBrowser
    • getFrameIdentifiers

      public Vector<String> getFrameIdentifiers()
      Specified by:
      getFrameIdentifiers in interface org.cef.browser.CefBrowser
    • getFrameNames

      public Vector<String> getFrameNames()
      Specified by:
      getFrameNames in interface org.cef.browser.CefBrowser
    • getFrameCount

      public int getFrameCount()
      Specified by:
      getFrameCount in interface org.cef.browser.CefBrowser
    • isPopup

      public boolean isPopup()
      Specified by:
      isPopup in interface org.cef.browser.CefBrowser
    • hasDocument

      public boolean hasDocument()
      Specified by:
      hasDocument in interface org.cef.browser.CefBrowser
    • viewSource

      public void viewSource()
      Specified by:
      viewSource in interface org.cef.browser.CefBrowser
    • getSource

      public void getSource(org.cef.callback.CefStringVisitor arg0)
      Specified by:
      getSource in interface org.cef.browser.CefBrowser
    • getText

      public void getText(org.cef.callback.CefStringVisitor arg0)
      Specified by:
      getText in interface org.cef.browser.CefBrowser
    • loadRequest

      public void loadRequest(org.cef.network.CefRequest arg0)
      Specified by:
      loadRequest in interface org.cef.browser.CefBrowser
    • loadURL

      public void loadURL(String arg0)
      Specified by:
      loadURL in interface org.cef.browser.CefBrowser
    • executeJavaScript

      public void executeJavaScript(String arg0, String arg1, int arg2)
      Specified by:
      executeJavaScript in interface org.cef.browser.CefBrowser
    • getURL

      public String getURL()
      Specified by:
      getURL in interface org.cef.browser.CefBrowser
    • close

      public void close(boolean arg0)
      Specified by:
      close in interface org.cef.browser.CefBrowser
    • setFocus

      public void setFocus(boolean arg0)
      Specified by:
      setFocus in interface org.cef.browser.CefBrowser
    • setWindowVisibility

      public void setWindowVisibility(boolean arg0)
      Specified by:
      setWindowVisibility in interface org.cef.browser.CefBrowser
    • getZoomLevel

      public double getZoomLevel()
      Specified by:
      getZoomLevel in interface org.cef.browser.CefBrowser
    • setZoomLevel

      public void setZoomLevel(double arg0)
      Specified by:
      setZoomLevel in interface org.cef.browser.CefBrowser
    • runFileDialog

      public void runFileDialog(org.cef.handler.CefDialogHandler.FileDialogMode arg0, String arg1, String arg2, Vector<String> arg3, org.cef.callback.CefRunFileDialogCallback arg4)
      Specified by:
      runFileDialog in interface org.cef.browser.CefBrowser
    • startDownload

      public void startDownload(String arg0)
      Specified by:
      startDownload in interface org.cef.browser.CefBrowser
    • print

      public void print()
      Specified by:
      print in interface org.cef.browser.CefBrowser
    • printToPDF

      public void printToPDF(String arg0, org.cef.misc.CefPdfPrintSettings arg1, org.cef.callback.CefPdfPrintCallback arg2)
      Specified by:
      printToPDF in interface org.cef.browser.CefBrowser
    • find

      public void find(String arg0, boolean arg1, boolean arg2, boolean arg3)
      Specified by:
      find in interface org.cef.browser.CefBrowser
    • stopFinding

      public void stopFinding(boolean arg0)
      Specified by:
      stopFinding in interface org.cef.browser.CefBrowser
    • closeDevTools

      public void closeDevTools()
      Specified by:
      closeDevTools in interface org.cef.browser.CefBrowser
    • replaceMisspelling

      public void replaceMisspelling(String arg0)
      Specified by:
      replaceMisspelling in interface org.cef.browser.CefBrowser
    • wasResized

      public final void wasResized(int arg0, int arg1)
      Specified by:
      wasResized in interface org.cef.browser.CefBrowser
    • notifyScreenInfoChanged

      public void notifyScreenInfoChanged()
      Specified by:
      notifyScreenInfoChanged in interface org.cef.browser.CefBrowser
    • invalidate

      public final void invalidate()
      Specified by:
      invalidate in interface org.cef.browser.CefBrowser
    • sendKeyEvent

      public final void sendKeyEvent(KeyEvent arg0)
      Specified by:
      sendKeyEvent in interface org.cef.browser.CefBrowser
    • sendMouseEvent

      public final void sendMouseEvent(MouseEvent arg0)
      Specified by:
      sendMouseEvent in interface org.cef.browser.CefBrowser
    • sendMouseWheelEvent

      public final void sendMouseWheelEvent(MouseWheelEvent arg0)
      Specified by:
      sendMouseWheelEvent in interface org.cef.browser.CefBrowser
    • sendTouchEvent

      public void sendTouchEvent(org.cef.input.CefTouchEvent arg0)
      Specified by:
      sendTouchEvent in interface org.cef.browser.CefBrowser
    • dragTargetDragEnter

      protected final void dragTargetDragEnter(org.cef.callback.CefDragData arg0, Point arg1, int arg2, int arg3)
    • dragTargetDragOver

      protected final void dragTargetDragOver(Point arg0, int arg1, int arg2)
    • dragTargetDragLeave

      protected final void dragTargetDragLeave()
    • dragTargetDrop

      protected final void dragTargetDrop(Point arg0, int arg1)
    • dragSourceEndedAt

      protected final void dragSourceEndedAt(Point arg0, int arg1)
    • dragSourceSystemDragEnded

      protected final void dragSourceSystemDragEnded()
    • updateUI

      protected final void updateUI(Rectangle arg0, Rectangle arg1)
    • setParent

      protected final void setParent(long arg0, Component arg1)
    • notifyMoveOrResizeStarted

      protected final void notifyMoveOrResizeStarted()
    • ImeSetComposition

      public final void ImeSetComposition(String arg0, List<org.cef.input.CefCompositionUnderline> arg1, org.cef.misc.CefRange arg2, org.cef.misc.CefRange arg3)
      Specified by:
      ImeSetComposition in interface org.cef.browser.CefBrowser
    • ImeCommitText

      public final void ImeCommitText(String arg0, org.cef.misc.CefRange arg1, int arg2)
      Specified by:
      ImeCommitText in interface org.cef.browser.CefBrowser
    • ImeFinishComposingText

      public final void ImeFinishComposingText(boolean arg0)
      Specified by:
      ImeFinishComposingText in interface org.cef.browser.CefBrowser
    • ImeCancelComposing

      public final void ImeCancelComposing()
      Specified by:
      ImeCancelComposing in interface org.cef.browser.CefBrowser
    • setWindowlessFrameRate

      public void setWindowlessFrameRate(int arg0)
      Specified by:
      setWindowlessFrameRate in interface org.cef.browser.CefBrowser
    • getWindowlessFrameRate

      public CompletableFuture<Integer> getWindowlessFrameRate()
      Specified by:
      getWindowlessFrameRate in interface org.cef.browser.CefBrowser