File tree Expand file tree Collapse file tree 1 file changed +12
-0
lines changed
src/main/java/com/gargoylesoftware/css/dom Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -33,6 +33,11 @@ public class CSSFontFaceRuleImpl extends AbstractCSSRuleImpl {
33
33
34
34
private CSSStyleDeclarationImpl style_ ;
35
35
36
+ /**
37
+ * Ctor.
38
+ * @param parentStyleSheet the parent style sheet
39
+ * @param parentRule the parent rule
40
+ */
36
41
public CSSFontFaceRuleImpl (final CSSStyleSheetImpl parentStyleSheet , final AbstractCSSRuleImpl parentRule ) {
37
42
super (parentStyleSheet , parentRule );
38
43
}
@@ -94,10 +99,17 @@ public void setCssText(final String cssText) throws DOMException {
94
99
}
95
100
}
96
101
102
+ /**
103
+ * @return the style
104
+ */
97
105
public CSSStyleDeclarationImpl getStyle () {
98
106
return style_ ;
99
107
}
100
108
109
+ /**
110
+ * Sets the style to a new one.
111
+ * @param style the new style
112
+ */
101
113
public void setStyle (final CSSStyleDeclarationImpl style ) {
102
114
style_ = style ;
103
115
}
You can’t perform that action at this time.
0 commit comments