blob: 6aa9b08fefc99599db89e57e521bce2f23c80292 [file] [log] [blame]
<html><body><p><font size="+1"><strong>Package org.eclipse.wst.xsl.ui.internal.style</strong></font></p><hr><h2><font size="-1"><strong>org.eclipse.wst.xsl.ui.internal.style</strong></font><br>
Class XSLTextAttributeMap</h2><br><hr><pre>public class <strong>XSLTextAttributeMap</strong>
extends java.lang.Object</pre>Handles the mapping of the Style Constants to Text Attributes for XSL.<p></p><p></p><hr><table width="100%" border="1"><tr cols="2" bgcolor="#CCCCFF"><td colspan="2" width="100%"><h2>Method Summary</h2></td></tr><tr valign="top"><td width="20%" align="right"><code>protected void</code></td><td width="" align="left"><code><a href="#method_addXSLTextAttribute">addXSLTextAttribute</a>(java.lang.String colorKey)</code><br>
&nbsp;&nbsp;&nbsp;&nbsp;
</td></tr><tr valign="top"><td width="20%" align="right"><code>protected TextAttribute</code></td><td width="" align="left"><code><a href="#method_createTextAttribute">createTextAttribute</a>(RGB foreground
,
RGB background
,
int style)</code><br>
&nbsp;&nbsp;&nbsp;&nbsp;
</td></tr><tr valign="top"><td width="20%" align="right"><code>public static org.eclipse.wst.xsl.ui.internal.style.XSLTextAttributeMap</code></td><td width="" align="left"><code><a href="#method_getInstance">getInstance</a>()</code><br>
&nbsp;&nbsp;&nbsp;&nbsp;
Returns an instance of XSLTextAttributeMap</td></tr><tr valign="top"><td width="20%" align="right"><code>public java.util.Map</code></td><td width="" align="left"><code><a href="#method_getTextAttributeMap">getTextAttributeMap</a>()</code><br>
&nbsp;&nbsp;&nbsp;&nbsp;
Get's a Map of XSL Style Constants to Text Attributes.</td></tr></table><hr><table cols="2" width="100%" border="1"><tr colspan="2" width="100%" bgcolor="#CCCCFF" align="left"><td><h2>
Methods Detail
</h2></td></tr></table><h2><a name="method_addXSLTextAttribute">addXSLTextAttribute</a></h2><p><code>protected void <strong>addXSLTextAttribute</strong>(java.lang.String colorKey)</code></p><p></p><h3>Parameters</h3><p><code>colorKey</code></p><hr><h2><a name="method_createTextAttribute">createTextAttribute</a></h2><p><code>protected TextAttribute <strong>createTextAttribute</strong>(RGB foreground
,
RGB background
,
int style)</code></p><p></p><h3>Parameters</h3><p><code>foreground</code></p><p><code>background</code></p><p><code>style</code></p><h3>Returns</h3><p><code>TextAttribute</code></p><hr><h2><a name="method_getInstance">getInstance</a></h2><p><code>public org.eclipse.wst.xsl.ui.internal.style.XSLTextAttributeMap <strong>getInstance</strong>()</code></p><p>Returns an instance of XSLTextAttributeMap</p><h3>Returns</h3><p><code>org.eclipse.wst.xsl.ui.internal.style.XSLTextAttributeMap</code></p><hr><h2><a name="method_getTextAttributeMap">getTextAttributeMap</a></h2><p><code>public java.util.Map <strong>getTextAttributeMap</strong>()</code></p><p>Get's a Map of XSL Style Constants to Text Attributes.</p><h3>Returns</h3><p><code>java.util.Map</code></p><hr></body></html>