Class AbstractTextStyleChooser

    • Constructor Detail

      • AbstractTextStyleChooser

        public AbstractTextStyleChooser()
        Constructor.
    • Method Detail

      • checkElement

        public abstract boolean checkElement​(StyledDocument doc,
                                             Element element,
                                             int offset)
        Should return true if position fulfils criteria.
        Parameters:
        doc - a styled document to be searched.
        element - an element to be checked.
        offset - checked position.
        Returns:
        true if position fits the criteria.