blob: fca5e0d78c77b3899e9347aae02bdbc485db8436 [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 (9) on Thu Mar 22 23:56:51 CET 2018 -->
<title>GanttGroup</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="date" content="2018-03-22">
<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style">
<link rel="stylesheet" type="text/css" href="../../../../../jquery/jquery-ui.css" title="Style">
<script type="text/javascript" src="../../../../../script.js"></script>
<script type="text/javascript" src="../../../../../jquery/jszip/dist/jszip.min.js"></script>
<script type="text/javascript" src="../../../../../jquery/jszip-utils/dist/jszip-utils.min.js"></script>
<!--[if IE]>
<script type="text/javascript" src="../../../../../jquery/jszip-utils/dist/jszip-utils-ie.min.js"></script>
<![endif]-->
<script type="text/javascript" src="../../../../../jquery/jquery-1.10.2.js"></script>
<script type="text/javascript" src="../../../../../jquery/jquery-ui.js"></script>
</head>
<body>
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="GanttGroup";
}
}
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};
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";
var pathtoroot = "../../../../../";loadScripts(document, 'script');</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<div class="fixedNav">
<!-- ========= 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/GanttGroup.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/GanttFlags.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/GanttHeaderSpacedLayout.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/GanttGroup.html" target="_top">Frames</a></li>
<li><a href="GanttGroup.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>
<ul class="navListSearch">
<li><span>SEARCH:&nbsp;</span>
<input type="text" id="search" value=" " disabled="disabled">
<input type="reset" id="reset" value=" " disabled="disabled">
</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>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
</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><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><a href="#field.detail">Field</a>&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 ========= -->
</div>
<div class="navPadding">&nbsp;</div>
<script type="text/javascript"><!--
$('.navPadding').css('padding-top', $('.fixedNav').css("height"));
//-->
</script>
<!-- ======== START OF CLASS DATA ======== -->
<div class="header">
<div class="subTitle"><span class="packageLabelInType">Package</span>&nbsp;<a href="../../../../../org/eclipse/nebula/widgets/ganttchart/package-summary.html">org.eclipse.nebula.widgets.ganttchart</a></div>
<h2 title="Class GanttGroup" class="title">Class GanttGroup</h2>
</div>
<div class="contentContainer">
<ul class="inheritance">
<li>java.lang.Object</li>
<li>
<ul class="inheritance">
<li>org.eclipse.nebula.widgets.ganttchart.GanttGroup</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<dl>
<dt>All Implemented Interfaces:</dt>
<dd><code><a href="../../../../../org/eclipse/nebula/widgets/ganttchart/IGanttChartItem.html" title="interface in org.eclipse.nebula.widgets.ganttchart">IGanttChartItem</a></code></dd>
</dl>
<hr>
<br>
<pre>public class <span class="typeNameLabel">GanttGroup</span>
extends java.lang.Object
implements <a href="../../../../../org/eclipse/nebula/widgets/ganttchart/IGanttChartItem.html" title="interface in org.eclipse.nebula.widgets.ganttchart">IGanttChartItem</a></pre>
<div class="block">A GanttGroup is a group of GanttEvents that will all draw on the same horizontal "line" or "row" in the GanttChart (next to each other instead of vertically arranged). One
GanttEvent may only belong to one GanttGroup.
<p/>
One GanttEvent can only exist in one GanttGroup. If an event already has a different GanttGroup parent, the old parent will be overwritten and the new one will be set on the event.</div>
</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" 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="colSecond" scope="col">Field</th>
<th class="colLast" scope="col">Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static int</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/ganttchart/GanttGroup.html#FIXED_ROW_HEIGHT_AUTOMATIC">FIXED_ROW_HEIGHT_AUTOMATIC</a></span></code></th>
<td class="colLast">&nbsp;</td>
</tr>
</table>
</li>
</ul>
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor.summary">
<!-- -->
</a>
<h3>Constructor Summary</h3>
<table class="memberSummary" summary="Constructor Summary table, listing constructors, and an explanation">
<caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Constructor</th>
<th class="colLast" scope="col">Description</th>
</tr>
<tr class="altColor">
<th class="colConstructorName" scope="row"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/ganttchart/GanttGroup.html#GanttGroup-org.eclipse.nebula.widgets.ganttchart.GanttChart-">GanttGroup</a></span>&#8203;(<a href="../../../../../org/eclipse/nebula/widgets/ganttchart/GanttChart.html" title="class in org.eclipse.nebula.widgets.ganttchart">GanttChart</a>&nbsp;parent)</code></th>
<td class="colLast">
<div class="block">Creates a new GanttGroup on the given GanttChart.</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" 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="colSecond" scope="col">Method</th>
<th class="colLast" scope="col">Description</th>
</tr>
<tr id="i0" class="altColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/ganttchart/GanttGroup.html#addEvent-org.eclipse.nebula.widgets.ganttchart.GanttEvent-">addEvent</a></span>&#8203;(<a href="../../../../../org/eclipse/nebula/widgets/ganttchart/GanttEvent.html" title="class in org.eclipse.nebula.widgets.ganttchart">GanttEvent</a>&nbsp;event)</code></th>
<td class="colLast">
<div class="block">Adds a GanttEvent to this group.</div>
</td>
</tr>
<tr id="i1" class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/ganttchart/GanttGroup.html#containsEvent-org.eclipse.nebula.widgets.ganttchart.GanttEvent-">containsEvent</a></span>&#8203;(<a href="../../../../../org/eclipse/nebula/widgets/ganttchart/GanttEvent.html" title="class in org.eclipse.nebula.widgets.ganttchart">GanttEvent</a>&nbsp;event)</code></th>
<td class="colLast">
<div class="block">Checks whether this GanttGroup contains a given GanttEvent.</div>
</td>
</tr>
<tr id="i2" class="altColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/ganttchart/GanttGroup.html#dispose--">dispose</a></span>&#8203;()</code></th>
<td class="colLast">
<div class="block">Disposes this event from the chart.</div>
</td>
</tr>
<tr id="i3" class="rowColor">
<td class="colFirst"><code>java.util.List</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/ganttchart/GanttGroup.html#getEventMembers--">getEventMembers</a></span>&#8203;()</code></th>
<td class="colLast">
<div class="block">Returns a list of all GanttEvents contained in this group.</div>
</td>
</tr>
<tr id="i4" class="altColor">
<td class="colFirst"><code>int</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/ganttchart/GanttGroup.html#getFixedRowHeight--">getFixedRowHeight</a></span>&#8203;()</code></th>
<td class="colLast">
<div class="block">Returns the fixed row height of this group.</div>
</td>
</tr>
<tr id="i5" class="rowColor">
<td class="colFirst"><code>int</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/ganttchart/GanttGroup.html#getLayer--">getLayer</a></span>&#8203;()</code></th>
<td class="colLast">
<div class="block">Returns the layer of this event.</div>
</td>
</tr>
<tr id="i6" class="altColor">
<td class="colFirst"><code>int</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/ganttchart/GanttGroup.html#getVerticalEventAlignment--">getVerticalEventAlignment</a></span>&#8203;()</code></th>
<td class="colLast">
<div class="block">Returns the vertical alignment of all events in this row.</div>
</td>
</tr>
<tr id="i7" class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/ganttchart/GanttGroup.html#isAutomaticRowHeight--">isAutomaticRowHeight</a></span>&#8203;()</code></th>
<td class="colLast">
<div class="block">Whether this group is on automatic row height or if the height is fixed.</div>
</td>
</tr>
<tr id="i8" class="altColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/ganttchart/GanttGroup.html#removeEvent-org.eclipse.nebula.widgets.ganttchart.GanttEvent-">removeEvent</a></span>&#8203;(<a href="../../../../../org/eclipse/nebula/widgets/ganttchart/GanttEvent.html" title="class in org.eclipse.nebula.widgets.ganttchart">GanttEvent</a>&nbsp;event)</code></th>
<td class="colLast">
<div class="block">Removes a GanttEvent from this group.</div>
</td>
</tr>
<tr id="i9" class="rowColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/ganttchart/GanttGroup.html#setAutomaticRowHeight--">setAutomaticRowHeight</a></span>&#8203;()</code></th>
<td class="colLast">
<div class="block">Flags this group to use automatic row height calculation.</div>
</td>
</tr>
<tr id="i10" class="altColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/ganttchart/GanttGroup.html#setFixedRowHeight-int-">setFixedRowHeight</a></span>&#8203;(int&nbsp;fixedRowHeight)</code></th>
<td class="colLast">
<div class="block">Sets the fixed row height for this group.</div>
</td>
</tr>
<tr id="i11" class="rowColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/ganttchart/GanttGroup.html#setLayer-int-">setLayer</a></span>&#8203;(int&nbsp;layer)</code></th>
<td class="colLast">
<div class="block">Sets the layer of this event.</div>
</td>
</tr>
<tr id="i12" class="altColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/ganttchart/GanttGroup.html#setVerticalEventAlignment-int-">setVerticalEventAlignment</a></span>&#8203;(int&nbsp;vAlignment)</code></th>
<td class="colLast">
<div class="block">Sets the vertical alignment of all contained events.</div>
</td>
</tr>
<tr id="i13" class="rowColor">
<td class="colFirst"><code>java.lang.String</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/ganttchart/GanttGroup.html#toString--">toString</a></span>&#8203;()</code></th>
<td class="colLast">&nbsp;</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>equals, getClass, hashCode, notify, notifyAll, 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="FIXED_ROW_HEIGHT_AUTOMATIC">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>FIXED_ROW_HEIGHT_AUTOMATIC</h4>
<pre>public static final&nbsp;int FIXED_ROW_HEIGHT_AUTOMATIC</pre>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../../constant-values.html#org.eclipse.nebula.widgets.ganttchart.GanttGroup.FIXED_ROW_HEIGHT_AUTOMATIC">Constant Field Values</a></dd>
</dl>
</li>
</ul>
</li>
</ul>
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor.detail">
<!-- -->
</a>
<h3>Constructor Detail</h3>
<a name="GanttGroup-org.eclipse.nebula.widgets.ganttchart.GanttChart-">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>GanttGroup</h4>
<pre>public&nbsp;GanttGroup&#8203;(<a href="../../../../../org/eclipse/nebula/widgets/ganttchart/GanttChart.html" title="class in org.eclipse.nebula.widgets.ganttchart">GanttChart</a>&nbsp;parent)</pre>
<div class="block">Creates a new GanttGroup on the given GanttChart.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>parent</code> - GanttChart parent</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="addEvent-org.eclipse.nebula.widgets.ganttchart.GanttEvent-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>addEvent</h4>
<pre>public&nbsp;void&nbsp;addEvent&#8203;(<a href="../../../../../org/eclipse/nebula/widgets/ganttchart/GanttEvent.html" title="class in org.eclipse.nebula.widgets.ganttchart">GanttEvent</a>&nbsp;event)</pre>
<div class="block">Adds a GanttEvent to this group. Do note that if a GanttEvent exists in another group already, it will end up
being moved to the new group.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>event</code> - GanttEvent to add.</dd>
</dl>
</li>
</ul>
<a name="removeEvent-org.eclipse.nebula.widgets.ganttchart.GanttEvent-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>removeEvent</h4>
<pre>public&nbsp;void&nbsp;removeEvent&#8203;(<a href="../../../../../org/eclipse/nebula/widgets/ganttchart/GanttEvent.html" title="class in org.eclipse.nebula.widgets.ganttchart">GanttEvent</a>&nbsp;event)</pre>
<div class="block">Removes a GanttEvent from this group.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>event</code> - GanttEvent to remove.</dd>
</dl>
</li>
</ul>
<a name="containsEvent-org.eclipse.nebula.widgets.ganttchart.GanttEvent-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>containsEvent</h4>
<pre>public&nbsp;boolean&nbsp;containsEvent&#8203;(<a href="../../../../../org/eclipse/nebula/widgets/ganttchart/GanttEvent.html" title="class in org.eclipse.nebula.widgets.ganttchart">GanttEvent</a>&nbsp;event)</pre>
<div class="block">Checks whether this GanttGroup contains a given GanttEvent.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>event</code> - GanttEvent to check if it exists in this GanttGroup.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>true if the event is contained in this group.</dd>
</dl>
</li>
</ul>
<a name="getEventMembers--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getEventMembers</h4>
<pre>public&nbsp;java.util.List&nbsp;getEventMembers&#8203;()</pre>
<div class="block">Returns a list of all GanttEvents contained in this group.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>List of GanttEvents.</dd>
</dl>
</li>
</ul>
<a name="getFixedRowHeight--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getFixedRowHeight</h4>
<pre>public&nbsp;int&nbsp;getFixedRowHeight&#8203;()</pre>
<div class="block">Returns the fixed row height of this group.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../../org/eclipse/nebula/widgets/ganttchart/IGanttChartItem.html#getFixedRowHeight--">getFixedRowHeight</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../org/eclipse/nebula/widgets/ganttchart/IGanttChartItem.html" title="interface in org.eclipse.nebula.widgets.ganttchart">IGanttChartItem</a></code></dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>Fixed row height.</dd>
</dl>
</li>
</ul>
<a name="setFixedRowHeight-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setFixedRowHeight</h4>
<pre>public&nbsp;void&nbsp;setFixedRowHeight&#8203;(int&nbsp;fixedRowHeight)</pre>
<div class="block">Sets the fixed row height for this group.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../../org/eclipse/nebula/widgets/ganttchart/IGanttChartItem.html#setFixedRowHeight-int-">setFixedRowHeight</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../org/eclipse/nebula/widgets/ganttchart/IGanttChartItem.html" title="interface in org.eclipse.nebula.widgets.ganttchart">IGanttChartItem</a></code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>fixedRowHeight</code> - Row height in pixels.</dd>
</dl>
</li>
</ul>
<a name="isAutomaticRowHeight--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isAutomaticRowHeight</h4>
<pre>public&nbsp;boolean&nbsp;isAutomaticRowHeight&#8203;()</pre>
<div class="block">Whether this group is on automatic row height or if the height is fixed.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../../org/eclipse/nebula/widgets/ganttchart/IGanttChartItem.html#isAutomaticRowHeight--">isAutomaticRowHeight</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../org/eclipse/nebula/widgets/ganttchart/IGanttChartItem.html" title="interface in org.eclipse.nebula.widgets.ganttchart">IGanttChartItem</a></code></dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>true if row height is calculated automatically.</dd>
</dl>
</li>
</ul>
<a name="setAutomaticRowHeight--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setAutomaticRowHeight</h4>
<pre>public&nbsp;void&nbsp;setAutomaticRowHeight&#8203;()</pre>
<div class="block">Flags this group to use automatic row height calculation.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../../org/eclipse/nebula/widgets/ganttchart/IGanttChartItem.html#setAutomaticRowHeight--">setAutomaticRowHeight</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../org/eclipse/nebula/widgets/ganttchart/IGanttChartItem.html" title="interface in org.eclipse.nebula.widgets.ganttchart">IGanttChartItem</a></code></dd>
</dl>
</li>
</ul>
<a name="getVerticalEventAlignment--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getVerticalEventAlignment</h4>
<pre>public&nbsp;int&nbsp;getVerticalEventAlignment&#8203;()</pre>
<div class="block">Returns the vertical alignment of all events in this row.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>Vertical alignment.</dd>
</dl>
</li>
</ul>
<a name="setVerticalEventAlignment-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setVerticalEventAlignment</h4>
<pre>public&nbsp;void&nbsp;setVerticalEventAlignment&#8203;(int&nbsp;vAlignment)</pre>
<div class="block">Sets the vertical alignment of all contained events.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>vAlignment</code> - Vertical alignment. Valid values are: SWT.TOP, SWT.CENTER, SWT.BOTTOM. Default is SWT.TOP.</dd>
</dl>
</li>
</ul>
<a name="dispose--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>dispose</h4>
<pre>public&nbsp;void&nbsp;dispose&#8203;()</pre>
<div class="block">Disposes this event from the chart.</div>
</li>
</ul>
<a name="toString--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>toString</h4>
<pre>public&nbsp;java.lang.String&nbsp;toString&#8203;()</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code>toString</code>&nbsp;in class&nbsp;<code>java.lang.Object</code></dd>
</dl>
</li>
</ul>
<a name="getLayer--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getLayer</h4>
<pre>public&nbsp;int&nbsp;getLayer&#8203;()</pre>
<div class="block">Returns the layer of this event. By default all events are on layer zero.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>Layer</dd>
</dl>
</li>
</ul>
<a name="setLayer-int-">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>setLayer</h4>
<pre>public&nbsp;void&nbsp;setLayer&#8203;(int&nbsp;layer)</pre>
<div class="block">Sets the layer of this event. Layers can be used for showing/hiding multiple events at the same time.
<br><br>
Do note that layers are not layers in the sense of Photoshop layers or such where one layer is above another.
Layers are simply an identifier to let you hide/show/alpha blend an entire set of objects with one method call.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>layer</code> - What layer this item belongs to.</dd>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../../org/eclipse/nebula/widgets/ganttchart/GanttComposite.html#hideLayer-int-"><code>GanttComposite.hideLayer(int)</code></a>,
<a href="../../../../../org/eclipse/nebula/widgets/ganttchart/GanttComposite.html#showLayer-int-"><code>GanttComposite.showLayer(int)</code></a>,
<a href="../../../../../org/eclipse/nebula/widgets/ganttchart/GanttComposite.html#setLayerOpacity-int-int-"><code>GanttComposite.setLayerOpacity(int, int)</code></a></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/GanttGroup.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/GanttFlags.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/GanttHeaderSpacedLayout.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/GanttGroup.html" target="_top">Frames</a></li>
<li><a href="GanttGroup.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>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
</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><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><a href="#field.detail">Field</a>&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>