de.enough.polish.ui
Interface Animatable

All Known Implementing Classes:
Alert, BlankItem, ChoiceGroup, ChoiceItem, ClearKeyItem, CommandItem, Container, CustomItem, DateField, DeleteKeyItem, FilteredList, Form, FramedForm, Gauge, HorizontalTransition, IconItem, ImageItem, Item, ItemTransition, Keyboard, KeyboardView, KeyItem, List, MenuBar, ModeKeyItem, PositionItemTransition, RgbFilterTransition, RgbImageItem, ScaledImageItem, Screen, ScrollBar, SeekControlItem, ShiftKeyItem, SnapshotScreen, Spacer, SplashScreen, StringItem, TabBar, TabbedForm, TabbedList, TabbedPane, TextBox, TextField, Ticker, TimeEntryItem, TimeTitleItem, TitleMenuBar, Transition, VideoContainer, VolumeControlItem

public interface Animatable

An interface implemented by animatable elements.

Copyright Enough Software 2008

Author:
Robert Virkus, j2mepolish@enough.de

Method Summary
 void animate(long currentTime, ClippingRegion repaintRegion)
          Animates this element.
 

Method Detail

animate

void animate(long currentTime,
             ClippingRegion repaintRegion)
Animates this element. Subclasses can override this method to create animations. The default implementation animates the background and the item view if present.

Parameters:
currentTime - the current time in milliseconds
repaintRegion - the repaint area that needs to be updated when this item is animated
See Also:
Item.addRelativeToContentRegion(ClippingRegion, int, int, int, int)