com.livescribe.ui
Class DiskUsageIndicator
java.lang.Object
com.livescribe.display.Displayable
com.livescribe.display.Canvas
com.livescribe.ui.ScrollLabel
com.livescribe.ui.DiskUsageIndicator
- All Implemented Interfaces:
- HorizontalFlickScrub
public class DiskUsageIndicator
- extends ScrollLabel
|
Constructor Summary |
DiskUsageIndicator()
Creates an uninitialized DiskUsageIndicator |
DiskUsageIndicator(long animDelay,
int spaceWidth,
int shiftWidth)
Creates a DiskUsageIndicator |
|
Method Summary |
protected void |
notifyShown(Display d)
When called by the system indicates that this ScrollLabel is
current. |
void |
showAvailableAsBytes()
Shows the available bytes in Bytes in the disk usage. |
void |
showAvailableAsDuration()
Shows the availability (in bytes) of recording duration
* The information is rendered on the display |
| Methods inherited from class com.livescribe.ui.ScrollLabel |
cancelFlickRepaintTask, cancelRepaintTask, draw, draw, draw, draw, draw, draw, draw, draw, draw, draw, draw, draw, draw, draw, drawRightJustified, drawRightJustified, enableFlickScrub, flickHorizontally, getContentWidth, getOffset, getShiftWidth, getViewportWidth, hasScrollableContent, isHorizontalFlickScrubEnabled, isPauseEnabled, isWrapEnabled, notifyHidden, notifyScrollingPausedAtEnd, notifyScrollingPausedAtStart, onResize, paint, scheduleFlickRepaintTask, scheduleRepaintTask, scrubHorizontally, setContent, setFont, setViewportWidth, stopScrolling |
| Methods inherited from class com.livescribe.display.Canvas |
repaint |
DiskUsageIndicator
public DiskUsageIndicator()
- Creates an uninitialized
DiskUsageIndicator
DiskUsageIndicator
public DiskUsageIndicator(long animDelay,
int spaceWidth,
int shiftWidth)
- Creates a
DiskUsageIndicator
- Parameters:
animDelay - animation delay in milliseconds. This is used when the
text is scrolled.spaceWidth - this is width in terms of pixels that is used to space
the end of the content and the beginning of the content while
scrollingshiftWidth - this is the width in terms of pixels that is used to
shift the contents of the label.
showAvailableAsBytes
public void showAvailableAsBytes()
- Shows the available bytes in Bytes in the disk usage.
The information is rendered on the display
showAvailableAsDuration
public void showAvailableAsDuration()
- Shows the availability (in bytes) of recording duration
* The information is rendered on the display
notifyShown
protected void notifyShown(Display d)
- When called by the system indicates that this
ScrollLabel is
current.
- Overrides:
notifyShown in class ScrollLabel
- Parameters:
d - The Display on which this ScrollLabel
is current.
Copyright © 2010 Livescribe Inc. All Rights Reserved.
Confidential and subject to NDA.