private void |
Gallery._addItem(GalleryItem item,
int position) |
|
private void |
GalleryItem._addItem(GalleryItem item,
int position) |
|
protected void |
Gallery._addSelection(GalleryItem item) |
|
protected void |
GalleryItem._addSelection(GalleryItem item) |
|
protected GalleryItem |
Gallery._getItem(GalleryItem parent,
int index) |
This method is used by items to implement getItem( index )
|
protected int |
Gallery._indexOf(GalleryItem item) |
Returns the index of a GalleryItem when it is a root Item
|
protected int |
Gallery._indexOf(GalleryItem parentItem,
GalleryItem item) |
Returns the index of a GalleryItem when it is not a root Item
|
protected void |
Gallery._remove(GalleryItem parent,
int index) |
|
private void |
Gallery._removeSelection(GalleryItem item) |
|
protected void |
Gallery._removeSelection(GalleryItem parent,
GalleryItem item) |
|
void |
Gallery._setGalleryItems(GalleryItem[] items) |
|
(package private) void |
Gallery._showItem(GalleryItem item) |
|
protected void |
Gallery.addItem(GalleryItem item,
int position) |
|
protected void |
GalleryItem.addItem(GalleryItem item,
int position) |
|
private int |
Gallery.calculateSize(GalleryItem onlyUpdateGroup) |
Calculate full height (or width) of the Gallery.
|
abstract void |
AbstractGalleryGroupRenderer.draw(org.eclipse.swt.graphics.GC gc,
GalleryItem group,
int x,
int y,
int clipX,
int clipY,
int clipWidth,
int clipHeight) |
Group size informations can be retrieved from group.
|
abstract void |
AbstractGalleryItemRenderer.draw(org.eclipse.swt.graphics.GC gc,
GalleryItem item,
int index,
int x,
int y,
int width,
int height) |
Draws an item.
|
void |
AbstractGridGroupRenderer.draw(org.eclipse.swt.graphics.GC gc,
GalleryItem group,
int x,
int y,
int clipX,
int clipY,
int clipWidth,
int clipHeight) |
|
void |
DefaultGalleryGroupRenderer.draw(org.eclipse.swt.graphics.GC gc,
GalleryItem group,
int x,
int y,
int clipX,
int clipY,
int clipWidth,
int clipHeight) |
|
void |
DefaultGalleryItemRenderer.draw(org.eclipse.swt.graphics.GC gc,
GalleryItem item,
int index,
int x,
int y,
int width,
int height) |
|
void |
ListItemRenderer.draw(org.eclipse.swt.graphics.GC gc,
GalleryItem item,
int index,
int x,
int y,
int width,
int height) |
|
void |
NoGroupRenderer.draw(org.eclipse.swt.graphics.GC gc,
GalleryItem group,
int x,
int y,
int clipX,
int clipY,
int clipWidth,
int clipHeight) |
|
protected void |
AbstractGalleryItemRenderer.drawAllOverlays(org.eclipse.swt.graphics.GC gc,
GalleryItem item,
int x,
int y,
org.eclipse.swt.graphics.Point imageSize,
int xShift,
int yShift) |
Draw image overlays.
|
protected void |
DefaultGalleryGroupRenderer.drawGroup(org.eclipse.swt.graphics.GC gc,
GalleryItem group,
int x,
int y,
int clipX,
int clipY,
int clipWidth,
int clipHeight) |
|
protected void |
DefaultGalleryGroupRenderer.drawGroupBackground(org.eclipse.swt.graphics.GC gc,
GalleryItem item,
int x,
int y,
int width,
int height) |
Draw group background using system default gradient or the user-defined
color.
|
private int |
DefaultGalleryGroupRenderer.drawGroupImage(org.eclipse.swt.graphics.GC gc,
GalleryItem group,
int x,
int y,
org.eclipse.swt.graphics.Point imageSize2) |
|
protected int |
DefaultGalleryGroupRenderer.drawGroupToggleButton(org.eclipse.swt.graphics.GC gc,
int x,
int y,
GalleryItem group) |
Draw the toggle button.
|
protected void |
AbstractGridGroupRenderer.drawItem(org.eclipse.swt.graphics.GC gc,
int index,
boolean selected,
GalleryItem parent,
int offsetY) |
Draw a child item.
|
protected void |
DefaultGalleryGroupRenderer.drawItem(org.eclipse.swt.graphics.GC gc,
int index,
boolean selected,
GalleryItem parent,
int offsetY) |
|
protected org.eclipse.swt.graphics.Color |
AbstractGalleryGroupRenderer.getBackground(GalleryItem item) |
Returns item background color.
|
protected org.eclipse.swt.graphics.Color |
AbstractGalleryItemRenderer.getBackground(GalleryItem item) |
Check the GalleryItem, Gallery, and Display in order for the active
background color for the given GalleryItem.
|
private GalleryItem |
AbstractGridGroupRenderer.getFirstItem(GalleryItem group,
int from) |
|
protected org.eclipse.swt.graphics.Font |
AbstractGalleryGroupRenderer.getFont(GalleryItem item) |
Returns item font.
|
protected org.eclipse.swt.graphics.Font |
AbstractGalleryItemRenderer.getFont(GalleryItem item) |
Check the GalleryItem, Gallery, and Display in order for the active font
for the given GalleryItem.
|
protected org.eclipse.swt.graphics.Color |
AbstractGalleryGroupRenderer.getForeground(GalleryItem item) |
Returns item foreground color.
|
protected org.eclipse.swt.graphics.Color |
AbstractGalleryItemRenderer.getForeground(GalleryItem item) |
Check the GalleryItem, Gallery, and Display in order for the active
foreground color for the given GalleryItem.
|
protected int |
DefaultGalleryGroupRenderer.getGroupHeight(GalleryItem group) |
|
protected int |
DefaultGalleryGroupRenderer.getGroupOffset(GalleryItem item) |
Returns a group offset (size of title + margin)
|
protected org.eclipse.swt.graphics.Point |
AbstractGalleryGroupRenderer.getGroupPosition(GalleryItem item) |
|
protected org.eclipse.swt.graphics.Point |
AbstractGalleryGroupRenderer.getGroupSize(GalleryItem item) |
|
protected java.lang.String |
DefaultGalleryGroupRenderer.getGroupTitle(GalleryItem group) |
|
protected org.eclipse.swt.graphics.Image[] |
AbstractGalleryItemRenderer.getImageOverlay(GalleryItem item,
java.lang.String id) |
Returns an array of images or null of no overlay was defined for this
image.
|
abstract GalleryItem |
AbstractGalleryGroupRenderer.getItem(GalleryItem group,
org.eclipse.swt.graphics.Point coords) |
Returns the item at coords relative to the parent group.
|
GalleryItem |
AbstractGridGroupRenderer.getItem(GalleryItem group,
org.eclipse.swt.graphics.Point coords) |
|
protected GalleryItem |
AbstractGridGroupRenderer.getItem(GalleryItem group,
org.eclipse.swt.graphics.Point coords,
int offsetY) |
Get item at pixel position
|
GalleryItem |
DefaultGalleryGroupRenderer.getItem(GalleryItem group,
org.eclipse.swt.graphics.Point coords) |
|
GalleryItem |
NoGroupRenderer.getItem(GalleryItem group,
org.eclipse.swt.graphics.Point coords) |
|
private GalleryItem |
AbstractGridGroupRenderer.getItemAt(GalleryItem group,
int pos,
int from) |
Return the child item of group which is at column 'pos' starting from
direction.
|
protected org.eclipse.swt.graphics.Point |
AbstractGridGroupRenderer.getLayoutData(GalleryItem item) |
|
private GalleryItem |
AbstractGridGroupRenderer.getNextGroup(GalleryItem group) |
|
abstract GalleryItem |
AbstractGalleryGroupRenderer.getNextItem(GalleryItem item,
int key) |
Returns the item that should be selected when the current item is 'item'
and the 'key' is pressed
|
GalleryItem |
AbstractGridGroupRenderer.getNextItem(GalleryItem item,
int key) |
|
private boolean |
Gallery.getOrder(GalleryItem before,
GalleryItem after) |
|
private GalleryItem |
AbstractGridGroupRenderer.getPreviousGroup(GalleryItem group) |
|
abstract org.eclipse.swt.graphics.Rectangle |
AbstractGalleryGroupRenderer.getSize(GalleryItem item) |
Returns the size of a group.
|
org.eclipse.swt.graphics.Rectangle |
AbstractGridGroupRenderer.getSize(GalleryItem item) |
|
protected org.eclipse.swt.graphics.Rectangle |
AbstractGridGroupRenderer.getSize(GalleryItem item,
int offsetY) |
|
org.eclipse.swt.graphics.Rectangle |
DefaultGalleryGroupRenderer.getSize(GalleryItem item) |
|
org.eclipse.swt.graphics.Rectangle |
NoGroupRenderer.getSize(GalleryItem item) |
|
protected int[] |
AbstractGridGroupRenderer.getVisibleItems(GalleryItem group,
int x,
int y,
int clipX,
int clipY,
int clipWidth,
int clipHeight,
int offset) |
|
private GalleryItem |
AbstractGridGroupRenderer.goDown(GalleryItem group,
int posParam,
int hCount) |
Get the next item, when going down.
|
private GalleryItem |
AbstractGridGroupRenderer.goDown(GalleryItem group,
int posParam,
int hCount,
int lineCount) |
|
private GalleryItem |
AbstractGridGroupRenderer.goLeft(GalleryItem group,
int posParam) |
|
private GalleryItem |
AbstractGridGroupRenderer.goRight(GalleryItem group,
int posParam) |
|
private GalleryItem |
AbstractGridGroupRenderer.goUp(GalleryItem group,
int posParam,
int hCount) |
Get the next item, when going up.
|
private GalleryItem |
AbstractGridGroupRenderer.goUp(GalleryItem group,
int posParam,
int hCount,
int lineCount) |
|
int |
Gallery.indexOf(GalleryItem item) |
Returns the index of a GalleryItem.
|
int |
GalleryItem.indexOf(GalleryItem childItem) |
Returns the index of childItem within this item or -1 if childItem is not
found.
|
protected boolean |
AbstractGridGroupRenderer.isGroupExpanded(GalleryItem item) |
Return item expand state (item.isExpanded()) Returns always true is
alwaysExpanded is set to true.
|
protected boolean |
DefaultGalleryGroupRenderer.isGroupExpanded(GalleryItem item) |
|
protected boolean |
Gallery.isSelected(GalleryItem item) |
|
protected boolean |
GalleryItem.isSelected(GalleryItem item) |
|
abstract void |
AbstractGalleryGroupRenderer.layout(org.eclipse.swt.graphics.GC gc,
GalleryItem group) |
This method is called on each root item when the Gallery changes (resize,
item addition or removal) in order to update the gallery size.
|
void |
AbstractGridGroupRenderer.layout(org.eclipse.swt.graphics.GC gc,
GalleryItem group) |
|
void |
DefaultGalleryGroupRenderer.layout(org.eclipse.swt.graphics.GC gc,
GalleryItem group) |
|
void |
NoGroupRenderer.layout(org.eclipse.swt.graphics.GC gc,
GalleryItem group) |
|
abstract boolean |
AbstractGalleryGroupRenderer.mouseDown(GalleryItem group,
org.eclipse.swt.widgets.Event e,
org.eclipse.swt.graphics.Point coords) |
This method can be implemented to handle mouse down events at the group
level.
|
boolean |
AbstractGridGroupRenderer.mouseDown(GalleryItem group,
org.eclipse.swt.events.MouseEvent e,
org.eclipse.swt.graphics.Point coords) |
|
boolean |
DefaultGalleryGroupRenderer.mouseDown(GalleryItem group,
org.eclipse.swt.widgets.Event e,
org.eclipse.swt.graphics.Point coords) |
|
boolean |
NoGroupRenderer.mouseDown(GalleryItem group,
org.eclipse.swt.widgets.Event e,
org.eclipse.swt.graphics.Point coords) |
|
protected void |
Gallery.notifySelectionListeners(GalleryItem item,
int index,
boolean isDefault) |
Send a selection event for a gallery item
|
protected void |
AbstractGalleryGroupRenderer.notifyTreeListeners(GalleryItem group) |
Notifies the Gallery that the control expanded/collapsed state has
changed.
|
protected void |
Gallery.notifyTreeListeners(GalleryItem item,
boolean state) |
Send an Expand event for a GalleryItem
|
(package private) void |
Gallery.onMouseHandleLeft(org.eclipse.swt.widgets.Event e,
GalleryItem item,
boolean down,
boolean up) |
|
private void |
Gallery.onMouseHandleLeftMod1(org.eclipse.swt.widgets.Event e,
GalleryItem item,
boolean down,
boolean up) |
|
private void |
Gallery.onMouseHandleLeftShift(org.eclipse.swt.widgets.Event e,
GalleryItem item,
boolean down,
boolean up) |
|
(package private) void |
Gallery.onMouseHandleRight(org.eclipse.swt.widgets.Event e,
GalleryItem item,
boolean down,
boolean up) |
Handle right click.
|
void |
Gallery.redraw(GalleryItem item) |
Redraw the item given as parameter.
|
void |
Gallery.remove(GalleryItem item) |
|
void |
GalleryItem.remove(GalleryItem item) |
|
private void |
Gallery.select(GalleryItem from,
GalleryItem to) |
|
protected void |
Gallery.setData(GalleryItem galleryItem,
int index) |
Sends SWT.SetData event.
|
protected void |
AbstractGalleryGroupRenderer.setGroupSize(GalleryItem item,
org.eclipse.swt.graphics.Point size) |
|
protected void |
GalleryItem.setParentItem(GalleryItem parentItem) |
|
protected void |
Gallery.setSelected(GalleryItem item,
boolean selected,
boolean notifyListeners) |
Toggle item selection status
|
void |
Gallery.setSelection(GalleryItem[] items) |
|
void |
Gallery.showItem(GalleryItem item) |
Scroll the Gallery in order to make 'item' visible.
|
protected void |
DefaultGalleryGroupRenderer.startGroupAnimation(GalleryItem group,
boolean doOpen) |
|
private void |
Gallery.updateItem(GalleryItem parentItem,
int i,
boolean create) |
If table is virtual and item at pos i has not been set, call the callback
listener to set its value.
|
protected void |
Gallery.updateStructuralValues(GalleryItem changedGroup,
boolean keepLocation) |
Recalculate structural values using the group renderer
Gallery and item size will be updated.
|