JavaScript is disabled on your browser.
Skip navigation links
org.htmlunit.html.impl

Class SimpleSelectionDelegate

    • Constructor Detail

      • SimpleSelectionDelegate

        public SimpleSelectionDelegate()
    • Method Detail

      • getSelectionStart

        public int getSelectionStart()
        Returns the start position of the selected text in the owner element.
        Specified by:
        getSelectionStart in interface SelectionDelegate
        Returns:
        the start position of the selected text in the owner element
      • setSelectionStart

        public void setSelectionStart(int selectionStart)
        Sets the start position of the selected text in the owner element.
        Specified by:
        setSelectionStart in interface SelectionDelegate
        Parameters:
        selectionStart - the start position of the selected text in the owner element
      • getSelectionEnd

        public int getSelectionEnd()
        Returns the end position of the selected text in the owner element.
        Specified by:
        getSelectionEnd in interface SelectionDelegate
        Returns:
        the end position of the selected text in the owner element
      • setSelectionEnd

        public void setSelectionEnd(int selectionEnd)
        Sets the end position of the selected text in the owner element.
        Specified by:
        setSelectionEnd in interface SelectionDelegate
        Parameters:
        selectionEnd - the end position of the selected text in the owner element
Skip navigation links

Copyright © 2002–2025 Gargoyle Software Inc.. All rights reserved.

AltStyle によって変換されたページ (->オリジナル) /