Package org.eclipse.nebula.widgets.tiles
Class Frame<T>
java.lang.Object
org.eclipse.nebula.widgets.tiles.Frame<T>
- Type Parameters:
T-
- Direct Known Subclasses:
FrameDynamic,FrameStatic
abstract class Frame<T>
extends java.lang.Object
Abstract base class for frames rendered by the widget
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and Type Method Description protected abstract voiddispose()Disposes the frameprotected abstract org.eclipse.swt.graphics.ColorgetBackground()Returns the background colorprotected abstract java.util.Comparator<T>getComparator()Returns the comparatorprotected abstract DecoratorColor<T>getDecoratorBackgroundColor()Returns a decoratorprotected abstract DecoratorColor<T>getDecoratorForegroundColor()Returns a decoratorprotected abstract DecoratorString<T>getDecoratorLabel()Returns a decoratorprotected abstract DecoratorColor<T>getDecoratorLineColor()Returns a decoratorprotected abstract DecoratorInteger<T>getDecoratorLineStyle()Returns a decoratorprotected abstract DecoratorInteger<T>getDecoratorLineWidth()Returns a decoratorprotected abstract Filter<T>getFilter()Returns the filterprotected abstract java.util.List<T>getItems()Returns the elementsprotected abstract java.util.List<Tile<T>>getTiles()Returns the rendered tilesprotected abstract voidupdate()Updates the frame
-
Field Details
-
tiles
The rendered tiles
-
-
Constructor Details
-
Frame
Constructor- Parameters:
tiles-
-
-
Method Details
-
dispose
protected abstract void dispose()Disposes the frame -
getBackground
protected abstract org.eclipse.swt.graphics.Color getBackground()Returns the background color -
getComparator
Returns the comparator -
getDecoratorBackgroundColor
Returns a decorator -
getDecoratorForegroundColor
Returns a decorator -
getDecoratorLabel
Returns a decorator -
getDecoratorLineColor
Returns a decorator -
getDecoratorLineStyle
Returns a decorator -
getDecoratorLineWidth
Returns a decorator -
getFilter
Returns the filter -
getItems
Returns the elements -
getTiles
Returns the rendered tiles -
update
protected abstract void update()Updates the frame
-