@TagName(value="style")
public class OMSVGStyle
extends com.google.gwt.dom.client.Style
com.google.gwt.dom.client.Style.BorderStyle, com.google.gwt.dom.client.Style.Clear, com.google.gwt.dom.client.Style.Cursor, com.google.gwt.dom.client.Style.Display, com.google.gwt.dom.client.Style.Float, com.google.gwt.dom.client.Style.FontStyle, com.google.gwt.dom.client.Style.FontWeight, com.google.gwt.dom.client.Style.HasCssName, com.google.gwt.dom.client.Style.ListStyleType, com.google.gwt.dom.client.Style.OutlineStyle, com.google.gwt.dom.client.Style.Overflow, com.google.gwt.dom.client.Style.Position, com.google.gwt.dom.client.Style.TableLayout, com.google.gwt.dom.client.Style.TextAlign, com.google.gwt.dom.client.Style.TextDecoration, com.google.gwt.dom.client.Style.TextJustify, com.google.gwt.dom.client.Style.TextOverflow, com.google.gwt.dom.client.Style.TextTransform, com.google.gwt.dom.client.Style.Unit, com.google.gwt.dom.client.Style.VerticalAlign, com.google.gwt.dom.client.Style.Visibility, com.google.gwt.dom.client.Style.WhiteSpace
Modifier | Constructor and Description |
---|---|
protected |
OMSVGStyle()
Constructor
|
Modifier and Type | Method and Description |
---|---|
void |
clearSVGProperty(String name)
Clears the value of a named property, causing it to
revert to its default.
|
String |
getSVGProperty(String name)
Gets the value of a named property.
|
OMCSSValue |
getSVGPropertyCSS(String name)
Gets the value of a named property as a CSS value.
|
void |
setSVGProperty(String name,
String value)
Sets the value of a named property.
|
clearBackgroundColor, clearBackgroundImage, clearBorderColor, clearBorderStyle, clearBorderWidth, clearBottom, clearClear, clearColor, clearCursor, clearDisplay, clearFloat, clearFontSize, clearFontStyle, clearFontWeight, clearHeight, clearLeft, clearLineHeight, clearListStyleType, clearMargin, clearMarginBottom, clearMarginLeft, clearMarginRight, clearMarginTop, clearOpacity, clearOutlineColor, clearOutlineStyle, clearOutlineWidth, clearOverflow, clearOverflowX, clearOverflowY, clearPadding, clearPaddingBottom, clearPaddingLeft, clearPaddingRight, clearPaddingTop, clearPosition, clearProperty, clearRight, clearTableLayout, clearTextAlign, clearTextDecoration, clearTextIndent, clearTextJustify, clearTextOverflow, clearTextTransform, clearTop, clearVisibility, clearWhiteSpace, clearWidth, clearZIndex, getBackgroundColor, getBackgroundImage, getBorderColor, getBorderStyle, getBorderWidth, getBottom, getClear, getColor, getCursor, getDisplay, getFontSize, getFontStyle, getFontWeight, getHeight, getLeft, getLineHeight, getListStyleType, getMargin, getMarginBottom, getMarginLeft, getMarginRight, getMarginTop, getOpacity, getOverflow, getOverflowX, getOverflowY, getPadding, getPaddingBottom, getPaddingLeft, getPaddingRight, getPaddingTop, getPosition, getProperty, getRight, getTableLayout, getTextAlign, getTextDecoration, getTextIndent, getTextJustify, getTextOverflow, getTextTransform, getTop, getVerticalAlign, getVisibility, getWhiteSpace, getWidth, getZIndex, setBackgroundColor, setBackgroundImage, setBorderColor, setBorderStyle, setBorderWidth, setBottom, setClear, setColor, setCursor, setDisplay, setFloat, setFontSize, setFontStyle, setFontWeight, setHeight, setLeft, setLineHeight, setListStyleType, setMargin, setMarginBottom, setMarginLeft, setMarginRight, setMarginTop, setOpacity, setOutlineColor, setOutlineStyle, setOutlineWidth, setOverflow, setOverflowX, setOverflowY, setPadding, setPaddingBottom, setPaddingLeft, setPaddingRight, setPaddingTop, setPosition, setProperty, setProperty, setPropertyPx, setRight, setTableLayout, setTextAlign, setTextDecoration, setTextIndent, setTextJustify, setTextOverflow, setTextTransform, setTop, setVerticalAlign, setVerticalAlign, setVisibility, setWhiteSpace, setWidth, setZIndex
protected static CSSHelper cssHelper
public final void clearSVGProperty(String name)
name
- The property namepublic final String getSVGProperty(String name)
name
- The property namepublic final void setSVGProperty(String name, String value)
name
- The property namevalue
- The property namepublic final OMCSSValue getSVGPropertyCSS(String name)
OMSVGPaint
values.name
- The name of CSS propertyCopyright © 2018. All Rights Reserved.