blob: 2627321057182654f00914bab4b02cf4b76b53fa [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>GridColumnGroup</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="GridColumnGroup";
}
}
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};
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/GridColumnGroup.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/GridColumn.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/GridDragSourceEffect.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/GridColumnGroup.html" target="_top">Frames</a></li>
<li><a href="GridColumnGroup.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>Field&nbsp;|&nbsp;</li>
<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a name="skip.navbar.top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<!-- ======== START OF CLASS DATA ======== -->
<div class="header">
<div class="subTitle">org.eclipse.nebula.widgets.grid</div>
<h2 title="Class GridColumnGroup" class="title">Class GridColumnGroup</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.GridColumnGroup</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">GridColumnGroup</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 column group in a grid widget. A column group header is
displayed above grouped columns. The column group can optionally be configured to expand and
collapse. A column group in the expanded state shows <code>GridColumn</code>s whose detail property
is true. A column group in the collapsed state shows <code>GridColumn</code>s whose summary property
is true.
<p>
<dl>
<dt><b>Styles:</b></dt>
<dd>SWT.TOGGLE</dd>
<dt><b>Events:</b></dt>
<dd>Expand, Collapse</dd>
</dl></div>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- ======== 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/GridColumnGroup.html#GridColumnGroup-org.eclipse.nebula.widgets.grid.Grid-int-">GridColumnGroup</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">Constructs a new instance of this class given its parent (which must be a Table) and a style
value describing its behavior and appearance.</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/GridColumnGroup.html#addTreeListener-org.eclipse.swt.events.TreeListener-">addTreeListener</a></span>(org.eclipse.swt.events.TreeListener&nbsp;listener)</code>
<div class="block">Adds the listener to the collection of listeners who will
be notified when an item in the receiver is expanded or collapsed
by sending it one of the messages defined in the <code>TreeListener</code>
interface.</div>
</td>
</tr>
<tr id="i1" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/grid/GridColumnGroup.html#dispose--">dispose</a></span>()</code></td>
</tr>
<tr id="i2" class="altColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/grid/GridColumnGroup.html#getAlignment--">getAlignment</a></span>()</code>
<div class="block">Returns the column group header alignment.</div>
</td>
</tr>
<tr id="i3" class="rowColor">
<td class="colFirst"><code>(package private) org.eclipse.swt.graphics.Rectangle</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/grid/GridColumnGroup.html#getBounds--">getBounds</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i4" class="altColor">
<td class="colFirst"><code><a href="../../../../../org/eclipse/nebula/widgets/grid/GridColumn.html" title="class in org.eclipse.nebula.widgets.grid">GridColumn</a>[]</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/grid/GridColumnGroup.html#getColumns--">getColumns</a></span>()</code>
<div class="block">Returns the columns within this group.</div>
</td>
</tr>
<tr id="i5" class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/grid/GridColumnGroup.html#getExpanded--">getExpanded</a></span>()</code>
<div class="block">Returns true if the receiver is expanded, false otherwise.</div>
</td>
</tr>
<tr id="i6" class="altColor">
<td class="colFirst"><code>(package private) <a href="../../../../../org/eclipse/nebula/widgets/grid/GridColumn.html" title="class in org.eclipse.nebula.widgets.grid">GridColumn</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/grid/GridColumnGroup.html#getFirstVisibleColumn--">getFirstVisibleColumn</a></span>()</code>
<div class="block">Returns the first visible column in this column group.</div>
</td>
</tr>
<tr id="i7" class="rowColor">
<td class="colFirst"><code>org.eclipse.swt.graphics.Font</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/grid/GridColumnGroup.html#getHeaderFont--">getHeaderFont</a></span>()</code>
<div class="block">Returns the font that the receiver will use to paint textual information
for the header.</div>
</td>
</tr>
<tr id="i8" class="altColor">
<td class="colFirst"><code><a href="../../../../../org/eclipse/nebula/widgets/grid/GridHeaderRenderer.html" title="class in org.eclipse.nebula.widgets.grid">GridHeaderRenderer</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/grid/GridColumnGroup.html#getHeaderRenderer--">getHeaderRenderer</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i9" class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/grid/GridColumnGroup.html#getHeaderWordWrap--">getHeaderWordWrap</a></span>()</code>
<div class="block">Returns whether or not text is word-wrapped in the header for this column group.</div>
</td>
</tr>
<tr id="i10" class="altColor">
<td class="colFirst"><code>(package private) <a href="../../../../../org/eclipse/nebula/widgets/grid/GridColumn.html" title="class in org.eclipse.nebula.widgets.grid">GridColumn</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/grid/GridColumnGroup.html#getLastVisibleColumn--">getLastVisibleColumn</a></span>()</code>
<div class="block">Returns the last visible column in this column group.</div>
</td>
</tr>
<tr id="i11" class="rowColor">
<td class="colFirst"><code>(package private) int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/grid/GridColumnGroup.html#getNewColumnIndex--">getNewColumnIndex</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i12" class="altColor">
<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/GridColumnGroup.html#getParent--">getParent</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i13" 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/GridColumnGroup.html#newColumn-org.eclipse.nebula.widgets.grid.GridColumn-int-">newColumn</a></span>(<a href="../../../../../org/eclipse/nebula/widgets/grid/GridColumn.html" title="class in org.eclipse.nebula.widgets.grid">GridColumn</a>&nbsp;column,
int&nbsp;index)</code>&nbsp;</td>
</tr>
<tr id="i14" 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/GridColumnGroup.html#removeColumn-org.eclipse.nebula.widgets.grid.GridColumn-">removeColumn</a></span>(<a href="../../../../../org/eclipse/nebula/widgets/grid/GridColumn.html" title="class in org.eclipse.nebula.widgets.grid">GridColumn</a>&nbsp;col)</code>&nbsp;</td>
</tr>
<tr id="i15" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/grid/GridColumnGroup.html#removeTreeListener-org.eclipse.swt.events.TreeListener-">removeTreeListener</a></span>(org.eclipse.swt.events.TreeListener&nbsp;listener)</code>
<div class="block">Removes the listener from the collection of listeners who will
be notified when items in the receiver are expanded or collapsed.</div>
</td>
</tr>
<tr id="i16" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/grid/GridColumnGroup.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="i17" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/grid/GridColumnGroup.html#setHeaderFont-org.eclipse.swt.graphics.Font-">setHeaderFont</a></span>(org.eclipse.swt.graphics.Font&nbsp;font)</code>
<div class="block">Sets the Font to be used when displaying the Header text.</div>
</td>
</tr>
<tr id="i18" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/grid/GridColumnGroup.html#setHeaderRenderer-org.eclipse.nebula.widgets.grid.GridHeaderRenderer-">setHeaderRenderer</a></span>(<a href="../../../../../org/eclipse/nebula/widgets/grid/GridHeaderRenderer.html" title="class in org.eclipse.nebula.widgets.grid">GridHeaderRenderer</a>&nbsp;headerRenderer)</code>
<div class="block">Sets the header renderer.</div>
</td>
</tr>
<tr id="i19" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/grid/GridColumnGroup.html#setHeaderWordWrap-boolean-">setHeaderWordWrap</a></span>(boolean&nbsp;wordWrap)</code>
<div class="block">Sets whether or not text is word-wrapped in the header for this column group.</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, getImage, getText, setImage, setText</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">
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor.detail">
<!-- -->
</a>
<h3>Constructor Detail</h3>
<a name="GridColumnGroup-org.eclipse.nebula.widgets.grid.Grid-int-">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>GridColumnGroup</h4>
<pre>public&nbsp;GridColumnGroup(<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">Constructs a new instance of this class given its parent (which must be a Table) and a style
value describing its behavior and appearance.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>parent</code> - the parent table</dd>
<dd><code>style</code> - the style of the group</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="addTreeListener-org.eclipse.swt.events.TreeListener-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>addTreeListener</h4>
<pre>public&nbsp;void&nbsp;addTreeListener(org.eclipse.swt.events.TreeListener&nbsp;listener)</pre>
<div class="block">Adds the listener to the collection of listeners who will
be notified when an item in the receiver is expanded or collapsed
by sending it one of the messages defined in the <code>TreeListener</code>
interface.</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>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><code>TreeListener</code>,
<a href="../../../../../org/eclipse/nebula/widgets/grid/GridColumnGroup.html#removeTreeListener-org.eclipse.swt.events.TreeListener-"><code>removeTreeListener(org.eclipse.swt.events.TreeListener)</code></a></dd>
</dl>
</li>
</ul>
<a name="removeTreeListener-org.eclipse.swt.events.TreeListener-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>removeTreeListener</h4>
<pre>public&nbsp;void&nbsp;removeTreeListener(org.eclipse.swt.events.TreeListener&nbsp;listener)</pre>
<div class="block">Removes the listener from the collection of listeners who will
be notified when items in the receiver are expanded or collapsed.</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>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><code>TreeListener</code>,
<a href="../../../../../org/eclipse/nebula/widgets/grid/GridColumnGroup.html#addTreeListener-org.eclipse.swt.events.TreeListener-"><code>addTreeListener(org.eclipse.swt.events.TreeListener)</code></a></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>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the parent grid</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="getNewColumnIndex--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getNewColumnIndex</h4>
<pre>int&nbsp;getNewColumnIndex()</pre>
</li>
</ul>
<a name="newColumn-org.eclipse.nebula.widgets.grid.GridColumn-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>newColumn</h4>
<pre>void&nbsp;newColumn(<a href="../../../../../org/eclipse/nebula/widgets/grid/GridColumn.html" title="class in org.eclipse.nebula.widgets.grid">GridColumn</a>&nbsp;column,
int&nbsp;index)</pre>
</li>
</ul>
<a name="removeColumn-org.eclipse.nebula.widgets.grid.GridColumn-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>removeColumn</h4>
<pre>void&nbsp;removeColumn(<a href="../../../../../org/eclipse/nebula/widgets/grid/GridColumn.html" title="class in org.eclipse.nebula.widgets.grid">GridColumn</a>&nbsp;col)</pre>
</li>
</ul>
<a name="getColumns--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getColumns</h4>
<pre>public&nbsp;<a href="../../../../../org/eclipse/nebula/widgets/grid/GridColumn.html" title="class in org.eclipse.nebula.widgets.grid">GridColumn</a>[]&nbsp;getColumns()</pre>
<div class="block">Returns the columns within this group.
<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 columns</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="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="getHeaderRenderer--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getHeaderRenderer</h4>
<pre>public&nbsp;<a href="../../../../../org/eclipse/nebula/widgets/grid/GridHeaderRenderer.html" title="class in org.eclipse.nebula.widgets.grid">GridHeaderRenderer</a>&nbsp;getHeaderRenderer()</pre>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the header renderer.</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="setHeaderRenderer-org.eclipse.nebula.widgets.grid.GridHeaderRenderer-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setHeaderRenderer</h4>
<pre>public&nbsp;void&nbsp;setHeaderRenderer(<a href="../../../../../org/eclipse/nebula/widgets/grid/GridHeaderRenderer.html" title="class in org.eclipse.nebula.widgets.grid">GridHeaderRenderer</a>&nbsp;headerRenderer)</pre>
<div class="block">Sets the header renderer.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>headerRenderer</code> - The headerRenderer to set.</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>java.lang.IllegalArgumentException</code> - <ul>
<li>ERROR_NULL_ARGUMENT - if the renderer 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="getExpanded--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getExpanded</h4>
<pre>public&nbsp;boolean&nbsp;getExpanded()</pre>
<div class="block">Returns true if the receiver is expanded, false otherwise.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the expanded attribute</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.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>expanded</code> - the expanded to set</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="getFirstVisibleColumn--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getFirstVisibleColumn</h4>
<pre><a href="../../../../../org/eclipse/nebula/widgets/grid/GridColumn.html" title="class in org.eclipse.nebula.widgets.grid">GridColumn</a>&nbsp;getFirstVisibleColumn()</pre>
<div class="block">Returns the first visible column in this column group.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>first visible column</dd>
</dl>
</li>
</ul>
<a name="getLastVisibleColumn--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getLastVisibleColumn</h4>
<pre><a href="../../../../../org/eclipse/nebula/widgets/grid/GridColumn.html" title="class in org.eclipse.nebula.widgets.grid">GridColumn</a>&nbsp;getLastVisibleColumn()</pre>
<div class="block">Returns the last visible column in this column group.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>last visible column</dd>
</dl>
</li>
</ul>
<a name="getBounds--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getBounds</h4>
<pre>org.eclipse.swt.graphics.Rectangle&nbsp;getBounds()</pre>
</li>
</ul>
<a name="setHeaderWordWrap-boolean-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setHeaderWordWrap</h4>
<pre>public&nbsp;void&nbsp;setHeaderWordWrap(boolean&nbsp;wordWrap)</pre>
<div class="block">Sets whether or not text is word-wrapped in the header for this column group. If Grid.setAutoHeight(true) is set, the row height
is adjusted to accommodate word-wrapped text.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>wordWrap</code> - Set to true to wrap the text, false otherwise</dd>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../../org/eclipse/nebula/widgets/grid/GridColumnGroup.html#getHeaderWordWrap--"><code>getHeaderWordWrap()</code></a></dd>
</dl>
</li>
</ul>
<a name="getHeaderWordWrap--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getHeaderWordWrap</h4>
<pre>public&nbsp;boolean&nbsp;getHeaderWordWrap()</pre>
<div class="block">Returns whether or not text is word-wrapped in the header for this column group.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>true if the header wraps its text.</dd>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../../org/eclipse/nebula/widgets/grid/GridColumn.html#setHeaderWordWrap-boolean-"><code>GridColumn.setHeaderWordWrap(boolean)</code></a></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 font that the receiver will use to paint textual information
for the header.</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="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;font)</pre>
<div class="block">Sets the Font to be used when displaying the Header text.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>font</code> - </dd>
</dl>
</li>
</ul>
<a name="getAlignment--">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>getAlignment</h4>
<pre>public&nbsp;int&nbsp;getAlignment()</pre>
<div class="block">Returns the column group header alignment.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>SWT.LEFT, SWT.RIGHT, SWT.CENTER</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>
</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/GridColumnGroup.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/GridColumn.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/GridDragSourceEffect.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/GridColumnGroup.html" target="_top">Frames</a></li>
<li><a href="GridColumnGroup.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>Field&nbsp;|&nbsp;</li>
<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a name="skip.navbar.bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
</body>
</html>