Documentation of 'org.jdesktop.swingx.autocomplete.AutoCompleteStyledDocument' Java class
AutoCompleteStyledDocument
org.jdesktop.swingx.autocomplete

Class AutoCompleteStyledDocument

  • All Implemented Interfaces:
    javax.swing.text.Document, javax.swing.text.StyledDocument


    public class AutoCompleteStyledDocument
    extends AutoCompleteDocument
    implements javax.swing.text.StyledDocument
    • Constructor Detail

      • AutoCompleteStyledDocument

        public AutoCompleteStyledDocument(AbstractAutoCompleteAdaptor adaptor,
                                          boolean strictMatching,
                                          ObjectToStringConverter stringConverter,
                                          javax.swing.text.StyledDocument delegate)
        Parameters:
        adaptor -
        strictMatching -
        stringConverter -
        delegate -
      • AutoCompleteStyledDocument

        public AutoCompleteStyledDocument(AbstractAutoCompleteAdaptor adaptor,
                                          boolean strictMatching)
        Parameters:
        adaptor -
        strictMatching -
    • Method Detail

      • addStyle

        public javax.swing.text.Style addStyle(java.lang.String nm,
                                               javax.swing.text.Style parent)
        Specified by:
        addStyle in interface javax.swing.text.StyledDocument
      • getBackground

        public java.awt.Color getBackground(javax.swing.text.AttributeSet attr)
        Specified by:
        getBackground in interface javax.swing.text.StyledDocument
      • getCharacterElement

        public javax.swing.text.Element getCharacterElement(int pos)
        Specified by:
        getCharacterElement in interface javax.swing.text.StyledDocument
      • getFont

        public java.awt.Font getFont(javax.swing.text.AttributeSet attr)
        Specified by:
        getFont in interface javax.swing.text.StyledDocument
      • getForeground

        public java.awt.Color getForeground(javax.swing.text.AttributeSet attr)
        Specified by:
        getForeground in interface javax.swing.text.StyledDocument
      • getLogicalStyle

        public javax.swing.text.Style getLogicalStyle(int p)
        Specified by:
        getLogicalStyle in interface javax.swing.text.StyledDocument
      • getParagraphElement

        public javax.swing.text.Element getParagraphElement(int pos)
        Specified by:
        getParagraphElement in interface javax.swing.text.StyledDocument
      • getStyle

        public javax.swing.text.Style getStyle(java.lang.String nm)
        Specified by:
        getStyle in interface javax.swing.text.StyledDocument
      • removeStyle

        public void removeStyle(java.lang.String nm)
        Specified by:
        removeStyle in interface javax.swing.text.StyledDocument
      • setCharacterAttributes

        public void setCharacterAttributes(int offset,
                                           int length,
                                           javax.swing.text.AttributeSet s,
                                           boolean replace)
        Specified by:
        setCharacterAttributes in interface javax.swing.text.StyledDocument
      • setLogicalStyle

        public void setLogicalStyle(int pos,
                                    javax.swing.text.Style s)
        Specified by:
        setLogicalStyle in interface javax.swing.text.StyledDocument
      • setParagraphAttributes

        public void setParagraphAttributes(int offset,
                                           int length,
                                           javax.swing.text.AttributeSet s,
                                           boolean replace)
        Specified by:
        setParagraphAttributes in interface javax.swing.text.StyledDocument

DataMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.