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 int
time
Timer -
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 void
dispose()
Disposes the frameorg.eclipse.swt.graphics.Color
getBackground()
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 tilesvoid
tick()
Tickvoid
update()
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:Frame
Disposes the frame -
getBackground
public org.eclipse.swt.graphics.Color getBackground()Description copied from class:Frame
Returns the background color- Specified by:
getBackground
in classFrame<T>
-
getSource
Returns the source- Returns:
-
getTarget
Returns the target- Returns:
-
getTiles
Description copied from class:Frame
Returns the rendered tiles -
tick
public void tick()Tick -
update
public void update()Description copied from class:Frame
Updates the frame -
getComparator
Description copied from class:Frame
Returns the comparator- Specified by:
getComparator
in classFrame<T>
-
getDecoratorBackgroundColor
Description copied from class:Frame
Returns a decorator- Specified by:
getDecoratorBackgroundColor
in classFrame<T>
-
getDecoratorForegroundColor
Description copied from class:Frame
Returns a decorator- Specified by:
getDecoratorForegroundColor
in classFrame<T>
-
getDecoratorLabel
Description copied from class:Frame
Returns a decorator- Specified by:
getDecoratorLabel
in classFrame<T>
-
getDecoratorLineColor
Description copied from class:Frame
Returns a decorator- Specified by:
getDecoratorLineColor
in classFrame<T>
-
getDecoratorLineStyle
Description copied from class:Frame
Returns a decorator- Specified by:
getDecoratorLineStyle
in classFrame<T>
-
getDecoratorLineWidth
Description copied from class:Frame
Returns a decorator- Specified by:
getDecoratorLineWidth
in classFrame<T>
-
getFilter
Description copied from class:Frame
Returns the filter -
getItems
Description copied from class:Frame
Returns the elements
-