| <!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 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 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 Frames</a></li> |
| </ul> |
| <ul class="navList" id="allclasses_navbar_top"> |
| <li><a href="../../../../../allclasses-noframe.html">All 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: </li> |
| <li>Nested | </li> |
| <li><a href="#field.summary">Field</a> | </li> |
| <li><a href="#constructor.summary">Constr</a> | </li> |
| <li><a href="#method.summary">Method</a></li> |
| </ul> |
| <ul class="subNavList"> |
| <li>Detail: </li> |
| <li><a href="#field.detail">Field</a> | </li> |
| <li><a href="#constructor.detail">Constr</a> | </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"> </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"> </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> parent, |
| int 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> parent, |
| int style, |
| int 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> parent, |
| int 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> parent, |
| int style, |
| int 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"> </span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd"> </span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd"> </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 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 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 index)</code> </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> </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 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 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 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 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 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 columnIndex)</code> </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 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 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 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 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 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 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 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 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> </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 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 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 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> </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> 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 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> item, |
| int 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 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 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 index, |
| org.eclipse.swt.graphics.Color 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 index, |
| boolean 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 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 index, |
| boolean 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 index, |
| int 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 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 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 index, |
| org.eclipse.swt.graphics.Font 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 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 index, |
| org.eclipse.swt.graphics.Color 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 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 index, |
| boolean 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 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 hasSetData)</code> </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 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 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 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 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 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 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 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 index, |
| org.eclipse.swt.graphics.Image 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 index, |
| int 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 index, |
| java.lang.String 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 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 index, |
| java.lang.String 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 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 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 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 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 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 GridItem(<a href="../../../../../org/eclipse/nebula/widgets/grid/Grid.html" title="class in org.eclipse.nebula.widgets.grid">Grid</a> parent, |
| int 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 GridItem(<a href="../../../../../org/eclipse/nebula/widgets/grid/Grid.html" title="class in org.eclipse.nebula.widgets.grid">Grid</a> parent, |
| int style, |
| int 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 GridItem(<a href="../../../../../org/eclipse/nebula/widgets/grid/GridItem.html" title="class in org.eclipse.nebula.widgets.grid">GridItem</a> parent, |
| int 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 GridItem(<a href="../../../../../org/eclipse/nebula/widgets/grid/GridItem.html" title="class in org.eclipse.nebula.widgets.grid">GridItem</a> parent, |
| int style, |
| int 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 int 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 increaseRow()</pre> |
| </li> |
| </ul> |
| <a name="decreaseRow--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>decreaseRow</h4> |
| <pre>void decreaseRow()</pre> |
| </li> |
| </ul> |
| <a name="dispose--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>dispose</h4> |
| <pre>public void dispose()</pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Overrides:</span></dt> |
| <dd><code>dispose</code> in class <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 void addControlListener(org.eclipse.swt.events.ControlListener 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 void removeControlListener(org.eclipse.swt.events.ControlListener 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 void fireEvent(int 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 void fireCheckEvent(int 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 org.eclipse.swt.graphics.Color 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 org.eclipse.swt.graphics.Color getBackground(int 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 org.eclipse.swt.graphics.Rectangle getBounds(int 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 org.eclipse.swt.graphics.Rectangle getBoundsCorrected(int 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 org.eclipse.swt.graphics.Point getCellSize(int 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 boolean 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 boolean getChecked(int 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 int getColumnSpan(int 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 int getRowSpan(int 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 org.eclipse.swt.graphics.Font 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 org.eclipse.swt.graphics.Font getFont(int 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 org.eclipse.swt.graphics.Color 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 org.eclipse.swt.graphics.Color getForeground(int 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 boolean 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 boolean getGrayed(int 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 int 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 org.eclipse.swt.graphics.Image getImage()</pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Overrides:</span></dt> |
| <dd><code>getImage</code> in class <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 org.eclipse.swt.graphics.Image getImage(int 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 <a href="../../../../../org/eclipse/nebula/widgets/grid/GridItem.html" title="class in org.eclipse.nebula.widgets.grid">GridItem</a> getItem(int 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 int 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 int indexOf(<a href="../../../../../org/eclipse/nebula/widgets/grid/GridItem.html" title="class in org.eclipse.nebula.widgets.grid">GridItem</a> 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 <a href="../../../../../org/eclipse/nebula/widgets/grid/GridItem.html" title="class in org.eclipse.nebula.widgets.grid">GridItem</a>[] 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 int 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 <a href="../../../../../org/eclipse/nebula/widgets/grid/Grid.html" title="class in org.eclipse.nebula.widgets.grid">Grid</a> 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 <a href="../../../../../org/eclipse/nebula/widgets/grid/GridItem.html" title="class in org.eclipse.nebula.widgets.grid">GridItem</a> 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 java.lang.String getText()</pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Overrides:</span></dt> |
| <dd><code>getText</code> in class <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 java.lang.String getText(int 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 boolean 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 boolean 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 void setBackground(org.eclipse.swt.graphics.Color 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 void setBackground(int index, |
| org.eclipse.swt.graphics.Color 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 void setChecked(boolean 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 void setChecked(int index, |
| boolean 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 void setColumnSpan(int index, |
| int 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 void setRowSpan(int index, |
| int 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 void setExpanded(boolean 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 void setFont(org.eclipse.swt.graphics.Font 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 void setFont(int index, |
| org.eclipse.swt.graphics.Font 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 void setForeground(org.eclipse.swt.graphics.Color 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 void setForeground(int index, |
| org.eclipse.swt.graphics.Color 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 void setGrayed(boolean 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 void setGrayed(int index, |
| boolean 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 void setHeight(int 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 void 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 void setImage(org.eclipse.swt.graphics.Image image)</pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Overrides:</span></dt> |
| <dd><code>setImage</code> in class <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 void setImage(int index, |
| org.eclipse.swt.graphics.Image 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 void setText(int index, |
| java.lang.String 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 void setText(java.lang.String string)</pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Overrides:</span></dt> |
| <dd><code>setText</code> in class <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 boolean 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 newItem(<a href="../../../../../org/eclipse/nebula/widgets/grid/GridItem.html" title="class in org.eclipse.nebula.widgets.grid">GridItem</a> item, |
| int 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 setHasChildren(boolean 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 setVisible(boolean 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 java.lang.String 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 org.eclipse.swt.graphics.Image 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 org.eclipse.swt.graphics.Color 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 org.eclipse.swt.graphics.Color 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 org.eclipse.swt.graphics.Font 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 void setHeaderText(java.lang.String 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 void setHeaderImage(org.eclipse.swt.graphics.Image 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 void setHeaderBackground(org.eclipse.swt.graphics.Color 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 void setHeaderForeground(org.eclipse.swt.graphics.Color 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 void setHeaderFont(org.eclipse.swt.graphics.Font 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 boolean getCheckable(int 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 void setCheckable(int index, |
| boolean 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 java.lang.String getToolTipText(int 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 void setToolTipText(int index, |
| java.lang.String 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 columnAdded(int index)</pre> |
| </li> |
| </ul> |
| <a name="initializeHeight-int-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>initializeHeight</h4> |
| <pre>void initializeHeight(int 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 setHasSetData(boolean hasSetData)</pre> |
| </li> |
| </ul> |
| <a name="clear-boolean-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>clear</h4> |
| <pre>void clear(boolean 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 void 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 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 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 Frames</a></li> |
| </ul> |
| <ul class="navList" id="allclasses_navbar_bottom"> |
| <li><a href="../../../../../allclasses-noframe.html">All 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: </li> |
| <li>Nested | </li> |
| <li><a href="#field.summary">Field</a> | </li> |
| <li><a href="#constructor.summary">Constr</a> | </li> |
| <li><a href="#method.summary">Method</a></li> |
| </ul> |
| <ul class="subNavList"> |
| <li>Detail: </li> |
| <li><a href="#field.detail">Field</a> | </li> |
| <li><a href="#constructor.detail">Constr</a> | </li> |
| <li><a href="#method.detail">Method</a></li> |
| </ul> |
| </div> |
| <a name="skip.navbar.bottom"> |
| <!-- --> |
| </a></div> |
| <!-- ======== END OF BOTTOM NAVBAR ======= --> |
| </body> |
| </html> |