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 Summary
Fields Modifier and Type Field Description protected inttimeTimer -
Constructor Summary
Constructors Constructor Description FrameDynamic(Tiles<T> tiles, FrameStatic<T> source, FrameStatic<T> target)Creates a new instance -
Method Summary
Modifier 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
-
time
protected int timeTimer
-
-
Constructor Details
-
FrameDynamic
FrameDynamic(Tiles<T> tiles, FrameStatic<T> source, FrameStatic<T> target)Creates a new instance- Parameters:
tiles-source-target-
-
-
Method Details
-
dispose
public void dispose()Description copied from class:FrameDisposes the frame -
getBackground
public org.eclipse.swt.graphics.Color getBackground()Description copied from class:FrameReturns the background color- Specified by:
getBackgroundin classFrame<T>
-
getSource
Returns the source- Returns:
-
getTarget
Returns the target- Returns:
-
getTiles
Description copied from class:FrameReturns the rendered tiles -
tick
public void tick()Tick -
update
public void update()Description copied from class:FrameUpdates the frame -
getComparator
Description copied from class:FrameReturns the comparator- Specified by:
getComparatorin classFrame<T>
-
getDecoratorBackgroundColor
Description copied from class:FrameReturns a decorator- Specified by:
getDecoratorBackgroundColorin classFrame<T>
-
getDecoratorForegroundColor
Description copied from class:FrameReturns a decorator- Specified by:
getDecoratorForegroundColorin classFrame<T>
-
getDecoratorLabel
Description copied from class:FrameReturns a decorator- Specified by:
getDecoratorLabelin classFrame<T>
-
getDecoratorLineColor
Description copied from class:FrameReturns a decorator- Specified by:
getDecoratorLineColorin classFrame<T>
-
getDecoratorLineStyle
Description copied from class:FrameReturns a decorator- Specified by:
getDecoratorLineStylein classFrame<T>
-
getDecoratorLineWidth
Description copied from class:FrameReturns a decorator- Specified by:
getDecoratorLineWidthin classFrame<T>
-
getFilter
Description copied from class:FrameReturns the filter -
getItems
Description copied from class:FrameReturns the elements
-