Package | Description |
---|---|
org.eclipse.nebula.jface.galleryviewer |
Provides a JFace viewer for the Gallery widget.
|
org.eclipse.nebula.widgets.gallery |
Provides the Gallery custom widget.
|
Modifier and Type | Method | Description |
---|---|---|
void |
GalleryViewerRow.setItem(GalleryItem item) |
Constructor | Description |
---|---|
GalleryViewerRow(GalleryItem item) |
Constructs a ViewerRow adapter for a GalleryItem.
|
Modifier and Type | Method | Description |
---|---|---|
GalleryItem |
Gallery.getGroup(org.eclipse.swt.graphics.Point coords) |
Get group at pixel position (relative to client area).
|
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) |
|
GalleryItem |
DefaultGalleryGroupRenderer.getItem(GalleryItem group,
org.eclipse.swt.graphics.Point coords) |
|
GalleryItem |
Gallery.getItem(int index) |
Get the item at index.
If SWT.VIRTUAL is used and the item has not been used yet, the item is created and a SWT.SetData event is fired. |
GalleryItem |
Gallery.getItem(org.eclipse.swt.graphics.Point coords) |
Get item at pixel position
|
GalleryItem |
GalleryItem.getItem(int index) |
Searches the receiver's list starting at the first item (index 0) until
an item is found that is equal to the argument, and returns the index of
that item.
|
GalleryItem |
NoGroupRenderer.getItem(GalleryItem group,
org.eclipse.swt.graphics.Point coords) |
|
GalleryItem[] |
Gallery.getItems() |
|
GalleryItem[] |
GalleryItem.getItems() |
|
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) |
|
GalleryItem |
GalleryItem.getParentItem() |
|
GalleryItem[] |
Gallery.getSelection() |
Modifier and Type | Method | Description |
---|---|---|
void |
Gallery._setGalleryItems(GalleryItem[] items) |
|
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) |
|
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) |
|
GalleryItem |
DefaultGalleryGroupRenderer.getItem(GalleryItem group,
org.eclipse.swt.graphics.Point coords) |
|
GalleryItem |
NoGroupRenderer.getItem(GalleryItem group,
org.eclipse.swt.graphics.Point coords) |
|
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) |
|
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) |
|
org.eclipse.swt.graphics.Rectangle |
DefaultGalleryGroupRenderer.getSize(GalleryItem item) |
|
org.eclipse.swt.graphics.Rectangle |
NoGroupRenderer.getSize(GalleryItem item) |
|
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.
|
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.events.MouseEvent 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.events.MouseEvent e,
org.eclipse.swt.graphics.Point coords) |
|
boolean |
NoGroupRenderer.mouseDown(GalleryItem group,
org.eclipse.swt.events.MouseEvent e,
org.eclipse.swt.graphics.Point coords) |
|
void |
Gallery.redraw(GalleryItem item) |
Redraw the item given as parameter.
|
void |
Gallery.remove(GalleryItem item) |
|
void |
GalleryItem.remove(GalleryItem item) |
|
void |
Gallery.setSelection(GalleryItem[] items) |
|
void |
Gallery.showItem(GalleryItem item) |
Scroll the Gallery in order to make 'item' visible.
|
Constructor | Description |
---|---|
GalleryGroupResizeEffect(GalleryItem item,
int src,
int dest,
long lengthMilli,
IMovement movement,
java.lang.Runnable onStop,
java.lang.Runnable onCancel) |
Set up a new resize effect on a gallery item.
|
GalleryItem(GalleryItem parent,
int style) |
|
GalleryItem(GalleryItem parent,
int style,
int index) |