|
PenProfile 2.x | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.livescribe.ext.ui.Menu.MenuItem
protected static class Menu.MenuItem
An implementation of a browse list item. The items in the browse list will be an instance of this class.
BrowseList.Item| Method Summary | |
|---|---|
String |
getAudioMimeType()
Returns the MIME type of the audio stream. |
InputStream |
getAudioStream()
Returns the audio stream that should be played when this Item has focus. |
Image |
getIcon()
Gets the image that should be displayed when this Item
has focus. |
protected int |
getIndex()
Gets the item's index number. |
Object |
getText()
Returns the text that should be displayed when this Item
has focus. |
boolean |
isSelectable()
Indicates if the item can be selected. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public boolean isSelectable()
BrowseList.Itemitem, your code can perform an action.
isSelectable in interface BrowseList.Itemtrue if the the item is selectable; public Object getText()
BrowseList.ItemItem
has focus.
getText in interface BrowseList.ItemString text to display or an
AttributedTextpublic Image getIcon()
BrowseList.ItemItem
has focus.
getIcon in interface BrowseList.ItemImage containing the icon; or
null if this Item does not
support an icon.public InputStream getAudioStream()
BrowseList.ItemItem has focus. Return an InputStream that
should be played; or null if no audio should be played.
getAudioStream in interface BrowseList.Itempublic String getAudioMimeType()
BrowseList.Item
getAudioMimeType in interface BrowseList.ItemString with the MIME type; or
null if this Item does not support audio. In the
case of a String, the allowable MIME types are:
protected int getIndex()
|
PenProfile 2.x | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||