Lines Matching refs:Style
93 * Style rule = styles.getStyle(name);
132 // a CSS selector (such as p.bar) and a Style.
144 // specificity and potentially a Style.
189 public Style getRule(HTML.Tag t, Element e) {
253 Style style = getResolvedStyle(cacheLookup.toString(),
267 * The attributes of the returned Style will change
270 * of "p" the returned Style would include the new attributes from
273 public Style getRule(String selector) {
276 Style style = getResolvedStyle(selector);
357 Style aStyle = getStyle(nm);
368 Style rule = mapping.getStyle();
1008 Style rule = getStyle(selectorName);
1015 Style altRule = addStyle(selectorName, null);
1237 private Style getLinkedStyle(Style localStyle) {
1244 Style retStyle = (Style)localStyle.getResolveParent();
1256 private synchronized Style getResolvedStyle(String selector,
1259 Style retStyle = resolvedStyles.get(selector);
1270 private synchronized Style getResolvedStyle(String selector) {
1271 Style retStyle = resolvedStyles.get(selector);
1314 Style style = parentMapping.getStyle();
1362 * Creates and returns a Style containing all the rules that match
1365 private synchronized Style createResolvedStyle(String selector,
1413 // Create a new Style that will delegate to all the matching
1443 * Creates and returns a Style containing all the rules that
1453 private Style createResolvedStyle(String selector, Vector elements,
1507 * Creates and returns a Style containing all the rules that match
1511 private Style createResolvedStyle(String selector) {
1658 Style newStyle,
2774 * A subclass of MuxingAttributeSet that implements Style. Currently
2781 // implement Style.
2783 Serializable, Style {
2791 * Inserts a Style into the receiver so that the styles the
2796 synchronized void insertStyle(Style style, int specificity) {
2801 if (specificity > getSpecificity(((Style)attrs[counter]).
2814 synchronized void removeStyle(Style style) {
2832 synchronized void insertExtendedStyleAt(Style attr, int index) {
2840 synchronized void addExtendedStyle(Style attr) {
3006 /** The name of the Style, which is the selector.
3017 * Style. It can also reference children <code>SelectorMapping</code>s,
3036 * Sets the Style associated with this mapping.
3038 public void setStyle(Style style) {
3043 * Returns the Style associated with this mapping.
3045 public Style getStyle() {
3115 * Style for this selector.
3117 private Style style;
3137 /** Maps from selector (as a string) to Style that includes all