|
PenProfile 2.x | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.livescribe.display.BrowseList.Title
public static class BrowseList.Title
Title encapsulates the title for a browse list. It has the
same attributes as a BrowseList.Item except that it cannot be selectable.
| Field Summary | |
|---|---|
static Image |
DEFAULT_TITLE_ICON
|
| Constructor Summary | |
|---|---|
BrowseList.Title(String text,
Image icon)
Constructs a Title with the text and icon passed. |
|
| 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()
Returns the icon for the title. |
Object |
getText()
Returns the text for the title. |
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 |
| Field Detail |
|---|
public static final Image DEFAULT_TITLE_ICON
| Constructor Detail |
|---|
public BrowseList.Title(String text,
Image icon)
Title with the text and icon passed.
text - a String to be used for the title.icon - an Image to be used for the title icon.| Method Detail |
|---|
public Object getText()
getText in interface BrowseList.ItemString title text.public Image getIcon()
getIcon in interface BrowseList.ItemImage used for the title's icon; or
null if the title does not support an icon.public final boolean isSelectable()
BrowseList.Itemitem, your code can perform an action.
isSelectable in interface BrowseList.Itemtrue if the the item is selectable; 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:
|
PenProfile 2.x | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||