blob: 112ae08744603cf7aa16573c836c6dc709a7dc61 [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:56 CEST 2020 -->
<title>GridItem</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="GridItem";
}
}
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,"i21":10,"i22":10,"i23":10,"i24":10,"i25":10,"i26":10,"i27":10,"i28":10,"i29":10,"i30":10,"i31":10,"i32":10,"i33":10,"i34":10,"i35":10,"i36":10,"i37":10,"i38":10,"i39":10,"i40":10,"i41":10,"i42":10,"i43":10,"i44":10,"i45":10,"i46":10,"i47":10,"i48":10,"i49":10,"i50":10,"i51":10,"i52":10,"i53":10,"i54":10,"i55":10,"i56":10,"i57":10,"i58":10,"i59":10,"i60":10,"i61":10,"i62":10,"i63":10,"i64":10,"i65":10,"i66":10,"i67":10,"i68":10,"i69":10,"i70":10,"i71":10,"i72":10,"i73":10,"i74":10,"i75":10,"i76":10,"i77":10,"i78":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/GridItem.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/grid/GridHeaderRenderer.html" title="class in org.eclipse.nebula.widgets.grid"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../../../../org/eclipse/nebula/widgets/grid/GridItemDataVisualizer.html" title="class in org.eclipse.nebula.widgets.grid"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../../index.html?org/eclipse/nebula/widgets/grid/GridItem.html" target="_top">Frames</a></li>
<li><a href="GridItem.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><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 ========= -->
<!-- ======== START OF CLASS DATA ======== -->
<div class="header">
<div class="subTitle">org.eclipse.nebula.widgets.grid</div>
<h2 title="Class GridItem" class="title">Class GridItem</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.Item</li>
<li>
<ul class="inheritance">
<li>org.eclipse.nebula.widgets.grid.GridItem</li>
</ul>
</li>
</ul>
</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<hr>
<br>
<pre>public class <span class="typeNameLabel">GridItem</span>
extends org.eclipse.swt.widgets.Item</pre>
<div class="block"><p>
NOTE: THIS WIDGET AND ITS API ARE STILL UNDER DEVELOPMENT. THIS IS A
PRE-RELEASE ALPHA VERSION. USERS SHOULD EXPECT API CHANGES IN FUTURE
VERSIONS.
</p>
Instances of this class represent a selectable user interface object that
represents an item in a grid.
<p>
<dl>
<dt><b>Styles:</b></dt>
<dd>(none)</dd>
<dt><b>Events:</b></dt>
<dd>(none)</dd>
</dl></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" 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>org.eclipse.swt.graphics.Color</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/grid/GridItem.html#headerForeground">headerForeground</a></span></code>
<div class="block">Foreground color of the header</div>
</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" 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/grid/GridItem.html#GridItem-org.eclipse.nebula.widgets.grid.Grid-int-">GridItem</a></span>(<a href="../../../../../org/eclipse/nebula/widgets/grid/Grid.html" title="class in org.eclipse.nebula.widgets.grid">Grid</a>&nbsp;parent,
int&nbsp;style)</code>
<div class="block">Creates a new instance of this class and places the item at the end of
the grid.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/grid/GridItem.html#GridItem-org.eclipse.nebula.widgets.grid.Grid-int-int-">GridItem</a></span>(<a href="../../../../../org/eclipse/nebula/widgets/grid/Grid.html" title="class in org.eclipse.nebula.widgets.grid">Grid</a>&nbsp;parent,
int&nbsp;style,
int&nbsp;index)</code>
<div class="block">Creates a new instance of this class and places the item in the grid at
the given index.</div>
</td>
</tr>
<tr class="altColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/grid/GridItem.html#GridItem-org.eclipse.nebula.widgets.grid.GridItem-int-">GridItem</a></span>(<a href="../../../../../org/eclipse/nebula/widgets/grid/GridItem.html" title="class in org.eclipse.nebula.widgets.grid">GridItem</a>&nbsp;parent,
int&nbsp;style)</code>
<div class="block">Creates a new instance of this class as a child node of the given
GridItem and places the item at the end of the parents items.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/grid/GridItem.html#GridItem-org.eclipse.nebula.widgets.grid.GridItem-int-int-">GridItem</a></span>(<a href="../../../../../org/eclipse/nebula/widgets/grid/GridItem.html" title="class in org.eclipse.nebula.widgets.grid">GridItem</a>&nbsp;parent,
int&nbsp;style,
int&nbsp;index)</code>
<div class="block">Creates a new instance of this class as a child node of the given Grid
and places the item at the given index in the parent items list.</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/grid/GridItem.html#addControlListener-org.eclipse.swt.events.ControlListener-">addControlListener</a></span>(org.eclipse.swt.events.ControlListener&nbsp;listener)</code>
<div class="block">Adds the listener to the collection of listeners who will be notified
when the row is resized, by sending it one of the messages defined in the
<code>ControlListener</code> interface.</div>
</td>
</tr>
<tr id="i1" class="rowColor">
<td class="colFirst"><code>(package private) void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/grid/GridItem.html#clear-boolean-">clear</a></span>(boolean&nbsp;allChildren)</code>
<div class="block">Clears all properties of this item and resets values to their defaults.</div>
</td>
</tr>
<tr id="i2" class="altColor">
<td class="colFirst"><code>(package private) void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/grid/GridItem.html#columnAdded-int-">columnAdded</a></span>(int&nbsp;index)</code>&nbsp;</td>
</tr>
<tr id="i3" class="rowColor">
<td class="colFirst"><code>(package private) void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/grid/GridItem.html#decreaseRow--">decreaseRow</a></span>()</code>&nbsp;</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/grid/GridItem.html#dispose--">dispose</a></span>()</code></td>
</tr>
<tr id="i5" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/grid/GridItem.html#disposeOnly--">disposeOnly</a></span>()</code>
<div class="block">this method call only super.dispose, nothing else..</div>
</td>
</tr>
<tr id="i6" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/grid/GridItem.html#fireCheckEvent-int-">fireCheckEvent</a></span>(int&nbsp;column)</code>
<div class="block">Fires the appropriate events in response to a user checking/unchecking an
item.</div>
</td>
</tr>
<tr id="i7" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/grid/GridItem.html#fireEvent-int-">fireEvent</a></span>(int&nbsp;eventId)</code>
<div class="block">Fires the given event type on the parent Grid instance.</div>
</td>
</tr>
<tr id="i8" 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/widgets/grid/GridItem.html#getBackground--">getBackground</a></span>()</code>
<div class="block">Returns the receiver's background color.</div>
</td>
</tr>
<tr id="i9" 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/widgets/grid/GridItem.html#getBackground-int-">getBackground</a></span>(int&nbsp;index)</code>
<div class="block">Returns the background color at the given column index in the receiver.</div>
</td>
</tr>
<tr id="i10" class="altColor">
<td class="colFirst"><code>org.eclipse.swt.graphics.Rectangle</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/grid/GridItem.html#getBounds-int-">getBounds</a></span>(int&nbsp;columnIndex)</code>
<div class="block">Returns a rectangle describing the receiver's size and location relative
to its parent at a column in the table.</div>
</td>
</tr>
<tr id="i11" class="rowColor">
<td class="colFirst"><code>org.eclipse.swt.graphics.Rectangle</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/grid/GridItem.html#getBoundsCorrected-int-">getBoundsCorrected</a></span>(int&nbsp;columnIndex)</code>
<div class="block">Returns a rectangle describing the receiver's size and location relative
to its parent at a column in the table.</div>
</td>
</tr>
<tr id="i12" class="altColor">
<td class="colFirst"><code>protected org.eclipse.swt.graphics.Point</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/grid/GridItem.html#getCellSize-int-">getCellSize</a></span>(int&nbsp;columnIndex)</code>&nbsp;</td>
</tr>
<tr id="i13" class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/grid/GridItem.html#getCheckable-int-">getCheckable</a></span>(int&nbsp;index)</code>
<div class="block">Returns the checkable state at the given column index in the receiver.</div>
</td>
</tr>
<tr id="i14" class="altColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/grid/GridItem.html#getChecked--">getChecked</a></span>()</code>
<div class="block">Returns the checked state at the first column in the receiver.</div>
</td>
</tr>
<tr id="i15" class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/grid/GridItem.html#getChecked-int-">getChecked</a></span>(int&nbsp;index)</code>
<div class="block">Returns the checked state at the given column index in the receiver.</div>
</td>
</tr>
<tr id="i16" class="altColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/grid/GridItem.html#getColumnSpan-int-">getColumnSpan</a></span>(int&nbsp;index)</code>
<div class="block">Returns the column span for the given column index in the receiver.</div>
</td>
</tr>
<tr id="i17" 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/widgets/grid/GridItem.html#getFont--">getFont</a></span>()</code>
<div class="block">Returns the font that the receiver will use to paint textual information
for this item.</div>
</td>
</tr>
<tr id="i18" 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/widgets/grid/GridItem.html#getFont-int-">getFont</a></span>(int&nbsp;index)</code>
<div class="block">Returns the font that the receiver will use to paint textual information
for the specified cell in this item.</div>
</td>
</tr>
<tr id="i19" 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/widgets/grid/GridItem.html#getForeground--">getForeground</a></span>()</code>
<div class="block">Returns the foreground color that the receiver will use to draw.</div>
</td>
</tr>
<tr id="i20" 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/widgets/grid/GridItem.html#getForeground-int-">getForeground</a></span>(int&nbsp;index)</code>
<div class="block">Returns the foreground color at the given column index in the receiver.</div>
</td>
</tr>
<tr id="i21" class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/grid/GridItem.html#getGrayed--">getGrayed</a></span>()</code>
<div class="block">Returns <code>true</code> if the first column in the receiver is grayed,
and false otherwise.</div>
</td>
</tr>
<tr id="i22" class="altColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/grid/GridItem.html#getGrayed-int-">getGrayed</a></span>(int&nbsp;index)</code>
<div class="block">Returns <code>true</code> if the column at the given index in the
receiver is grayed, and false otherwise.</div>
</td>
</tr>
<tr id="i23" 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/widgets/grid/GridItem.html#getHeaderBackground--">getHeaderBackground</a></span>()</code>
<div class="block">Returns the receiver's row header background color</div>
</td>
</tr>
<tr id="i24" 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/widgets/grid/GridItem.html#getHeaderFont--">getHeaderFont</a></span>()</code>
<div class="block">Returns the receiver's row header font</div>
</td>
</tr>
<tr id="i25" 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/widgets/grid/GridItem.html#getHeaderForeground--">getHeaderForeground</a></span>()</code>
<div class="block">Returns the receiver's row header foreground color</div>
</td>
</tr>
<tr id="i26" class="altColor">
<td class="colFirst"><code>org.eclipse.swt.graphics.Image</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/grid/GridItem.html#getHeaderImage--">getHeaderImage</a></span>()</code>
<div class="block">Returns the receiver's row header image.</div>
</td>
</tr>
<tr id="i27" class="rowColor">
<td class="colFirst"><code>java.lang.String</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/grid/GridItem.html#getHeaderText--">getHeaderText</a></span>()</code>
<div class="block">Returns the receiver's row header text.</div>
</td>
</tr>
<tr id="i28" class="altColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/grid/GridItem.html#getHeight--">getHeight</a></span>()</code>
<div class="block">Returns the height of this <code>GridItem</code>.</div>
</td>
</tr>
<tr id="i29" 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/widgets/grid/GridItem.html#getImage--">getImage</a></span>()</code></td>
</tr>
<tr id="i30" class="altColor">
<td class="colFirst"><code>org.eclipse.swt.graphics.Image</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/grid/GridItem.html#getImage-int-">getImage</a></span>(int&nbsp;index)</code>
<div class="block">Returns the image stored at the given column index in the receiver, or
null if the image has not been set or if the column does not exist.</div>
</td>
</tr>
<tr id="i31" class="rowColor">
<td class="colFirst"><code><a href="../../../../../org/eclipse/nebula/widgets/grid/GridItem.html" title="class in org.eclipse.nebula.widgets.grid">GridItem</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/grid/GridItem.html#getItem-int-">getItem</a></span>(int&nbsp;index)</code>
<div class="block">Returns the item at the given, zero-relative index in the receiver.</div>
</td>
</tr>
<tr id="i32" class="altColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/grid/GridItem.html#getItemCount--">getItemCount</a></span>()</code>
<div class="block">Returns the number of items contained in the receiver that are direct
item children of the receiver.</div>
</td>
</tr>
<tr id="i33" class="rowColor">
<td class="colFirst"><code><a href="../../../../../org/eclipse/nebula/widgets/grid/GridItem.html" title="class in org.eclipse.nebula.widgets.grid">GridItem</a>[]</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/grid/GridItem.html#getItems--">getItems</a></span>()</code>
<div class="block">Returns a (possibly empty) array of <code>GridItem</code>s which are the
direct item children of the receiver.</div>
</td>
</tr>
<tr id="i34" class="altColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/grid/GridItem.html#getLevel--">getLevel</a></span>()</code>
<div class="block">Returns the level of this item in the tree.</div>
</td>
</tr>
<tr id="i35" class="rowColor">
<td class="colFirst"><code><a href="../../../../../org/eclipse/nebula/widgets/grid/Grid.html" title="class in org.eclipse.nebula.widgets.grid">Grid</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/grid/GridItem.html#getParent--">getParent</a></span>()</code>
<div class="block">Returns the receiver's parent, which must be a <code>Grid</code>.</div>
</td>
</tr>
<tr id="i36" class="altColor">
<td class="colFirst"><code><a href="../../../../../org/eclipse/nebula/widgets/grid/GridItem.html" title="class in org.eclipse.nebula.widgets.grid">GridItem</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/grid/GridItem.html#getParentItem--">getParentItem</a></span>()</code>
<div class="block">Returns the receiver's parent item, which must be a <code>GridItem</code>
or null when the receiver is a root.</div>
</td>
</tr>
<tr id="i37" class="rowColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/grid/GridItem.html#getRowIndex--">getRowIndex</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i38" class="altColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/grid/GridItem.html#getRowSpan-int-">getRowSpan</a></span>(int&nbsp;index)</code>
<div class="block">Returns the row span for the given column index in the receiver.</div>
</td>
</tr>
<tr id="i39" class="rowColor">
<td class="colFirst"><code>java.lang.String</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/grid/GridItem.html#getText--">getText</a></span>()</code></td>
</tr>
<tr id="i40" class="altColor">
<td class="colFirst"><code>java.lang.String</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/grid/GridItem.html#getText-int-">getText</a></span>(int&nbsp;index)</code>
<div class="block">Returns the text stored at the given column index in the receiver, or
empty string if the text has not been set.</div>
</td>
</tr>
<tr id="i41" class="rowColor">
<td class="colFirst"><code>java.lang.String</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/grid/GridItem.html#getToolTipText-int-">getToolTipText</a></span>(int&nbsp;index)</code>
<div class="block">Returns the tooltip for the given cell.</div>
</td>
</tr>
<tr id="i42" class="altColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/grid/GridItem.html#hasChildren--">hasChildren</a></span>()</code>
<div class="block">Returns true if this item has children.</div>
</td>
</tr>
<tr id="i43" class="rowColor">
<td class="colFirst"><code>(package private) void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/grid/GridItem.html#increaseRow--">increaseRow</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i44" class="altColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/grid/GridItem.html#indexOf-org.eclipse.nebula.widgets.grid.GridItem-">indexOf</a></span>(<a href="../../../../../org/eclipse/nebula/widgets/grid/GridItem.html" title="class in org.eclipse.nebula.widgets.grid">GridItem</a>&nbsp;item)</code>
<div class="block">Searches the receiver's list starting at the first item (index 0) until
an item is found that is equal to the argument, and returns the index of
that item.</div>
</td>
</tr>
<tr id="i45" class="rowColor">
<td class="colFirst"><code>(package private) void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/grid/GridItem.html#initializeHeight-int-">initializeHeight</a></span>(int&nbsp;height)</code>
<div class="block">Sets the initial item height for this item.</div>
</td>
</tr>
<tr id="i46" class="altColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/grid/GridItem.html#isExpanded--">isExpanded</a></span>()</code>
<div class="block">Returns <code>true</code> if the receiver is expanded, and false
otherwise.</div>
</td>
</tr>
<tr id="i47" class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/grid/GridItem.html#isVisible--">isVisible</a></span>()</code>
<div class="block">Returns true if the item is visible because its parent items are all
expanded.</div>
</td>
</tr>
<tr id="i48" class="altColor">
<td class="colFirst"><code>(package private) void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/grid/GridItem.html#newItem-org.eclipse.nebula.widgets.grid.GridItem-int-">newItem</a></span>(<a href="../../../../../org/eclipse/nebula/widgets/grid/GridItem.html" title="class in org.eclipse.nebula.widgets.grid">GridItem</a>&nbsp;item,
int&nbsp;index)</code>
<div class="block">Creates a new child item in this item at the given index.</div>
</td>
</tr>
<tr id="i49" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/grid/GridItem.html#pack--">pack</a></span>()</code>
<div class="block">Sets this <code>GridItem</code> to its preferred height.</div>
</td>
</tr>
<tr id="i50" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/grid/GridItem.html#removeControlListener-org.eclipse.swt.events.ControlListener-">removeControlListener</a></span>(org.eclipse.swt.events.ControlListener&nbsp;listener)</code>
<div class="block">Removes the listener from the collection of listeners who will be
notified when the row is resized.</div>
</td>
</tr>
<tr id="i51" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/grid/GridItem.html#setBackground-org.eclipse.swt.graphics.Color-">setBackground</a></span>(org.eclipse.swt.graphics.Color&nbsp;background)</code>
<div class="block">Sets the receiver's background color to the color specified by the
argument, or to the default system color for the item if the argument is
null.</div>
</td>
</tr>
<tr id="i52" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/grid/GridItem.html#setBackground-int-org.eclipse.swt.graphics.Color-">setBackground</a></span>(int&nbsp;index,
org.eclipse.swt.graphics.Color&nbsp;background)</code>
<div class="block">Sets the background color at the given column index in the receiver to
the color specified by the argument, or to the default system color for
the item if the argument is null.</div>
</td>
</tr>
<tr id="i53" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/grid/GridItem.html#setCheckable-int-boolean-">setCheckable</a></span>(int&nbsp;index,
boolean&nbsp;checked)</code>
<div class="block">Sets the checkable state at the given column index in the receiver.</div>
</td>
</tr>
<tr id="i54" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/grid/GridItem.html#setChecked-boolean-">setChecked</a></span>(boolean&nbsp;checked)</code>
<div class="block">Sets the checked state at the first column in the receiver.</div>
</td>
</tr>
<tr id="i55" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/grid/GridItem.html#setChecked-int-boolean-">setChecked</a></span>(int&nbsp;index,
boolean&nbsp;checked)</code>
<div class="block">Sets the checked state at the given column index in the receiver.</div>
</td>
</tr>
<tr id="i56" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/grid/GridItem.html#setColumnSpan-int-int-">setColumnSpan</a></span>(int&nbsp;index,
int&nbsp;span)</code>
<div class="block">Sets the column spanning for the column at the given index to span the
given number of subsequent columns.</div>
</td>
</tr>
<tr id="i57" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/grid/GridItem.html#setExpanded-boolean-">setExpanded</a></span>(boolean&nbsp;expanded)</code>
<div class="block">Sets the expanded state of the receiver.</div>
</td>
</tr>
<tr id="i58" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/grid/GridItem.html#setFont-org.eclipse.swt.graphics.Font-">setFont</a></span>(org.eclipse.swt.graphics.Font&nbsp;f)</code>
<div class="block">Sets the font that the receiver will use to paint textual information for
this item to the font specified by the argument, or to the default font
for that kind of control if the argument is null.</div>
</td>
</tr>
<tr id="i59" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/grid/GridItem.html#setFont-int-org.eclipse.swt.graphics.Font-">setFont</a></span>(int&nbsp;index,
org.eclipse.swt.graphics.Font&nbsp;font)</code>
<div class="block">Sets the font that the receiver will use to paint textual information for
the specified cell in this item to the font specified by the argument, or
to the default font for that kind of control if the argument is null.</div>
</td>
</tr>
<tr id="i60" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/grid/GridItem.html#setForeground-org.eclipse.swt.graphics.Color-">setForeground</a></span>(org.eclipse.swt.graphics.Color&nbsp;foreground)</code>
<div class="block">Sets the receiver's foreground color to the color specified by the
argument, or to the default system color for the item if the argument is
null.</div>
</td>
</tr>
<tr id="i61" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/grid/GridItem.html#setForeground-int-org.eclipse.swt.graphics.Color-">setForeground</a></span>(int&nbsp;index,
org.eclipse.swt.graphics.Color&nbsp;foreground)</code>
<div class="block">Sets the foreground color at the given column index in the receiver to
the color specified by the argument, or to the default system color for
the item if the argument is null.</div>
</td>
</tr>
<tr id="i62" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/grid/GridItem.html#setGrayed-boolean-">setGrayed</a></span>(boolean&nbsp;grayed)</code>
<div class="block">Sets the grayed state of the checkbox for the first column.</div>
</td>
</tr>
<tr id="i63" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/grid/GridItem.html#setGrayed-int-boolean-">setGrayed</a></span>(int&nbsp;index,
boolean&nbsp;grayed)</code>
<div class="block">Sets the grayed state of the checkbox for the given column index.</div>
</td>
</tr>
<tr id="i64" class="altColor">
<td class="colFirst"><code>(package private) void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/grid/GridItem.html#setHasChildren-boolean-">setHasChildren</a></span>(boolean&nbsp;hasChildren)</code>
<div class="block">Sets whether this item has children.</div>
</td>
</tr>
<tr id="i65" class="rowColor">
<td class="colFirst"><code>(package private) void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/grid/GridItem.html#setHasSetData-boolean-">setHasSetData</a></span>(boolean&nbsp;hasSetData)</code>&nbsp;</td>
</tr>
<tr id="i66" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/grid/GridItem.html#setHeaderBackground-org.eclipse.swt.graphics.Color-">setHeaderBackground</a></span>(org.eclipse.swt.graphics.Color&nbsp;headerBackground)</code>
<div class="block">Set the new header background</div>
</td>
</tr>
<tr id="i67" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/grid/GridItem.html#setHeaderFont-org.eclipse.swt.graphics.Font-">setHeaderFont</a></span>(org.eclipse.swt.graphics.Font&nbsp;headerFont)</code>
<div class="block">Set the new header font</div>
</td>
</tr>
<tr id="i68" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/grid/GridItem.html#setHeaderForeground-org.eclipse.swt.graphics.Color-">setHeaderForeground</a></span>(org.eclipse.swt.graphics.Color&nbsp;headerForeground)</code>
<div class="block">Set the new header foreground</div>
</td>
</tr>
<tr id="i69" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/grid/GridItem.html#setHeaderImage-org.eclipse.swt.graphics.Image-">setHeaderImage</a></span>(org.eclipse.swt.graphics.Image&nbsp;image)</code>
<div class="block">Sets the receiver's row header image.</div>
</td>
</tr>
<tr id="i70" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/grid/GridItem.html#setHeaderText-java.lang.String-">setHeaderText</a></span>(java.lang.String&nbsp;text)</code>
<div class="block">Sets the receiver's row header text.</div>
</td>
</tr>
<tr id="i71" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/grid/GridItem.html#setHeight-int-">setHeight</a></span>(int&nbsp;newHeight)</code>
<div class="block">Sets the height of this <code>GridItem</code>.</div>
</td>
</tr>
<tr id="i72" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/grid/GridItem.html#setImage-org.eclipse.swt.graphics.Image-">setImage</a></span>(org.eclipse.swt.graphics.Image&nbsp;image)</code></td>
</tr>
<tr id="i73" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/grid/GridItem.html#setImage-int-org.eclipse.swt.graphics.Image-">setImage</a></span>(int&nbsp;index,
org.eclipse.swt.graphics.Image&nbsp;image)</code>
<div class="block">Sets the receiver's image at a column.</div>
</td>
</tr>
<tr id="i74" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/grid/GridItem.html#setRowSpan-int-int-">setRowSpan</a></span>(int&nbsp;index,
int&nbsp;span)</code>
<div class="block">Sets the row spanning for the row at the given index to span the given
number of subsequent rows.</div>
</td>
</tr>
<tr id="i75" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/grid/GridItem.html#setText-int-java.lang.String-">setText</a></span>(int&nbsp;index,
java.lang.String&nbsp;text)</code>
<div class="block">Sets the receiver's text at a column.</div>
</td>
</tr>
<tr id="i76" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/grid/GridItem.html#setText-java.lang.String-">setText</a></span>(java.lang.String&nbsp;string)</code></td>
</tr>
<tr id="i77" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/grid/GridItem.html#setToolTipText-int-java.lang.String-">setToolTipText</a></span>(int&nbsp;index,
java.lang.String&nbsp;tooltip)</code>
<div class="block">Sets the tooltip for the given column index.</div>
</td>
</tr>
<tr id="i78" class="altColor">
<td class="colFirst"><code>(package private) void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/grid/GridItem.html#setVisible-boolean-">setVisible</a></span>(boolean&nbsp;visible)</code>
<div class="block">Sets the visible state of this item.</div>
</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.org.eclipse.swt.widgets.Item">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;org.eclipse.swt.widgets.Item</h3>
<code>checkSubclass</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, 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>
</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="headerForeground">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>headerForeground</h4>
<pre>public&nbsp;org.eclipse.swt.graphics.Color headerForeground</pre>
<div class="block">Foreground color of the header</div>
</li>
</ul>
</li>
</ul>
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor.detail">
<!-- -->
</a>
<h3>Constructor Detail</h3>
<a name="GridItem-org.eclipse.nebula.widgets.grid.Grid-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>GridItem</h4>
<pre>public&nbsp;GridItem(<a href="../../../../../org/eclipse/nebula/widgets/grid/Grid.html" title="class in org.eclipse.nebula.widgets.grid">Grid</a>&nbsp;parent,
int&nbsp;style)</pre>
<div class="block">Creates a new instance of this class and places the item at the end of
the grid.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>parent</code> - parent grid</dd>
<dd><code>style</code> - item 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="GridItem-org.eclipse.nebula.widgets.grid.Grid-int-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>GridItem</h4>
<pre>public&nbsp;GridItem(<a href="../../../../../org/eclipse/nebula/widgets/grid/Grid.html" title="class in org.eclipse.nebula.widgets.grid">Grid</a>&nbsp;parent,
int&nbsp;style,
int&nbsp;index)</pre>
<div class="block">Creates a new instance of this class and places the item in the grid at
the given index.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>parent</code> - parent grid</dd>
<dd><code>style</code> - item style</dd>
<dd><code>index</code> - index where to insert item</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="GridItem-org.eclipse.nebula.widgets.grid.GridItem-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>GridItem</h4>
<pre>public&nbsp;GridItem(<a href="../../../../../org/eclipse/nebula/widgets/grid/GridItem.html" title="class in org.eclipse.nebula.widgets.grid">GridItem</a>&nbsp;parent,
int&nbsp;style)</pre>
<div class="block">Creates a new instance of this class as a child node of the given
GridItem and places the item at the end of the parents items.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>parent</code> - parent item</dd>
<dd><code>style</code> - item 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="GridItem-org.eclipse.nebula.widgets.grid.GridItem-int-int-">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>GridItem</h4>
<pre>public&nbsp;GridItem(<a href="../../../../../org/eclipse/nebula/widgets/grid/GridItem.html" title="class in org.eclipse.nebula.widgets.grid">GridItem</a>&nbsp;parent,
int&nbsp;style,
int&nbsp;index)</pre>
<div class="block">Creates a new instance of this class as a child node of the given Grid
and places the item at the given index in the parent items list.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>parent</code> - parent item</dd>
<dd><code>style</code> - item style</dd>
<dd><code>index</code> - index to place item</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="getRowIndex--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getRowIndex</h4>
<pre>public&nbsp;int&nbsp;getRowIndex()</pre>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>grid row index</dd>
</dl>
</li>
</ul>
<a name="increaseRow--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>increaseRow</h4>
<pre>void&nbsp;increaseRow()</pre>
</li>
</ul>
<a name="decreaseRow--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>decreaseRow</h4>
<pre>void&nbsp;decreaseRow()</pre>
</li>
</ul>
<a name="dispose--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>dispose</h4>
<pre>public&nbsp;void&nbsp;dispose()</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code>dispose</code>&nbsp;in class&nbsp;<code>org.eclipse.swt.widgets.Widget</code></dd>
</dl>
</li>
</ul>
<a name="addControlListener-org.eclipse.swt.events.ControlListener-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>addControlListener</h4>
<pre>public&nbsp;void&nbsp;addControlListener(org.eclipse.swt.events.ControlListener&nbsp;listener)</pre>
<div class="block">Adds the listener to the collection of listeners who will be notified
when the row is resized, by sending it one of the messages defined in the
<code>ControlListener</code> interface.
<p>
Clients who wish to override the standard row resize logic should use the
untyped listener mechanisms. The untyped <code>Event</code> object passed
to an untyped listener will have its <code>detail</code> field populated
with the new row height. Clients may alter this value to, for example,
enforce minimum or maximum row sizes. Clients may also set the
<code>doit</code> field to false to prevent the entire resize operation.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>listener</code> - the listener which should be notified</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>java.lang.IllegalArgumentException</code> - <ul>
<li>ERROR_NULL_ARGUMENT - if the listener is null</li>
</ul></dd>
<dd><code>org.eclipse.swt.SWTException</code> - <ul>
<li>ERROR_WIDGET_DISPOSED - if the receiver has been
disposed</li>
<li>ERROR_THREAD_INVALID_ACCESS - if not called from the
thread that created the receiver</li>
</ul></dd>
</dl>
</li>
</ul>
<a name="removeControlListener-org.eclipse.swt.events.ControlListener-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>removeControlListener</h4>
<pre>public&nbsp;void&nbsp;removeControlListener(org.eclipse.swt.events.ControlListener&nbsp;listener)</pre>
<div class="block">Removes the listener from the collection of listeners who will be
notified when the row is resized.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>listener</code> - the listener which should no longer be notified</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>java.lang.IllegalArgumentException</code> - <ul>
<li>ERROR_NULL_ARGUMENT - if the listener is null</li>
</ul></dd>
<dd><code>org.eclipse.swt.SWTException</code> - <ul>
<li>ERROR_WIDGET_DISPOSED - if the receiver has been
disposed</li>
<li>ERROR_THREAD_INVALID_ACCESS - if not called from the
thread that created the receiver</li>
</ul></dd>
</dl>
</li>
</ul>
<a name="fireEvent-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>fireEvent</h4>
<pre>public&nbsp;void&nbsp;fireEvent(int&nbsp;eventId)</pre>
<div class="block">Fires the given event type on the parent Grid instance. This method
should only be called from within a cell renderer. Any other use is not
intended.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>eventId</code> - SWT event constant</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>org.eclipse.swt.SWTException</code> - <ul>
<li>ERROR_WIDGET_DISPOSED - if the receiver has been disposed
</li>
<li>ERROR_THREAD_INVALID_ACCESS - if not called from the
thread that created the receiver</li>
</ul></dd>
</dl>
</li>
</ul>
<a name="fireCheckEvent-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>fireCheckEvent</h4>
<pre>public&nbsp;void&nbsp;fireCheckEvent(int&nbsp;column)</pre>
<div class="block">Fires the appropriate events in response to a user checking/unchecking an
item. Checking an item fires both a selection event (with event.detail of
SWT.CHECK) if the checkbox is in the first column and the seperate check
listener (all columns). This method manages that behavior. This method
should only be called from within a cell renderer. Any other use is not
intended.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>column</code> - the column where the checkbox resides</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>org.eclipse.swt.SWTException</code> - <ul>
<li>ERROR_WIDGET_DISPOSED - if the receiver has been disposed
</li>
<li>ERROR_THREAD_INVALID_ACCESS - if not called from the
thread that created the receiver</li>
</ul></dd>
</dl>
</li>
</ul>
<a name="getBackground--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getBackground</h4>
<pre>public&nbsp;org.eclipse.swt.graphics.Color&nbsp;getBackground()</pre>
<div class="block">Returns the receiver's background color.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the background color</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>org.eclipse.swt.SWTException</code> - <ul>
<li>ERROR_WIDGET_DISPOSED - if the receiver has been disposed
</li>
<li>ERROR_THREAD_INVALID_ACCESS - if not called from the
thread that created the receiver</li>
</ul></dd>
</dl>
</li>
</ul>
<a name="getBackground-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getBackground</h4>
<pre>public&nbsp;org.eclipse.swt.graphics.Color&nbsp;getBackground(int&nbsp;index)</pre>
<div class="block">Returns the background color at the given column index in the receiver.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>index</code> - the column index</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the background color</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>org.eclipse.swt.SWTException</code> - <ul>
<li>ERROR_WIDGET_DISPOSED - if the receiver has been disposed
</li>
<li>ERROR_THREAD_INVALID_ACCESS - if not called from the
thread that created the receiver</li>
</ul></dd>
</dl>
</li>
</ul>
<a name="getBounds-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getBounds</h4>
<pre>public&nbsp;org.eclipse.swt.graphics.Rectangle&nbsp;getBounds(int&nbsp;columnIndex)</pre>
<div class="block">Returns a rectangle describing the receiver's size and location relative
to its parent at a column in the table.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>columnIndex</code> - the index that specifies the column</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the receiver's bounding column rectangle</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>org.eclipse.swt.SWTException</code> - <ul>
<li>ERROR_WIDGET_DISPOSED - if the receiver has been disposed
</li>
<li>ERROR_THREAD_INVALID_ACCESS - if not called from the
thread that created the receiver</li>
</ul></dd>
</dl>
</li>
</ul>
<a name="getBoundsCorrected-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getBoundsCorrected</h4>
<pre>public&nbsp;org.eclipse.swt.graphics.Rectangle&nbsp;getBoundsCorrected(int&nbsp;columnIndex)</pre>
<div class="block">Returns a rectangle describing the receiver's size and location relative
to its parent at a column in the table.
Handle not visible items.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>columnIndex</code> - the index that specifies the column</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the receiver's bounding column rectangle</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>org.eclipse.swt.SWTException</code> - <ul>
<li>ERROR_WIDGET_DISPOSED - if the receiver has been disposed
</li>
<li>ERROR_THREAD_INVALID_ACCESS - if not called from the
thread that created the receiver</li>
</ul></dd>
</dl>
</li>
</ul>
<a name="getCellSize-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getCellSize</h4>
<pre>protected&nbsp;org.eclipse.swt.graphics.Point&nbsp;getCellSize(int&nbsp;columnIndex)</pre>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>columnIndex</code> - </dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>width and height</dd>
</dl>
</li>
</ul>
<a name="getChecked--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getChecked</h4>
<pre>public&nbsp;boolean&nbsp;getChecked()</pre>
<div class="block">Returns the checked state at the first column in the receiver.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the checked state</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>org.eclipse.swt.SWTException</code> - <ul>
<li>ERROR_WIDGET_DISPOSED - if the receiver has been disposed
</li>
<li>ERROR_THREAD_INVALID_ACCESS - if not called from the
thread that created the receiver</li>
</ul></dd>
</dl>
</li>
</ul>
<a name="getChecked-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getChecked</h4>
<pre>public&nbsp;boolean&nbsp;getChecked(int&nbsp;index)</pre>
<div class="block">Returns the checked state at the given column index in the receiver.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>index</code> - the column index</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the checked state</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>org.eclipse.swt.SWTException</code> - <ul>
<li>ERROR_WIDGET_DISPOSED - if the receiver has been disposed
</li>
<li>ERROR_THREAD_INVALID_ACCESS - if not called from the
thread that created the receiver</li>
</ul></dd>
</dl>
</li>
</ul>
<a name="getColumnSpan-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getColumnSpan</h4>
<pre>public&nbsp;int&nbsp;getColumnSpan(int&nbsp;index)</pre>
<div class="block">Returns the column span for the given column index in the receiver.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>index</code> - the column index</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the number of columns spanned (0 equals no columns spanned)</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>org.eclipse.swt.SWTException</code> - <ul>
<li>ERROR_WIDGET_DISPOSED - if the receiver has been disposed
</li>
<li>ERROR_THREAD_INVALID_ACCESS - if not called from the
thread that created the receiver</li>
</ul></dd>
</dl>
</li>
</ul>
<a name="getRowSpan-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getRowSpan</h4>
<pre>public&nbsp;int&nbsp;getRowSpan(int&nbsp;index)</pre>
<div class="block">Returns the row span for the given column index in the receiver.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>index</code> - the row index</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the number of row spanned (0 equals no row spanned)</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>org.eclipse.swt.SWTException</code> - <ul>
<li>ERROR_WIDGET_DISPOSED - if the receiver has been disposed
</li>
<li>ERROR_THREAD_INVALID_ACCESS - if not called from the
thread that created the receiver</li>
</ul></dd>
</dl>
</li>
</ul>
<a name="getFont--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getFont</h4>
<pre>public&nbsp;org.eclipse.swt.graphics.Font&nbsp;getFont()</pre>
<div class="block">Returns the font that the receiver will use to paint textual information
for this item.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the receiver's font</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>org.eclipse.swt.SWTException</code> - <ul>
<li>ERROR_WIDGET_DISPOSED - if the receiver has been disposed
</li>
<li>ERROR_THREAD_INVALID_ACCESS - if not called from the
thread that created the receiver</li>
</ul></dd>
</dl>
</li>
</ul>
<a name="getFont-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getFont</h4>
<pre>public&nbsp;org.eclipse.swt.graphics.Font&nbsp;getFont(int&nbsp;index)</pre>
<div class="block">Returns the font that the receiver will use to paint textual information
for the specified cell in this item.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>index</code> - the column index</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the receiver's font</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>org.eclipse.swt.SWTException</code> - <ul>
<li>ERROR_WIDGET_DISPOSED - if the receiver has been disposed
</li>
<li>ERROR_THREAD_INVALID_ACCESS - if not called from the
thread that created the receiver</li>
</ul></dd>
</dl>
</li>
</ul>
<a name="getForeground--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getForeground</h4>
<pre>public&nbsp;org.eclipse.swt.graphics.Color&nbsp;getForeground()</pre>
<div class="block">Returns the foreground color that the receiver will use to draw.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the receiver's foreground color</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>org.eclipse.swt.SWTException</code> - <ul>
<li>ERROR_WIDGET_DISPOSED - if the receiver has been disposed
</li>
<li>ERROR_THREAD_INVALID_ACCESS - if not called from the
thread that created the receiver</li>
</ul></dd>
</dl>
</li>
</ul>
<a name="getForeground-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getForeground</h4>
<pre>public&nbsp;org.eclipse.swt.graphics.Color&nbsp;getForeground(int&nbsp;index)</pre>
<div class="block">Returns the foreground color at the given column index in the receiver.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>index</code> - the column index</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the foreground color</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>org.eclipse.swt.SWTException</code> - <ul>
<li>ERROR_WIDGET_DISPOSED - if the receiver has been disposed
</li>
<li>ERROR_THREAD_INVALID_ACCESS - if not called from the
thread that created the receiver</li>
</ul></dd>
</dl>
</li>
</ul>
<a name="getGrayed--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getGrayed</h4>
<pre>public&nbsp;boolean&nbsp;getGrayed()</pre>
<div class="block">Returns <code>true</code> if the first column in the receiver is grayed,
and false otherwise. When the GridColumn does not have the
<code>CHECK</code> style, return false.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the grayed state of the checkbox</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>org.eclipse.swt.SWTException</code> - <ul>
<li>ERROR_WIDGET_DISPOSED - if the receiver has been disposed
</li>
<li>ERROR_THREAD_INVALID_ACCESS - if not called from the
thread that created the receiver</li>
</ul></dd>
</dl>
</li>
</ul>
<a name="getGrayed-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getGrayed</h4>
<pre>public&nbsp;boolean&nbsp;getGrayed(int&nbsp;index)</pre>
<div class="block">Returns <code>true</code> if the column at the given index in the
receiver is grayed, and false otherwise. When the GridColumn does not
have the <code>CHECK</code> style, return false.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>index</code> - the column index</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the grayed state of the checkbox</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>org.eclipse.swt.SWTException</code> - <ul>
<li>ERROR_WIDGET_DISPOSED - if the receiver has been disposed
</li>
<li>ERROR_THREAD_INVALID_ACCESS - if not called from the
thread that created the receiver</li>
</ul></dd>
</dl>
</li>
</ul>
<a name="getHeight--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getHeight</h4>
<pre>public&nbsp;int&nbsp;getHeight()</pre>
<div class="block">Returns the height of this <code>GridItem</code>.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>height of this <code>GridItem</code></dd>
</dl>
</li>
</ul>
<a name="getImage--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getImage</h4>
<pre>public&nbsp;org.eclipse.swt.graphics.Image&nbsp;getImage()</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code>getImage</code>&nbsp;in class&nbsp;<code>org.eclipse.swt.widgets.Item</code></dd>
</dl>
</li>
</ul>
<a name="getImage-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getImage</h4>
<pre>public&nbsp;org.eclipse.swt.graphics.Image&nbsp;getImage(int&nbsp;index)</pre>
<div class="block">Returns the image stored at the given column index in the receiver, or
null if the image has not been set or if the column does not exist.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>index</code> - the column index</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the image stored at the given column index in the receiver</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>org.eclipse.swt.SWTException</code> - <ul>
<li>ERROR_WIDGET_DISPOSED - if the receiver has been disposed
</li>
<li>ERROR_THREAD_INVALID_ACCESS - if not called from the
thread that created the receiver</li>
</ul></dd>
</dl>
</li>
</ul>
<a name="getItem-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getItem</h4>
<pre>public&nbsp;<a href="../../../../../org/eclipse/nebula/widgets/grid/GridItem.html" title="class in org.eclipse.nebula.widgets.grid">GridItem</a>&nbsp;getItem(int&nbsp;index)</pre>
<div class="block">Returns the item at the given, zero-relative index in the receiver.
Throws an exception if the index is out of range.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>index</code> - the index of the item to return</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the item at the given index</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>java.lang.IllegalArgumentException</code> - <ul>
<li>ERROR_INVALID_RANGE - if the index is not between 0 and
the number of elements in the list minus 1 (inclusive)</li>
</ul></dd>
<dd><code>org.eclipse.swt.SWTException</code> - <ul>
<li>ERROR_WIDGET_DISPOSED - if the receiver has been disposed
</li>
<li>ERROR_THREAD_INVALID_ACCESS - if not called from the
thread that created the receiver</li>
</ul></dd>
</dl>
</li>
</ul>
<a name="getItemCount--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getItemCount</h4>
<pre>public&nbsp;int&nbsp;getItemCount()</pre>
<div class="block">Returns the number of items contained in the receiver that are direct
item children of the receiver.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the number of items</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>org.eclipse.swt.SWTException</code> - <ul>
<li>ERROR_WIDGET_DISPOSED - if the receiver has been disposed
</li>
<li>ERROR_THREAD_INVALID_ACCESS - if not called from the
thread that created the receiver</li>
</ul></dd>
</dl>
</li>
</ul>
<a name="indexOf-org.eclipse.nebula.widgets.grid.GridItem-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>indexOf</h4>
<pre>public&nbsp;int&nbsp;indexOf(<a href="../../../../../org/eclipse/nebula/widgets/grid/GridItem.html" title="class in org.eclipse.nebula.widgets.grid">GridItem</a>&nbsp;item)</pre>
<div class="block">Searches the receiver's list starting at the first item (index 0) until
an item is found that is equal to the argument, and returns the index of
that item. If no item is found, returns -1.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>item</code> - the search item</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the index of the item</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>java.lang.IllegalArgumentException</code> - <ul>
<li>ERROR_NULL_ARGUMENT - if the item is null</li>
<li>ERROR_INVALID_ARGUMENT - if the item has been disposed
</li>
</ul></dd>
<dd><code>org.eclipse.swt.SWTException</code> - <ul>
<li>ERROR_WIDGET_DISPOSED - if the receiver has been
disposed</li>
<li>ERROR_THREAD_INVALID_ACCESS - if not called from the
thread that created the receiver</li>
</ul></dd>
</dl>
</li>
</ul>
<a name="getItems--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getItems</h4>
<pre>public&nbsp;<a href="../../../../../org/eclipse/nebula/widgets/grid/GridItem.html" title="class in org.eclipse.nebula.widgets.grid">GridItem</a>[]&nbsp;getItems()</pre>
<div class="block">Returns a (possibly empty) array of <code>GridItem</code>s which are the
direct item children of the receiver.
<p>
Note: This is not the actual structure used by the receiver to maintain
its list of items, so modifying the array will not affect the receiver.
</p></div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the receiver's items</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>org.eclipse.swt.SWTException</code> - <ul>
<li>ERROR_WIDGET_DISPOSED - if the receiver has been disposed
</li>
<li>ERROR_THREAD_INVALID_ACCESS - if not called from the
thread that created the receiver</li>
</ul></dd>
</dl>
</li>
</ul>
<a name="getLevel--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getLevel</h4>
<pre>public&nbsp;int&nbsp;getLevel()</pre>
<div class="block">Returns the level of this item in the tree.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the level of the item in the tree</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>org.eclipse.swt.SWTException</code> - <ul>
<li>ERROR_WIDGET_DISPOSED - if the receiver has been disposed
</li>
<li>ERROR_THREAD_INVALID_ACCESS - if not called from the
thread that created the receiver</li>
</ul></dd>
</dl>
</li>
</ul>
<a name="getParent--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getParent</h4>
<pre>public&nbsp;<a href="../../../../../org/eclipse/nebula/widgets/grid/Grid.html" title="class in org.eclipse.nebula.widgets.grid">Grid</a>&nbsp;getParent()</pre>
<div class="block">Returns the receiver's parent, which must be a <code>Grid</code>.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the receiver's parent</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>org.eclipse.swt.SWTException</code> - <ul>
<li>ERROR_WIDGET_DISPOSED - if the receiver has been disposed
</li>
<li>ERROR_THREAD_INVALID_ACCESS - if not called from the
thread that created the receiver</li>
</ul></dd>
</dl>
</li>
</ul>
<a name="getParentItem--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getParentItem</h4>
<pre>public&nbsp;<a href="../../../../../org/eclipse/nebula/widgets/grid/GridItem.html" title="class in org.eclipse.nebula.widgets.grid">GridItem</a>&nbsp;getParentItem()</pre>
<div class="block">Returns the receiver's parent item, which must be a <code>GridItem</code>
or null when the receiver is a root.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the receiver's parent item</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>org.eclipse.swt.SWTException</code> - <ul>
<li>ERROR_WIDGET_DISPOSED - if the receiver has been disposed
</li>
<li>ERROR_THREAD_INVALID_ACCESS - if not called from the
thread that created the receiver</li>
</ul></dd>
</dl>
</li>
</ul>
<a name="getText--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getText</h4>
<pre>public&nbsp;java.lang.String&nbsp;getText()</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code>getText</code>&nbsp;in class&nbsp;<code>org.eclipse.swt.widgets.Item</code></dd>
</dl>
</li>
</ul>
<a name="getText-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getText</h4>
<pre>public&nbsp;java.lang.String&nbsp;getText(int&nbsp;index)</pre>
<div class="block">Returns the text stored at the given column index in the receiver, or
empty string if the text has not been set.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>index</code> - the column index</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the text stored at the given column index in the receiver</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>org.eclipse.swt.SWTException</code> - <ul>
<li>ERROR_WIDGET_DISPOSED - if the receiver has been disposed
</li>
<li>ERROR_THREAD_INVALID_ACCESS - if not called from the
thread that created the receiver</li>
</ul></dd>
</dl>
</li>
</ul>
<a name="hasChildren--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>hasChildren</h4>
<pre>public&nbsp;boolean&nbsp;hasChildren()</pre>
<div class="block">Returns true if this item has children.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>true if this item has children</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>org.eclipse.swt.SWTException</code> - <ul>
<li>ERROR_WIDGET_DISPOSED - if the receiver has been disposed
</li>
<li>ERROR_THREAD_INVALID_ACCESS - if not called from the
thread that created the receiver</li>
</ul></dd>
</dl>
</li>
</ul>
<a name="isExpanded--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isExpanded</h4>
<pre>public&nbsp;boolean&nbsp;isExpanded()</pre>
<div class="block">Returns <code>true</code> if the receiver is expanded, and false
otherwise.
<p></div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the expanded state</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>org.eclipse.swt.SWTException</code> - <ul>
<li>ERROR_WIDGET_DISPOSED - if the receiver has been disposed
</li>
<li>ERROR_THREAD_INVALID_ACCESS - if not called from the
thread that created the receiver</li>
</ul></dd>
</dl>
</li>
</ul>
<a name="setBackground-org.eclipse.swt.graphics.Color-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setBackground</h4>
<pre>public&nbsp;void&nbsp;setBackground(org.eclipse.swt.graphics.Color&nbsp;background)</pre>
<div class="block">Sets the receiver's background color to the color specified by the
argument, or to the default system color for the item if the argument is
null.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>background</code> - the new color (or null)</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>java.lang.IllegalArgumentException</code> - <ul>
<li>ERROR_INVALID_ARGUMENT - if the argument has been
disposed</li>
</ul></dd>
<dd><code>org.eclipse.swt.SWTException</code> - <ul>
<li>ERROR_WIDGET_DISPOSED - if the receiver has been disposed
</li>
<li>ERROR_THREAD_INVALID_ACCESS - if not called from the
thread that created the receiver</li>
</ul></dd>
</dl>
</li>
</ul>
<a name="setBackground-int-org.eclipse.swt.graphics.Color-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setBackground</h4>
<pre>public&nbsp;void&nbsp;setBackground(int&nbsp;index,
org.eclipse.swt.graphics.Color&nbsp;background)</pre>
<div class="block">Sets the background color at the given column index in the receiver to
the color specified by the argument, or to the default system color for
the item if the argument is null.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>index</code> - the column index</dd>
<dd><code>background</code> - the new color (or null)</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>java.lang.IllegalArgumentException</code> - <ul>
<li>ERROR_INVALID_ARGUMENT - if the argument has been
disposed</li>
</ul></dd>
<dd><code>org.eclipse.swt.SWTException</code> - <ul>
<li>ERROR_WIDGET_DISPOSED - if the receiver has been disposed
</li>
<li>ERROR_THREAD_INVALID_ACCESS - if not called from the
thread that created the receiver</li>
</ul></dd>
</dl>
</li>
</ul>
<a name="setChecked-boolean-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setChecked</h4>
<pre>public&nbsp;void&nbsp;setChecked(boolean&nbsp;checked)</pre>
<div class="block">Sets the checked state at the first column in the receiver.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>checked</code> - the new checked state</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>org.eclipse.swt.SWTException</code> - <ul>
<li>ERROR_WIDGET_DISPOSED - if the receiver has been disposed
</li>
<li>ERROR_THREAD_INVALID_ACCESS - if not called from the
thread that created the receiver</li>
</ul></dd>
</dl>
</li>
</ul>
<a name="setChecked-int-boolean-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setChecked</h4>
<pre>public&nbsp;void&nbsp;setChecked(int&nbsp;index,
boolean&nbsp;checked)</pre>
<div class="block">Sets the checked state at the given column index in the receiver.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>index</code> - the column index</dd>
<dd><code>checked</code> - the new checked state</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>org.eclipse.swt.SWTException</code> - <ul>
<li>ERROR_WIDGET_DISPOSED - if the receiver has been disposed
</li>
<li>ERROR_THREAD_INVALID_ACCESS - if not called from the
thread that created the receiver</li>
</ul></dd>
</dl>
</li>
</ul>
<a name="setColumnSpan-int-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setColumnSpan</h4>
<pre>public&nbsp;void&nbsp;setColumnSpan(int&nbsp;index,
int&nbsp;span)</pre>
<div class="block">Sets the column spanning for the column at the given index to span the
given number of subsequent columns.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>index</code> - column index that should span</dd>
<dd><code>span</code> - number of subsequent columns to span</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>org.eclipse.swt.SWTException</code> - <ul>
<li>ERROR_WIDGET_DISPOSED - if the receiver has been disposed
</li>
<li>ERROR_THREAD_INVALID_ACCESS - if not called from the
thread that created the receiver</li>
</ul></dd>
</dl>
</li>
</ul>
<a name="setRowSpan-int-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setRowSpan</h4>
<pre>public&nbsp;void&nbsp;setRowSpan(int&nbsp;index,
int&nbsp;span)</pre>
<div class="block">Sets the row spanning for the row at the given index to span the given
number of subsequent rows.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>index</code> - row index that should span</dd>
<dd><code>span</code> - number of subsequent rows to span</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>org.eclipse.swt.SWTException</code> - <ul>
<li>ERROR_WIDGET_DISPOSED - if the receiver has been disposed
</li>
<li>ERROR_THREAD_INVALID_ACCESS - if not called from the
thread that created the receiver</li>
</ul></dd>
</dl>
</li>
</ul>
<a name="setExpanded-boolean-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setExpanded</h4>
<pre>public&nbsp;void&nbsp;setExpanded(boolean&nbsp;expanded)</pre>
<div class="block">Sets the expanded state of the receiver.
<p></div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>expanded</code> - the new expanded state</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>org.eclipse.swt.SWTException</code> - <ul>
<li>ERROR_WIDGET_DISPOSED - if the receiver has been disposed
</li>
<li>ERROR_THREAD_INVALID_ACCESS - if not called from the
thread that created the receiver</li>
</ul></dd>
</dl>
</li>
</ul>
<a name="setFont-org.eclipse.swt.graphics.Font-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setFont</h4>
<pre>public&nbsp;void&nbsp;setFont(org.eclipse.swt.graphics.Font&nbsp;f)</pre>
<div class="block">Sets the font that the receiver will use to paint textual information for
this item to the font specified by the argument, or to the default font
for that kind of control if the argument is null.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>f</code> - the new font (or null)</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>java.lang.IllegalArgumentException</code> - <ul>
<li>ERROR_INVALID_ARGUMENT - if the argument has been
disposed</li>
</ul></dd>
<dd><code>org.eclipse.swt.SWTException</code> - <ul>
<li>ERROR_WIDGET_DISPOSED - if the receiver has been disposed
</li>
<li>ERROR_THREAD_INVALID_ACCESS - if not called from the
thread that created the receiver</li>
</ul></dd>
</dl>
</li>
</ul>
<a name="setFont-int-org.eclipse.swt.graphics.Font-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setFont</h4>
<pre>public&nbsp;void&nbsp;setFont(int&nbsp;index,
org.eclipse.swt.graphics.Font&nbsp;font)</pre>
<div class="block">Sets the font that the receiver will use to paint textual information for
the specified cell in this item to the font specified by the argument, or
to the default font for that kind of control if the argument is null.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>index</code> - the column index</dd>
<dd><code>font</code> - the new font (or null)</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>java.lang.IllegalArgumentException</code> - <ul>
<li>ERROR_INVALID_ARGUMENT - if the argument has been
disposed</li>
</ul></dd>
<dd><code>org.eclipse.swt.SWTException</code> - <ul>
<li>ERROR_WIDGET_DISPOSED - if the receiver has been disposed
</li>
<li>ERROR_THREAD_INVALID_ACCESS - if not called from the
thread that created the receiver</li>
</ul></dd>
</dl>
</li>
</ul>
<a name="setForeground-org.eclipse.swt.graphics.Color-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setForeground</h4>
<pre>public&nbsp;void&nbsp;setForeground(org.eclipse.swt.graphics.Color&nbsp;foreground)</pre>
<div class="block">Sets the receiver's foreground color to the color specified by the
argument, or to the default system color for the item if the argument is
null.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>foreground</code> - the new color (or null)</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>java.lang.IllegalArgumentException</code> - <ul>
<li>ERROR_INVALID_ARGUMENT - if the argument has been
disposed</li>
</ul></dd>
<dd><code>org.eclipse.swt.SWTException</code> - <ul>
<li>ERROR_WIDGET_DISPOSED - if the receiver has been disposed
</li>
<li>ERROR_THREAD_INVALID_ACCESS - if not called from the
thread that created the receiver</li>
</ul></dd>
</dl>
</li>
</ul>
<a name="setForeground-int-org.eclipse.swt.graphics.Color-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setForeground</h4>
<pre>public&nbsp;void&nbsp;setForeground(int&nbsp;index,
org.eclipse.swt.graphics.Color&nbsp;foreground)</pre>
<div class="block">Sets the foreground color at the given column index in the receiver to
the color specified by the argument, or to the default system color for
the item if the argument is null.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>index</code> - the column index</dd>
<dd><code>foreground</code> - the new color (or null)</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>java.lang.IllegalArgumentException</code> - <ul>
<li>ERROR_INVALID_ARGUMENT - if the argument has been
disposed</li>
</ul></dd>
<dd><code>org.eclipse.swt.SWTException</code> - <ul>
<li>ERROR_WIDGET_DISPOSED - if the receiver has been disposed
</li>
<li>ERROR_THREAD_INVALID_ACCESS - if not called from the
thread that created the receiver</li>
</ul></dd>
</dl>
</li>
</ul>
<a name="setGrayed-boolean-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setGrayed</h4>
<pre>public&nbsp;void&nbsp;setGrayed(boolean&nbsp;grayed)</pre>
<div class="block">Sets the grayed state of the checkbox for the first column. This state
change only applies if the GridColumn was created with the SWT.CHECK
style.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>grayed</code> - the new grayed state of the checkbox;</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>org.eclipse.swt.SWTException</code> - <ul>
<li>ERROR_WIDGET_DISPOSED - if the receiver has been disposed
</li>
<li>ERROR_THREAD_INVALID_ACCESS - if not called from the
thread that created the receiver</li>
</ul></dd>
</dl>
</li>
</ul>
<a name="setGrayed-int-boolean-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setGrayed</h4>
<pre>public&nbsp;void&nbsp;setGrayed(int&nbsp;index,
boolean&nbsp;grayed)</pre>
<div class="block">Sets the grayed state of the checkbox for the given column index. This
state change only applies if the GridColumn was created with the
SWT.CHECK style.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>index</code> - the column index</dd>
<dd><code>grayed</code> - the new grayed state of the checkbox;</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>org.eclipse.swt.SWTException</code> - <ul>
<li>ERROR_WIDGET_DISPOSED - if the receiver has been disposed
</li>
<li>ERROR_THREAD_INVALID_ACCESS - if not called from the
thread that created the receiver</li>
</ul></dd>
</dl>
</li>
</ul>
<a name="setHeight-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setHeight</h4>
<pre>public&nbsp;void&nbsp;setHeight(int&nbsp;newHeight)</pre>
<div class="block">Sets the height of this <code>GridItem</code>.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>newHeight</code> - new height in pixels</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>org.eclipse.swt.SWTException</code> - <ul>
<li>ERROR_WIDGET_DISPOSED - if the receiver has been disposed
</li>
<li>ERROR_THREAD_INVALID_ACCESS - if not called from the
thread that created the receiver</li>
</ul></dd>
</dl>
</li>
</ul>
<a name="pack--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>pack</h4>
<pre>public&nbsp;void&nbsp;pack()</pre>
<div class="block">Sets this <code>GridItem</code> to its preferred height.</div>
<dl>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>org.eclipse.swt.SWTException</code> - <ul>
<li>ERROR_WIDGET_DISPOSED - if the receiver has been disposed
</li>
<li>ERROR_THREAD_INVALID_ACCESS - if not called from the
thread that created the receiver</li>
</ul></dd>
</dl>
</li>
</ul>
<a name="setImage-org.eclipse.swt.graphics.Image-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setImage</h4>
<pre>public&nbsp;void&nbsp;setImage(org.eclipse.swt.graphics.Image&nbsp;image)</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code>setImage</code>&nbsp;in class&nbsp;<code>org.eclipse.swt.widgets.Item</code></dd>
</dl>
</li>
</ul>
<a name="setImage-int-org.eclipse.swt.graphics.Image-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setImage</h4>
<pre>public&nbsp;void&nbsp;setImage(int&nbsp;index,
org.eclipse.swt.graphics.Image&nbsp;image)</pre>
<div class="block">Sets the receiver's image at a column.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>index</code> - the column index</dd>
<dd><code>image</code> - the new image</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>java.lang.IllegalArgumentException</code> - <ul>
<li>ERROR_INVALID_ARGUMENT - if the image has been disposed
</li>
</ul></dd>
<dd><code>org.eclipse.swt.SWTException</code> - <ul>
<li>ERROR_WIDGET_DISPOSED - if the receiver has been disposed
</li>
<li>ERROR_THREAD_INVALID_ACCESS - if not called from the
thread that created the receiver</li>
</ul></dd>
</dl>
</li>
</ul>
<a name="setText-int-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setText</h4>
<pre>public&nbsp;void&nbsp;setText(int&nbsp;index,
java.lang.String&nbsp;text)</pre>
<div class="block">Sets the receiver's text at a column.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>index</code> - the column index</dd>
<dd><code>text</code> - the new text</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>java.lang.IllegalArgumentException</code> - <ul>
<li>ERROR_NULL_ARGUMENT - if the text is null</li>
</ul></dd>
<dd><code>org.eclipse.swt.SWTException</code> - <ul>
<li>ERROR_WIDGET_DISPOSED - if the receiver has been disposed
</li>
<li>ERROR_THREAD_INVALID_ACCESS - if not called from the
thread that created the receiver</li>
</ul></dd>
</dl>
</li>
</ul>
<a name="setText-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setText</h4>
<pre>public&nbsp;void&nbsp;setText(java.lang.String&nbsp;string)</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code>setText</code>&nbsp;in class&nbsp;<code>org.eclipse.swt.widgets.Item</code></dd>
</dl>
</li>
</ul>
<a name="isVisible--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isVisible</h4>
<pre>public&nbsp;boolean&nbsp;isVisible()</pre>
<div class="block">Returns true if the item is visible because its parent items are all
expanded. This method does not determine if the item is in the currently
visible range.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>Returns the visible.</dd>
</dl>
</li>
</ul>
<a name="newItem-org.eclipse.nebula.widgets.grid.GridItem-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>newItem</h4>
<pre>void&nbsp;newItem(<a href="../../../../../org/eclipse/nebula/widgets/grid/GridItem.html" title="class in org.eclipse.nebula.widgets.grid">GridItem</a>&nbsp;item,
int&nbsp;index)</pre>
<div class="block">Creates a new child item in this item at the given index.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>item</code> - new child item</dd>
<dd><code>index</code> - index</dd>
</dl>
</li>
</ul>
<a name="setHasChildren-boolean-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setHasChildren</h4>
<pre>void&nbsp;setHasChildren(boolean&nbsp;hasChildren)</pre>
<div class="block">Sets whether this item has children.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>hasChildren</code> - true if this item has children</dd>
</dl>
</li>
</ul>
<a name="setVisible-boolean-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setVisible</h4>
<pre>void&nbsp;setVisible(boolean&nbsp;visible)</pre>
<div class="block">Sets the visible state of this item. The visible state is determined by
the expansion state of all of its parent items. If all parent items are
expanded it is visible.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>visible</code> - The visible to set.</dd>
</dl>
</li>
</ul>
<a name="getHeaderText--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getHeaderText</h4>
<pre>public&nbsp;java.lang.String&nbsp;getHeaderText()</pre>
<div class="block">Returns the receiver's row header text. If the text is <code>null</code>
the row header will display the row number.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the text stored for the row header or code <code>null</code> if
the default has to be displayed</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>org.eclipse.swt.SWTException</code> - <ul>
<li>ERROR_WIDGET_DISPOSED - if the receiver has been disposed
</li>
<li>ERROR_THREAD_INVALID_ACCESS - if not called from the
thread that created the receiver</li>
</ul></dd>
</dl>
</li>
</ul>
<a name="getHeaderImage--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getHeaderImage</h4>
<pre>public&nbsp;org.eclipse.swt.graphics.Image&nbsp;getHeaderImage()</pre>
<div class="block">Returns the receiver's row header image.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the image stored for the header or <code>null</code> if none has
to be displayed</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>org.eclipse.swt.SWTException</code> - <ul>
<li>ERROR_WIDGET_DISPOSED - if the receiver has been disposed
</li>
<li>ERROR_THREAD_INVALID_ACCESS - if not called from the
thread that created the receiver</li>
</ul></dd>
</dl>
</li>
</ul>
<a name="getHeaderBackground--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getHeaderBackground</h4>
<pre>public&nbsp;org.eclipse.swt.graphics.Color&nbsp;getHeaderBackground()</pre>
<div class="block">Returns the receiver's row header background color</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the color or <code>null</code> if none</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>org.eclipse.swt.SWTException</code> - <ul>
<li>ERROR_WIDGET_DISPOSED - if the receiver has been disposed
</li>
<li>ERROR_THREAD_INVALID_ACCESS - if not called from the
thread that created the receiver</li>
</ul></dd>
</dl>
</li>
</ul>
<a name="getHeaderForeground--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getHeaderForeground</h4>
<pre>public&nbsp;org.eclipse.swt.graphics.Color&nbsp;getHeaderForeground()</pre>
<div class="block">Returns the receiver's row header foreground color</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the color or <code>null</code> if none</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>org.eclipse.swt.SWTException</code> - <ul>
<li>ERROR_WIDGET_DISPOSED - if the receiver has been disposed
</li>
<li>ERROR_THREAD_INVALID_ACCESS - if not called from the
thread that created the receiver</li>
</ul></dd>
</dl>
</li>
</ul>
<a name="getHeaderFont--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getHeaderFont</h4>
<pre>public&nbsp;org.eclipse.swt.graphics.Font&nbsp;getHeaderFont()</pre>
<div class="block">Returns the receiver's row header font</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the font or <code>null</code> if none</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>org.eclipse.swt.SWTException</code> - <ul>
<li>ERROR_WIDGET_DISPOSED - if the receiver has been disposed
</li>
<li>ERROR_THREAD_INVALID_ACCESS - if not called from the
thread that created the receiver</li>
</ul></dd>
</dl>
</li>
</ul>
<a name="setHeaderText-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setHeaderText</h4>
<pre>public&nbsp;void&nbsp;setHeaderText(java.lang.String&nbsp;text)</pre>
<div class="block">Sets the receiver's row header text. If the text is <code>null</code> the
row header will display the row number.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>text</code> - the new text</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>java.lang.IllegalArgumentException</code> - <ul>
<li>ERROR_NULL_ARGUMENT - if the text is null</li>
</ul></dd>
<dd><code>org.eclipse.swt.SWTException</code> - <ul>
<li>ERROR_WIDGET_DISPOSED - if the receiver has been disposed
</li>
<li>ERROR_THREAD_INVALID_ACCESS - if not called from the
thread that created the receiver</li>
</ul></dd>
</dl>
</li>
</ul>
<a name="setHeaderImage-org.eclipse.swt.graphics.Image-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setHeaderImage</h4>
<pre>public&nbsp;void&nbsp;setHeaderImage(org.eclipse.swt.graphics.Image&nbsp;image)</pre>
<div class="block">Sets the receiver's row header image. If the image is <code>null</code>
none is shown in the header</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>image</code> - the new image</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>org.eclipse.swt.SWTException</code> - <ul>
<li>ERROR_WIDGET_DISPOSED - if the receiver has been disposed
</li>
<li>ERROR_THREAD_INVALID_ACCESS - if not called from the
thread that created the receiver</li>
</ul></dd>
</dl>
</li>
</ul>
<a name="setHeaderBackground-org.eclipse.swt.graphics.Color-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setHeaderBackground</h4>
<pre>public&nbsp;void&nbsp;setHeaderBackground(org.eclipse.swt.graphics.Color&nbsp;headerBackground)</pre>
<div class="block">Set the new header background</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>headerBackground</code> - the color or <code>null</code></dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>org.eclipse.swt.SWTException</code> - <ul>
<li>ERROR_WIDGET_DISPOSED - if the receiver has been disposed
</li>
<li>ERROR_THREAD_INVALID_ACCESS - if not called from the
thread that created the receiver</li>
</ul></dd>
</dl>
</li>
</ul>
<a name="setHeaderForeground-org.eclipse.swt.graphics.Color-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setHeaderForeground</h4>
<pre>public&nbsp;void&nbsp;setHeaderForeground(org.eclipse.swt.graphics.Color&nbsp;headerForeground)</pre>
<div class="block">Set the new header foreground</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>headerForeground</code> - the color or <code>null</code></dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>org.eclipse.swt.SWTException</code> - <ul>
<li>ERROR_WIDGET_DISPOSED - if the receiver has been disposed
</li>
<li>ERROR_THREAD_INVALID_ACCESS - if not called from the
thread that created the receiver</li>
</ul></dd>
</dl>
</li>
</ul>
<a name="setHeaderFont-org.eclipse.swt.graphics.Font-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setHeaderFont</h4>
<pre>public&nbsp;void&nbsp;setHeaderFont(org.eclipse.swt.graphics.Font&nbsp;headerFont)</pre>
<div class="block">Set the new header font</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>headerFont</code> - the font or <code>null</code></dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>org.eclipse.swt.SWTException</code> - <ul>
<li>ERROR_WIDGET_DISPOSED - if the receiver has been disposed
</li>
<li>ERROR_THREAD_INVALID_ACCESS - if not called from the
thread that created the receiver</li>
</ul></dd>
</dl>
</li>
</ul>
<a name="getCheckable-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getCheckable</h4>
<pre>public&nbsp;boolean&nbsp;getCheckable(int&nbsp;index)</pre>
<div class="block">Returns the checkable state at the given column index in the receiver. If
the column at the given index is not checkable then this will return
false regardless of the individual cell's checkable state.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>index</code> - the column index</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the checked state</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>org.eclipse.swt.SWTException</code> - <ul>
<li>ERROR_WIDGET_DISPOSED - if the receiver has been disposed
</li>
<li>ERROR_THREAD_INVALID_ACCESS - if not called from the
thread that created the receiver</li>
</ul></dd>
</dl>
</li>
</ul>
<a name="setCheckable-int-boolean-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setCheckable</h4>
<pre>public&nbsp;void&nbsp;setCheckable(int&nbsp;index,
boolean&nbsp;checked)</pre>
<div class="block">Sets the checkable state at the given column index in the receiver. A
checkbox which is uncheckable will not be modifiable by the user but
still make be modified programmatically. If the column at the given index
is not checkable then individual cell will not be checkable regardless.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>index</code> - the column index</dd>
<dd><code>checked</code> - the new checked state</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>org.eclipse.swt.SWTException</code> - <ul>
<li>ERROR_WIDGET_DISPOSED - if the receiver has been disposed
</li>
<li>ERROR_THREAD_INVALID_ACCESS - if not called from the
thread that created the receiver</li>
</ul></dd>
</dl>
</li>
</ul>
<a name="getToolTipText-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getToolTipText</h4>
<pre>public&nbsp;java.lang.String&nbsp;getToolTipText(int&nbsp;index)</pre>
<div class="block">Returns the tooltip for the given cell.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>index</code> - the column index</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the tooltip</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>org.eclipse.swt.SWTException</code> - <ul>
<li>ERROR_WIDGET_DISPOSED - if the receiver has been disposed
</li>
<li>ERROR_THREAD_INVALID_ACCESS - if not called from the
thread that created the receiver</li>
</ul></dd>
</dl>
</li>
</ul>
<a name="setToolTipText-int-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setToolTipText</h4>
<pre>public&nbsp;void&nbsp;setToolTipText(int&nbsp;index,
java.lang.String&nbsp;tooltip)</pre>
<div class="block">Sets the tooltip for the given column index.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>index</code> - the column index</dd>
<dd><code>tooltip</code> - the tooltip text</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>org.eclipse.swt.SWTException</code> - <ul>
<li>ERROR_WIDGET_DISPOSED - if the receiver has been disposed
</li>
<li>ERROR_THREAD_INVALID_ACCESS - if not called from the
thread that created the receiver</li>
</ul></dd>
</dl>
</li>
</ul>
<a name="columnAdded-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>columnAdded</h4>
<pre>void&nbsp;columnAdded(int&nbsp;index)</pre>
</li>
</ul>
<a name="initializeHeight-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>initializeHeight</h4>
<pre>void&nbsp;initializeHeight(int&nbsp;height)</pre>
<div class="block">Sets the initial item height for this item.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>height</code> - initial height.</dd>
</dl>
</li>
</ul>
<a name="setHasSetData-boolean-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setHasSetData</h4>
<pre>void&nbsp;setHasSetData(boolean&nbsp;hasSetData)</pre>
</li>
</ul>
<a name="clear-boolean-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>clear</h4>
<pre>void&nbsp;clear(boolean&nbsp;allChildren)</pre>
<div class="block">Clears all properties of this item and resets values to their defaults.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>allChildren</code> - <code>true</code> if all child items should be cleared
recursively, and <code>false</code> otherwise</dd>
</dl>
</li>
</ul>
<a name="disposeOnly--">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>disposeOnly</h4>
<pre>public&nbsp;void&nbsp;disposeOnly()</pre>
<div class="block">this method call only super.dispose, nothing else..</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/GridItem.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/grid/GridHeaderRenderer.html" title="class in org.eclipse.nebula.widgets.grid"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../../../../org/eclipse/nebula/widgets/grid/GridItemDataVisualizer.html" title="class in org.eclipse.nebula.widgets.grid"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../../index.html?org/eclipse/nebula/widgets/grid/GridItem.html" target="_top">Frames</a></li>
<li><a href="GridItem.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><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>