de.enough.polish.ui.clockviews
Class HexTextClockView

java.lang.Object
  extended by de.enough.polish.ui.ItemView
      extended by de.enough.polish.ui.clockviews.BinaryTextClockView
          extended by de.enough.polish.ui.clockviews.HexTextClockView
All Implemented Interfaces:
Serializable

public class HexTextClockView
extends BinaryTextClockView

Visualizes the clock as a hexadecimal string, e.g. 04:0b instead of 4:11.

Copyright Enough Software 2007 - 2008

 history
        May 30, 2007 - rob creation
 

Author:
Robert Virkus, j2mepolish@enough.de

Field Summary
 
Fields inherited from class de.enough.polish.ui.clockviews.BinaryTextClockView
calendar, clockItem, clockText, date, lastTimeUpdate
 
Fields inherited from class de.enough.polish.ui.ItemView
contentHeight, contentWidth, isFocused, isLayoutCenter, isLayoutRight, layout, paddingHorizontal, paddingVertical, parentItem
 
Constructor Summary
HexTextClockView()
           
 
Method Summary
protected  java.lang.String updateTime(long time)
          Updates the shown time.
 
Methods inherited from class de.enough.polish.ui.clockviews.BinaryTextClockView
animate, initContent, isValid, paintContent, setStyle
 
Methods inherited from class de.enough.polish.ui.ItemView
addFullRepaintRegion, animate, defocus, focus, getScreen, handleKeyPressed, handleKeyReleased, handlePointerPressed, handlePointerReleased, hideNotify, initContentByParent, notifyItemPressedEnd, notifyItemPressedStart, paintBackground, paintBorder, paintContentByParent, releaseResources, removeItemBackground, removeItemBorder, removeParentBackground, removeParentBorder, removeViewFromParent, requestInit, showNotify
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HexTextClockView

public HexTextClockView()
Method Detail

updateTime

protected java.lang.String updateTime(long time)
Updates the shown time.

Overrides:
updateTime in class BinaryTextClockView
Parameters:
time - the currently shown time
Returns:
the time as a hex string