| <!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 (9) on Tue Feb 20 10:14:44 CET 2018 --> |
| <title>AbstractGalleryItemRenderer</title> |
| <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> |
| <meta name="date" content="2018-02-20"> |
| <link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style"> |
| <link rel="stylesheet" type="text/css" href="../../../../../jquery/jquery-ui.css" title="Style"> |
| <script type="text/javascript" src="../../../../../script.js"></script> |
| <script type="text/javascript" src="../../../../../jquery/jszip/dist/jszip.min.js"></script> |
| <script type="text/javascript" src="../../../../../jquery/jszip-utils/dist/jszip-utils.min.js"></script> |
| <!--[if IE]> |
| <script type="text/javascript" src="../../../../../jquery/jszip-utils/dist/jszip-utils-ie.min.js"></script> |
| <![endif]--> |
| <script type="text/javascript" src="../../../../../jquery/jquery-1.10.2.js"></script> |
| <script type="text/javascript" src="../../../../../jquery/jquery-ui.js"></script> |
| </head> |
| <body> |
| <script type="text/javascript"><!-- |
| try { |
| if (location.href.indexOf('is-external=true') == -1) { |
| parent.document.title="AbstractGalleryItemRenderer"; |
| } |
| } |
| catch(err) { |
| } |
| //--> |
| var methods = {"i0":6,"i1":6,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10}; |
| var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],4:["t3","Abstract Methods"],8:["t4","Concrete Methods"]}; |
| var altColor = "altColor"; |
| var rowColor = "rowColor"; |
| var tableTab = "tableTab"; |
| var activeTableTab = "activeTableTab"; |
| var pathtoroot = "../../../../../";loadScripts(document, 'script');</script> |
| <noscript> |
| <div>JavaScript is disabled on your browser.</div> |
| </noscript> |
| <div class="fixedNav"> |
| <!-- ========= 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/AbstractGalleryItemRenderer.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/AbstractGalleryGroupRenderer.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/AbstractGridGroupRenderer.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/AbstractGalleryItemRenderer.html" target="_top">Frames</a></li> |
| <li><a href="AbstractGalleryItemRenderer.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> |
| <ul class="navListSearch"> |
| <li><span>SEARCH: </span> |
| <input type="text" id="search" value=" " disabled="disabled"> |
| <input type="reset" id="reset" value=" " disabled="disabled"> |
| </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> |
| <noscript> |
| <div>JavaScript is disabled on your browser.</div> |
| </noscript> |
| </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 ========= --> |
| </div> |
| <div class="navPadding"> </div> |
| <script type="text/javascript"><!-- |
| $('.navPadding').css('padding-top', $('.fixedNav').css("height")); |
| //--> |
| </script> |
| <!-- ======== START OF CLASS DATA ======== --> |
| <div class="header"> |
| <div class="subTitle"><span class="packageLabelInType">Package</span> <a href="../../../../../org/eclipse/nebula/widgets/gallery/package-summary.html">org.eclipse.nebula.widgets.gallery</a></div> |
| <h2 title="Class AbstractGalleryItemRenderer" class="title">Class AbstractGalleryItemRenderer</h2> |
| </div> |
| <div class="contentContainer"> |
| <ul class="inheritance"> |
| <li>java.lang.Object</li> |
| <li> |
| <ul class="inheritance"> |
| <li>org.eclipse.nebula.widgets.gallery.AbstractGalleryItemRenderer</li> |
| </ul> |
| </li> |
| </ul> |
| <div class="description"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <dl> |
| <dt>Direct Known Subclasses:</dt> |
| <dd><code><a href="../../../../../org/eclipse/nebula/widgets/gallery/DefaultGalleryItemRenderer.html" title="class in org.eclipse.nebula.widgets.gallery">DefaultGalleryItemRenderer</a></code>, <code><a href="../../../../../org/eclipse/nebula/widgets/gallery/ListItemRenderer.html" title="class in org.eclipse.nebula.widgets.gallery">ListItemRenderer</a></code></dd> |
| </dl> |
| <hr> |
| <br> |
| <pre>public abstract class <span class="typeNameLabel">AbstractGalleryItemRenderer</span> |
| extends java.lang.Object</pre> |
| <div class="block"><p> |
| Base class used to implement a custom gallery item 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" 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="colSecond" scope="col">Field</th> |
| <th class="colLast" scope="col">Description</th> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>static java.lang.String</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/gallery/AbstractGalleryItemRenderer.html#OVERLAY_BOTTOM_LEFT">OVERLAY_BOTTOM_LEFT</a></span></code></th> |
| <td class="colLast"> |
| <div class="block">Id for decorators located at the bottom left of the item image |
| |
| Example : item.setData( AbstractGalleryItemRenderer.OVERLAY_BOTTOM_RIGHT |
| , <Image or Image[]> );</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>static java.lang.String</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/gallery/AbstractGalleryItemRenderer.html#OVERLAY_BOTTOM_RIGHT">OVERLAY_BOTTOM_RIGHT</a></span></code></th> |
| <td class="colLast"> |
| <div class="block">Id for decorators located at the bottom right of the item image |
| |
| Example : item.setData( AbstractGalleryItemRenderer.OVERLAY_BOTTOM_RIGHT |
| , <Image or Image[]> );</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>static java.lang.String</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/gallery/AbstractGalleryItemRenderer.html#OVERLAY_TOP_LEFT">OVERLAY_TOP_LEFT</a></span></code></th> |
| <td class="colLast"> |
| <div class="block">Id for decorators located at the top left of the item image |
| |
| Example : item.setData( AbstractGalleryItemRenderer.OVERLAY_BOTTOM_RIGHT |
| , <Image or Image[]> );</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>static java.lang.String</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/gallery/AbstractGalleryItemRenderer.html#OVERLAY_TOP_RIGHT">OVERLAY_TOP_RIGHT</a></span></code></th> |
| <td class="colLast"> |
| <div class="block">Id for decorators located at the top right of the item image |
| |
| Example : item.setData( AbstractGalleryItemRenderer.OVERLAY_BOTTOM_RIGHT |
| , <Image or Image[]> );</div> |
| </td> |
| </tr> |
| </table> |
| </li> |
| </ul> |
| <!-- ======== CONSTRUCTOR SUMMARY ======== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="constructor.summary"> |
| <!-- --> |
| </a> |
| <h3>Constructor Summary</h3> |
| <table class="memberSummary" summary="Constructor Summary table, listing constructors, and an explanation"> |
| <caption><span>Constructors</span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Constructor</th> |
| <th class="colLast" scope="col">Description</th> |
| </tr> |
| <tr class="altColor"> |
| <th class="colConstructorName" scope="row"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/gallery/AbstractGalleryItemRenderer.html#AbstractGalleryItemRenderer--">AbstractGalleryItemRenderer</a></span>​()</code></th> |
| <td class="colLast"> </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" 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="t3" class="tableTab"><span><a href="javascript:show(4);">Abstract 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="colSecond" scope="col">Method</th> |
| <th class="colLast" scope="col">Description</th> |
| </tr> |
| <tr id="i0" class="altColor"> |
| <td class="colFirst"><code>abstract void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/gallery/AbstractGalleryItemRenderer.html#dispose--">dispose</a></span>​()</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i1" class="rowColor"> |
| <td class="colFirst"><code>abstract void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/gallery/AbstractGalleryItemRenderer.html#draw-org.eclipse.swt.graphics.GC-org.eclipse.nebula.widgets.gallery.GalleryItem-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> item, |
| int index, |
| int x, |
| int y, |
| int width, |
| int height)</code></th> |
| <td class="colLast"> |
| <div class="block">Draws an item.</div> |
| </td> |
| </tr> |
| <tr id="i2" class="altColor"> |
| <td class="colFirst"><code><a href="../../../../../org/eclipse/nebula/widgets/gallery/Gallery.html" title="class in org.eclipse.nebula.widgets.gallery">Gallery</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/gallery/AbstractGalleryItemRenderer.html#getGallery--">getGallery</a></span>​()</code></th> |
| <td class="colLast"> |
| <div class="block">Get current gallery.</div> |
| </td> |
| </tr> |
| <tr id="i3" class="rowColor"> |
| <td class="colFirst"><code>boolean</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/gallery/AbstractGalleryItemRenderer.html#isSelected--">isSelected</a></span>​()</code></th> |
| <td class="colLast"> |
| <div class="block">true is the current item is selected</div> |
| </td> |
| </tr> |
| <tr id="i4" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/gallery/AbstractGalleryItemRenderer.html#postDraw-org.eclipse.swt.graphics.GC-">postDraw</a></span>​(org.eclipse.swt.graphics.GC gc)</code></th> |
| <td class="colLast"> |
| <div class="block">This method is called after drawing the last item.</div> |
| </td> |
| </tr> |
| <tr id="i5" class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/gallery/AbstractGalleryItemRenderer.html#preDraw-org.eclipse.swt.graphics.GC-">preDraw</a></span>​(org.eclipse.swt.graphics.GC gc)</code></th> |
| <td class="colLast"> |
| <div class="block">This method is called before drawing the first item.</div> |
| </td> |
| </tr> |
| <tr id="i6" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/gallery/AbstractGalleryItemRenderer.html#setGallery-org.eclipse.nebula.widgets.gallery.Gallery-">setGallery</a></span>​(<a href="../../../../../org/eclipse/nebula/widgets/gallery/Gallery.html" title="class in org.eclipse.nebula.widgets.gallery">Gallery</a> gallery)</code></th> |
| <td class="colLast"> |
| <div class="block">Set the current gallery.</div> |
| </td> |
| </tr> |
| <tr id="i7" class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/gallery/AbstractGalleryItemRenderer.html#setSelected-boolean-">setSelected</a></span>​(boolean selected)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| </table> |
| <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>equals, 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="OVERLAY_BOTTOM_RIGHT"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>OVERLAY_BOTTOM_RIGHT</h4> |
| <pre>public static final java.lang.String OVERLAY_BOTTOM_RIGHT</pre> |
| <div class="block">Id for decorators located at the bottom right of the item image |
| |
| Example : item.setData( AbstractGalleryItemRenderer.OVERLAY_BOTTOM_RIGHT |
| , <Image or Image[]> );</div> |
| <dl> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="../../../../../constant-values.html#org.eclipse.nebula.widgets.gallery.AbstractGalleryItemRenderer.OVERLAY_BOTTOM_RIGHT">Constant Field Values</a></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="OVERLAY_BOTTOM_LEFT"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>OVERLAY_BOTTOM_LEFT</h4> |
| <pre>public static final java.lang.String OVERLAY_BOTTOM_LEFT</pre> |
| <div class="block">Id for decorators located at the bottom left of the item image |
| |
| Example : item.setData( AbstractGalleryItemRenderer.OVERLAY_BOTTOM_RIGHT |
| , <Image or Image[]> );</div> |
| <dl> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="../../../../../constant-values.html#org.eclipse.nebula.widgets.gallery.AbstractGalleryItemRenderer.OVERLAY_BOTTOM_LEFT">Constant Field Values</a></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="OVERLAY_TOP_RIGHT"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>OVERLAY_TOP_RIGHT</h4> |
| <pre>public static final java.lang.String OVERLAY_TOP_RIGHT</pre> |
| <div class="block">Id for decorators located at the top right of the item image |
| |
| Example : item.setData( AbstractGalleryItemRenderer.OVERLAY_BOTTOM_RIGHT |
| , <Image or Image[]> );</div> |
| <dl> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="../../../../../constant-values.html#org.eclipse.nebula.widgets.gallery.AbstractGalleryItemRenderer.OVERLAY_TOP_RIGHT">Constant Field Values</a></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="OVERLAY_TOP_LEFT"> |
| <!-- --> |
| </a> |
| <ul class="blockListLast"> |
| <li class="blockList"> |
| <h4>OVERLAY_TOP_LEFT</h4> |
| <pre>public static final java.lang.String OVERLAY_TOP_LEFT</pre> |
| <div class="block">Id for decorators located at the top left of the item image |
| |
| Example : item.setData( AbstractGalleryItemRenderer.OVERLAY_BOTTOM_RIGHT |
| , <Image or Image[]> );</div> |
| <dl> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="../../../../../constant-values.html#org.eclipse.nebula.widgets.gallery.AbstractGalleryItemRenderer.OVERLAY_TOP_LEFT">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="AbstractGalleryItemRenderer--"> |
| <!-- --> |
| </a> |
| <ul class="blockListLast"> |
| <li class="blockList"> |
| <h4>AbstractGalleryItemRenderer</h4> |
| <pre>public AbstractGalleryItemRenderer​()</pre> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| <!-- ============ METHOD DETAIL ========== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="method.detail"> |
| <!-- --> |
| </a> |
| <h3>Method Detail</h3> |
| <a name="isSelected--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>isSelected</h4> |
| <pre>public boolean isSelected​()</pre> |
| <div class="block">true is the current item is selected</div> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| </dl> |
| </li> |
| </ul> |
| <a name="setSelected-boolean-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setSelected</h4> |
| <pre>public void setSelected​(boolean selected)</pre> |
| </li> |
| </ul> |
| <a name="draw-org.eclipse.swt.graphics.GC-org.eclipse.nebula.widgets.gallery.GalleryItem-int-int-int-int-int-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>draw</h4> |
| <pre>public abstract 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> item, |
| int index, |
| int x, |
| int y, |
| int width, |
| int height)</pre> |
| <div class="block">Draws an item.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>gc</code> - </dd> |
| <dd><code>item</code> - </dd> |
| <dd><code>index</code> - </dd> |
| <dd><code>x</code> - </dd> |
| <dd><code>y</code> - </dd> |
| <dd><code>width</code> - </dd> |
| <dd><code>height</code> - </dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="dispose--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>dispose</h4> |
| <pre>public abstract void dispose​()</pre> |
| </li> |
| </ul> |
| <a name="preDraw-org.eclipse.swt.graphics.GC-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>preDraw</h4> |
| <pre>public void preDraw​(org.eclipse.swt.graphics.GC gc)</pre> |
| <div class="block">This method is called before drawing the first item. It may be used to |
| calculate some values (like font metrics) that will be used for each |
| item.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>gc</code> - </dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="postDraw-org.eclipse.swt.graphics.GC-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>postDraw</h4> |
| <pre>public void postDraw​(org.eclipse.swt.graphics.GC gc)</pre> |
| <div class="block">This method is called after drawing the last item. It may be used to |
| cleanup and release resources created in preDraw().</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>gc</code> - </dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getGallery--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getGallery</h4> |
| <pre>public <a href="../../../../../org/eclipse/nebula/widgets/gallery/Gallery.html" title="class in org.eclipse.nebula.widgets.gallery">Gallery</a> getGallery​()</pre> |
| <div class="block">Get current gallery.</div> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| </dl> |
| </li> |
| </ul> |
| <a name="setGallery-org.eclipse.nebula.widgets.gallery.Gallery-"> |
| <!-- --> |
| </a> |
| <ul class="blockListLast"> |
| <li class="blockList"> |
| <h4>setGallery</h4> |
| <pre>public void setGallery​(<a href="../../../../../org/eclipse/nebula/widgets/gallery/Gallery.html" title="class in org.eclipse.nebula.widgets.gallery">Gallery</a> gallery)</pre> |
| <div class="block">Set the current gallery. This method is automatically called by |
| <a href="../../../../../org/eclipse/nebula/widgets/gallery/Gallery.html#setItemRenderer-org.eclipse.nebula.widgets.gallery.AbstractGalleryItemRenderer-"><code>Gallery.setItemRenderer(AbstractGalleryItemRenderer)</code></a>. There is |
| not need to call it from user code.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>gallery</code> - </dd> |
| </dl> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| </div> |
| </div> |
| <!-- ========= END OF CLASS DATA ========= --> |
| <!-- ======= START OF BOTTOM NAVBAR ====== --> |
| <div class="bottomNav"><a name="navbar.bottom"> |
| <!-- --> |
| </a> |
| <div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div> |
| <a name="navbar.bottom.firstrow"> |
| <!-- --> |
| </a> |
| <ul class="navList" title="Navigation"> |
| <li><a href="../../../../../overview-summary.html">Overview</a></li> |
| <li><a href="package-summary.html">Package</a></li> |
| <li class="navBarCell1Rev">Class</li> |
| <li><a href="class-use/AbstractGalleryItemRenderer.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/AbstractGalleryGroupRenderer.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/AbstractGridGroupRenderer.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/AbstractGalleryItemRenderer.html" target="_top">Frames</a></li> |
| <li><a href="AbstractGalleryItemRenderer.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> |
| <noscript> |
| <div>JavaScript is disabled on your browser.</div> |
| </noscript> |
| </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> |