Class Tiles<T>

java.lang.Object
org.eclipse.swt.widgets.Widget
org.eclipse.swt.widgets.Control
org.eclipse.swt.widgets.Scrollable
org.eclipse.swt.widgets.Composite
org.eclipse.swt.widgets.Canvas
org.eclipse.nebula.widgets.tiles.Tiles<T>
Type Parameters:
T -
All Implemented Interfaces:
org.eclipse.swt.graphics.Drawable

public class Tiles<T>
extends org.eclipse.swt.widgets.Canvas
  • Field Summary

    Fields inherited from class org.eclipse.swt.widgets.Control

    handle
  • Constructor Summary

    Constructors 
    Constructor Description
    Tiles​(org.eclipse.swt.widgets.Composite parent, int style)
    Creates a new instance
  • Method Summary

    Modifier and Type Method Description
    void addSelectionListener​(org.eclipse.swt.events.SelectionListener listener)
    Adds a selection listener
    TileAnimationSettings getAnimationSettings()
    Returns the settings
    java.util.Comparator<T> getComparator()
    Returns the comparator
    DecoratorColor<T> getDecoratorBackgroundColor()
    Returns a decorator
    DecoratorColor<T> getDecoratorForegroundColor()
    Returns a decorator
    DecoratorString<T> getDecoratorLabel()
    Returns a decorator
    DecoratorColor<T> getDecoratorLineColor()
    Returns a decorator
    DecoratorInteger<T> getDecoratorLineStyle()
    Returns a decorator
    DecoratorInteger<T> getDecoratorLineWidth()
    Returns a decorator
    Filter<T> getFilter()
    Returns the filter
    java.util.List<T> getItems()
    Returns the items displayed by this widget
    T getSelectedItem()
    Returns the selected item
    protected void removeFrame()
    Removes the current frame
    void removeSelectionListener​(org.eclipse.swt.events.SelectionListener listener)
    Removes a selection listener
    void setAnimationSettings​(TileAnimationSettings settings)
    Sets the settings
    void setBackground​(org.eclipse.swt.graphics.Color arg0)  
    void setComparator​(java.util.Comparator<T> Comparator)
    Sets an Comparator
    void setDecoratorBackgroundColor​(DecoratorColor<T> decorator)
    Sets a decorator
    void setDecoratorForegroundColor​(DecoratorColor<T> decorator)
    Sets a decorator
    void setDecoratorLabel​(DecoratorString<T> decorator)
    Sets a decorator
    void setDecoratorLineColor​(DecoratorColor<T> decorator)
    Sets a decorator
    void setDecoratorLineStyle​(DecoratorInteger<T> decorator)
    Sets a decorator
    void setDecoratorLineWidth​(DecoratorInteger<T> decorator)
    Sets a decorator
    void setDecoratorTooltip​(DecoratorString<T> decorator)
    Sets a decorator
    void setFilter​(Filter<T> filter)
    Sets a filter
    void setItems​(java.util.List<T> items)
    Adds an item
    void setSelectedItem​(T item)
    Sets the selected item
    void setTileLayout​(TileLayout layout)
    Sets the tile layout
    void update()
    Updates the tiles.

    Methods inherited from class org.eclipse.swt.widgets.Canvas

    drawBackground, getCaret, getIME, scroll, setCaret, setFont, setIME

    Methods inherited from class org.eclipse.swt.widgets.Composite

    changed, checkSubclass, drawBackground, getBackgroundMode, getChildren, getLayout, getLayoutDeferred, getTabList, isLayoutDeferred, layout, layout, layout, layout, layout, setBackgroundMode, setFocus, setLayout, setLayoutDeferred, setTabList, toString

    Methods inherited from class org.eclipse.swt.widgets.Scrollable

    computeTrim, getClientArea, getHorizontalBar, getScrollbarsMode, getVerticalBar

    Methods inherited from class org.eclipse.swt.widgets.Control

    addControlListener, addDragDetectListener, addFocusListener, addGestureListener, addHelpListener, addKeyListener, addMenuDetectListener, addMouseListener, addMouseMoveListener, addMouseTrackListener, addMouseWheelListener, addPaintListener, addTouchListener, addTraverseListener, computeSize, computeSize, dragDetect, dragDetect, forceFocus, getAccessible, getBackground, getBackgroundImage, getBorderWidth, getBounds, getCursor, getDragDetect, getEnabled, getFont, getForeground, getLayoutData, getLocation, getMenu, getMonitor, getOrientation, getParent, getRegion, getShell, getSize, getTextDirection, getToolTipText, getTouchEnabled, getVisible, internal_dispose_GC, internal_new_GC, isEnabled, isFocusControl, isReparentable, isVisible, moveAbove, moveBelow, pack, pack, print, redraw, redraw, removeControlListener, removeDragDetectListener, removeFocusListener, removeGestureListener, removeHelpListener, removeKeyListener, removeMenuDetectListener, removeMouseListener, removeMouseMoveListener, removeMouseTrackListener, removeMouseWheelListener, removePaintListener, removeTouchListener, removeTraverseListener, requestLayout, setBackgroundImage, setBounds, setBounds, setCapture, setCursor, setDragDetect, setEnabled, setForeground, setLayoutData, setLocation, setLocation, setMenu, setOrientation, setParent, setRedraw, setRegion, setSize, setSize, setTextDirection, setToolTipText, setTouchEnabled, setVisible, toControl, toControl, toDisplay, toDisplay, traverse, traverse, traverse

    Methods inherited from class org.eclipse.swt.widgets.Widget

    addDisposeListener, addListener, checkWidget, dispose, getData, getData, getDisplay, getListeners, getStyle, isAutoDirection, isDisposed, isListening, notifyListeners, removeDisposeListener, removeListener, removeListener, reskin, setData, setData

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

    Methods inherited from interface org.eclipse.swt.graphics.Drawable

    isAutoScalable