Package org.eclipse.nebula.widgets.tiles
Class FrameDynamic<T>
java.lang.Object
org.eclipse.nebula.widgets.tiles.Frame<T>
org.eclipse.nebula.widgets.tiles.FrameDynamic<T>
- Type Parameters:
- T-
class FrameDynamic<T> extends Frame<T>
This class implements a dynamic frame that implements a transition between two static frames
- 
Field SummaryFields Modifier and Type Field Description protected inttimeTimer
- 
Constructor SummaryConstructors Constructor Description FrameDynamic(Tiles<T> tiles, FrameStatic<T> source, FrameStatic<T> target)Creates a new instance
- 
Method SummaryModifier and Type Method Description voiddispose()Disposes the frameorg.eclipse.swt.graphics.ColorgetBackground()Returns the background colorprotected java.util.Comparator<T>getComparator()Returns the comparatorprotected DecoratorColor<T>getDecoratorBackgroundColor()Returns a decoratorprotected DecoratorColor<T>getDecoratorForegroundColor()Returns a decoratorprotected DecoratorString<T>getDecoratorLabel()Returns a decoratorprotected DecoratorColor<T>getDecoratorLineColor()Returns a decoratorprotected DecoratorInteger<T>getDecoratorLineStyle()Returns a decoratorprotected DecoratorInteger<T>getDecoratorLineWidth()Returns a decoratorprotected Filter<T>getFilter()Returns the filterprotected java.util.List<T>getItems()Returns the elementsFrameStatic<T>getSource()Returns the sourceFrameStatic<T>getTarget()Returns the targetjava.util.List<Tile<T>>getTiles()Returns the rendered tilesvoidtick()Tickvoidupdate()Updates the frame
- 
Field Details- 
timeprotected int timeTimer
 
- 
- 
Constructor Details- 
FrameDynamicFrameDynamic(Tiles<T> tiles, FrameStatic<T> source, FrameStatic<T> target)Creates a new instance- Parameters:
- tiles-
- source-
- target-
 
 
- 
- 
Method Details- 
disposepublic void dispose()Description copied from class:FrameDisposes the frame
- 
getBackgroundpublic org.eclipse.swt.graphics.Color getBackground()Description copied from class:FrameReturns the background color- Specified by:
- getBackgroundin class- Frame<T>
 
- 
getSourceReturns the source- Returns:
 
- 
getTargetReturns the target- Returns:
 
- 
getTilesDescription copied from class:FrameReturns the rendered tiles
- 
tickpublic void tick()Tick
- 
updatepublic void update()Description copied from class:FrameUpdates the frame
- 
getComparatorDescription copied from class:FrameReturns the comparator- Specified by:
- getComparatorin class- Frame<T>
 
- 
getDecoratorBackgroundColorDescription copied from class:FrameReturns a decorator- Specified by:
- getDecoratorBackgroundColorin class- Frame<T>
 
- 
getDecoratorForegroundColorDescription copied from class:FrameReturns a decorator- Specified by:
- getDecoratorForegroundColorin class- Frame<T>
 
- 
getDecoratorLabelDescription copied from class:FrameReturns a decorator- Specified by:
- getDecoratorLabelin class- Frame<T>
 
- 
getDecoratorLineColorDescription copied from class:FrameReturns a decorator- Specified by:
- getDecoratorLineColorin class- Frame<T>
 
- 
getDecoratorLineStyleDescription copied from class:FrameReturns a decorator- Specified by:
- getDecoratorLineStylein class- Frame<T>
 
- 
getDecoratorLineWidthDescription copied from class:FrameReturns a decorator- Specified by:
- getDecoratorLineWidthin class- Frame<T>
 
- 
getFilterDescription copied from class:FrameReturns the filter
- 
getItemsDescription copied from class:FrameReturns the elements
 
-