blob: 22ef90f48b10e734feb4135af05d0b0d9e6fdc5c [file] [log] [blame]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (1.8.0_201) on Thu Jul 23 15:59:00 CEST 2020 -->
<title>AbstractGridGroupRenderer</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="AbstractGridGroupRenderer";
}
}
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};
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/AbstractGridGroupRenderer.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/gallery/AbstractGalleryItemRenderer.html" title="class in org.eclipse.nebula.widgets.gallery"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../../../../org/eclipse/nebula/widgets/gallery/DefaultGalleryGroupRenderer.html" title="class in org.eclipse.nebula.widgets.gallery"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../../index.html?org/eclipse/nebula/widgets/gallery/AbstractGridGroupRenderer.html" target="_top">Frames</a></li>
<li><a href="AbstractGridGroupRenderer.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li><a href="#field.summary">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li><a href="#field.detail">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a name="skip.navbar.top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<!-- ======== START OF CLASS DATA ======== -->
<div class="header">
<div class="subTitle">org.eclipse.nebula.widgets.gallery</div>
<h2 title="Class AbstractGridGroupRenderer" class="title">Class AbstractGridGroupRenderer</h2>
</div>
<div class="contentContainer">
<ul class="inheritance">
<li>java.lang.Object</li>
<li>
<ul class="inheritance">
<li><a href="../../../../../org/eclipse/nebula/widgets/gallery/AbstractGalleryGroupRenderer.html" title="class in org.eclipse.nebula.widgets.gallery">org.eclipse.nebula.widgets.gallery.AbstractGalleryGroupRenderer</a></li>
<li>
<ul class="inheritance">
<li>org.eclipse.nebula.widgets.gallery.AbstractGridGroupRenderer</li>
</ul>
</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<dl>
<dt>Direct Known Subclasses:</dt>
<dd><a href="../../../../../org/eclipse/nebula/widgets/gallery/DefaultGalleryGroupRenderer.html" title="class in org.eclipse.nebula.widgets.gallery">DefaultGalleryGroupRenderer</a>, <a href="../../../../../org/eclipse/nebula/widgets/gallery/NoGroupRenderer.html" title="class in org.eclipse.nebula.widgets.gallery">NoGroupRenderer</a></dd>
</dl>
<hr>
<br>
<pre>public abstract class <span class="typeNameLabel">AbstractGridGroupRenderer</span>
extends <a href="../../../../../org/eclipse/nebula/widgets/gallery/AbstractGalleryGroupRenderer.html" title="class in org.eclipse.nebula.widgets.gallery">AbstractGalleryGroupRenderer</a></pre>
<div class="block"><p>
Abstract class which provides low-level support for a grid-based group.
renderer.
</p>
<p>
NOTE: THIS WIDGET AND ITS API ARE STILL UNDER DEVELOPMENT.
</p></div>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- =========== FIELD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="field.summary">
<!-- -->
</a>
<h3>Field Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Field Summary table, listing fields, and an explanation">
<caption><span>Fields</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Field and Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/gallery/AbstractGridGroupRenderer.html#autoMargin">autoMargin</a></span></code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>(package private) static int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/gallery/AbstractGridGroupRenderer.html#DEFAULT_SIZE">DEFAULT_SIZE</a></span></code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected static java.lang.String</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/gallery/AbstractGridGroupRenderer.html#EMPTY_STRING">EMPTY_STRING</a></span></code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static java.lang.String</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/gallery/AbstractGridGroupRenderer.html#H_COUNT">H_COUNT</a></span></code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/gallery/AbstractGridGroupRenderer.html#itemHeight">itemHeight</a></span></code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/gallery/AbstractGridGroupRenderer.html#itemWidth">itemWidth</a></span></code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/gallery/AbstractGridGroupRenderer.html#margin">margin</a></span></code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/gallery/AbstractGridGroupRenderer.html#minMargin">minMargin</a></span></code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static java.lang.String</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/gallery/AbstractGridGroupRenderer.html#V_COUNT">V_COUNT</a></span></code>&nbsp;</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a name="fields.inherited.from.class.org.eclipse.nebula.widgets.gallery.AbstractGalleryGroupRenderer">
<!-- -->
</a>
<h3>Fields inherited from class&nbsp;org.eclipse.nebula.widgets.gallery.<a href="../../../../../org/eclipse/nebula/widgets/gallery/AbstractGalleryGroupRenderer.html" title="class in org.eclipse.nebula.widgets.gallery">AbstractGalleryGroupRenderer</a></h3>
<code><a href="../../../../../org/eclipse/nebula/widgets/gallery/AbstractGalleryGroupRenderer.html#expanded">expanded</a>, <a href="../../../../../org/eclipse/nebula/widgets/gallery/AbstractGalleryGroupRenderer.html#gallery">gallery</a></code></li>
</ul>
</li>
</ul>
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor.summary">
<!-- -->
</a>
<h3>Constructor Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
<caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colOne" scope="col">Constructor and Description</th>
</tr>
<tr class="altColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/gallery/AbstractGridGroupRenderer.html#AbstractGridGroupRenderer--">AbstractGridGroupRenderer</a></span>()</code>&nbsp;</td>
</tr>
</table>
</li>
</ul>
<!-- ========== METHOD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="method.summary">
<!-- -->
</a>
<h3>Method Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd">&nbsp;</span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd">&nbsp;</span></span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tr id="i0" class="altColor">
<td class="colFirst"><code>protected int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/gallery/AbstractGridGroupRenderer.html#calculateMargins-int-int-int-">calculateMargins</a></span>(int&nbsp;size,
int&nbsp;count,
int&nbsp;itemSize)</code>&nbsp;</td>
</tr>
<tr id="i1" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/gallery/AbstractGridGroupRenderer.html#dispose--">dispose</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i2" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/gallery/AbstractGridGroupRenderer.html#draw-org.eclipse.swt.graphics.GC-org.eclipse.nebula.widgets.gallery.GalleryItem-int-int-int-int-int-int-">draw</a></span>(org.eclipse.swt.graphics.GC&nbsp;gc,
<a href="../../../../../org/eclipse/nebula/widgets/gallery/GalleryItem.html" title="class in org.eclipse.nebula.widgets.gallery">GalleryItem</a>&nbsp;group,
int&nbsp;x,
int&nbsp;y,
int&nbsp;clipX,
int&nbsp;clipY,
int&nbsp;clipWidth,
int&nbsp;clipHeight)</code>
<div class="block">Group size informations can be retrieved from group.</div>
</td>
</tr>
<tr id="i3" class="rowColor">
<td class="colFirst"><code>protected void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/gallery/AbstractGridGroupRenderer.html#drawItem-org.eclipse.swt.graphics.GC-int-boolean-org.eclipse.nebula.widgets.gallery.GalleryItem-int-">drawItem</a></span>(org.eclipse.swt.graphics.GC&nbsp;gc,
int&nbsp;index,
boolean&nbsp;selected,
<a href="../../../../../org/eclipse/nebula/widgets/gallery/GalleryItem.html" title="class in org.eclipse.nebula.widgets.gallery">GalleryItem</a>&nbsp;parent,
int&nbsp;offsetY)</code>
<div class="block">Draw a child item.</div>
</td>
</tr>
<tr id="i4" class="altColor">
<td class="colFirst"><code><a href="../../../../../org/eclipse/nebula/widgets/gallery/GalleryItem.html" title="class in org.eclipse.nebula.widgets.gallery">GalleryItem</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/gallery/AbstractGridGroupRenderer.html#getItem-org.eclipse.nebula.widgets.gallery.GalleryItem-org.eclipse.swt.graphics.Point-">getItem</a></span>(<a href="../../../../../org/eclipse/nebula/widgets/gallery/GalleryItem.html" title="class in org.eclipse.nebula.widgets.gallery">GalleryItem</a>&nbsp;group,
org.eclipse.swt.graphics.Point&nbsp;coords)</code>
<div class="block">Returns the item at coords relative to the parent group.</div>
</td>
</tr>
<tr id="i5" class="rowColor">
<td class="colFirst"><code>protected <a href="../../../../../org/eclipse/nebula/widgets/gallery/GalleryItem.html" title="class in org.eclipse.nebula.widgets.gallery">GalleryItem</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/gallery/AbstractGridGroupRenderer.html#getItem-org.eclipse.nebula.widgets.gallery.GalleryItem-org.eclipse.swt.graphics.Point-int-">getItem</a></span>(<a href="../../../../../org/eclipse/nebula/widgets/gallery/GalleryItem.html" title="class in org.eclipse.nebula.widgets.gallery">GalleryItem</a>&nbsp;group,
org.eclipse.swt.graphics.Point&nbsp;coords,
int&nbsp;offsetY)</code>
<div class="block">Get item at pixel position</div>
</td>
</tr>
<tr id="i6" class="altColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/gallery/AbstractGridGroupRenderer.html#getItemHeight--">getItemHeight</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i7" class="rowColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/gallery/AbstractGridGroupRenderer.html#getItemWidth--">getItemWidth</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i8" 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/gallery/AbstractGridGroupRenderer.html#getLayoutData-org.eclipse.nebula.widgets.gallery.GalleryItem-">getLayoutData</a></span>(<a href="../../../../../org/eclipse/nebula/widgets/gallery/GalleryItem.html" title="class in org.eclipse.nebula.widgets.gallery">GalleryItem</a>&nbsp;item)</code>&nbsp;</td>
</tr>
<tr id="i9" class="rowColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/gallery/AbstractGridGroupRenderer.html#getMinMargin--">getMinMargin</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i10" class="altColor">
<td class="colFirst"><code><a href="../../../../../org/eclipse/nebula/widgets/gallery/GalleryItem.html" title="class in org.eclipse.nebula.widgets.gallery">GalleryItem</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/gallery/AbstractGridGroupRenderer.html#getNextItem-org.eclipse.nebula.widgets.gallery.GalleryItem-int-">getNextItem</a></span>(<a href="../../../../../org/eclipse/nebula/widgets/gallery/GalleryItem.html" title="class in org.eclipse.nebula.widgets.gallery">GalleryItem</a>&nbsp;item,
int&nbsp;key)</code>
<div class="block">Returns the item that should be selected when the current item is 'item'
and the 'key' is pressed</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/gallery/AbstractGridGroupRenderer.html#getSize-org.eclipse.nebula.widgets.gallery.GalleryItem-">getSize</a></span>(<a href="../../../../../org/eclipse/nebula/widgets/gallery/GalleryItem.html" title="class in org.eclipse.nebula.widgets.gallery">GalleryItem</a>&nbsp;item)</code>
<div class="block">Returns the size of a group.</div>
</td>
</tr>
<tr id="i12" class="altColor">
<td class="colFirst"><code>protected org.eclipse.swt.graphics.Rectangle</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/gallery/AbstractGridGroupRenderer.html#getSize-org.eclipse.nebula.widgets.gallery.GalleryItem-int-">getSize</a></span>(<a href="../../../../../org/eclipse/nebula/widgets/gallery/GalleryItem.html" title="class in org.eclipse.nebula.widgets.gallery">GalleryItem</a>&nbsp;item,
int&nbsp;offsetY)</code>&nbsp;</td>
</tr>
<tr id="i13" class="rowColor">
<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/gallery/AbstractGridGroupRenderer.html#getSize-int-int-int-int-int-int-">getSize</a></span>(int&nbsp;nbx,
int&nbsp;nby,
int&nbsp;itemSizeX,
int&nbsp;itemSizeY,
int&nbsp;minMargin,
int&nbsp;autoMargin)</code>&nbsp;</td>
</tr>
<tr id="i14" class="altColor">
<td class="colFirst"><code>protected int[]</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/gallery/AbstractGridGroupRenderer.html#getVisibleItems-org.eclipse.nebula.widgets.gallery.GalleryItem-int-int-int-int-int-int-int-">getVisibleItems</a></span>(<a href="../../../../../org/eclipse/nebula/widgets/gallery/GalleryItem.html" title="class in org.eclipse.nebula.widgets.gallery">GalleryItem</a>&nbsp;group,
int&nbsp;x,
int&nbsp;y,
int&nbsp;clipX,
int&nbsp;clipY,
int&nbsp;clipWidth,
int&nbsp;clipHeight,
int&nbsp;offset)</code>&nbsp;</td>
</tr>
<tr id="i15" class="rowColor">
<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/gallery/AbstractGridGroupRenderer.html#gridLayout-int-int-int-">gridLayout</a></span>(int&nbsp;size,
int&nbsp;nbItems,
int&nbsp;itemSize)</code>
<div class="block">Calculate how many items are displayed horizontally and vertically.</div>
</td>
</tr>
<tr id="i16" class="altColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/gallery/AbstractGridGroupRenderer.html#isAlwaysExpanded--">isAlwaysExpanded</a></span>()</code>
<div class="block">If true, groups are always expanded and toggle button is not displayed</div>
</td>
</tr>
<tr id="i17" class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/gallery/AbstractGridGroupRenderer.html#isAutoMargin--">isAutoMargin</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i18" class="altColor">
<td class="colFirst"><code>protected boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/gallery/AbstractGridGroupRenderer.html#isGroupExpanded-org.eclipse.nebula.widgets.gallery.GalleryItem-">isGroupExpanded</a></span>(<a href="../../../../../org/eclipse/nebula/widgets/gallery/GalleryItem.html" title="class in org.eclipse.nebula.widgets.gallery">GalleryItem</a>&nbsp;item)</code>
<div class="block">Return item expand state (item.isExpanded()) Returns always true is
alwaysExpanded is set to true.</div>
</td>
</tr>
<tr id="i19" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/gallery/AbstractGridGroupRenderer.html#layout-org.eclipse.swt.graphics.GC-org.eclipse.nebula.widgets.gallery.GalleryItem-">layout</a></span>(org.eclipse.swt.graphics.GC&nbsp;gc,
<a href="../../../../../org/eclipse/nebula/widgets/gallery/GalleryItem.html" title="class in org.eclipse.nebula.widgets.gallery">GalleryItem</a>&nbsp;group)</code>
<div class="block">This method is called on each root item when the Gallery changes (resize,
item addition or removal) in order to update the gallery size.</div>
</td>
</tr>
<tr id="i20" class="altColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/gallery/AbstractGridGroupRenderer.html#mouseDown-org.eclipse.nebula.widgets.gallery.GalleryItem-org.eclipse.swt.events.MouseEvent-org.eclipse.swt.graphics.Point-">mouseDown</a></span>(<a href="../../../../../org/eclipse/nebula/widgets/gallery/GalleryItem.html" title="class in org.eclipse.nebula.widgets.gallery">GalleryItem</a>&nbsp;group,
org.eclipse.swt.events.MouseEvent&nbsp;e,
org.eclipse.swt.graphics.Point&nbsp;coords)</code>&nbsp;</td>
</tr>
<tr id="i21" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/gallery/AbstractGridGroupRenderer.html#preLayout-org.eclipse.swt.graphics.GC-">preLayout</a></span>(org.eclipse.swt.graphics.GC&nbsp;gc)</code>
<div class="block">This method is called before the layout of the first item.</div>
</td>
</tr>
<tr id="i22" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/gallery/AbstractGridGroupRenderer.html#setAlwaysExpanded-boolean-">setAlwaysExpanded</a></span>(boolean&nbsp;alwaysExpanded)</code>
<div class="block">If true, groups are always expanded and toggle button is not displayed if
false, expand status depends on each item.</div>
</td>
</tr>
<tr id="i23" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/gallery/AbstractGridGroupRenderer.html#setAutoMargin-boolean-">setAutoMargin</a></span>(boolean&nbsp;autoMargin)</code>&nbsp;</td>
</tr>
<tr id="i24" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/gallery/AbstractGridGroupRenderer.html#setItemHeight-int-">setItemHeight</a></span>(int&nbsp;itemHeight)</code>&nbsp;</td>
</tr>
<tr id="i25" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/gallery/AbstractGridGroupRenderer.html#setItemSize-int-int-">setItemSize</a></span>(int&nbsp;width,
int&nbsp;height)</code>&nbsp;</td>
</tr>
<tr id="i26" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/gallery/AbstractGridGroupRenderer.html#setItemWidth-int-">setItemWidth</a></span>(int&nbsp;itemWidth)</code>&nbsp;</td>
</tr>
<tr id="i27" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/gallery/AbstractGridGroupRenderer.html#setMinMargin-int-">setMinMargin</a></span>(int&nbsp;minMargin)</code>&nbsp;</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.org.eclipse.nebula.widgets.gallery.AbstractGalleryGroupRenderer">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;org.eclipse.nebula.widgets.gallery.<a href="../../../../../org/eclipse/nebula/widgets/gallery/AbstractGalleryGroupRenderer.html" title="class in org.eclipse.nebula.widgets.gallery">AbstractGalleryGroupRenderer</a></h3>
<code><a href="../../../../../org/eclipse/nebula/widgets/gallery/AbstractGalleryGroupRenderer.html#getBackground-org.eclipse.nebula.widgets.gallery.GalleryItem-">getBackground</a>, <a href="../../../../../org/eclipse/nebula/widgets/gallery/AbstractGalleryGroupRenderer.html#getFont-org.eclipse.nebula.widgets.gallery.GalleryItem-">getFont</a>, <a href="../../../../../org/eclipse/nebula/widgets/gallery/AbstractGalleryGroupRenderer.html#getForeground-org.eclipse.nebula.widgets.gallery.GalleryItem-">getForeground</a>, <a href="../../../../../org/eclipse/nebula/widgets/gallery/AbstractGalleryGroupRenderer.html#getGallery--">getGallery</a>, <a href="../../../../../org/eclipse/nebula/widgets/gallery/AbstractGalleryGroupRenderer.html#getGroupPosition-org.eclipse.nebula.widgets.gallery.GalleryItem-">getGroupPosition</a>, <a href="../../../../../org/eclipse/nebula/widgets/gallery/AbstractGalleryGroupRenderer.html#getGroupSize-org.eclipse.nebula.widgets.gallery.GalleryItem-">getGroupSize</a>, <a href="../../../../../org/eclipse/nebula/widgets/gallery/AbstractGalleryGroupRenderer.html#getScrollBarIncrement--">getScrollBarIncrement</a>, <a href="../../../../../org/eclipse/nebula/widgets/gallery/AbstractGalleryGroupRenderer.html#isDebugMode--">isDebugMode</a>, <a href="../../../../../org/eclipse/nebula/widgets/gallery/AbstractGalleryGroupRenderer.html#isExpanded--">isExpanded</a>, <a href="../../../../../org/eclipse/nebula/widgets/gallery/AbstractGalleryGroupRenderer.html#mouseDown-org.eclipse.nebula.widgets.gallery.GalleryItem-org.eclipse.swt.widgets.Event-org.eclipse.swt.graphics.Point-">mouseDown</a>, <a href="../../../../../org/eclipse/nebula/widgets/gallery/AbstractGalleryGroupRenderer.html#notifyTreeListeners-org.eclipse.nebula.widgets.gallery.GalleryItem-">notifyTreeListeners</a>, <a href="../../../../../org/eclipse/nebula/widgets/gallery/AbstractGalleryGroupRenderer.html#postDraw-org.eclipse.swt.graphics.GC-">postDraw</a>, <a href="../../../../../org/eclipse/nebula/widgets/gallery/AbstractGalleryGroupRenderer.html#postLayout-org.eclipse.swt.graphics.GC-">postLayout</a>, <a href="../../../../../org/eclipse/nebula/widgets/gallery/AbstractGalleryGroupRenderer.html#preDraw-org.eclipse.swt.graphics.GC-">preDraw</a>, <a href="../../../../../org/eclipse/nebula/widgets/gallery/AbstractGalleryGroupRenderer.html#setExpanded-boolean-">setExpanded</a>, <a href="../../../../../org/eclipse/nebula/widgets/gallery/AbstractGalleryGroupRenderer.html#setGallery-org.eclipse.nebula.widgets.gallery.Gallery-">setGallery</a>, <a href="../../../../../org/eclipse/nebula/widgets/gallery/AbstractGalleryGroupRenderer.html#setGroupSize-org.eclipse.nebula.widgets.gallery.GalleryItem-org.eclipse.swt.graphics.Point-">setGroupSize</a>, <a href="../../../../../org/eclipse/nebula/widgets/gallery/AbstractGalleryGroupRenderer.html#updateScrollBarsProperties--">updateScrollBarsProperties</a>, <a href="../../../../../org/eclipse/nebula/widgets/gallery/AbstractGalleryGroupRenderer.html#updateStructuralValues-boolean-">updateStructuralValues</a></code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;java.lang.Object</h3>
<code>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, 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="DEFAULT_SIZE">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>DEFAULT_SIZE</h4>
<pre>static final&nbsp;int DEFAULT_SIZE</pre>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../../constant-values.html#org.eclipse.nebula.widgets.gallery.AbstractGridGroupRenderer.DEFAULT_SIZE">Constant Field Values</a></dd>
</dl>
</li>
</ul>
<a name="minMargin">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>minMargin</h4>
<pre>protected&nbsp;int minMargin</pre>
</li>
</ul>
<a name="margin">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>margin</h4>
<pre>protected&nbsp;int margin</pre>
</li>
</ul>
<a name="autoMargin">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>autoMargin</h4>
<pre>protected&nbsp;boolean autoMargin</pre>
</li>
</ul>
<a name="itemWidth">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>itemWidth</h4>
<pre>protected&nbsp;int itemWidth</pre>
</li>
</ul>
<a name="itemHeight">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>itemHeight</h4>
<pre>protected&nbsp;int itemHeight</pre>
</li>
</ul>
<a name="H_COUNT">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>H_COUNT</h4>
<pre>public static final&nbsp;java.lang.String H_COUNT</pre>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../../constant-values.html#org.eclipse.nebula.widgets.gallery.AbstractGridGroupRenderer.H_COUNT">Constant Field Values</a></dd>
</dl>
</li>
</ul>
<a name="V_COUNT">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>V_COUNT</h4>
<pre>public static final&nbsp;java.lang.String V_COUNT</pre>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../../constant-values.html#org.eclipse.nebula.widgets.gallery.AbstractGridGroupRenderer.V_COUNT">Constant Field Values</a></dd>
</dl>
</li>
</ul>
<a name="EMPTY_STRING">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>EMPTY_STRING</h4>
<pre>protected static final&nbsp;java.lang.String EMPTY_STRING</pre>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../../constant-values.html#org.eclipse.nebula.widgets.gallery.AbstractGridGroupRenderer.EMPTY_STRING">Constant Field Values</a></dd>
</dl>
</li>
</ul>
</li>
</ul>
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor.detail">
<!-- -->
</a>
<h3>Constructor Detail</h3>
<a name="AbstractGridGroupRenderer--">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>AbstractGridGroupRenderer</h4>
<pre>public&nbsp;AbstractGridGroupRenderer()</pre>
</li>
</ul>
</li>
</ul>
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method.detail">
<!-- -->
</a>
<h3>Method Detail</h3>
<a name="draw-org.eclipse.swt.graphics.GC-org.eclipse.nebula.widgets.gallery.GalleryItem-int-int-int-int-int-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>draw</h4>
<pre>public&nbsp;void&nbsp;draw(org.eclipse.swt.graphics.GC&nbsp;gc,
<a href="../../../../../org/eclipse/nebula/widgets/gallery/GalleryItem.html" title="class in org.eclipse.nebula.widgets.gallery">GalleryItem</a>&nbsp;group,
int&nbsp;x,
int&nbsp;y,
int&nbsp;clipX,
int&nbsp;clipY,
int&nbsp;clipWidth,
int&nbsp;clipHeight)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from class:&nbsp;<code><a href="../../../../../org/eclipse/nebula/widgets/gallery/AbstractGalleryGroupRenderer.html#draw-org.eclipse.swt.graphics.GC-org.eclipse.nebula.widgets.gallery.GalleryItem-int-int-int-int-int-int-">AbstractGalleryGroupRenderer</a></code></span></div>
<div class="block">Group size informations can be retrieved from group. Clipping
informations</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../../org/eclipse/nebula/widgets/gallery/AbstractGalleryGroupRenderer.html#draw-org.eclipse.swt.graphics.GC-org.eclipse.nebula.widgets.gallery.GalleryItem-int-int-int-int-int-int-">draw</a></code>&nbsp;in class&nbsp;<code><a href="../../../../../org/eclipse/nebula/widgets/gallery/AbstractGalleryGroupRenderer.html" title="class in org.eclipse.nebula.widgets.gallery">AbstractGalleryGroupRenderer</a></code></dd>
</dl>
</li>
</ul>
<a name="getItem-org.eclipse.nebula.widgets.gallery.GalleryItem-org.eclipse.swt.graphics.Point-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getItem</h4>
<pre>public&nbsp;<a href="../../../../../org/eclipse/nebula/widgets/gallery/GalleryItem.html" title="class in org.eclipse.nebula.widgets.gallery">GalleryItem</a>&nbsp;getItem(<a href="../../../../../org/eclipse/nebula/widgets/gallery/GalleryItem.html" title="class in org.eclipse.nebula.widgets.gallery">GalleryItem</a>&nbsp;group,
org.eclipse.swt.graphics.Point&nbsp;coords)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from class:&nbsp;<code><a href="../../../../../org/eclipse/nebula/widgets/gallery/AbstractGalleryGroupRenderer.html#getItem-org.eclipse.nebula.widgets.gallery.GalleryItem-org.eclipse.swt.graphics.Point-">AbstractGalleryGroupRenderer</a></code></span></div>
<div class="block">Returns the item at coords relative to the parent group.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../../org/eclipse/nebula/widgets/gallery/AbstractGalleryGroupRenderer.html#getItem-org.eclipse.nebula.widgets.gallery.GalleryItem-org.eclipse.swt.graphics.Point-">getItem</a></code>&nbsp;in class&nbsp;<code><a href="../../../../../org/eclipse/nebula/widgets/gallery/AbstractGalleryGroupRenderer.html" title="class in org.eclipse.nebula.widgets.gallery">AbstractGalleryGroupRenderer</a></code></dd>
<dt><span class="returnLabel">Returns:</span></dt>
</dl>
</li>
</ul>
<a name="getSize-org.eclipse.nebula.widgets.gallery.GalleryItem-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getSize</h4>
<pre>public&nbsp;org.eclipse.swt.graphics.Rectangle&nbsp;getSize(<a href="../../../../../org/eclipse/nebula/widgets/gallery/GalleryItem.html" title="class in org.eclipse.nebula.widgets.gallery">GalleryItem</a>&nbsp;item)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from class:&nbsp;<code><a href="../../../../../org/eclipse/nebula/widgets/gallery/AbstractGalleryGroupRenderer.html#getSize-org.eclipse.nebula.widgets.gallery.GalleryItem-">AbstractGalleryGroupRenderer</a></code></span></div>
<div class="block">Returns the size of a group.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../../org/eclipse/nebula/widgets/gallery/AbstractGalleryGroupRenderer.html#getSize-org.eclipse.nebula.widgets.gallery.GalleryItem-">getSize</a></code>&nbsp;in class&nbsp;<code><a href="../../../../../org/eclipse/nebula/widgets/gallery/AbstractGalleryGroupRenderer.html" title="class in org.eclipse.nebula.widgets.gallery">AbstractGalleryGroupRenderer</a></code></dd>
<dt><span class="returnLabel">Returns:</span></dt>
</dl>
</li>
</ul>
<a name="layout-org.eclipse.swt.graphics.GC-org.eclipse.nebula.widgets.gallery.GalleryItem-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>layout</h4>
<pre>public&nbsp;void&nbsp;layout(org.eclipse.swt.graphics.GC&nbsp;gc,
<a href="../../../../../org/eclipse/nebula/widgets/gallery/GalleryItem.html" title="class in org.eclipse.nebula.widgets.gallery">GalleryItem</a>&nbsp;group)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from class:&nbsp;<code><a href="../../../../../org/eclipse/nebula/widgets/gallery/AbstractGalleryGroupRenderer.html#layout-org.eclipse.swt.graphics.GC-org.eclipse.nebula.widgets.gallery.GalleryItem-">AbstractGalleryGroupRenderer</a></code></span></div>
<div class="block">This method is called on each root item when the Gallery changes (resize,
item addition or removal) in order to update the gallery size.
The implementation must update the item internal size (px) using
setGroupSize(item, size); before returning.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../../org/eclipse/nebula/widgets/gallery/AbstractGalleryGroupRenderer.html#layout-org.eclipse.swt.graphics.GC-org.eclipse.nebula.widgets.gallery.GalleryItem-">layout</a></code>&nbsp;in class&nbsp;<code><a href="../../../../../org/eclipse/nebula/widgets/gallery/AbstractGalleryGroupRenderer.html" title="class in org.eclipse.nebula.widgets.gallery">AbstractGalleryGroupRenderer</a></code></dd>
</dl>
</li>
</ul>
<a name="isAlwaysExpanded--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isAlwaysExpanded</h4>
<pre>public&nbsp;boolean&nbsp;isAlwaysExpanded()</pre>
<div class="block">If true, groups are always expanded and toggle button is not displayed</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>true if groups are always expanded</dd>
</dl>
</li>
</ul>
<a name="isGroupExpanded-org.eclipse.nebula.widgets.gallery.GalleryItem-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isGroupExpanded</h4>
<pre>protected&nbsp;boolean&nbsp;isGroupExpanded(<a href="../../../../../org/eclipse/nebula/widgets/gallery/GalleryItem.html" title="class in org.eclipse.nebula.widgets.gallery">GalleryItem</a>&nbsp;item)</pre>
<div class="block">Return item expand state (item.isExpanded()) Returns always true is
alwaysExpanded is set to true.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>item</code> - </dd>
<dt><span class="returnLabel">Returns:</span></dt>
</dl>
</li>
</ul>
<a name="setAlwaysExpanded-boolean-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setAlwaysExpanded</h4>
<pre>public&nbsp;void&nbsp;setAlwaysExpanded(boolean&nbsp;alwaysExpanded)</pre>
<div class="block">If true, groups are always expanded and toggle button is not displayed if
false, expand status depends on each item.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>alwaysExpanded</code> - </dd>
</dl>
</li>
</ul>
<a name="getMinMargin--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getMinMargin</h4>
<pre>public&nbsp;int&nbsp;getMinMargin()</pre>
</li>
</ul>
<a name="getItemWidth--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getItemWidth</h4>
<pre>public&nbsp;int&nbsp;getItemWidth()</pre>
</li>
</ul>
<a name="setItemWidth-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setItemWidth</h4>
<pre>public&nbsp;void&nbsp;setItemWidth(int&nbsp;itemWidth)</pre>
</li>
</ul>
<a name="getItemHeight--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getItemHeight</h4>
<pre>public&nbsp;int&nbsp;getItemHeight()</pre>
</li>
</ul>
<a name="setItemHeight-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setItemHeight</h4>
<pre>public&nbsp;void&nbsp;setItemHeight(int&nbsp;itemHeight)</pre>
</li>
</ul>
<a name="setItemSize-int-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setItemSize</h4>
<pre>public&nbsp;void&nbsp;setItemSize(int&nbsp;width,
int&nbsp;height)</pre>
</li>
</ul>
<a name="setMinMargin-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setMinMargin</h4>
<pre>public&nbsp;void&nbsp;setMinMargin(int&nbsp;minMargin)</pre>
</li>
</ul>
<a name="isAutoMargin--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isAutoMargin</h4>
<pre>public&nbsp;boolean&nbsp;isAutoMargin()</pre>
</li>
</ul>
<a name="setAutoMargin-boolean-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setAutoMargin</h4>
<pre>public&nbsp;void&nbsp;setAutoMargin(boolean&nbsp;autoMargin)</pre>
</li>
</ul>
<a name="calculateMargins-int-int-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>calculateMargins</h4>
<pre>protected&nbsp;int&nbsp;calculateMargins(int&nbsp;size,
int&nbsp;count,
int&nbsp;itemSize)</pre>
</li>
</ul>
<a name="getSize-int-int-int-int-int-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getSize</h4>
<pre>protected&nbsp;org.eclipse.swt.graphics.Point&nbsp;getSize(int&nbsp;nbx,
int&nbsp;nby,
int&nbsp;itemSizeX,
int&nbsp;itemSizeY,
int&nbsp;minMargin,
int&nbsp;autoMargin)</pre>
</li>
</ul>
<a name="drawItem-org.eclipse.swt.graphics.GC-int-boolean-org.eclipse.nebula.widgets.gallery.GalleryItem-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>drawItem</h4>
<pre>protected&nbsp;void&nbsp;drawItem(org.eclipse.swt.graphics.GC&nbsp;gc,
int&nbsp;index,
boolean&nbsp;selected,
<a href="../../../../../org/eclipse/nebula/widgets/gallery/GalleryItem.html" title="class in org.eclipse.nebula.widgets.gallery">GalleryItem</a>&nbsp;parent,
int&nbsp;offsetY)</pre>
<div class="block">Draw a child item. Only used when useGroup is true.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>gc</code> - </dd>
<dd><code>index</code> - </dd>
<dd><code>selected</code> - </dd>
<dd><code>parent</code> - </dd>
</dl>
</li>
</ul>
<a name="getVisibleItems-org.eclipse.nebula.widgets.gallery.GalleryItem-int-int-int-int-int-int-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getVisibleItems</h4>
<pre>protected&nbsp;int[]&nbsp;getVisibleItems(<a href="../../../../../org/eclipse/nebula/widgets/gallery/GalleryItem.html" title="class in org.eclipse.nebula.widgets.gallery">GalleryItem</a>&nbsp;group,
int&nbsp;x,
int&nbsp;y,
int&nbsp;clipX,
int&nbsp;clipY,
int&nbsp;clipWidth,
int&nbsp;clipHeight,
int&nbsp;offset)</pre>
</li>
</ul>
<a name="gridLayout-int-int-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>gridLayout</h4>
<pre>protected&nbsp;org.eclipse.swt.graphics.Point&nbsp;gridLayout(int&nbsp;size,
int&nbsp;nbItems,
int&nbsp;itemSize)</pre>
<div class="block">Calculate how many items are displayed horizontally and vertically.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>size</code> - </dd>
<dd><code>nbItems</code> - </dd>
<dd><code>itemSize</code> - </dd>
<dt><span class="returnLabel">Returns:</span></dt>
</dl>
</li>
</ul>
<a name="dispose--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>dispose</h4>
<pre>public&nbsp;void&nbsp;dispose()</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../../org/eclipse/nebula/widgets/gallery/AbstractGalleryGroupRenderer.html#dispose--">dispose</a></code>&nbsp;in class&nbsp;<code><a href="../../../../../org/eclipse/nebula/widgets/gallery/AbstractGalleryGroupRenderer.html" title="class in org.eclipse.nebula.widgets.gallery">AbstractGalleryGroupRenderer</a></code></dd>
</dl>
</li>
</ul>
<a name="mouseDown-org.eclipse.nebula.widgets.gallery.GalleryItem-org.eclipse.swt.events.MouseEvent-org.eclipse.swt.graphics.Point-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>mouseDown</h4>
<pre>public&nbsp;boolean&nbsp;mouseDown(<a href="../../../../../org/eclipse/nebula/widgets/gallery/GalleryItem.html" title="class in org.eclipse.nebula.widgets.gallery">GalleryItem</a>&nbsp;group,
org.eclipse.swt.events.MouseEvent&nbsp;e,
org.eclipse.swt.graphics.Point&nbsp;coords)</pre>
</li>
</ul>
<a name="preLayout-org.eclipse.swt.graphics.GC-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>preLayout</h4>
<pre>public&nbsp;void&nbsp;preLayout(org.eclipse.swt.graphics.GC&nbsp;gc)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from class:&nbsp;<code><a href="../../../../../org/eclipse/nebula/widgets/gallery/AbstractGalleryGroupRenderer.html#preLayout-org.eclipse.swt.graphics.GC-">AbstractGalleryGroupRenderer</a></code></span></div>
<div class="block">This method is called before the layout of the first item. It can be used
to calculate some values (like font metrics) that will be used for each
item.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code><a href="../../../../../org/eclipse/nebula/widgets/gallery/AbstractGalleryGroupRenderer.html#preLayout-org.eclipse.swt.graphics.GC-">preLayout</a></code>&nbsp;in class&nbsp;<code><a href="../../../../../org/eclipse/nebula/widgets/gallery/AbstractGalleryGroupRenderer.html" title="class in org.eclipse.nebula.widgets.gallery">AbstractGalleryGroupRenderer</a></code></dd>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../../org/eclipse/nebula/widgets/gallery/AbstractGalleryGroupRenderer.html#preLayout-org.eclipse.swt.graphics.GC-"><code>(org.eclipse.swt.graphics.GC)</code></a></dd>
</dl>
</li>
</ul>
<a name="getLayoutData-org.eclipse.nebula.widgets.gallery.GalleryItem-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getLayoutData</h4>
<pre>protected&nbsp;org.eclipse.swt.graphics.Point&nbsp;getLayoutData(<a href="../../../../../org/eclipse/nebula/widgets/gallery/GalleryItem.html" title="class in org.eclipse.nebula.widgets.gallery">GalleryItem</a>&nbsp;item)</pre>
</li>
</ul>
<a name="getSize-org.eclipse.nebula.widgets.gallery.GalleryItem-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getSize</h4>
<pre>protected&nbsp;org.eclipse.swt.graphics.Rectangle&nbsp;getSize(<a href="../../../../../org/eclipse/nebula/widgets/gallery/GalleryItem.html" title="class in org.eclipse.nebula.widgets.gallery">GalleryItem</a>&nbsp;item,
int&nbsp;offsetY)</pre>
</li>
</ul>
<a name="getItem-org.eclipse.nebula.widgets.gallery.GalleryItem-org.eclipse.swt.graphics.Point-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getItem</h4>
<pre>protected&nbsp;<a href="../../../../../org/eclipse/nebula/widgets/gallery/GalleryItem.html" title="class in org.eclipse.nebula.widgets.gallery">GalleryItem</a>&nbsp;getItem(<a href="../../../../../org/eclipse/nebula/widgets/gallery/GalleryItem.html" title="class in org.eclipse.nebula.widgets.gallery">GalleryItem</a>&nbsp;group,
org.eclipse.swt.graphics.Point&nbsp;coords,
int&nbsp;offsetY)</pre>
<div class="block">Get item at pixel position</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>coords</code> - </dd>
<dt><span class="returnLabel">Returns:</span></dt>
</dl>
</li>
</ul>
<a name="getNextItem-org.eclipse.nebula.widgets.gallery.GalleryItem-int-">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>getNextItem</h4>
<pre>public&nbsp;<a href="../../../../../org/eclipse/nebula/widgets/gallery/GalleryItem.html" title="class in org.eclipse.nebula.widgets.gallery">GalleryItem</a>&nbsp;getNextItem(<a href="../../../../../org/eclipse/nebula/widgets/gallery/GalleryItem.html" title="class in org.eclipse.nebula.widgets.gallery">GalleryItem</a>&nbsp;item,
int&nbsp;key)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from class:&nbsp;<code><a href="../../../../../org/eclipse/nebula/widgets/gallery/AbstractGalleryGroupRenderer.html#getNextItem-org.eclipse.nebula.widgets.gallery.GalleryItem-int-">AbstractGalleryGroupRenderer</a></code></span></div>
<div class="block">Returns the item that should be selected when the current item is 'item'
and the 'key' is pressed</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../../org/eclipse/nebula/widgets/gallery/AbstractGalleryGroupRenderer.html#getNextItem-org.eclipse.nebula.widgets.gallery.GalleryItem-int-">getNextItem</a></code>&nbsp;in class&nbsp;<code><a href="../../../../../org/eclipse/nebula/widgets/gallery/AbstractGalleryGroupRenderer.html" title="class in org.eclipse.nebula.widgets.gallery">AbstractGalleryGroupRenderer</a></code></dd>
<dt><span class="returnLabel">Returns:</span></dt>
</dl>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
</div>
<!-- ========= END OF CLASS DATA ========= -->
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar.bottom">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.bottom.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../../overview-summary.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="class-use/AbstractGridGroupRenderer.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/gallery/AbstractGalleryItemRenderer.html" title="class in org.eclipse.nebula.widgets.gallery"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../../../../org/eclipse/nebula/widgets/gallery/DefaultGalleryGroupRenderer.html" title="class in org.eclipse.nebula.widgets.gallery"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../../index.html?org/eclipse/nebula/widgets/gallery/AbstractGridGroupRenderer.html" target="_top">Frames</a></li>
<li><a href="AbstractGridGroupRenderer.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li><a href="#field.summary">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li><a href="#field.detail">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a name="skip.navbar.bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
</body>
</html>