blob: 3d1218e3f49e92816374a13f9b3861e6966af0d5 [file] [log] [blame]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (1.8.0_201) on Thu Jul 23 15:58:31 CEST 2020 -->
<title>XYGraphMediaFactory</title>
<meta name="date" content="2020-07-23">
<link rel="stylesheet" type="text/css" href="../../../../../../stylesheet.css" title="Style">
<script type="text/javascript" src="../../../../../../script.js"></script>
</head>
<body>
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="XYGraphMediaFactory";
}
}
catch(err) {
}
//-->
var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10,"i10":9,"i11":10,"i12":10,"i13":10};
var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
var altColor = "altColor";
var rowColor = "rowColor";
var tableTab = "tableTab";
var activeTableTab = "activeTableTab";
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar.top">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.top.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../../../overview-summary.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="class-use/XYGraphMediaFactory.html">Use</a></li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../../../index-files/index-1.html">Index</a></li>
<li><a href="../../../../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../../../../org/eclipse/nebula/visualization/xygraph/util/SWTConstants.html" title="class in org.eclipse.nebula.visualization.xygraph.util"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li>Next&nbsp;Class</li>
</ul>
<ul class="navList">
<li><a href="../../../../../../index.html?org/eclipse/nebula/visualization/xygraph/util/XYGraphMediaFactory.html" target="_top">Frames</a></li>
<li><a href="XYGraphMediaFactory.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li><a href="#field.summary">Field</a>&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li><a href="#field.detail">Field</a>&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a name="skip.navbar.top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<!-- ======== START OF CLASS DATA ======== -->
<div class="header">
<div class="subTitle">org.eclipse.nebula.visualization.xygraph.util</div>
<h2 title="Class XYGraphMediaFactory" class="title">Class XYGraphMediaFactory</h2>
</div>
<div class="contentContainer">
<ul class="inheritance">
<li>java.lang.Object</li>
<li>
<ul class="inheritance">
<li>org.eclipse.nebula.visualization.xygraph.util.XYGraphMediaFactory</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<hr>
<br>
<pre>public final class <span class="typeNameLabel">XYGraphMediaFactory</span>
extends java.lang.Object</pre>
<div class="block">A factory, which provides convenience methods for the creation of Images and
Fonts.
All resources created via this factory get automatically disposed, when the
application is stopped.</div>
<dl>
<dt><span class="simpleTagLabel">Version:</span></dt>
<dd>$Revision$</dd>
</dl>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- =========== FIELD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="field.summary">
<!-- -->
</a>
<h3>Field Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Field Summary table, listing fields, and an explanation">
<caption><span>Fields</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Field and Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static org.eclipse.swt.graphics.RGB</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/eclipse/nebula/visualization/xygraph/util/XYGraphMediaFactory.html#COLOR_BLACK">COLOR_BLACK</a></span></code>
<div class="block">the color for black</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static org.eclipse.swt.graphics.RGB</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/eclipse/nebula/visualization/xygraph/util/XYGraphMediaFactory.html#COLOR_BLUE">COLOR_BLUE</a></span></code>
<div class="block">the color for blue</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static org.eclipse.swt.graphics.RGB</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/eclipse/nebula/visualization/xygraph/util/XYGraphMediaFactory.html#COLOR_CYAN">COLOR_CYAN</a></span></code>
<div class="block">the color for cyan</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static org.eclipse.swt.graphics.RGB</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/eclipse/nebula/visualization/xygraph/util/XYGraphMediaFactory.html#COLOR_DARK_GRAY">COLOR_DARK_GRAY</a></span></code>
<div class="block">the color for dark gray</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static org.eclipse.swt.graphics.RGB</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/eclipse/nebula/visualization/xygraph/util/XYGraphMediaFactory.html#COLOR_GRAY">COLOR_GRAY</a></span></code>
<div class="block">the color for gray</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static org.eclipse.swt.graphics.RGB</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/eclipse/nebula/visualization/xygraph/util/XYGraphMediaFactory.html#COLOR_GREEN">COLOR_GREEN</a></span></code>
<div class="block">the color for green</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static org.eclipse.swt.graphics.RGB</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/eclipse/nebula/visualization/xygraph/util/XYGraphMediaFactory.html#COLOR_LIGHT_BLUE">COLOR_LIGHT_BLUE</a></span></code>
<div class="block">the color for light blue</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static org.eclipse.swt.graphics.RGB</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/eclipse/nebula/visualization/xygraph/util/XYGraphMediaFactory.html#COLOR_ORANGE">COLOR_ORANGE</a></span></code>
<div class="block">the color for orange</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static org.eclipse.swt.graphics.RGB</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/eclipse/nebula/visualization/xygraph/util/XYGraphMediaFactory.html#COLOR_PINK">COLOR_PINK</a></span></code>
<div class="block">the color for pink</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static org.eclipse.swt.graphics.RGB</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/eclipse/nebula/visualization/xygraph/util/XYGraphMediaFactory.html#COLOR_PURPLE">COLOR_PURPLE</a></span></code>
<div class="block">the color for orange</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static org.eclipse.swt.graphics.RGB</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/eclipse/nebula/visualization/xygraph/util/XYGraphMediaFactory.html#COLOR_RED">COLOR_RED</a></span></code>
<div class="block">the color for red</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static org.eclipse.swt.graphics.RGB</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/eclipse/nebula/visualization/xygraph/util/XYGraphMediaFactory.html#COLOR_WHITE">COLOR_WHITE</a></span></code>
<div class="block">the color for white</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static org.eclipse.swt.graphics.RGB</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/eclipse/nebula/visualization/xygraph/util/XYGraphMediaFactory.html#COLOR_YELLOW">COLOR_YELLOW</a></span></code>
<div class="block">the color for yellow</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static java.lang.String</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/eclipse/nebula/visualization/xygraph/util/XYGraphMediaFactory.html#CURSOR_GRABBING_ON_AXIS_PATH">CURSOR_GRABBING_ON_AXIS_PATH</a></span></code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static java.lang.String</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/eclipse/nebula/visualization/xygraph/util/XYGraphMediaFactory.html#CURSOR_GRABBING_PATH">CURSOR_GRABBING_PATH</a></span></code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static org.eclipse.swt.graphics.FontData</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/eclipse/nebula/visualization/xygraph/util/XYGraphMediaFactory.html#FONT_ARIAL">FONT_ARIAL</a></span></code>
<div class="block">the font for Arial in height of 9</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static org.eclipse.swt.graphics.FontData</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/eclipse/nebula/visualization/xygraph/util/XYGraphMediaFactory.html#FONT_TAHOMA">FONT_TAHOMA</a></span></code>
<div class="block">the font for Tahoma in height of 9</div>
</td>
</tr>
</table>
</li>
</ul>
<!-- ========== METHOD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="method.summary">
<!-- -->
</a>
<h3>Method Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd">&nbsp;</span></span><span id="t1" class="tableTab"><span><a href="javascript:show(1);">Static Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd">&nbsp;</span></span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tr id="i0" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/eclipse/nebula/visualization/xygraph/util/XYGraphMediaFactory.html#disposeResources--">disposeResources</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i1" class="rowColor">
<td class="colFirst"><code>org.eclipse.swt.graphics.Color</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/eclipse/nebula/visualization/xygraph/util/XYGraphMediaFactory.html#getColor-int-int-int-">getColor</a></span>(int&nbsp;r,
int&nbsp;g,
int&nbsp;b)</code>
<div class="block">Create the <code>Color</code> for the given color information.</div>
</td>
</tr>
<tr id="i2" class="altColor">
<td class="colFirst"><code>org.eclipse.swt.graphics.Color</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/eclipse/nebula/visualization/xygraph/util/XYGraphMediaFactory.html#getColor-org.eclipse.swt.graphics.RGB-">getColor</a></span>(org.eclipse.swt.graphics.RGB&nbsp;rgb)</code>
<div class="block">Create the <code>Color</code> for the given <code>RGB</code>.</div>
</td>
</tr>
<tr id="i3" class="rowColor">
<td class="colFirst"><code>org.eclipse.swt.graphics.Cursor</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/eclipse/nebula/visualization/xygraph/util/XYGraphMediaFactory.html#getCursor-java.lang.String-">getCursor</a></span>(java.lang.String&nbsp;cursorImagePath)</code>&nbsp;</td>
</tr>
<tr id="i4" class="altColor">
<td class="colFirst"><code>org.eclipse.swt.graphics.Font</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/eclipse/nebula/visualization/xygraph/util/XYGraphMediaFactory.html#getDefaultFont-int-">getDefaultFont</a></span>(int&nbsp;style)</code>
<div class="block">Return the system's default font.</div>
</td>
</tr>
<tr id="i5" class="rowColor">
<td class="colFirst"><code>org.eclipse.swt.graphics.Font</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/eclipse/nebula/visualization/xygraph/util/XYGraphMediaFactory.html#getFont-org.eclipse.swt.graphics.FontData-">getFont</a></span>(org.eclipse.swt.graphics.FontData&nbsp;fontData)</code>
<div class="block">Create the <code>Font</code> for the given <code>FontData</code> and the
given style code.</div>
</td>
</tr>
<tr id="i6" class="altColor">
<td class="colFirst"><code>org.eclipse.swt.graphics.Font</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/eclipse/nebula/visualization/xygraph/util/XYGraphMediaFactory.html#getFont-org.eclipse.swt.graphics.FontData:A-">getFont</a></span>(org.eclipse.swt.graphics.FontData[]&nbsp;fontData)</code>
<div class="block">Create the <code>Font</code> for the given <code>FontData</code>.</div>
</td>
</tr>
<tr id="i7" class="rowColor">
<td class="colFirst"><code>org.eclipse.swt.graphics.Font</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/eclipse/nebula/visualization/xygraph/util/XYGraphMediaFactory.html#getFont-org.eclipse.swt.graphics.FontData:A-int-">getFont</a></span>(org.eclipse.swt.graphics.FontData[]&nbsp;fontData,
int&nbsp;style)</code>
<div class="block">Create the <code>Font</code> for the given <code>FontData</code> and the
given style code.</div>
</td>
</tr>
<tr id="i8" class="altColor">
<td class="colFirst"><code>org.eclipse.swt.graphics.Font</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/eclipse/nebula/visualization/xygraph/util/XYGraphMediaFactory.html#getFont-java.lang.String-int-int-">getFont</a></span>(java.lang.String&nbsp;name,
int&nbsp;height,
int&nbsp;style)</code>
<div class="block">Create the <code>Font</code> for the given information.</div>
</td>
</tr>
<tr id="i9" class="rowColor">
<td class="colFirst"><code>org.eclipse.swt.graphics.Image</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/eclipse/nebula/visualization/xygraph/util/XYGraphMediaFactory.html#getImage-java.lang.String-">getImage</a></span>(java.lang.String&nbsp;relativePath)</code>
<div class="block">Load the <code>Image</code> from the given path in the given plugin.</div>
</td>
</tr>
<tr id="i10" class="altColor">
<td class="colFirst"><code>static <a href="../../../../../../org/eclipse/nebula/visualization/xygraph/util/XYGraphMediaFactory.html" title="class in org.eclipse.nebula.visualization.xygraph.util">XYGraphMediaFactory</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/eclipse/nebula/visualization/xygraph/util/XYGraphMediaFactory.html#getInstance--">getInstance</a></span>()</code>
<div class="block">Return the shared instance of this class.</div>
</td>
</tr>
<tr id="i11" class="rowColor">
<td class="colFirst"><code>org.eclipse.swt.graphics.Image</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/eclipse/nebula/visualization/xygraph/util/XYGraphMediaFactory.html#getRegisteredImage-java.lang.String-">getRegisteredImage</a></span>(java.lang.String&nbsp;key)</code>&nbsp;</td>
</tr>
<tr id="i12" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/eclipse/nebula/visualization/xygraph/util/XYGraphMediaFactory.html#registerCursor-java.lang.String-org.eclipse.swt.graphics.Cursor-">registerCursor</a></span>(java.lang.String&nbsp;key,
org.eclipse.swt.graphics.Cursor&nbsp;cursor)</code>
<div class="block">Register the cursor so it can be disposed when the plugin stopped.</div>
</td>
</tr>
<tr id="i13" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/eclipse/nebula/visualization/xygraph/util/XYGraphMediaFactory.html#registerImage-java.lang.String-org.eclipse.swt.graphics.Image-">registerImage</a></span>(java.lang.String&nbsp;key,
org.eclipse.swt.graphics.Image&nbsp;img)</code>
<div class="block">Register the image to imageRegistry so it can be disposed when Display
disposed.</div>
</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;java.lang.Object</h3>
<code>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</code></li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ============ FIELD DETAIL =========== -->
<ul class="blockList">
<li class="blockList"><a name="field.detail">
<!-- -->
</a>
<h3>Field Detail</h3>
<a name="CURSOR_GRABBING_PATH">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>CURSOR_GRABBING_PATH</h4>
<pre>public static final&nbsp;java.lang.String CURSOR_GRABBING_PATH</pre>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../../../constant-values.html#org.eclipse.nebula.visualization.xygraph.util.XYGraphMediaFactory.CURSOR_GRABBING_PATH">Constant Field Values</a></dd>
</dl>
</li>
</ul>
<a name="CURSOR_GRABBING_ON_AXIS_PATH">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>CURSOR_GRABBING_ON_AXIS_PATH</h4>
<pre>public static final&nbsp;java.lang.String CURSOR_GRABBING_ON_AXIS_PATH</pre>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../../../constant-values.html#org.eclipse.nebula.visualization.xygraph.util.XYGraphMediaFactory.CURSOR_GRABBING_ON_AXIS_PATH">Constant Field Values</a></dd>
</dl>
</li>
</ul>
<a name="COLOR_LIGHT_BLUE">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>COLOR_LIGHT_BLUE</h4>
<pre>public static final&nbsp;org.eclipse.swt.graphics.RGB COLOR_LIGHT_BLUE</pre>
<div class="block">the color for light blue</div>
</li>
</ul>
<a name="COLOR_BLUE">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>COLOR_BLUE</h4>
<pre>public static final&nbsp;org.eclipse.swt.graphics.RGB COLOR_BLUE</pre>
<div class="block">the color for blue</div>
</li>
</ul>
<a name="COLOR_WHITE">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>COLOR_WHITE</h4>
<pre>public static final&nbsp;org.eclipse.swt.graphics.RGB COLOR_WHITE</pre>
<div class="block">the color for white</div>
</li>
</ul>
<a name="COLOR_GRAY">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>COLOR_GRAY</h4>
<pre>public static final&nbsp;org.eclipse.swt.graphics.RGB COLOR_GRAY</pre>
<div class="block">the color for gray</div>
</li>
</ul>
<a name="COLOR_DARK_GRAY">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>COLOR_DARK_GRAY</h4>
<pre>public static final&nbsp;org.eclipse.swt.graphics.RGB COLOR_DARK_GRAY</pre>
<div class="block">the color for dark gray</div>
</li>
</ul>
<a name="COLOR_BLACK">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>COLOR_BLACK</h4>
<pre>public static final&nbsp;org.eclipse.swt.graphics.RGB COLOR_BLACK</pre>
<div class="block">the color for black</div>
</li>
</ul>
<a name="COLOR_RED">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>COLOR_RED</h4>
<pre>public static final&nbsp;org.eclipse.swt.graphics.RGB COLOR_RED</pre>
<div class="block">the color for red</div>
</li>
</ul>
<a name="COLOR_GREEN">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>COLOR_GREEN</h4>
<pre>public static final&nbsp;org.eclipse.swt.graphics.RGB COLOR_GREEN</pre>
<div class="block">the color for green</div>
</li>
</ul>
<a name="COLOR_YELLOW">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>COLOR_YELLOW</h4>
<pre>public static final&nbsp;org.eclipse.swt.graphics.RGB COLOR_YELLOW</pre>
<div class="block">the color for yellow</div>
</li>
</ul>
<a name="COLOR_PINK">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>COLOR_PINK</h4>
<pre>public static final&nbsp;org.eclipse.swt.graphics.RGB COLOR_PINK</pre>
<div class="block">the color for pink</div>
</li>
</ul>
<a name="COLOR_CYAN">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>COLOR_CYAN</h4>
<pre>public static final&nbsp;org.eclipse.swt.graphics.RGB COLOR_CYAN</pre>
<div class="block">the color for cyan</div>
</li>
</ul>
<a name="COLOR_ORANGE">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>COLOR_ORANGE</h4>
<pre>public static final&nbsp;org.eclipse.swt.graphics.RGB COLOR_ORANGE</pre>
<div class="block">the color for orange</div>
</li>
</ul>
<a name="COLOR_PURPLE">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>COLOR_PURPLE</h4>
<pre>public static final&nbsp;org.eclipse.swt.graphics.RGB COLOR_PURPLE</pre>
<div class="block">the color for orange</div>
</li>
</ul>
<a name="FONT_ARIAL">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>FONT_ARIAL</h4>
<pre>public static final&nbsp;org.eclipse.swt.graphics.FontData FONT_ARIAL</pre>
<div class="block">the font for Arial in height of 9</div>
</li>
</ul>
<a name="FONT_TAHOMA">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>FONT_TAHOMA</h4>
<pre>public static final&nbsp;org.eclipse.swt.graphics.FontData FONT_TAHOMA</pre>
<div class="block">the font for Tahoma in height of 9</div>
</li>
</ul>
</li>
</ul>
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method.detail">
<!-- -->
</a>
<h3>Method Detail</h3>
<a name="disposeResources--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>disposeResources</h4>
<pre>public&nbsp;void&nbsp;disposeResources()</pre>
</li>
</ul>
<a name="getCursor-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getCursor</h4>
<pre>public&nbsp;org.eclipse.swt.graphics.Cursor&nbsp;getCursor(java.lang.String&nbsp;cursorImagePath)</pre>
</li>
</ul>
<a name="getInstance--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getInstance</h4>
<pre>public static&nbsp;<a href="../../../../../../org/eclipse/nebula/visualization/xygraph/util/XYGraphMediaFactory.html" title="class in org.eclipse.nebula.visualization.xygraph.util">XYGraphMediaFactory</a>&nbsp;getInstance()</pre>
<div class="block">Return the shared instance of this class.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>The shared instance of this class.</dd>
</dl>
</li>
</ul>
<a name="getColor-int-int-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getColor</h4>
<pre>public&nbsp;org.eclipse.swt.graphics.Color&nbsp;getColor(int&nbsp;r,
int&nbsp;g,
int&nbsp;b)</pre>
<div class="block">Create the <code>Color</code> for the given color information.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>r</code> - red</dd>
<dd><code>g</code> - green</dd>
<dd><code>b</code> - blue</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>The <code>Color</code> for the given color information.</dd>
</dl>
</li>
</ul>
<a name="getColor-org.eclipse.swt.graphics.RGB-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getColor</h4>
<pre>public&nbsp;org.eclipse.swt.graphics.Color&nbsp;getColor(org.eclipse.swt.graphics.RGB&nbsp;rgb)</pre>
<div class="block">Create the <code>Color</code> for the given <code>RGB</code>.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>rgb</code> - A <code>RGB</code> object.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>The <code>Color</code> for the given <code>RGB</code>.</dd>
</dl>
</li>
</ul>
<a name="getFont-java.lang.String-int-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getFont</h4>
<pre>public&nbsp;org.eclipse.swt.graphics.Font&nbsp;getFont(java.lang.String&nbsp;name,
int&nbsp;height,
int&nbsp;style)</pre>
<div class="block">Create the <code>Font</code> for the given information.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>name</code> - The font name.</dd>
<dd><code>height</code> - The font height.</dd>
<dd><code>style</code> - The font style.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>The <code>Font</code> for the given information.</dd>
</dl>
</li>
</ul>
<a name="getFont-org.eclipse.swt.graphics.FontData:A-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getFont</h4>
<pre>public&nbsp;org.eclipse.swt.graphics.Font&nbsp;getFont(org.eclipse.swt.graphics.FontData[]&nbsp;fontData)</pre>
<div class="block">Create the <code>Font</code> for the given <code>FontData</code>.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>fontData</code> - The <code>FontData</code></dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>The <code>Font</code> for the given <code>FontData</code></dd>
</dl>
</li>
</ul>
<a name="getFont-org.eclipse.swt.graphics.FontData:A-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getFont</h4>
<pre>public&nbsp;org.eclipse.swt.graphics.Font&nbsp;getFont(org.eclipse.swt.graphics.FontData[]&nbsp;fontData,
int&nbsp;style)</pre>
<div class="block">Create the <code>Font</code> for the given <code>FontData</code> and the
given style code.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>fontData</code> - The <code>FontData</code></dd>
<dd><code>style</code> - The style code.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>The <code>Font</code> for the given <code>FontData</code> and the
given style code.</dd>
</dl>
</li>
</ul>
<a name="getFont-org.eclipse.swt.graphics.FontData-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getFont</h4>
<pre>public&nbsp;org.eclipse.swt.graphics.Font&nbsp;getFont(org.eclipse.swt.graphics.FontData&nbsp;fontData)</pre>
<div class="block">Create the <code>Font</code> for the given <code>FontData</code> and the
given style code.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>fontData</code> - The <code>FontData</code></dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>The <code>Font</code> for the given <code>FontData</code> and the
given style code.</dd>
</dl>
</li>
</ul>
<a name="getDefaultFont-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getDefaultFont</h4>
<pre>public&nbsp;org.eclipse.swt.graphics.Font&nbsp;getDefaultFont(int&nbsp;style)</pre>
<div class="block">Return the system's default font.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>style</code> - additional styles, e.g. SWT.Bold</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>The system's default font.</dd>
</dl>
</li>
</ul>
<a name="registerImage-java.lang.String-org.eclipse.swt.graphics.Image-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>registerImage</h4>
<pre>public&nbsp;void&nbsp;registerImage(java.lang.String&nbsp;key,
org.eclipse.swt.graphics.Image&nbsp;img)</pre>
<div class="block">Register the image to imageRegistry so it can be disposed when Display
disposed.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>key</code> - </dd>
<dd><code>img</code> - </dd>
</dl>
</li>
</ul>
<a name="getRegisteredImage-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getRegisteredImage</h4>
<pre>public&nbsp;org.eclipse.swt.graphics.Image&nbsp;getRegisteredImage(java.lang.String&nbsp;key)</pre>
</li>
</ul>
<a name="getImage-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getImage</h4>
<pre>public&nbsp;org.eclipse.swt.graphics.Image&nbsp;getImage(java.lang.String&nbsp;relativePath)</pre>
<div class="block">Load the <code>Image</code> from the given path in the given plugin.
Usually, this is the image found via the the given plug-in relative path.
But this implementation also supports a hack for testing: If no plugin is
running, because for example this is an SWT-only test, the path is used
as is, i.e. relative to the current directory.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>relativePath</code> - The image's relative path to the root of the plugin.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>The <code>Image</code> from the given path in the given plugin.</dd>
</dl>
</li>
</ul>
<a name="registerCursor-java.lang.String-org.eclipse.swt.graphics.Cursor-">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>registerCursor</h4>
<pre>public&nbsp;void&nbsp;registerCursor(java.lang.String&nbsp;key,
org.eclipse.swt.graphics.Cursor&nbsp;cursor)</pre>
<div class="block">Register the cursor so it can be disposed when the plugin stopped.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>cursor</code> - </dd>
</dl>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
</div>
<!-- ========= END OF CLASS DATA ========= -->
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar.bottom">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.bottom.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../../../overview-summary.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="class-use/XYGraphMediaFactory.html">Use</a></li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../../../index-files/index-1.html">Index</a></li>
<li><a href="../../../../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../../../../org/eclipse/nebula/visualization/xygraph/util/SWTConstants.html" title="class in org.eclipse.nebula.visualization.xygraph.util"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li>Next&nbsp;Class</li>
</ul>
<ul class="navList">
<li><a href="../../../../../../index.html?org/eclipse/nebula/visualization/xygraph/util/XYGraphMediaFactory.html" target="_top">Frames</a></li>
<li><a href="XYGraphMediaFactory.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li><a href="#field.summary">Field</a>&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li><a href="#field.detail">Field</a>&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a name="skip.navbar.bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
</body>
</html>