blob: a9f135c8330994456c415cdf91a61b9a89557c9c [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:36 CEST 2020 -->
<title>GanttChart</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="GanttChart";
}
}
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":10,"i11":10,"i12":10,"i13":10,"i14":10,"i15":10,"i16":10,"i17":10,"i18":10,"i19":10,"i20":10};
var tabs = {65535:["t0","All 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/GanttChart.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/widgets/ganttchart/DefaultSettings.html" title="class in org.eclipse.nebula.widgets.ganttchart"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../../../../org/eclipse/nebula/widgets/ganttchart/GanttCheckpoint.html" title="class in org.eclipse.nebula.widgets.ganttchart"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../../index.html?org/eclipse/nebula/widgets/ganttchart/GanttChart.html" target="_top">Frames</a></li>
<li><a href="GanttChart.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="#fields.inherited.from.class.org.eclipse.swt.widgets.Control">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#constructor.detail">Constr</a>&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.widgets.ganttchart</div>
<h2 title="Class GanttChart" class="title">Class GanttChart</h2>
</div>
<div class="contentContainer">
<ul class="inheritance">
<li>java.lang.Object</li>
<li>
<ul class="inheritance">
<li>org.eclipse.swt.widgets.Widget</li>
<li>
<ul class="inheritance">
<li>org.eclipse.swt.widgets.Control</li>
<li>
<ul class="inheritance">
<li>org.eclipse.swt.widgets.Scrollable</li>
<li>
<ul class="inheritance">
<li>org.eclipse.swt.widgets.Composite</li>
<li>
<ul class="inheritance">
<li>org.eclipse.nebula.widgets.ganttchart.GanttChart</li>
</ul>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<dl>
<dt>All Implemented Interfaces:</dt>
<dd>org.eclipse.swt.graphics.Drawable</dd>
</dl>
<hr>
<br>
<pre>public class <span class="typeNameLabel">GanttChart</span>
extends org.eclipse.swt.widgets.Composite</pre>
<div class="block"><b>GanttChart - SWT Widget - 2005-2011. Version 2.0 &copy; Emil Crumhorn - emil dot crumhorn at gmail dot com.</b>
<p>
<b>Website</b><br>
If you want more info or more documentation, please visit: <a href="http://www.hexapixel.com/">http://www.hexapixel.com/</a>
<p>
<b>Description</b><br>
The GANTT widget has taken hints from Microsoft Project as far as arrow styles and overall look and feel goes. There are features such as dependencies, checkpoints, revised
dates, and much more. Nearly everything is customizable and you can zoom in to detailed day views all the way out to yearly overviews (12 zoom levels). Events can be resized,
dragged and dropped and various other things.
<p>
The widget is extremely simple to use for those wishing a basic implementation, or you can customize everything down to the pixel level if you so wish. Basically, if you don't
like something, change it!
<p>
Important note: This class exposes a few select methods from the actual GanttComposite (where all the magic happens). If you are looking for a specific method and can't find it
here, do a call to getGanttComposite() and see if the method you are looking for is located there.
<p>
Example creation code:
<p>
<code>
GanttChart ganttChart = new GanttChart(parentComposite, SWT.NONE);
<br><br>
Calendar calStart = Calendar.getInstance();<br>
Calendar calEnd = Calendar.getInstance();<br>
calEnd.add(Calendar.DATE, 10);<br>
// set the data object to null, and percentage complete to 50<br>
GanttEvent event = new GanttEvent(ganttChart, "Project X", calStart, calEnd, 50);<br>
</code>
<p>
<b>Customizing</b><br>
As you may wish to customize the widget beyond the capabilities it already has, there are a few ways you may basically take control over as much or little as you please. First,
there are four interfaces that are of importance. They are the IPaintManager, the IColorManager, the ISettings and the ILanguageManager. Let's start with the IColorManager.
<p>
<b>IColorManager</b><br>
If you don't specify a color manager, the DefaultColorManager will be used. The color manager's job is to return colors to the method that is painting everything that is visual
in the chart. The colors that are returned from the ColorManager will determine everything as far as looks go.
<p>
<b>IPaintManager</b><br>
This interface is one you want to use if you want to dig really deep into how things are drawn. This class by default controls exactly how an event is represented visually,
pixel by pixel. If you don't like the look of a certain object on the chart, this is the interface you will want to implement.
<p>
<b>ISettings</b><br>
This interface is probably the most likely that you will be implementing on your own. Mainly this interface controls pixel values (widths, heights, multipliers) and various
boolean flags (if events can be moved, resized, etc).
<p>
<b>ILanguageManager</b><br>
Should you wish to use a different language than English, this is the interface to implement where you can override all the English text strings with whatever you wish.</div>
<dl>
<dt><span class="simpleTagLabel">Version:</span></dt>
<dd>2.0</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>
<ul class="blockList">
<li class="blockList"><a name="fields.inherited.from.class.org.eclipse.swt.widgets.Control">
<!-- -->
</a>
<h3>Fields inherited from class&nbsp;org.eclipse.swt.widgets.Control</h3>
<code>handle</code></li>
</ul>
</li>
</ul>
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor.summary">
<!-- -->
</a>
<h3>Constructor Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
<caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colOne" scope="col">Constructor and Description</th>
</tr>
<tr class="altColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/ganttchart/GanttChart.html#GanttChart-org.eclipse.swt.widgets.Composite-int-">GanttChart</a></span>(org.eclipse.swt.widgets.Composite&nbsp;parent,
int&nbsp;style)</code>
<div class="block">Constructs a new GANTT chart widget.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/ganttchart/GanttChart.html#GanttChart-org.eclipse.swt.widgets.Composite-int-org.eclipse.nebula.widgets.ganttchart.ISettings-">GanttChart</a></span>(org.eclipse.swt.widgets.Composite&nbsp;parent,
int&nbsp;style,
<a href="../../../../../org/eclipse/nebula/widgets/ganttchart/ISettings.html" title="interface in org.eclipse.nebula.widgets.ganttchart">ISettings</a>&nbsp;settings)</code>
<div class="block">Constructs a new GANTT chart widget with custom settings <a href="../../../../../org/eclipse/nebula/widgets/ganttchart/ISettings.html" title="interface in org.eclipse.nebula.widgets.ganttchart"><code>ISettings</code></a>.</div>
</td>
</tr>
<tr class="altColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/ganttchart/GanttChart.html#GanttChart-org.eclipse.swt.widgets.Composite-int-org.eclipse.nebula.widgets.ganttchart.ISettings-org.eclipse.nebula.widgets.ganttchart.IColorManager-">GanttChart</a></span>(org.eclipse.swt.widgets.Composite&nbsp;parent,
int&nbsp;style,
<a href="../../../../../org/eclipse/nebula/widgets/ganttchart/ISettings.html" title="interface in org.eclipse.nebula.widgets.ganttchart">ISettings</a>&nbsp;settings,
<a href="../../../../../org/eclipse/nebula/widgets/ganttchart/IColorManager.html" title="interface in org.eclipse.nebula.widgets.ganttchart">IColorManager</a>&nbsp;colorManager)</code>
<div class="block">Constructs a new GANTT chart widget with custom settings and a custom color manager <a href="../../../../../org/eclipse/nebula/widgets/ganttchart/IColorManager.html" title="interface in org.eclipse.nebula.widgets.ganttchart"><code>IColorManager</code></a>.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/ganttchart/GanttChart.html#GanttChart-org.eclipse.swt.widgets.Composite-int-org.eclipse.nebula.widgets.ganttchart.ISettings-org.eclipse.nebula.widgets.ganttchart.IColorManager-org.eclipse.nebula.widgets.ganttchart.IPaintManager-org.eclipse.nebula.widgets.ganttchart.ILanguageManager-">GanttChart</a></span>(org.eclipse.swt.widgets.Composite&nbsp;parent,
int&nbsp;style,
<a href="../../../../../org/eclipse/nebula/widgets/ganttchart/ISettings.html" title="interface in org.eclipse.nebula.widgets.ganttchart">ISettings</a>&nbsp;settings,
<a href="../../../../../org/eclipse/nebula/widgets/ganttchart/IColorManager.html" title="interface in org.eclipse.nebula.widgets.ganttchart">IColorManager</a>&nbsp;colorManager,
<a href="../../../../../org/eclipse/nebula/widgets/ganttchart/IPaintManager.html" title="interface in org.eclipse.nebula.widgets.ganttchart">IPaintManager</a>&nbsp;paintManager,
<a href="../../../../../org/eclipse/nebula/widgets/ganttchart/ILanguageManager.html" title="interface in org.eclipse.nebula.widgets.ganttchart">ILanguageManager</a>&nbsp;languageManager)</code>
<div class="block">Constructs a new GANTT chart widget with custom settings, custom color manager <a href="../../../../../org/eclipse/nebula/widgets/ganttchart/IColorManager.html" title="interface in org.eclipse.nebula.widgets.ganttchart"><code>IColorManager</code></a>, a custom paint manager
<a href="../../../../../org/eclipse/nebula/widgets/ganttchart/IPaintManager.html" title="interface in org.eclipse.nebula.widgets.ganttchart"><code>IPaintManager</code></a> and a custom language manager <a href="../../../../../org/eclipse/nebula/widgets/ganttchart/ILanguageManager.html" title="interface in org.eclipse.nebula.widgets.ganttchart"><code>ILanguageManager</code></a>.</div>
</td>
</tr>
<tr class="altColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/ganttchart/GanttChart.html#GanttChart-org.eclipse.swt.widgets.Composite-int-org.eclipse.nebula.widgets.ganttchart.ISettings-org.eclipse.nebula.widgets.ganttchart.IColorManager-org.eclipse.nebula.widgets.ganttchart.IPaintManager-org.eclipse.nebula.widgets.ganttchart.ILanguageManager-java.util.Calendar...-">GanttChart</a></span>(org.eclipse.swt.widgets.Composite&nbsp;parent,
int&nbsp;style,
<a href="../../../../../org/eclipse/nebula/widgets/ganttchart/ISettings.html" title="interface in org.eclipse.nebula.widgets.ganttchart">ISettings</a>&nbsp;settings,
<a href="../../../../../org/eclipse/nebula/widgets/ganttchart/IColorManager.html" title="interface in org.eclipse.nebula.widgets.ganttchart">IColorManager</a>&nbsp;colorManager,
<a href="../../../../../org/eclipse/nebula/widgets/ganttchart/IPaintManager.html" title="interface in org.eclipse.nebula.widgets.ganttchart">IPaintManager</a>&nbsp;paintManager,
<a href="../../../../../org/eclipse/nebula/widgets/ganttchart/ILanguageManager.html" title="interface in org.eclipse.nebula.widgets.ganttchart">ILanguageManager</a>&nbsp;languageManager,
java.util.Calendar...&nbsp;holidays)</code>
<div class="block">Constructs a new GANTT chart widget with custom settings, custom color manager <a href="../../../../../org/eclipse/nebula/widgets/ganttchart/IColorManager.html" title="interface in org.eclipse.nebula.widgets.ganttchart"><code>IColorManager</code></a>, a custom paint manager <a href="../../../../../org/eclipse/nebula/widgets/ganttchart/IPaintManager.html" title="interface in org.eclipse.nebula.widgets.ganttchart"><code>IPaintManager</code></a> and a custom language
manager <a href="../../../../../org/eclipse/nebula/widgets/ganttchart/ILanguageManager.html" title="interface in org.eclipse.nebula.widgets.ganttchart"><code>ILanguageManager</code></a>.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/ganttchart/GanttChart.html#GanttChart-org.eclipse.swt.widgets.Composite-int-org.eclipse.nebula.widgets.ganttchart.ISettings-org.eclipse.nebula.widgets.ganttchart.IColorManager-org.eclipse.nebula.widgets.ganttchart.IPaintManager-org.eclipse.nebula.widgets.ganttchart.ILanguageManager-org.eclipse.nebula.widgets.ganttchart.Holiday...-">GanttChart</a></span>(org.eclipse.swt.widgets.Composite&nbsp;parent,
int&nbsp;style,
<a href="../../../../../org/eclipse/nebula/widgets/ganttchart/ISettings.html" title="interface in org.eclipse.nebula.widgets.ganttchart">ISettings</a>&nbsp;settings,
<a href="../../../../../org/eclipse/nebula/widgets/ganttchart/IColorManager.html" title="interface in org.eclipse.nebula.widgets.ganttchart">IColorManager</a>&nbsp;colorManager,
<a href="../../../../../org/eclipse/nebula/widgets/ganttchart/IPaintManager.html" title="interface in org.eclipse.nebula.widgets.ganttchart">IPaintManager</a>&nbsp;paintManager,
<a href="../../../../../org/eclipse/nebula/widgets/ganttchart/ILanguageManager.html" title="interface in org.eclipse.nebula.widgets.ganttchart">ILanguageManager</a>&nbsp;languageManager,
<a href="../../../../../org/eclipse/nebula/widgets/ganttchart/Holiday.html" title="class in org.eclipse.nebula.widgets.ganttchart">Holiday</a>...&nbsp;holidays)</code>
<div class="block">Constructs a new GANTT chart widget with custom settings, custom color manager <a href="../../../../../org/eclipse/nebula/widgets/ganttchart/IColorManager.html" title="interface in org.eclipse.nebula.widgets.ganttchart"><code>IColorManager</code></a>, a custom paint manager <a href="../../../../../org/eclipse/nebula/widgets/ganttchart/IPaintManager.html" title="interface in org.eclipse.nebula.widgets.ganttchart"><code>IPaintManager</code></a> and a custom language
manager <a href="../../../../../org/eclipse/nebula/widgets/ganttchart/ILanguageManager.html" title="interface in org.eclipse.nebula.widgets.ganttchart"><code>ILanguageManager</code></a>.</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="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/widgets/ganttchart/GanttChart.html#addConnection-org.eclipse.nebula.widgets.ganttchart.GanttEvent-org.eclipse.nebula.widgets.ganttchart.GanttEvent-">addConnection</a></span>(<a href="../../../../../org/eclipse/nebula/widgets/ganttchart/GanttEvent.html" title="class in org.eclipse.nebula.widgets.ganttchart">GanttEvent</a>&nbsp;source,
<a href="../../../../../org/eclipse/nebula/widgets/ganttchart/GanttEvent.html" title="class in org.eclipse.nebula.widgets.ganttchart">GanttEvent</a>&nbsp;target)</code>
<div class="block">Adds a dependency between two events.</div>
</td>
</tr>
<tr id="i1" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/ganttchart/GanttChart.html#addDependency-org.eclipse.nebula.widgets.ganttchart.GanttEvent-org.eclipse.nebula.widgets.ganttchart.GanttEvent-">addDependency</a></span>(<a href="../../../../../org/eclipse/nebula/widgets/ganttchart/GanttEvent.html" title="class in org.eclipse.nebula.widgets.ganttchart">GanttEvent</a>&nbsp;source,
<a href="../../../../../org/eclipse/nebula/widgets/ganttchart/GanttEvent.html" title="class in org.eclipse.nebula.widgets.ganttchart">GanttEvent</a>&nbsp;target)</code>
<div class="block">Same as addConnection().</div>
</td>
</tr>
<tr id="i2" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/ganttchart/GanttChart.html#addGanttEventListener-org.eclipse.nebula.widgets.ganttchart.IGanttEventListener-">addGanttEventListener</a></span>(<a href="../../../../../org/eclipse/nebula/widgets/ganttchart/IGanttEventListener.html" title="interface in org.eclipse.nebula.widgets.ganttchart">IGanttEventListener</a>&nbsp;listener)</code>
<div class="block">Adds an event listener.</div>
</td>
</tr>
<tr id="i3" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/ganttchart/GanttChart.html#addGroup-org.eclipse.nebula.widgets.ganttchart.GanttGroup-">addGroup</a></span>(<a href="../../../../../org/eclipse/nebula/widgets/ganttchart/GanttGroup.html" title="class in org.eclipse.nebula.widgets.ganttchart">GanttGroup</a>&nbsp;group)</code>
<div class="block">Adds a GanttGroup.</div>
</td>
</tr>
<tr id="i4" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/ganttchart/GanttChart.html#addUndoRedoListener-org.eclipse.nebula.widgets.ganttchart.undoredo.IUndoRedoListener-">addUndoRedoListener</a></span>(<a href="../../../../../org/eclipse/nebula/widgets/ganttchart/undoredo/IUndoRedoListener.html" title="interface in org.eclipse.nebula.widgets.ganttchart.undoredo">IUndoRedoListener</a>&nbsp;listener)</code>
<div class="block">Adds a listener to be notified when undo/redo possibilities change</div>
</td>
</tr>
<tr id="i5" class="rowColor">
<td class="colFirst"><code><a href="../../../../../org/eclipse/nebula/widgets/ganttchart/IColorManager.html" title="interface in org.eclipse.nebula.widgets.ganttchart">IColorManager</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/ganttchart/GanttChart.html#getColorManager--">getColorManager</a></span>()</code>
<div class="block">Returns the currently set color manager.</div>
</td>
</tr>
<tr id="i6" class="altColor">
<td class="colFirst"><code><a href="../../../../../org/eclipse/nebula/widgets/ganttchart/GanttComposite.html" title="class in org.eclipse.nebula.widgets.ganttchart">GanttComposite</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/ganttchart/GanttChart.html#getGanttComposite--">getGanttComposite</a></span>()</code>
<div class="block">Returns the widget that is the actual GANTT widget at the root level.</div>
</td>
</tr>
<tr id="i7" class="rowColor">
<td class="colFirst"><code>org.eclipse.swt.widgets.ScrollBar</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/ganttchart/GanttChart.html#getHorizontalBar--">getHorizontalBar</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i8" class="altColor">
<td class="colFirst"><code><a href="../../../../../org/eclipse/nebula/widgets/ganttchart/ILanguageManager.html" title="interface in org.eclipse.nebula.widgets.ganttchart">ILanguageManager</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/ganttchart/GanttChart.html#getLanguageManger--">getLanguageManger</a></span>()</code>
<div class="block">Returns the currently set language manager.</div>
</td>
</tr>
<tr id="i9" class="rowColor">
<td class="colFirst"><code><a href="../../../../../org/eclipse/nebula/widgets/ganttchart/IPaintManager.html" title="interface in org.eclipse.nebula.widgets.ganttchart">IPaintManager</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/ganttchart/GanttChart.html#getPaintManager--">getPaintManager</a></span>()</code>
<div class="block">Returns the currently set paint manager.</div>
</td>
</tr>
<tr id="i10" class="altColor">
<td class="colFirst"><code><a href="../../../../../org/eclipse/nebula/widgets/ganttchart/GanttEvent.html" title="class in org.eclipse.nebula.widgets.ganttchart">GanttEvent</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/ganttchart/GanttChart.html#getRandomEvent--">getRandomEvent</a></span>()</code>
<div class="block">Returns a random GanttEvent, useful for testing.</div>
</td>
</tr>
<tr id="i11" class="rowColor">
<td class="colFirst"><code><a href="../../../../../org/eclipse/nebula/widgets/ganttchart/ISettings.html" title="interface in org.eclipse.nebula.widgets.ganttchart">ISettings</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/ganttchart/GanttChart.html#getSettings--">getSettings</a></span>()</code>
<div class="block">Returns the currently set settings implementor.</div>
</td>
</tr>
<tr id="i12" class="altColor">
<td class="colFirst"><code><a href="../../../../../org/eclipse/nebula/widgets/ganttchart/undoredo/GanttUndoRedoManager.html" title="class in org.eclipse.nebula.widgets.ganttchart.undoredo">GanttUndoRedoManager</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/ganttchart/GanttChart.html#getUndoRedoManager--">getUndoRedoManager</a></span>()</code>
<div class="block">Returns the Undo/Redo manager</div>
</td>
</tr>
<tr id="i13" class="rowColor">
<td class="colFirst"><code>org.eclipse.swt.widgets.ScrollBar</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/ganttchart/GanttChart.html#getVerticalBar--">getVerticalBar</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i14" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/ganttchart/GanttChart.html#print--">print</a></span>()</code>
<div class="block">Will print the GanttChart based on the settings made in the PrintDialog.</div>
</td>
</tr>
<tr id="i15" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/ganttchart/GanttChart.html#redrawGanttChart--">redrawGanttChart</a></span>()</code>
<div class="block">Redraws the GanttChart.</div>
</td>
</tr>
<tr id="i16" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/ganttchart/GanttChart.html#reindex-org.eclipse.nebula.widgets.ganttchart.GanttEvent-int-">reindex</a></span>(<a href="../../../../../org/eclipse/nebula/widgets/ganttchart/GanttEvent.html" title="class in org.eclipse.nebula.widgets.ganttchart">GanttEvent</a>&nbsp;event,
int&nbsp;newIndex)</code>
<div class="block">Re-indexes an event to show at a new location.</div>
</td>
</tr>
<tr id="i17" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/ganttchart/GanttChart.html#removeGanttEventListener-org.eclipse.nebula.widgets.ganttchart.IGanttEventListener-">removeGanttEventListener</a></span>(<a href="../../../../../org/eclipse/nebula/widgets/ganttchart/IGanttEventListener.html" title="interface in org.eclipse.nebula.widgets.ganttchart">IGanttEventListener</a>&nbsp;listener)</code>
<div class="block">Removes and event listener.</div>
</td>
</tr>
<tr id="i18" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/ganttchart/GanttChart.html#removeGroup-org.eclipse.nebula.widgets.ganttchart.GanttGroup-">removeGroup</a></span>(<a href="../../../../../org/eclipse/nebula/widgets/ganttchart/GanttGroup.html" title="class in org.eclipse.nebula.widgets.ganttchart">GanttGroup</a>&nbsp;group)</code>
<div class="block">Removes a GanttGroup.</div>
</td>
</tr>
<tr id="i19" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/ganttchart/GanttChart.html#removeUndoRedoListener-org.eclipse.nebula.widgets.ganttchart.undoredo.IUndoRedoListener-">removeUndoRedoListener</a></span>(<a href="../../../../../org/eclipse/nebula/widgets/ganttchart/undoredo/IUndoRedoListener.html" title="interface in org.eclipse.nebula.widgets.ganttchart.undoredo">IUndoRedoListener</a>&nbsp;listener)</code>
<div class="block">Removes a listener from being notified when undo/redo possibilities change</div>
</td>
</tr>
<tr id="i20" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/ganttchart/GanttChart.html#setGanttChartPrinter-org.eclipse.nebula.widgets.ganttchart.print.GanttChartPrinter-">setGanttChartPrinter</a></span>(<a href="../../../../../org/eclipse/nebula/widgets/ganttchart/print/GanttChartPrinter.html" title="class in org.eclipse.nebula.widgets.ganttchart.print">GanttChartPrinter</a>&nbsp;printer)</code>
<div class="block">Set a different GanttChartPrinter that should be used to print this GanttChart.</div>
</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.org.eclipse.swt.widgets.Composite">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;org.eclipse.swt.widgets.Composite</h3>
<code>changed, checkSubclass, drawBackground, getBackgroundMode, getChildren, getLayout, getLayoutDeferred, getTabList, isLayoutDeferred, layout, layout, layout, layout, layout, setBackgroundMode, setFocus, setLayout, setLayoutDeferred, setTabList</code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.org.eclipse.swt.widgets.Scrollable">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;org.eclipse.swt.widgets.Scrollable</h3>
<code>computeTrim, getClientArea, getScrollbarsMode</code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.org.eclipse.swt.widgets.Control">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;org.eclipse.swt.widgets.Control</h3>
<code>addControlListener, addDragDetectListener, addFocusListener, addGestureListener, addHelpListener, addKeyListener, addMenuDetectListener, addMouseListener, addMouseMoveListener, addMouseTrackListener, addMouseWheelListener, addPaintListener, addTouchListener, addTraverseListener, computeSize, computeSize, dragDetect, dragDetect, forceFocus, getAccessible, getBackground, getBackgroundImage, getBorderWidth, getBounds, getCursor, getDragDetect, getEnabled, getFont, getForeground, getLayoutData, getLocation, getMenu, getMonitor, getOrientation, getParent, getRegion, getShell, getSize, getTextDirection, getToolTipText, getTouchEnabled, getVisible, internal_dispose_GC, internal_new_GC, isEnabled, isFocusControl, isReparentable, isVisible, moveAbove, moveBelow, pack, pack, print, redraw, redraw, removeControlListener, removeDragDetectListener, removeFocusListener, removeGestureListener, removeHelpListener, removeKeyListener, removeMenuDetectListener, removeMouseListener, removeMouseMoveListener, removeMouseTrackListener, removeMouseWheelListener, removePaintListener, removeTouchListener, removeTraverseListener, requestLayout, setBackground, setBackgroundImage, setBounds, setBounds, setCapture, setCursor, setDragDetect, setEnabled, setFont, setForeground, setLayoutData, setLocation, setLocation, setMenu, setOrientation, setParent, setRedraw, setRegion, setSize, setSize, setTextDirection, setToolTipText, setTouchEnabled, setVisible, toControl, toControl, toDisplay, toDisplay, traverse, traverse, traverse, update</code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.org.eclipse.swt.widgets.Widget">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;org.eclipse.swt.widgets.Widget</h3>
<code>addDisposeListener, addListener, checkWidget, dispose, getData, getData, getDisplay, getListeners, getStyle, isAutoDirection, isDisposed, isListening, notifyListeners, removeDisposeListener, removeListener, removeListener, reskin, setData, setData, toString</code></li>
</ul>
<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, wait, wait, wait</code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.org.eclipse.swt.graphics.Drawable">
<!-- -->
</a>
<h3>Methods inherited from interface&nbsp;org.eclipse.swt.graphics.Drawable</h3>
<code>isAutoScalable</code></li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor.detail">
<!-- -->
</a>
<h3>Constructor Detail</h3>
<a name="GanttChart-org.eclipse.swt.widgets.Composite-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>GanttChart</h4>
<pre>public&nbsp;GanttChart(org.eclipse.swt.widgets.Composite&nbsp;parent,
int&nbsp;style)</pre>
<div class="block">Constructs a new GANTT chart widget. For styles, please see <a href="../../../../../org/eclipse/nebula/widgets/ganttchart/GanttFlags.html" title="class in org.eclipse.nebula.widgets.ganttchart"><code>GanttFlags</code></a>.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>parent</code> - Parent composite</dd>
<dd><code>style</code> - Widget style</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>java.lang.IllegalArgumentException</code> - <ul>
<li>ERROR_NULL_ARGUMENT - if the parent is null</li>
</ul></dd>
<dd><code>org.eclipse.swt.SWTException</code> - <ul>
<li>ERROR_THREAD_INVALID_ACCESS - if not called from the thread that created the parent</li> <li>ERROR_INVALID_SUBCLASS - if this class is not an allowed
subclass</li>
</ul></dd>
</dl>
</li>
</ul>
<a name="GanttChart-org.eclipse.swt.widgets.Composite-int-org.eclipse.nebula.widgets.ganttchart.ISettings-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>GanttChart</h4>
<pre>public&nbsp;GanttChart(org.eclipse.swt.widgets.Composite&nbsp;parent,
int&nbsp;style,
<a href="../../../../../org/eclipse/nebula/widgets/ganttchart/ISettings.html" title="interface in org.eclipse.nebula.widgets.ganttchart">ISettings</a>&nbsp;settings)</pre>
<div class="block">Constructs a new GANTT chart widget with custom settings <a href="../../../../../org/eclipse/nebula/widgets/ganttchart/ISettings.html" title="interface in org.eclipse.nebula.widgets.ganttchart"><code>ISettings</code></a>. For styles, please see <a href="../../../../../org/eclipse/nebula/widgets/ganttchart/GanttFlags.html" title="class in org.eclipse.nebula.widgets.ganttchart"><code>GanttFlags</code></a>.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>parent</code> - Parent composite</dd>
<dd><code>style</code> - Widget style</dd>
<dd><code>settings</code> - ISettings implementation or null</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>java.lang.IllegalArgumentException</code> - <ul>
<li>ERROR_NULL_ARGUMENT - if the parent is null</li>
</ul></dd>
<dd><code>org.eclipse.swt.SWTException</code> - <ul>
<li>ERROR_THREAD_INVALID_ACCESS - if not called from the thread that created the parent</li> <li>ERROR_INVALID_SUBCLASS - if this class is not an allowed
subclass</li>
</ul></dd>
</dl>
</li>
</ul>
<a name="GanttChart-org.eclipse.swt.widgets.Composite-int-org.eclipse.nebula.widgets.ganttchart.ISettings-org.eclipse.nebula.widgets.ganttchart.IColorManager-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>GanttChart</h4>
<pre>public&nbsp;GanttChart(org.eclipse.swt.widgets.Composite&nbsp;parent,
int&nbsp;style,
<a href="../../../../../org/eclipse/nebula/widgets/ganttchart/ISettings.html" title="interface in org.eclipse.nebula.widgets.ganttchart">ISettings</a>&nbsp;settings,
<a href="../../../../../org/eclipse/nebula/widgets/ganttchart/IColorManager.html" title="interface in org.eclipse.nebula.widgets.ganttchart">IColorManager</a>&nbsp;colorManager)</pre>
<div class="block">Constructs a new GANTT chart widget with custom settings and a custom color manager <a href="../../../../../org/eclipse/nebula/widgets/ganttchart/IColorManager.html" title="interface in org.eclipse.nebula.widgets.ganttchart"><code>IColorManager</code></a>. For styles, please see <a href="../../../../../org/eclipse/nebula/widgets/ganttchart/GanttFlags.html" title="class in org.eclipse.nebula.widgets.ganttchart"><code>GanttFlags</code></a>.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>parent</code> - Parent composite</dd>
<dd><code>style</code> - Widget style</dd>
<dd><code>settings</code> - ISettings implementation or null</dd>
<dd><code>colorManager</code> - IColorManager implementation</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>java.lang.IllegalArgumentException</code> - <ul>
<li>ERROR_NULL_ARGUMENT - if the parent is null</li>
</ul></dd>
<dd><code>org.eclipse.swt.SWTException</code> - <ul>
<li>ERROR_THREAD_INVALID_ACCESS - if not called from the thread that created the parent</li> <li>ERROR_INVALID_SUBCLASS - if this class is not an allowed
subclass</li>
</ul></dd>
</dl>
</li>
</ul>
<a name="GanttChart-org.eclipse.swt.widgets.Composite-int-org.eclipse.nebula.widgets.ganttchart.ISettings-org.eclipse.nebula.widgets.ganttchart.IColorManager-org.eclipse.nebula.widgets.ganttchart.IPaintManager-org.eclipse.nebula.widgets.ganttchart.ILanguageManager-java.util.Calendar...-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>GanttChart</h4>
<pre>public&nbsp;GanttChart(org.eclipse.swt.widgets.Composite&nbsp;parent,
int&nbsp;style,
<a href="../../../../../org/eclipse/nebula/widgets/ganttchart/ISettings.html" title="interface in org.eclipse.nebula.widgets.ganttchart">ISettings</a>&nbsp;settings,
<a href="../../../../../org/eclipse/nebula/widgets/ganttchart/IColorManager.html" title="interface in org.eclipse.nebula.widgets.ganttchart">IColorManager</a>&nbsp;colorManager,
<a href="../../../../../org/eclipse/nebula/widgets/ganttchart/IPaintManager.html" title="interface in org.eclipse.nebula.widgets.ganttchart">IPaintManager</a>&nbsp;paintManager,
<a href="../../../../../org/eclipse/nebula/widgets/ganttchart/ILanguageManager.html" title="interface in org.eclipse.nebula.widgets.ganttchart">ILanguageManager</a>&nbsp;languageManager,
java.util.Calendar...&nbsp;holidays)</pre>
<div class="block">Constructs a new GANTT chart widget with custom settings, custom color manager <a href="../../../../../org/eclipse/nebula/widgets/ganttchart/IColorManager.html" title="interface in org.eclipse.nebula.widgets.ganttchart"><code>IColorManager</code></a>, a custom paint manager <a href="../../../../../org/eclipse/nebula/widgets/ganttchart/IPaintManager.html" title="interface in org.eclipse.nebula.widgets.ganttchart"><code>IPaintManager</code></a> and a custom language
manager <a href="../../../../../org/eclipse/nebula/widgets/ganttchart/ILanguageManager.html" title="interface in org.eclipse.nebula.widgets.ganttchart"><code>ILanguageManager</code></a>. If any of the managers is set to null the default manager using that implementation will be used. For styles, please see <a href="../../../../../org/eclipse/nebula/widgets/ganttchart/GanttFlags.html" title="class in org.eclipse.nebula.widgets.ganttchart"><code>GanttFlags</code></a>.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>parent</code> - Parent composite</dd>
<dd><code>style</code> - Widget style</dd>
<dd><code>settings</code> - ISettings implementation or null</dd>
<dd><code>colorManager</code> - IColorManager implementation or null</dd>
<dd><code>paintManager</code> - IPaintManager implementation or null</dd>
<dd><code>languageManager</code> - <a href="../../../../../org/eclipse/nebula/widgets/ganttchart/ILanguageManager.html" title="interface in org.eclipse.nebula.widgets.ganttchart"><code>ILanguageManager</code></a> implementation or null</dd>
<dd><code>holidays</code> - Calendar objects specifying holidays</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>java.lang.IllegalArgumentException</code> - <ul>
<li>ERROR_NULL_ARGUMENT - if the parent is null</li>
</ul></dd>
<dd><code>org.eclipse.swt.SWTException</code> - <ul>
<li>ERROR_THREAD_INVALID_ACCESS - if not called from the thread that created the parent</li> <li>ERROR_INVALID_SUBCLASS - if this class is not an allowed
subclass</li>
</ul></dd>
</dl>
</li>
</ul>
<a name="GanttChart-org.eclipse.swt.widgets.Composite-int-org.eclipse.nebula.widgets.ganttchart.ISettings-org.eclipse.nebula.widgets.ganttchart.IColorManager-org.eclipse.nebula.widgets.ganttchart.IPaintManager-org.eclipse.nebula.widgets.ganttchart.ILanguageManager-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>GanttChart</h4>
<pre>public&nbsp;GanttChart(org.eclipse.swt.widgets.Composite&nbsp;parent,
int&nbsp;style,
<a href="../../../../../org/eclipse/nebula/widgets/ganttchart/ISettings.html" title="interface in org.eclipse.nebula.widgets.ganttchart">ISettings</a>&nbsp;settings,
<a href="../../../../../org/eclipse/nebula/widgets/ganttchart/IColorManager.html" title="interface in org.eclipse.nebula.widgets.ganttchart">IColorManager</a>&nbsp;colorManager,
<a href="../../../../../org/eclipse/nebula/widgets/ganttchart/IPaintManager.html" title="interface in org.eclipse.nebula.widgets.ganttchart">IPaintManager</a>&nbsp;paintManager,
<a href="../../../../../org/eclipse/nebula/widgets/ganttchart/ILanguageManager.html" title="interface in org.eclipse.nebula.widgets.ganttchart">ILanguageManager</a>&nbsp;languageManager)</pre>
<div class="block">Constructs a new GANTT chart widget with custom settings, custom color manager <a href="../../../../../org/eclipse/nebula/widgets/ganttchart/IColorManager.html" title="interface in org.eclipse.nebula.widgets.ganttchart"><code>IColorManager</code></a>, a custom paint manager
<a href="../../../../../org/eclipse/nebula/widgets/ganttchart/IPaintManager.html" title="interface in org.eclipse.nebula.widgets.ganttchart"><code>IPaintManager</code></a> and a custom language manager <a href="../../../../../org/eclipse/nebula/widgets/ganttchart/ILanguageManager.html" title="interface in org.eclipse.nebula.widgets.ganttchart"><code>ILanguageManager</code></a>. If any of the managers is set to null the
default manager using that implementation will be used. For styles, please see <a href="../../../../../org/eclipse/nebula/widgets/ganttchart/GanttFlags.html" title="class in org.eclipse.nebula.widgets.ganttchart"><code>GanttFlags</code></a>.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>parent</code> - Parent composite</dd>
<dd><code>style</code> - Widget style</dd>
<dd><code>settings</code> - ISettings implementation or null</dd>
<dd><code>colorManager</code> - IColorManager implementation or null</dd>
<dd><code>paintManager</code> - IPaintManager implementation or null</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>java.lang.IllegalArgumentException</code> - <ul>
<li>ERROR_NULL_ARGUMENT - if the parent is null</li>
</ul></dd>
<dd><code>org.eclipse.swt.SWTException</code> - <ul>
<li>ERROR_THREAD_INVALID_ACCESS - if not called from the thread that created the parent</li>
<li>ERROR_INVALID_SUBCLASS - if this class is not an allowed subclass</li>
</ul></dd>
</dl>
</li>
</ul>
<a name="GanttChart-org.eclipse.swt.widgets.Composite-int-org.eclipse.nebula.widgets.ganttchart.ISettings-org.eclipse.nebula.widgets.ganttchart.IColorManager-org.eclipse.nebula.widgets.ganttchart.IPaintManager-org.eclipse.nebula.widgets.ganttchart.ILanguageManager-org.eclipse.nebula.widgets.ganttchart.Holiday...-">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>GanttChart</h4>
<pre>public&nbsp;GanttChart(org.eclipse.swt.widgets.Composite&nbsp;parent,
int&nbsp;style,
<a href="../../../../../org/eclipse/nebula/widgets/ganttchart/ISettings.html" title="interface in org.eclipse.nebula.widgets.ganttchart">ISettings</a>&nbsp;settings,
<a href="../../../../../org/eclipse/nebula/widgets/ganttchart/IColorManager.html" title="interface in org.eclipse.nebula.widgets.ganttchart">IColorManager</a>&nbsp;colorManager,
<a href="../../../../../org/eclipse/nebula/widgets/ganttchart/IPaintManager.html" title="interface in org.eclipse.nebula.widgets.ganttchart">IPaintManager</a>&nbsp;paintManager,
<a href="../../../../../org/eclipse/nebula/widgets/ganttchart/ILanguageManager.html" title="interface in org.eclipse.nebula.widgets.ganttchart">ILanguageManager</a>&nbsp;languageManager,
<a href="../../../../../org/eclipse/nebula/widgets/ganttchart/Holiday.html" title="class in org.eclipse.nebula.widgets.ganttchart">Holiday</a>...&nbsp;holidays)</pre>
<div class="block">Constructs a new GANTT chart widget with custom settings, custom color manager <a href="../../../../../org/eclipse/nebula/widgets/ganttchart/IColorManager.html" title="interface in org.eclipse.nebula.widgets.ganttchart"><code>IColorManager</code></a>, a custom paint manager <a href="../../../../../org/eclipse/nebula/widgets/ganttchart/IPaintManager.html" title="interface in org.eclipse.nebula.widgets.ganttchart"><code>IPaintManager</code></a> and a custom language
manager <a href="../../../../../org/eclipse/nebula/widgets/ganttchart/ILanguageManager.html" title="interface in org.eclipse.nebula.widgets.ganttchart"><code>ILanguageManager</code></a>. If any of the managers is set to null the default manager using that implementation will be used. For styles, please see <a href="../../../../../org/eclipse/nebula/widgets/ganttchart/GanttFlags.html" title="class in org.eclipse.nebula.widgets.ganttchart"><code>GanttFlags</code></a>.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>parent</code> - Parent composite</dd>
<dd><code>style</code> - Widget style</dd>
<dd><code>settings</code> - ISettings implementation or null</dd>
<dd><code>colorManager</code> - IColorManager implementation or null</dd>
<dd><code>paintManager</code> - IPaintManager implementation or null</dd>
<dd><code>languageManager</code> - <a href="../../../../../org/eclipse/nebula/widgets/ganttchart/ILanguageManager.html" title="interface in org.eclipse.nebula.widgets.ganttchart"><code>ILanguageManager</code></a> implementation or null</dd>
<dd><code>holidays</code> - Holiday objects specifying holidays</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>java.lang.IllegalArgumentException</code> - <ul>
<li>ERROR_NULL_ARGUMENT - if the parent is null</li>
</ul></dd>
<dd><code>org.eclipse.swt.SWTException</code> - <ul>
<li>ERROR_THREAD_INVALID_ACCESS - if not called from the thread that created the parent</li> <li>ERROR_INVALID_SUBCLASS - if this class is not an allowed
subclass</li>
</ul></dd>
</dl>
</li>
</ul>
</li>
</ul>
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method.detail">
<!-- -->
</a>
<h3>Method Detail</h3>
<a name="addGroup-org.eclipse.nebula.widgets.ganttchart.GanttGroup-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>addGroup</h4>
<pre>public&nbsp;void&nbsp;addGroup(<a href="../../../../../org/eclipse/nebula/widgets/ganttchart/GanttGroup.html" title="class in org.eclipse.nebula.widgets.ganttchart">GanttGroup</a>&nbsp;group)</pre>
<div class="block">Adds a GanttGroup. A GanttGroup represents a collection of events that should all draw on the same line.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>group</code> - GanttGroup to add</dd>
</dl>
</li>
</ul>
<a name="removeGroup-org.eclipse.nebula.widgets.ganttchart.GanttGroup-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>removeGroup</h4>
<pre>public&nbsp;void&nbsp;removeGroup(<a href="../../../../../org/eclipse/nebula/widgets/ganttchart/GanttGroup.html" title="class in org.eclipse.nebula.widgets.ganttchart">GanttGroup</a>&nbsp;group)</pre>
<div class="block">Removes a GanttGroup.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>group</code> - GanttGroup to remove</dd>
</dl>
</li>
</ul>
<a name="addConnection-org.eclipse.nebula.widgets.ganttchart.GanttEvent-org.eclipse.nebula.widgets.ganttchart.GanttEvent-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>addConnection</h4>
<pre>public&nbsp;void&nbsp;addConnection(<a href="../../../../../org/eclipse/nebula/widgets/ganttchart/GanttEvent.html" title="class in org.eclipse.nebula.widgets.ganttchart">GanttEvent</a>&nbsp;source,
<a href="../../../../../org/eclipse/nebula/widgets/ganttchart/GanttEvent.html" title="class in org.eclipse.nebula.widgets.ganttchart">GanttEvent</a>&nbsp;target)</pre>
<div class="block">Adds a dependency between two events.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>source</code> - GanttEvent source</dd>
<dd><code>target</code> - GanttEvent target</dd>
</dl>
</li>
</ul>
<a name="addDependency-org.eclipse.nebula.widgets.ganttchart.GanttEvent-org.eclipse.nebula.widgets.ganttchart.GanttEvent-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>addDependency</h4>
<pre>public&nbsp;void&nbsp;addDependency(<a href="../../../../../org/eclipse/nebula/widgets/ganttchart/GanttEvent.html" title="class in org.eclipse.nebula.widgets.ganttchart">GanttEvent</a>&nbsp;source,
<a href="../../../../../org/eclipse/nebula/widgets/ganttchart/GanttEvent.html" title="class in org.eclipse.nebula.widgets.ganttchart">GanttEvent</a>&nbsp;target)</pre>
<div class="block">Same as addConnection().</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>source</code> - GanttEvent source</dd>
<dd><code>target</code> - GanttEvent target</dd>
</dl>
</li>
</ul>
<a name="addGanttEventListener-org.eclipse.nebula.widgets.ganttchart.IGanttEventListener-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>addGanttEventListener</h4>
<pre>public&nbsp;void&nbsp;addGanttEventListener(<a href="../../../../../org/eclipse/nebula/widgets/ganttchart/IGanttEventListener.html" title="interface in org.eclipse.nebula.widgets.ganttchart">IGanttEventListener</a>&nbsp;listener)</pre>
<div class="block">Adds an event listener.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>listener</code> - IGanttEventListener</dd>
</dl>
</li>
</ul>
<a name="removeGanttEventListener-org.eclipse.nebula.widgets.ganttchart.IGanttEventListener-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>removeGanttEventListener</h4>
<pre>public&nbsp;void&nbsp;removeGanttEventListener(<a href="../../../../../org/eclipse/nebula/widgets/ganttchart/IGanttEventListener.html" title="interface in org.eclipse.nebula.widgets.ganttchart">IGanttEventListener</a>&nbsp;listener)</pre>
<div class="block">Removes and event listener.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>listener</code> - IGanttEventListener</dd>
</dl>
</li>
</ul>
<a name="getGanttComposite--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getGanttComposite</h4>
<pre>public&nbsp;<a href="../../../../../org/eclipse/nebula/widgets/ganttchart/GanttComposite.html" title="class in org.eclipse.nebula.widgets.ganttchart">GanttComposite</a>&nbsp;getGanttComposite()</pre>
<div class="block">Returns the widget that is the actual GANTT widget at the root level.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>GanttComposite</dd>
</dl>
</li>
</ul>
<a name="redrawGanttChart--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>redrawGanttChart</h4>
<pre>public&nbsp;void&nbsp;redrawGanttChart()</pre>
<div class="block">Redraws the GanttChart. Call this if an update to the chart has been made that did not cause an automatic redrawing of the chart.</div>
</li>
</ul>
<a name="reindex-org.eclipse.nebula.widgets.ganttchart.GanttEvent-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>reindex</h4>
<pre>public&nbsp;void&nbsp;reindex(<a href="../../../../../org/eclipse/nebula/widgets/ganttchart/GanttEvent.html" title="class in org.eclipse.nebula.widgets.ganttchart">GanttEvent</a>&nbsp;event,
int&nbsp;newIndex)</pre>
<div class="block">Re-indexes an event to show at a new location.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>event</code> - GanttEvent to re-index</dd>
<dd><code>newIndex</code> - new index position</dd>
</dl>
</li>
</ul>
<a name="getSettings--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getSettings</h4>
<pre>public&nbsp;<a href="../../../../../org/eclipse/nebula/widgets/ganttchart/ISettings.html" title="interface in org.eclipse.nebula.widgets.ganttchart">ISettings</a>&nbsp;getSettings()</pre>
<div class="block">Returns the currently set settings implementor.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>Settings</dd>
</dl>
</li>
</ul>
<a name="getColorManager--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getColorManager</h4>
<pre>public&nbsp;<a href="../../../../../org/eclipse/nebula/widgets/ganttchart/IColorManager.html" title="interface in org.eclipse.nebula.widgets.ganttchart">IColorManager</a>&nbsp;getColorManager()</pre>
<div class="block">Returns the currently set color manager.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>Color manager</dd>
</dl>
</li>
</ul>
<a name="getPaintManager--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getPaintManager</h4>
<pre>public&nbsp;<a href="../../../../../org/eclipse/nebula/widgets/ganttchart/IPaintManager.html" title="interface in org.eclipse.nebula.widgets.ganttchart">IPaintManager</a>&nbsp;getPaintManager()</pre>
<div class="block">Returns the currently set paint manager.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>Paint manager</dd>
</dl>
</li>
</ul>
<a name="getLanguageManger--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getLanguageManger</h4>
<pre>public&nbsp;<a href="../../../../../org/eclipse/nebula/widgets/ganttchart/ILanguageManager.html" title="interface in org.eclipse.nebula.widgets.ganttchart">ILanguageManager</a>&nbsp;getLanguageManger()</pre>
<div class="block">Returns the currently set language manager.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>Language manager</dd>
</dl>
</li>
</ul>
<a name="getVerticalBar--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getVerticalBar</h4>
<pre>public&nbsp;org.eclipse.swt.widgets.ScrollBar&nbsp;getVerticalBar()</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code>getVerticalBar</code>&nbsp;in class&nbsp;<code>org.eclipse.swt.widgets.Scrollable</code></dd>
</dl>
</li>
</ul>
<a name="getHorizontalBar--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getHorizontalBar</h4>
<pre>public&nbsp;org.eclipse.swt.widgets.ScrollBar&nbsp;getHorizontalBar()</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code>getHorizontalBar</code>&nbsp;in class&nbsp;<code>org.eclipse.swt.widgets.Scrollable</code></dd>
</dl>
</li>
</ul>
<a name="addUndoRedoListener-org.eclipse.nebula.widgets.ganttchart.undoredo.IUndoRedoListener-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>addUndoRedoListener</h4>
<pre>public&nbsp;void&nbsp;addUndoRedoListener(<a href="../../../../../org/eclipse/nebula/widgets/ganttchart/undoredo/IUndoRedoListener.html" title="interface in org.eclipse.nebula.widgets.ganttchart.undoredo">IUndoRedoListener</a>&nbsp;listener)</pre>
<div class="block">Adds a listener to be notified when undo/redo possibilities change</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>listener</code> - </dd>
</dl>
</li>
</ul>
<a name="removeUndoRedoListener-org.eclipse.nebula.widgets.ganttchart.undoredo.IUndoRedoListener-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>removeUndoRedoListener</h4>
<pre>public&nbsp;void&nbsp;removeUndoRedoListener(<a href="../../../../../org/eclipse/nebula/widgets/ganttchart/undoredo/IUndoRedoListener.html" title="interface in org.eclipse.nebula.widgets.ganttchart.undoredo">IUndoRedoListener</a>&nbsp;listener)</pre>
<div class="block">Removes a listener from being notified when undo/redo possibilities change</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>listener</code> - </dd>
</dl>
</li>
</ul>
<a name="getUndoRedoManager--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getUndoRedoManager</h4>
<pre>public&nbsp;<a href="../../../../../org/eclipse/nebula/widgets/ganttchart/undoredo/GanttUndoRedoManager.html" title="class in org.eclipse.nebula.widgets.ganttchart.undoredo">GanttUndoRedoManager</a>&nbsp;getUndoRedoManager()</pre>
<div class="block">Returns the Undo/Redo manager</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd><a href="../../../../../org/eclipse/nebula/widgets/ganttchart/undoredo/GanttUndoRedoManager.html" title="class in org.eclipse.nebula.widgets.ganttchart.undoredo"><code>GanttUndoRedoManager</code></a></dd>
</dl>
</li>
</ul>
<a name="getRandomEvent--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getRandomEvent</h4>
<pre>public&nbsp;<a href="../../../../../org/eclipse/nebula/widgets/ganttchart/GanttEvent.html" title="class in org.eclipse.nebula.widgets.ganttchart">GanttEvent</a>&nbsp;getRandomEvent()</pre>
<div class="block">Returns a random GanttEvent, useful for testing.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>GanttEvent</dd>
</dl>
</li>
</ul>
<a name="setGanttChartPrinter-org.eclipse.nebula.widgets.ganttchart.print.GanttChartPrinter-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setGanttChartPrinter</h4>
<pre>public&nbsp;void&nbsp;setGanttChartPrinter(<a href="../../../../../org/eclipse/nebula/widgets/ganttchart/print/GanttChartPrinter.html" title="class in org.eclipse.nebula.widgets.ganttchart.print">GanttChartPrinter</a>&nbsp;printer)</pre>
<div class="block">Set a different GanttChartPrinter that should be used to print this GanttChart.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>printer</code> - The GanttChartPrinter that should be used to print this GanttChart.</dd>
</dl>
</li>
</ul>
<a name="print--">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>print</h4>
<pre>public&nbsp;void&nbsp;print()</pre>
<div class="block">Will print the GanttChart based on the settings made in the PrintDialog.</div>
</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/GanttChart.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/widgets/ganttchart/DefaultSettings.html" title="class in org.eclipse.nebula.widgets.ganttchart"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../../../../org/eclipse/nebula/widgets/ganttchart/GanttCheckpoint.html" title="class in org.eclipse.nebula.widgets.ganttchart"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../../index.html?org/eclipse/nebula/widgets/ganttchart/GanttChart.html" target="_top">Frames</a></li>
<li><a href="GanttChart.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="#fields.inherited.from.class.org.eclipse.swt.widgets.Control">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#constructor.detail">Constr</a>&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>