com.livescribe.ext.ui
Class Menu.MenuBrowseList
java.lang.Object
com.livescribe.display.Displayable
com.livescribe.display.BrowseList
com.livescribe.ext.ui.Menu.MenuBrowseList
- All Implemented Interfaces:
- HorizontalFlickScrub, VerticalFlickScrub
- Enclosing class:
- Menu
protected class Menu.MenuBrowseList
- extends BrowseList
A special BrowseList implementation that allows the menu to
access some protected methods and override others. This is necessary
to provide proper item-changed event notifications.
All items in this browse list will be an instance of
Menu.MenuItem.
- See Also:
Menu.MenuItem
|
Method Summary |
void |
setFocusItem(int index)
This is overridden to intercept Flick n Scrub and other changes. |
| Methods inherited from class com.livescribe.display.BrowseList |
drawDecorations, drawItem, enableFlickScrub, flickHorizontally, flickVertically, focusToNext, focusToPrevious, getFocusIndex, getFocusItem, getItemAt, getItemCount, isHorizontalFlickScrubEnabled, isVerticalFlickScrubEnabled, isWrapAroundEnabled, notifyHidden, notifyShown, notifySystemTrayHidden, notifySystemTrayShown, paint, paintList, renderInitialView, scrollItem, scrubHorizontally, scrubVertically, setInsets, setScrollerClipRegion, showScroller |
Menu.MenuBrowseList
protected Menu.MenuBrowseList(Vector model,
BrowseList.Title title)
- Creates a new browse list.
- Parameters:
model - the modeltitle - the title
setFocusItem
public void setFocusItem(int index)
- This is overridden to intercept Flick n Scrub and other changes.
Subclasses overriding this method should call
super.setFocusItem.
- Overrides:
setFocusItem in class BrowseList
- Parameters:
index - the item index
Copyright © 2010 Livescribe Inc. All Rights Reserved.
Confidential and subject to NDA.