de.enough.polish.ui.clockviews
Class HexTextClockView
java.lang.Object
de.enough.polish.ui.ItemView
de.enough.polish.ui.clockviews.BinaryTextClockView
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 - 2009
history
May 30, 2007 - rob creation
- Author:
- Robert Virkus, j2mepolish@enough.de
| Fields inherited from class de.enough.polish.ui.ItemView |
availableHeight, availableWidth, contentHeight, contentWidth, isFocused, isLayoutCenter, isLayoutRight, layout, paddingHorizontal, paddingVertical, parentItem |
| Methods inherited from class de.enough.polish.ui.ItemView |
addFullRepaintRegion, adjustToContentArea, animate, defocus, destroy, focus, getScreen, handleKeyPressed, handleKeyReleased, handlePointerDragged, handlePointerPressed, handlePointerReleased, handlePointerTouchDown, handlePointerTouchUp, hideNotify, init, initContentByParent, notifyItemPressedEnd, notifyItemPressedEnd, notifyItemPressedStart, notifyItemPressedStart, paintBackground, paintBorder, paintContentByParent, releaseResources, removeItemBackground, removeItemBorder, removeParentBackground, removeParentBorder, removeViewFromParent, requestInit, setStyle, showNotify |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HexTextClockView
public HexTextClockView()
updateTime
protected 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