| <!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 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 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 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.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"> </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> </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> </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> </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> </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> </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> </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> </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> </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> </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 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"> </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> </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>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 size, |
| int count, |
| int itemSize)</code> </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> </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 gc, |
| <a href="../../../../../org/eclipse/nebula/widgets/gallery/GalleryItem.html" title="class in org.eclipse.nebula.widgets.gallery">GalleryItem</a> group, |
| int x, |
| int y, |
| int clipX, |
| int clipY, |
| int clipWidth, |
| int 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 gc, |
| int index, |
| boolean selected, |
| <a href="../../../../../org/eclipse/nebula/widgets/gallery/GalleryItem.html" title="class in org.eclipse.nebula.widgets.gallery">GalleryItem</a> parent, |
| int 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> group, |
| org.eclipse.swt.graphics.Point 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> group, |
| org.eclipse.swt.graphics.Point coords, |
| int 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> </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> </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> item)</code> </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> </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> item, |
| int 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> 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> item, |
| int offsetY)</code> </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 nbx, |
| int nby, |
| int itemSizeX, |
| int itemSizeY, |
| int minMargin, |
| int autoMargin)</code> </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> group, |
| int x, |
| int y, |
| int clipX, |
| int clipY, |
| int clipWidth, |
| int clipHeight, |
| int offset)</code> </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 size, |
| int nbItems, |
| int 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> </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> 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 gc, |
| <a href="../../../../../org/eclipse/nebula/widgets/gallery/GalleryItem.html" title="class in org.eclipse.nebula.widgets.gallery">GalleryItem</a> 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> group, |
| org.eclipse.swt.events.MouseEvent e, |
| org.eclipse.swt.graphics.Point coords)</code> </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 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 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 autoMargin)</code> </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 itemHeight)</code> </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 width, |
| int height)</code> </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 itemWidth)</code> </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 minMargin)</code> </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 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 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 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 int minMargin</pre> |
| </li> |
| </ul> |
| <a name="margin"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>margin</h4> |
| <pre>protected int margin</pre> |
| </li> |
| </ul> |
| <a name="autoMargin"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>autoMargin</h4> |
| <pre>protected boolean autoMargin</pre> |
| </li> |
| </ul> |
| <a name="itemWidth"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>itemWidth</h4> |
| <pre>protected int itemWidth</pre> |
| </li> |
| </ul> |
| <a name="itemHeight"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>itemHeight</h4> |
| <pre>protected int itemHeight</pre> |
| </li> |
| </ul> |
| <a name="H_COUNT"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>H_COUNT</h4> |
| <pre>public static final 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 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 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 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 void draw(org.eclipse.swt.graphics.GC gc, |
| <a href="../../../../../org/eclipse/nebula/widgets/gallery/GalleryItem.html" title="class in org.eclipse.nebula.widgets.gallery">GalleryItem</a> group, |
| int x, |
| int y, |
| int clipX, |
| int clipY, |
| int clipWidth, |
| int clipHeight)</pre> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from class: <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> in class <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 <a href="../../../../../org/eclipse/nebula/widgets/gallery/GalleryItem.html" title="class in org.eclipse.nebula.widgets.gallery">GalleryItem</a> getItem(<a href="../../../../../org/eclipse/nebula/widgets/gallery/GalleryItem.html" title="class in org.eclipse.nebula.widgets.gallery">GalleryItem</a> group, |
| org.eclipse.swt.graphics.Point coords)</pre> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from class: <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> in class <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 org.eclipse.swt.graphics.Rectangle getSize(<a href="../../../../../org/eclipse/nebula/widgets/gallery/GalleryItem.html" title="class in org.eclipse.nebula.widgets.gallery">GalleryItem</a> item)</pre> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from class: <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> in class <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 void layout(org.eclipse.swt.graphics.GC gc, |
| <a href="../../../../../org/eclipse/nebula/widgets/gallery/GalleryItem.html" title="class in org.eclipse.nebula.widgets.gallery">GalleryItem</a> group)</pre> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from class: <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> in class <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 boolean 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 boolean isGroupExpanded(<a href="../../../../../org/eclipse/nebula/widgets/gallery/GalleryItem.html" title="class in org.eclipse.nebula.widgets.gallery">GalleryItem</a> 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 void setAlwaysExpanded(boolean 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 int getMinMargin()</pre> |
| </li> |
| </ul> |
| <a name="getItemWidth--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getItemWidth</h4> |
| <pre>public int getItemWidth()</pre> |
| </li> |
| </ul> |
| <a name="setItemWidth-int-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setItemWidth</h4> |
| <pre>public void setItemWidth(int itemWidth)</pre> |
| </li> |
| </ul> |
| <a name="getItemHeight--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getItemHeight</h4> |
| <pre>public int getItemHeight()</pre> |
| </li> |
| </ul> |
| <a name="setItemHeight-int-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setItemHeight</h4> |
| <pre>public void setItemHeight(int itemHeight)</pre> |
| </li> |
| </ul> |
| <a name="setItemSize-int-int-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setItemSize</h4> |
| <pre>public void setItemSize(int width, |
| int height)</pre> |
| </li> |
| </ul> |
| <a name="setMinMargin-int-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setMinMargin</h4> |
| <pre>public void setMinMargin(int minMargin)</pre> |
| </li> |
| </ul> |
| <a name="isAutoMargin--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>isAutoMargin</h4> |
| <pre>public boolean isAutoMargin()</pre> |
| </li> |
| </ul> |
| <a name="setAutoMargin-boolean-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setAutoMargin</h4> |
| <pre>public void setAutoMargin(boolean autoMargin)</pre> |
| </li> |
| </ul> |
| <a name="calculateMargins-int-int-int-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>calculateMargins</h4> |
| <pre>protected int calculateMargins(int size, |
| int count, |
| int 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 org.eclipse.swt.graphics.Point getSize(int nbx, |
| int nby, |
| int itemSizeX, |
| int itemSizeY, |
| int minMargin, |
| int 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 void drawItem(org.eclipse.swt.graphics.GC gc, |
| int index, |
| boolean selected, |
| <a href="../../../../../org/eclipse/nebula/widgets/gallery/GalleryItem.html" title="class in org.eclipse.nebula.widgets.gallery">GalleryItem</a> parent, |
| int 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 int[] getVisibleItems(<a href="../../../../../org/eclipse/nebula/widgets/gallery/GalleryItem.html" title="class in org.eclipse.nebula.widgets.gallery">GalleryItem</a> group, |
| int x, |
| int y, |
| int clipX, |
| int clipY, |
| int clipWidth, |
| int clipHeight, |
| int offset)</pre> |
| </li> |
| </ul> |
| <a name="gridLayout-int-int-int-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>gridLayout</h4> |
| <pre>protected org.eclipse.swt.graphics.Point gridLayout(int size, |
| int nbItems, |
| int 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 void 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> in class <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 boolean mouseDown(<a href="../../../../../org/eclipse/nebula/widgets/gallery/GalleryItem.html" title="class in org.eclipse.nebula.widgets.gallery">GalleryItem</a> group, |
| org.eclipse.swt.events.MouseEvent e, |
| org.eclipse.swt.graphics.Point coords)</pre> |
| </li> |
| </ul> |
| <a name="preLayout-org.eclipse.swt.graphics.GC-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>preLayout</h4> |
| <pre>public void preLayout(org.eclipse.swt.graphics.GC gc)</pre> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from class: <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> in class <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 org.eclipse.swt.graphics.Point getLayoutData(<a href="../../../../../org/eclipse/nebula/widgets/gallery/GalleryItem.html" title="class in org.eclipse.nebula.widgets.gallery">GalleryItem</a> 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 org.eclipse.swt.graphics.Rectangle getSize(<a href="../../../../../org/eclipse/nebula/widgets/gallery/GalleryItem.html" title="class in org.eclipse.nebula.widgets.gallery">GalleryItem</a> item, |
| int 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 <a href="../../../../../org/eclipse/nebula/widgets/gallery/GalleryItem.html" title="class in org.eclipse.nebula.widgets.gallery">GalleryItem</a> getItem(<a href="../../../../../org/eclipse/nebula/widgets/gallery/GalleryItem.html" title="class in org.eclipse.nebula.widgets.gallery">GalleryItem</a> group, |
| org.eclipse.swt.graphics.Point coords, |
| int 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 <a href="../../../../../org/eclipse/nebula/widgets/gallery/GalleryItem.html" title="class in org.eclipse.nebula.widgets.gallery">GalleryItem</a> getNextItem(<a href="../../../../../org/eclipse/nebula/widgets/gallery/GalleryItem.html" title="class in org.eclipse.nebula.widgets.gallery">GalleryItem</a> item, |
| int key)</pre> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from class: <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> in class <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 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 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 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> |