Class SheetJsniUtil
- java.lang.Object
-
- com.vaadin.addon.spreadsheet.client.SheetJsniUtil
-
public class SheetJsniUtil extends Object
-
-
Constructor Summary
Constructors Constructor Description SheetJsniUtil()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclearCSSRules(com.google.gwt.dom.client.StyleElement stylesheet)Clears the rules starting from the given indexStringconvertUnicodeIntoCharacter(int charCode)voiddeleteRule(com.google.gwt.dom.client.StyleElement stylesheet, int ruleindex)String[]getOverlayRules(com.google.gwt.dom.client.StyleElement stylesheet, String[] overlaySelectors)Gets all Overlay rulesintgetParsedCol()intgetParsedRow()static com.google.gwt.dom.client.ElementgetVirtualChild(String nodeId, String appId)intinsertRule(com.google.gwt.dom.client.StyleElement stylesheet, String css)Insert one CSS rule to the end of given stylesheetintisHeader(String str)returns 1 for row 2 for column 0 for not headervoidparseColRow(String str)intparseHeaderIndex(String str)returns the header indexintreplaceSelector(com.google.gwt.dom.client.StyleElement stylesheet, String selector, int ruleindex)
-
-
-
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
-
-