Class SheetJsniUtil


  • public class SheetJsniUtil
    extends Object
    • Constructor Detail

      • SheetJsniUtil

        public SheetJsniUtil()
    • Method Detail

      • parseColRow

        public final void parseColRow​(String str)
      • getParsedCol

        public int getParsedCol()
      • getParsedRow

        public int getParsedRow()
      • isHeader

        public final int isHeader​(String str)
        returns 1 for row 2 for column 0 for not header
      • parseHeaderIndex

        public final int parseHeaderIndex​(String str)
        returns the header index
      • convertUnicodeIntoCharacter

        public final String convertUnicodeIntoCharacter​(int charCode)
      • insertRule

        public int insertRule​(com.google.gwt.dom.client.StyleElement stylesheet,
                              String css)
        Insert one CSS rule to the end of given stylesheet
      • deleteRule

        public void deleteRule​(com.google.gwt.dom.client.StyleElement stylesheet,
                               int ruleindex)
      • replaceSelector

        public int replaceSelector​(com.google.gwt.dom.client.StyleElement stylesheet,
                                   String selector,
                                   int ruleindex)
      • clearCSSRules

        public void clearCSSRules​(com.google.gwt.dom.client.StyleElement stylesheet)
        Clears the rules starting from the given index
      • getOverlayRules

        public String[] getOverlayRules​(com.google.gwt.dom.client.StyleElement stylesheet,
                                        String[] overlaySelectors)
        Gets all Overlay rules