javax.swing.text.html
Class CSS.ShorthandMarginParser
java.lang.Object
javax.swing.text.html.CSS.ShorthandMarginParser
- Enclosing class:
- CSS
- static class CSS.ShorthandMarginParser
- extends Object
Used to parser margin and padding.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CSS.ShorthandMarginParser
CSS.ShorthandMarginParser()
parseShorthandMargin
static void parseShorthandMargin(CSS css,
String value,
MutableAttributeSet attr,
CSS.Attribute[] names)
- Parses the shorthand margin/padding/border string
value
, placing the result in attr
.
names
give the 4 instrinsic property names.