Class SheetJsniUtil

java.lang.Object
com.vaadin.addon.spreadsheet.client.SheetJsniUtil

public class SheetJsniUtil extends Object
  • Constructor Details

    • SheetJsniUtil

      public SheetJsniUtil()
  • Method Details

    • 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
    • getVirtualChild

      public static com.google.gwt.dom.client.Element getVirtualChild(String nodeId, String appId)
    • getComposedPath

      public static com.google.gwt.dom.client.Element[] getComposedPath(com.google.gwt.user.client.Event event)
    • getAssignedElements

      public static com.google.gwt.dom.client.Element[] getAssignedElements(com.google.gwt.dom.client.Element slot)