| <!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 Mon Aug 12 16:33:53 CEST 2019 --> |
| <title>DefaultGalleryGroupRenderer</title> |
| <meta name="date" content="2019-08-12"> |
| <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="DefaultGalleryGroupRenderer"; |
| } |
| } |
| catch(err) { |
| } |
| //--> |
| var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10,"i11":10,"i12":10,"i13":10,"i14":10,"i15":10,"i16":10,"i17":10,"i18":10,"i19":10,"i20":10,"i21":10,"i22":10,"i23":10,"i24":10,"i25":10,"i26":10,"i27":10,"i28":10,"i29":10,"i30":10,"i31":10,"i32":10,"i33":10,"i34":10,"i35":10,"i36":10,"i37":10,"i38":10,"i39":10,"i40":10,"i41":10}; |
| 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/DefaultGalleryGroupRenderer.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/AbstractGridGroupRenderer.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/DefaultGalleryItemRenderer.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/DefaultGalleryGroupRenderer.html" target="_top">Frames</a></li> |
| <li><a href="DefaultGalleryGroupRenderer.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 DefaultGalleryGroupRenderer" class="title">Class DefaultGalleryGroupRenderer</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><a href="../../../../../org/eclipse/nebula/widgets/gallery/AbstractGridGroupRenderer.html" title="class in org.eclipse.nebula.widgets.gallery">org.eclipse.nebula.widgets.gallery.AbstractGridGroupRenderer</a></li> |
| <li> |
| <ul class="inheritance"> |
| <li>org.eclipse.nebula.widgets.gallery.DefaultGalleryGroupRenderer</li> |
| </ul> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| <div class="description"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <hr> |
| <br> |
| <pre>public class <span class="typeNameLabel">DefaultGalleryGroupRenderer</span> |
| extends <a href="../../../../../org/eclipse/nebula/widgets/gallery/AbstractGridGroupRenderer.html" title="class in org.eclipse.nebula.widgets.gallery">AbstractGridGroupRenderer</a></pre> |
| <div class="block"><p> |
| Default group renderer used by the Gallery widget. Supports multi-line text, |
| images, animation and several other features. |
| </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/DefaultGalleryGroupRenderer.html#animation">animation</a></span></code> </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>protected <a href="../../../../../org/eclipse/nebula/animation/movement/IMovement.html" title="interface in org.eclipse.nebula.animation.movement">IMovement</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/gallery/DefaultGalleryGroupRenderer.html#animationCloseMovement">animationCloseMovement</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/DefaultGalleryGroupRenderer.html#animationLength">animationLength</a></span></code> </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>protected <a href="../../../../../org/eclipse/nebula/animation/movement/IMovement.html" title="interface in org.eclipse.nebula.animation.movement">IMovement</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/gallery/DefaultGalleryGroupRenderer.html#animationOpenMovement">animationOpenMovement</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/DefaultGalleryGroupRenderer.html#DATA_ANIMATION">DATA_ANIMATION</a></span></code> </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>(package private) boolean</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/gallery/DefaultGalleryGroupRenderer.html#marginCalculated">marginCalculated</a></span></code> |
| <div class="block">True if margins have already been calculated.</div> |
| </td> |
| </tr> |
| </table> |
| <ul class="blockList"> |
| <li class="blockList"><a name="fields.inherited.from.class.org.eclipse.nebula.widgets.gallery.AbstractGridGroupRenderer"> |
| <!-- --> |
| </a> |
| <h3>Fields inherited from class org.eclipse.nebula.widgets.gallery.<a href="../../../../../org/eclipse/nebula/widgets/gallery/AbstractGridGroupRenderer.html" title="class in org.eclipse.nebula.widgets.gallery">AbstractGridGroupRenderer</a></h3> |
| <code><a href="../../../../../org/eclipse/nebula/widgets/gallery/AbstractGridGroupRenderer.html#autoMargin">autoMargin</a>, <a href="../../../../../org/eclipse/nebula/widgets/gallery/AbstractGridGroupRenderer.html#DEFAULT_SIZE">DEFAULT_SIZE</a>, <a href="../../../../../org/eclipse/nebula/widgets/gallery/AbstractGridGroupRenderer.html#EMPTY_STRING">EMPTY_STRING</a>, <a href="../../../../../org/eclipse/nebula/widgets/gallery/AbstractGridGroupRenderer.html#H_COUNT">H_COUNT</a>, <a href="../../../../../org/eclipse/nebula/widgets/gallery/AbstractGridGroupRenderer.html#itemHeight">itemHeight</a>, <a href="../../../../../org/eclipse/nebula/widgets/gallery/AbstractGridGroupRenderer.html#itemWidth">itemWidth</a>, <a href="../../../../../org/eclipse/nebula/widgets/gallery/AbstractGridGroupRenderer.html#margin">margin</a>, <a href="../../../../../org/eclipse/nebula/widgets/gallery/AbstractGridGroupRenderer.html#minMargin">minMargin</a>, <a href="../../../../../org/eclipse/nebula/widgets/gallery/AbstractGridGroupRenderer.html#V_COUNT">V_COUNT</a></code></li> |
| </ul> |
| <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/DefaultGalleryGroupRenderer.html#DefaultGalleryGroupRenderer--">DefaultGalleryGroupRenderer</a></span>()</code> |
| <div class="block">This group renderer draws a title line, then items in a grid layout.</div> |
| </td> |
| </tr> |
| </table> |
| </li> |
| </ul> |
| <!-- ========== METHOD SUMMARY =========== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="method.summary"> |
| <!-- --> |
| </a> |
| <h3>Method Summary</h3> |
| <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation"> |
| <caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd"> </span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd"> </span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd"> </span></span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Modifier and Type</th> |
| <th class="colLast" scope="col">Method and Description</th> |
| </tr> |
| <tr id="i0" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/gallery/DefaultGalleryGroupRenderer.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="i1" class="rowColor"> |
| <td class="colFirst"><code>protected void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/gallery/DefaultGalleryGroupRenderer.html#drawGroup-org.eclipse.swt.graphics.GC-org.eclipse.nebula.widgets.gallery.GalleryItem-int-int-int-int-int-int-">drawGroup</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> </td> |
| </tr> |
| <tr id="i2" class="altColor"> |
| <td class="colFirst"><code>protected void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/gallery/DefaultGalleryGroupRenderer.html#drawGroupBackground-org.eclipse.swt.graphics.GC-org.eclipse.nebula.widgets.gallery.GalleryItem-int-int-int-int-">drawGroupBackground</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 x, |
| int y, |
| int width, |
| int height)</code> |
| <div class="block">Draw group background using system default gradient or the user-defined |
| color.</div> |
| </td> |
| </tr> |
| <tr id="i3" class="rowColor"> |
| <td class="colFirst"><code>protected int</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/gallery/DefaultGalleryGroupRenderer.html#drawGroupToggleButton-org.eclipse.swt.graphics.GC-int-int-org.eclipse.nebula.widgets.gallery.GalleryItem-">drawGroupToggleButton</a></span>(org.eclipse.swt.graphics.GC gc, |
| int x, |
| int y, |
| <a href="../../../../../org/eclipse/nebula/widgets/gallery/GalleryItem.html" title="class in org.eclipse.nebula.widgets.gallery">GalleryItem</a> group)</code> |
| <div class="block">Draw the toggle button.</div> |
| </td> |
| </tr> |
| <tr id="i4" class="altColor"> |
| <td class="colFirst"><code>protected void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/gallery/DefaultGalleryGroupRenderer.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="i5" class="rowColor"> |
| <td class="colFirst"><code><a href="../../../../../org/eclipse/nebula/animation/movement/IMovement.html" title="interface in org.eclipse.nebula.animation.movement">IMovement</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/gallery/DefaultGalleryGroupRenderer.html#getAnimationCloseMovement--">getAnimationCloseMovement</a></span>()</code> </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/DefaultGalleryGroupRenderer.html#getAnimationLength--">getAnimationLength</a></span>()</code> </td> |
| </tr> |
| <tr id="i7" class="rowColor"> |
| <td class="colFirst"><code><a href="../../../../../org/eclipse/nebula/animation/movement/IMovement.html" title="interface in org.eclipse.nebula.animation.movement">IMovement</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/gallery/DefaultGalleryGroupRenderer.html#getAnimationOpenMovement--">getAnimationOpenMovement</a></span>()</code> |
| <div class="block">Get the current movement used for animation</div> |
| </td> |
| </tr> |
| <tr id="i8" class="altColor"> |
| <td class="colFirst"><code>org.eclipse.swt.graphics.Font</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/gallery/DefaultGalleryGroupRenderer.html#getFont--">getFont</a></span>()</code> |
| <div class="block">Returns the font used for drawing the group title or <tt>null</tt> if |
| system font is used.</div> |
| </td> |
| </tr> |
| <tr id="i9" class="rowColor"> |
| <td class="colFirst"><code>protected int</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/gallery/DefaultGalleryGroupRenderer.html#getGroupHeight-org.eclipse.nebula.widgets.gallery.GalleryItem-">getGroupHeight</a></span>(<a href="../../../../../org/eclipse/nebula/widgets/gallery/GalleryItem.html" title="class in org.eclipse.nebula.widgets.gallery">GalleryItem</a> group)</code> </td> |
| </tr> |
| <tr id="i10" class="altColor"> |
| <td class="colFirst"><code>protected int</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/gallery/DefaultGalleryGroupRenderer.html#getGroupOffset-org.eclipse.nebula.widgets.gallery.GalleryItem-">getGroupOffset</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 a group offset (size of title + margin)</div> |
| </td> |
| </tr> |
| <tr id="i11" class="rowColor"> |
| <td class="colFirst"><code>protected java.lang.String</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/gallery/DefaultGalleryGroupRenderer.html#getGroupTitle-org.eclipse.nebula.widgets.gallery.GalleryItem-">getGroupTitle</a></span>(<a href="../../../../../org/eclipse/nebula/widgets/gallery/GalleryItem.html" title="class in org.eclipse.nebula.widgets.gallery">GalleryItem</a> group)</code> </td> |
| </tr> |
| <tr id="i12" 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/DefaultGalleryGroupRenderer.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="i13" class="rowColor"> |
| <td class="colFirst"><code>int</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/gallery/DefaultGalleryGroupRenderer.html#getMaxImageHeight--">getMaxImageHeight</a></span>()</code> </td> |
| </tr> |
| <tr id="i14" class="altColor"> |
| <td class="colFirst"><code>int</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/gallery/DefaultGalleryGroupRenderer.html#getMaxImageWidth--">getMaxImageWidth</a></span>()</code> </td> |
| </tr> |
| <tr id="i15" class="rowColor"> |
| <td class="colFirst"><code>int</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/gallery/DefaultGalleryGroupRenderer.html#getScrollBarIncrement--">getScrollBarIncrement</a></span>()</code> |
| <div class="block">Returns the preferred Scrollbar increment for the current gallery layout.</div> |
| </td> |
| </tr> |
| <tr id="i16" class="altColor"> |
| <td class="colFirst"><code>org.eclipse.swt.graphics.Rectangle</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/gallery/DefaultGalleryGroupRenderer.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="i17" class="rowColor"> |
| <td class="colFirst"><code>org.eclipse.swt.graphics.Color</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/gallery/DefaultGalleryGroupRenderer.html#getTitleBackground--">getTitleBackground</a></span>()</code> </td> |
| </tr> |
| <tr id="i18" class="altColor"> |
| <td class="colFirst"><code>org.eclipse.swt.graphics.Color</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/gallery/DefaultGalleryGroupRenderer.html#getTitleBackground2--">getTitleBackground2</a></span>()</code> </td> |
| </tr> |
| <tr id="i19" class="rowColor"> |
| <td class="colFirst"><code>org.eclipse.swt.graphics.Color</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/gallery/DefaultGalleryGroupRenderer.html#getTitleForeground--">getTitleForeground</a></span>()</code> |
| <div class="block">Get group title text color.</div> |
| </td> |
| </tr> |
| <tr id="i20" 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/DefaultGalleryGroupRenderer.html#getToggleButtonBounds--">getToggleButtonBounds</a></span>()</code> </td> |
| </tr> |
| <tr id="i21" class="rowColor"> |
| <td class="colFirst"><code>boolean</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/gallery/DefaultGalleryGroupRenderer.html#isAnimation--">isAnimation</a></span>()</code> </td> |
| </tr> |
| <tr id="i22" class="altColor"> |
| <td class="colFirst"><code>boolean</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/gallery/DefaultGalleryGroupRenderer.html#isFillIfSingleColumn--">isFillIfSingleColumn</a></span>()</code> </td> |
| </tr> |
| <tr id="i23" class="rowColor"> |
| <td class="colFirst"><code>protected boolean</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/gallery/DefaultGalleryGroupRenderer.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="i24" class="altColor"> |
| <td class="colFirst"><code>boolean</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/gallery/DefaultGalleryGroupRenderer.html#isTitleBackgroundGradient--">isTitleBackgroundGradient</a></span>()</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/DefaultGalleryGroupRenderer.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="i26" class="altColor"> |
| <td class="colFirst"><code>boolean</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/gallery/DefaultGalleryGroupRenderer.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> |
| <div class="block">This method can be implemented to handle mouse down events at the group |
| level.</div> |
| </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/DefaultGalleryGroupRenderer.html#preDraw-org.eclipse.swt.graphics.GC-">preDraw</a></span>(org.eclipse.swt.graphics.GC gc)</code> |
| <div class="block">This method is called before drawing the first item.</div> |
| </td> |
| </tr> |
| <tr id="i28" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/gallery/DefaultGalleryGroupRenderer.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="i29" class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/gallery/DefaultGalleryGroupRenderer.html#setAnimation-boolean-">setAnimation</a></span>(boolean animation)</code> |
| <div class="block">Enable animation for group expand/collapse.</div> |
| </td> |
| </tr> |
| <tr id="i30" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/gallery/DefaultGalleryGroupRenderer.html#setAnimationCloseMovement-org.eclipse.nebula.animation.movement.IMovement-">setAnimationCloseMovement</a></span>(<a href="../../../../../org/eclipse/nebula/animation/movement/IMovement.html" title="interface in org.eclipse.nebula.animation.movement">IMovement</a> animationMovement)</code> |
| <div class="block">Set the movement used for close animation.</div> |
| </td> |
| </tr> |
| <tr id="i31" class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/gallery/DefaultGalleryGroupRenderer.html#setAnimationLength-int-">setAnimationLength</a></span>(int animationLength)</code> |
| <div class="block">Set the length of the animation</div> |
| </td> |
| </tr> |
| <tr id="i32" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/gallery/DefaultGalleryGroupRenderer.html#setAnimationOpenMovement-org.eclipse.nebula.animation.movement.IMovement-">setAnimationOpenMovement</a></span>(<a href="../../../../../org/eclipse/nebula/animation/movement/IMovement.html" title="interface in org.eclipse.nebula.animation.movement">IMovement</a> animationMovement)</code> |
| <div class="block">Set the movement used for open animation.</div> |
| </td> |
| </tr> |
| <tr id="i33" class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/gallery/DefaultGalleryGroupRenderer.html#setFillIfSingleColumn-boolean-">setFillIfSingleColumn</a></span>(boolean fillIfSingle)</code> |
| <div class="block"> |
| <b>Experimental feature.</b></div> |
| </td> |
| </tr> |
| <tr id="i34" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/gallery/DefaultGalleryGroupRenderer.html#setFont-org.eclipse.swt.graphics.Font-">setFont</a></span>(org.eclipse.swt.graphics.Font font)</code> |
| <div class="block">Set the font for drawing the group title or <tt>null</tt> to use system |
| font.</div> |
| </td> |
| </tr> |
| <tr id="i35" class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/gallery/DefaultGalleryGroupRenderer.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> </td> |
| </tr> |
| <tr id="i36" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/gallery/DefaultGalleryGroupRenderer.html#setMaxImageHeight-int-">setMaxImageHeight</a></span>(int imageHeight)</code> |
| <div class="block">Set the maximum height for a group image in the title bar.</div> |
| </td> |
| </tr> |
| <tr id="i37" class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/gallery/DefaultGalleryGroupRenderer.html#setMaxImageWidth-int-">setMaxImageWidth</a></span>(int imageWidth)</code> |
| <div class="block">Set the maximum width for a group image in the title bar.</div> |
| </td> |
| </tr> |
| <tr id="i38" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/gallery/DefaultGalleryGroupRenderer.html#setTitleBackground-org.eclipse.swt.graphics.Color-">setTitleBackground</a></span>(org.eclipse.swt.graphics.Color titleBackground)</code> </td> |
| </tr> |
| <tr id="i39" class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/gallery/DefaultGalleryGroupRenderer.html#setTitleBackgroundGradient-org.eclipse.swt.graphics.Color-org.eclipse.swt.graphics.Color-">setTitleBackgroundGradient</a></span>(org.eclipse.swt.graphics.Color gradientBackground, |
| org.eclipse.swt.graphics.Color gradientForeground)</code> </td> |
| </tr> |
| <tr id="i40" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/gallery/DefaultGalleryGroupRenderer.html#setTitleForeground-org.eclipse.swt.graphics.Color-">setTitleForeground</a></span>(org.eclipse.swt.graphics.Color titleColor)</code> |
| <div class="block">Change group title text color.</div> |
| </td> |
| </tr> |
| <tr id="i41" class="rowColor"> |
| <td class="colFirst"><code>protected void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/eclipse/nebula/widgets/gallery/DefaultGalleryGroupRenderer.html#startGroupAnimation-org.eclipse.nebula.widgets.gallery.GalleryItem-boolean-">startGroupAnimation</a></span>(<a href="../../../../../org/eclipse/nebula/widgets/gallery/GalleryItem.html" title="class in org.eclipse.nebula.widgets.gallery">GalleryItem</a> group, |
| boolean doOpen)</code> </td> |
| </tr> |
| </table> |
| <ul class="blockList"> |
| <li class="blockList"><a name="methods.inherited.from.class.org.eclipse.nebula.widgets.gallery.AbstractGridGroupRenderer"> |
| <!-- --> |
| </a> |
| <h3>Methods inherited from class org.eclipse.nebula.widgets.gallery.<a href="../../../../../org/eclipse/nebula/widgets/gallery/AbstractGridGroupRenderer.html" title="class in org.eclipse.nebula.widgets.gallery">AbstractGridGroupRenderer</a></h3> |
| <code><a href="../../../../../org/eclipse/nebula/widgets/gallery/AbstractGridGroupRenderer.html#calculateMargins-int-int-int-">calculateMargins</a>, <a href="../../../../../org/eclipse/nebula/widgets/gallery/AbstractGridGroupRenderer.html#dispose--">dispose</a>, <a href="../../../../../org/eclipse/nebula/widgets/gallery/AbstractGridGroupRenderer.html#getItem-org.eclipse.nebula.widgets.gallery.GalleryItem-org.eclipse.swt.graphics.Point-int-">getItem</a>, <a href="../../../../../org/eclipse/nebula/widgets/gallery/AbstractGridGroupRenderer.html#getItemHeight--">getItemHeight</a>, <a href="../../../../../org/eclipse/nebula/widgets/gallery/AbstractGridGroupRenderer.html#getItemWidth--">getItemWidth</a>, <a href="../../../../../org/eclipse/nebula/widgets/gallery/AbstractGridGroupRenderer.html#getLayoutData-org.eclipse.nebula.widgets.gallery.GalleryItem-">getLayoutData</a>, <a href="../../../../../org/eclipse/nebula/widgets/gallery/AbstractGridGroupRenderer.html#getMinMargin--">getMinMargin</a>, <a href="../../../../../org/eclipse/nebula/widgets/gallery/AbstractGridGroupRenderer.html#getNextItem-org.eclipse.nebula.widgets.gallery.GalleryItem-int-">getNextItem</a>, <a href="../../../../../org/eclipse/nebula/widgets/gallery/AbstractGridGroupRenderer.html#getSize-org.eclipse.nebula.widgets.gallery.GalleryItem-int-">getSize</a>, <a href="../../../../../org/eclipse/nebula/widgets/gallery/AbstractGridGroupRenderer.html#getSize-int-int-int-int-int-int-">getSize</a>, <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>, <a href="../../../../../org/eclipse/nebula/widgets/gallery/AbstractGridGroupRenderer.html#gridLayout-int-int-int-">gridLayout</a>, <a href="../../../../../org/eclipse/nebula/widgets/gallery/AbstractGridGroupRenderer.html#isAlwaysExpanded--">isAlwaysExpanded</a>, <a href="../../../../../org/eclipse/nebula/widgets/gallery/AbstractGridGroupRenderer.html#isAutoMargin--">isAutoMargin</a>, <a href="../../../../../org/eclipse/nebula/widgets/gallery/AbstractGridGroupRenderer.html#setAlwaysExpanded-boolean-">setAlwaysExpanded</a>, <a href="../../../../../org/eclipse/nebula/widgets/gallery/AbstractGridGroupRenderer.html#setAutoMargin-boolean-">setAutoMargin</a>, <a href="../../../../../org/eclipse/nebula/widgets/gallery/AbstractGridGroupRenderer.html#setItemHeight-int-">setItemHeight</a>, <a href="../../../../../org/eclipse/nebula/widgets/gallery/AbstractGridGroupRenderer.html#setItemSize-int-int-">setItemSize</a>, <a href="../../../../../org/eclipse/nebula/widgets/gallery/AbstractGridGroupRenderer.html#setItemWidth-int-">setItemWidth</a>, <a href="../../../../../org/eclipse/nebula/widgets/gallery/AbstractGridGroupRenderer.html#setMinMargin-int-">setMinMargin</a></code></li> |
| </ul> |
| <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#isDebugMode--">isDebugMode</a>, <a href="../../../../../org/eclipse/nebula/widgets/gallery/AbstractGalleryGroupRenderer.html#isExpanded--">isExpanded</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#setExpanded-boolean-">setExpanded</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="marginCalculated"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>marginCalculated</h4> |
| <pre>boolean marginCalculated</pre> |
| <div class="block">True if margins have already been calculated. Prevents margins |
| calculation for each group</div> |
| </li> |
| </ul> |
| <a name="animation"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>animation</h4> |
| <pre>protected boolean animation</pre> |
| </li> |
| </ul> |
| <a name="animationLength"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>animationLength</h4> |
| <pre>protected int animationLength</pre> |
| </li> |
| </ul> |
| <a name="animationOpenMovement"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>animationOpenMovement</h4> |
| <pre>protected <a href="../../../../../org/eclipse/nebula/animation/movement/IMovement.html" title="interface in org.eclipse.nebula.animation.movement">IMovement</a> animationOpenMovement</pre> |
| </li> |
| </ul> |
| <a name="animationCloseMovement"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>animationCloseMovement</h4> |
| <pre>protected <a href="../../../../../org/eclipse/nebula/animation/movement/IMovement.html" title="interface in org.eclipse.nebula.animation.movement">IMovement</a> animationCloseMovement</pre> |
| </li> |
| </ul> |
| <a name="DATA_ANIMATION"> |
| <!-- --> |
| </a> |
| <ul class="blockListLast"> |
| <li class="blockList"> |
| <h4>DATA_ANIMATION</h4> |
| <pre>protected static final java.lang.String DATA_ANIMATION</pre> |
| <dl> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="../../../../../constant-values.html#org.eclipse.nebula.widgets.gallery.DefaultGalleryGroupRenderer.DATA_ANIMATION">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="DefaultGalleryGroupRenderer--"> |
| <!-- --> |
| </a> |
| <ul class="blockListLast"> |
| <li class="blockList"> |
| <h4>DefaultGalleryGroupRenderer</h4> |
| <pre>public DefaultGalleryGroupRenderer()</pre> |
| <div class="block">This group renderer draws a title line, then items in a grid layout.</div> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| <!-- ============ METHOD DETAIL ========== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="method.detail"> |
| <!-- --> |
| </a> |
| <h3>Method Detail</h3> |
| <a name="setGallery-org.eclipse.nebula.widgets.gallery.Gallery-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <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> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Overrides:</span></dt> |
| <dd><code><a href="../../../../../org/eclipse/nebula/widgets/gallery/AbstractGalleryGroupRenderer.html#setGallery-org.eclipse.nebula.widgets.gallery.Gallery-">setGallery</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="drawGroupBackground-org.eclipse.swt.graphics.GC-org.eclipse.nebula.widgets.gallery.GalleryItem-int-int-int-int-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>drawGroupBackground</h4> |
| <pre>protected void drawGroupBackground(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 x, |
| int y, |
| int width, |
| int height)</pre> |
| <div class="block">Draw group background using system default gradient or the user-defined |
| color.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>gc</code> - </dd> |
| <dd><code>item</code> - TODO</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="drawGroupToggleButton-org.eclipse.swt.graphics.GC-int-int-org.eclipse.nebula.widgets.gallery.GalleryItem-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>drawGroupToggleButton</h4> |
| <pre>protected int drawGroupToggleButton(org.eclipse.swt.graphics.GC gc, |
| int x, |
| int y, |
| <a href="../../../../../org/eclipse/nebula/widgets/gallery/GalleryItem.html" title="class in org.eclipse.nebula.widgets.gallery">GalleryItem</a> group)</pre> |
| <div class="block">Draw the toggle button.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>gc</code> - </dd> |
| <dd><code>x</code> - </dd> |
| <dd><code>y</code> - </dd> |
| <dd><code>group</code> - </dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getToggleButtonBounds--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getToggleButtonBounds</h4> |
| <pre>protected org.eclipse.swt.graphics.Rectangle getToggleButtonBounds()</pre> |
| </li> |
| </ul> |
| <a name="getGroupHeight-org.eclipse.nebula.widgets.gallery.GalleryItem-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getGroupHeight</h4> |
| <pre>protected int getGroupHeight(<a href="../../../../../org/eclipse/nebula/widgets/gallery/GalleryItem.html" title="class in org.eclipse.nebula.widgets.gallery">GalleryItem</a> group)</pre> |
| </li> |
| </ul> |
| <a name="drawGroup-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>drawGroup</h4> |
| <pre>protected void drawGroup(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> |
| </li> |
| </ul> |
| <a name="getGroupTitle-org.eclipse.nebula.widgets.gallery.GalleryItem-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getGroupTitle</h4> |
| <pre>protected java.lang.String getGroupTitle(<a href="../../../../../org/eclipse/nebula/widgets/gallery/GalleryItem.html" title="class in org.eclipse.nebula.widgets.gallery">GalleryItem</a> group)</pre> |
| </li> |
| </ul> |
| <a name="getGroupOffset-org.eclipse.nebula.widgets.gallery.GalleryItem-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getGroupOffset</h4> |
| <pre>protected int getGroupOffset(<a href="../../../../../org/eclipse/nebula/widgets/gallery/GalleryItem.html" title="class in org.eclipse.nebula.widgets.gallery">GalleryItem</a> item)</pre> |
| <div class="block">Returns a group offset (size of title + margin)</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>item</code> - </dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>group offset or 0 if the item is not a group</dd> |
| </dl> |
| </li> |
| </ul> |
| <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">Overrides:</span></dt> |
| <dd><code><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></code> in class <code><a href="../../../../../org/eclipse/nebula/widgets/gallery/AbstractGridGroupRenderer.html" title="class in org.eclipse.nebula.widgets.gallery">AbstractGridGroupRenderer</a></code></dd> |
| </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">Overrides:</span></dt> |
| <dd><code><a href="../../../../../org/eclipse/nebula/widgets/gallery/AbstractGridGroupRenderer.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/AbstractGridGroupRenderer.html" title="class in org.eclipse.nebula.widgets.gallery">AbstractGridGroupRenderer</a></code></dd> |
| </dl> |
| </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"><span class="descfrmTypeLabel">Description copied from class: <code><a href="../../../../../org/eclipse/nebula/widgets/gallery/AbstractGalleryGroupRenderer.html#preDraw-org.eclipse.swt.graphics.GC-">AbstractGalleryGroupRenderer</a></code></span></div> |
| <div class="block">This method is called before drawing 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#preDraw-org.eclipse.swt.graphics.GC-">preDraw</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="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/AbstractGridGroupRenderer.html#preLayout-org.eclipse.swt.graphics.GC-">preLayout</a></code> in class <code><a href="../../../../../org/eclipse/nebula/widgets/gallery/AbstractGridGroupRenderer.html" title="class in org.eclipse.nebula.widgets.gallery">AbstractGridGroupRenderer</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">Overrides:</span></dt> |
| <dd><code><a href="../../../../../org/eclipse/nebula/widgets/gallery/AbstractGridGroupRenderer.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/AbstractGridGroupRenderer.html" title="class in org.eclipse.nebula.widgets.gallery">AbstractGridGroupRenderer</a></code></dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| </dl> |
| </li> |
| </ul> |
| <a name="startGroupAnimation-org.eclipse.nebula.widgets.gallery.GalleryItem-boolean-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>startGroupAnimation</h4> |
| <pre>protected void startGroupAnimation(<a href="../../../../../org/eclipse/nebula/widgets/gallery/GalleryItem.html" title="class in org.eclipse.nebula.widgets.gallery">GalleryItem</a> group, |
| boolean doOpen)</pre> |
| </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> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from class: <code><a href="../../../../../org/eclipse/nebula/widgets/gallery/AbstractGalleryGroupRenderer.html#mouseDown-org.eclipse.nebula.widgets.gallery.GalleryItem-org.eclipse.swt.events.MouseEvent-org.eclipse.swt.graphics.Point-">AbstractGalleryGroupRenderer</a></code></span></div> |
| <div class="block">This method can be implemented to handle mouse down events at the group |
| level. Usually to interact with custom group UI.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Overrides:</span></dt> |
| <dd><code><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></code> in class <code><a href="../../../../../org/eclipse/nebula/widgets/gallery/AbstractGridGroupRenderer.html" title="class in org.eclipse.nebula.widgets.gallery">AbstractGridGroupRenderer</a></code></dd> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>group</code> - The group on which the mouse click occured</dd> |
| <dd><code>e</code> - The original mouse event</dd> |
| <dd><code>coords</code> - The pointer coordinates relative to the group</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>false if event was handled by the group renderer and Gallery |
| should not try to handle this event as a click on a GalleryItem.</dd> |
| </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">Overrides:</span></dt> |
| <dd><code><a href="../../../../../org/eclipse/nebula/widgets/gallery/AbstractGridGroupRenderer.html#getSize-org.eclipse.nebula.widgets.gallery.GalleryItem-">getSize</a></code> in class <code><a href="../../../../../org/eclipse/nebula/widgets/gallery/AbstractGridGroupRenderer.html" title="class in org.eclipse.nebula.widgets.gallery">AbstractGridGroupRenderer</a></code></dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| </dl> |
| </li> |
| </ul> |
| <a name="getTitleForeground--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getTitleForeground</h4> |
| <pre>public org.eclipse.swt.graphics.Color getTitleForeground()</pre> |
| <div class="block">Get group title text color.</div> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>current color.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="setTitleForeground-org.eclipse.swt.graphics.Color-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setTitleForeground</h4> |
| <pre>public void setTitleForeground(org.eclipse.swt.graphics.Color titleColor)</pre> |
| <div class="block">Change group title text color.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>titleColor</code> - Color or null to revert to default.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getTitleBackground--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getTitleBackground</h4> |
| <pre>public org.eclipse.swt.graphics.Color getTitleBackground()</pre> |
| </li> |
| </ul> |
| <a name="setTitleBackground-org.eclipse.swt.graphics.Color-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setTitleBackground</h4> |
| <pre>public void setTitleBackground(org.eclipse.swt.graphics.Color titleBackground)</pre> |
| </li> |
| </ul> |
| <a name="setTitleBackgroundGradient-org.eclipse.swt.graphics.Color-org.eclipse.swt.graphics.Color-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setTitleBackgroundGradient</h4> |
| <pre>public void setTitleBackgroundGradient(org.eclipse.swt.graphics.Color gradientBackground, |
| org.eclipse.swt.graphics.Color gradientForeground)</pre> |
| </li> |
| </ul> |
| <a name="getFont--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getFont</h4> |
| <pre>public org.eclipse.swt.graphics.Font getFont()</pre> |
| <div class="block">Returns the font used for drawing the group title or <tt>null</tt> if |
| system font is used.</div> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>the font</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="setFont-org.eclipse.swt.graphics.Font-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setFont</h4> |
| <pre>public void setFont(org.eclipse.swt.graphics.Font font)</pre> |
| <div class="block">Set the font for drawing the group title or <tt>null</tt> to use system |
| font.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>font</code> - the font to set</dd> |
| </dl> |
| </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"><span class="descfrmTypeLabel">Description copied from class: <code><a href="../../../../../org/eclipse/nebula/widgets/gallery/AbstractGridGroupRenderer.html#drawItem-org.eclipse.swt.graphics.GC-int-boolean-org.eclipse.nebula.widgets.gallery.GalleryItem-int-">AbstractGridGroupRenderer</a></code></span></div> |
| <div class="block">Draw a child item. Only used when useGroup is true.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Overrides:</span></dt> |
| <dd><code><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></code> in class <code><a href="../../../../../org/eclipse/nebula/widgets/gallery/AbstractGridGroupRenderer.html" title="class in org.eclipse.nebula.widgets.gallery">AbstractGridGroupRenderer</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getScrollBarIncrement--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getScrollBarIncrement</h4> |
| <pre>public int getScrollBarIncrement()</pre> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from class: <code><a href="../../../../../org/eclipse/nebula/widgets/gallery/AbstractGalleryGroupRenderer.html#getScrollBarIncrement--">AbstractGalleryGroupRenderer</a></code></span></div> |
| <div class="block">Returns the preferred Scrollbar increment for the current gallery layout.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Overrides:</span></dt> |
| <dd><code><a href="../../../../../org/eclipse/nebula/widgets/gallery/AbstractGalleryGroupRenderer.html#getScrollBarIncrement--">getScrollBarIncrement</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="isFillIfSingleColumn--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>isFillIfSingleColumn</h4> |
| <pre>public boolean isFillIfSingleColumn()</pre> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="../../../../../org/eclipse/nebula/widgets/gallery/DefaultGalleryGroupRenderer.html#setFillIfSingleColumn-boolean-"><code>setFillIfSingleColumn(boolean)</code></a></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="setFillIfSingleColumn-boolean-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setFillIfSingleColumn</h4> |
| <pre>public void setFillIfSingleColumn(boolean fillIfSingle)</pre> |
| <div class="block"><p> |
| <b>Experimental feature.</b> |
| </p> |
| <p> |
| If set to true, this will enable a special behavior when the items are so |
| large that only one can fit in the client area. In this case, items are |
| always resized and centered to fit best in the client area. |
| </p> |
| <p> |
| See bug 266613 : https://bugs.eclipse.org/266613 |
| </p></div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>fillIfSingle</code> - </dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getMaxImageWidth--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getMaxImageWidth</h4> |
| <pre>public int getMaxImageWidth()</pre> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="../../../../../org/eclipse/nebula/widgets/gallery/DefaultGalleryGroupRenderer.html#setMaxImageWidth-int-"><code>setMaxImageWidth(int)</code></a></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="setMaxImageWidth-int-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setMaxImageWidth</h4> |
| <pre>public void setMaxImageWidth(int imageWidth)</pre> |
| <div class="block">Set the maximum width for a group image in the title bar.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>imageWidth</code> - </dd> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="../../../../../org/eclipse/nebula/widgets/gallery/GalleryItem.html#setImage-org.eclipse.swt.graphics.Image-"><code>GalleryItem.setImage(Image)</code></a></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getMaxImageHeight--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getMaxImageHeight</h4> |
| <pre>public int getMaxImageHeight()</pre> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="../../../../../org/eclipse/nebula/widgets/gallery/DefaultGalleryGroupRenderer.html#setMaxImageHeight-int-"><code>setMaxImageHeight(int)</code></a></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="setMaxImageHeight-int-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setMaxImageHeight</h4> |
| <pre>public void setMaxImageHeight(int imageHeight)</pre> |
| <div class="block">Set the maximum height for a group image in the title bar.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>imageHeight</code> - </dd> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="../../../../../org/eclipse/nebula/widgets/gallery/GalleryItem.html#setImage-org.eclipse.swt.graphics.Image-"><code>GalleryItem.setImage(Image)</code></a></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="isAnimation--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>isAnimation</h4> |
| <pre>public boolean isAnimation()</pre> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="../../../../../org/eclipse/nebula/widgets/gallery/DefaultGalleryGroupRenderer.html#setAnimation-boolean-"><code>setAnimation(boolean)</code></a></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="setAnimation-boolean-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setAnimation</h4> |
| <pre>public void setAnimation(boolean animation)</pre> |
| <div class="block">Enable animation for group expand/collapse.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>animation</code> - </dd> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="../../../../../org/eclipse/nebula/widgets/gallery/DefaultGalleryGroupRenderer.html#setAnimationLength-int-"><code>setAnimationLength(int)</code></a>, |
| <a href="../../../../../org/eclipse/nebula/widgets/gallery/DefaultGalleryGroupRenderer.html#setAnimationOpenMovement-org.eclipse.nebula.animation.movement.IMovement-"><code>setAnimationOpenMovement(IMovement)</code></a></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getAnimationLength--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getAnimationLength</h4> |
| <pre>public int getAnimationLength()</pre> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="../../../../../org/eclipse/nebula/widgets/gallery/DefaultGalleryGroupRenderer.html#setAnimationLength-int-"><code>setAnimationLength(int)</code></a></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="setAnimationLength-int-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setAnimationLength</h4> |
| <pre>public void setAnimationLength(int animationLength)</pre> |
| <div class="block">Set the length of the animation</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>animationLength</code> - </dd> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="../../../../../org/eclipse/nebula/widgets/gallery/DefaultGalleryGroupRenderer.html#setAnimation-boolean-"><code>setAnimation(boolean)</code></a>, |
| <a href="../../../../../org/eclipse/nebula/widgets/gallery/DefaultGalleryGroupRenderer.html#setAnimationOpenMovement-org.eclipse.nebula.animation.movement.IMovement-"><code>setAnimationOpenMovement(IMovement)</code></a></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getAnimationOpenMovement--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getAnimationOpenMovement</h4> |
| <pre>public <a href="../../../../../org/eclipse/nebula/animation/movement/IMovement.html" title="interface in org.eclipse.nebula.animation.movement">IMovement</a> getAnimationOpenMovement()</pre> |
| <div class="block">Get the current movement used for animation</div> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="../../../../../org/eclipse/nebula/widgets/gallery/DefaultGalleryGroupRenderer.html#setAnimationOpenMovement-org.eclipse.nebula.animation.movement.IMovement-"><code>setAnimationOpenMovement(IMovement)</code></a></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getAnimationCloseMovement--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getAnimationCloseMovement</h4> |
| <pre>public <a href="../../../../../org/eclipse/nebula/animation/movement/IMovement.html" title="interface in org.eclipse.nebula.animation.movement">IMovement</a> getAnimationCloseMovement()</pre> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="../../../../../org/eclipse/nebula/widgets/gallery/DefaultGalleryGroupRenderer.html#setAnimationCloseMovement-org.eclipse.nebula.animation.movement.IMovement-"><code>setAnimationCloseMovement(IMovement)</code></a></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="setAnimationOpenMovement-org.eclipse.nebula.animation.movement.IMovement-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setAnimationOpenMovement</h4> |
| <pre>public void setAnimationOpenMovement(<a href="../../../../../org/eclipse/nebula/animation/movement/IMovement.html" title="interface in org.eclipse.nebula.animation.movement">IMovement</a> animationMovement)</pre> |
| <div class="block">Set the movement used for open animation.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>animationMovement</code> - </dd> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="../../../../../org/eclipse/nebula/widgets/gallery/DefaultGalleryGroupRenderer.html#setAnimation-boolean-"><code>setAnimation(boolean)</code></a>, |
| <a href="../../../../../org/eclipse/nebula/widgets/gallery/DefaultGalleryGroupRenderer.html#setAnimationLength-int-"><code>setAnimationLength(int)</code></a></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="setAnimationCloseMovement-org.eclipse.nebula.animation.movement.IMovement-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setAnimationCloseMovement</h4> |
| <pre>public void setAnimationCloseMovement(<a href="../../../../../org/eclipse/nebula/animation/movement/IMovement.html" title="interface in org.eclipse.nebula.animation.movement">IMovement</a> animationMovement)</pre> |
| <div class="block">Set the movement used for close animation.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>animationMovement</code> - </dd> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="../../../../../org/eclipse/nebula/widgets/gallery/DefaultGalleryGroupRenderer.html#setAnimation-boolean-"><code>setAnimation(boolean)</code></a>, |
| <a href="../../../../../org/eclipse/nebula/widgets/gallery/DefaultGalleryGroupRenderer.html#setAnimationLength-int-"><code>setAnimationLength(int)</code></a></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"><span class="descfrmTypeLabel">Description copied from class: <code><a href="../../../../../org/eclipse/nebula/widgets/gallery/AbstractGridGroupRenderer.html#isGroupExpanded-org.eclipse.nebula.widgets.gallery.GalleryItem-">AbstractGridGroupRenderer</a></code></span></div> |
| <div class="block">Return item expand state (item.isExpanded()) Returns always true is |
| alwaysExpanded is set to true.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Overrides:</span></dt> |
| <dd><code><a href="../../../../../org/eclipse/nebula/widgets/gallery/AbstractGridGroupRenderer.html#isGroupExpanded-org.eclipse.nebula.widgets.gallery.GalleryItem-">isGroupExpanded</a></code> in class <code><a href="../../../../../org/eclipse/nebula/widgets/gallery/AbstractGridGroupRenderer.html" title="class in org.eclipse.nebula.widgets.gallery">AbstractGridGroupRenderer</a></code></dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| </dl> |
| </li> |
| </ul> |
| <a name="isTitleBackgroundGradient--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>isTitleBackgroundGradient</h4> |
| <pre>public boolean isTitleBackgroundGradient()</pre> |
| </li> |
| </ul> |
| <a name="getTitleBackground2--"> |
| <!-- --> |
| </a> |
| <ul class="blockListLast"> |
| <li class="blockList"> |
| <h4>getTitleBackground2</h4> |
| <pre>public org.eclipse.swt.graphics.Color getTitleBackground2()</pre> |
| </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/DefaultGalleryGroupRenderer.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/AbstractGridGroupRenderer.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/DefaultGalleryItemRenderer.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/DefaultGalleryGroupRenderer.html" target="_top">Frames</a></li> |
| <li><a href="DefaultGalleryGroupRenderer.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> |