|
PenProfile 2.x | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public static interface BrowseList.Item
The Item interface describes an item in a
BrowseList. It specifies information necessary for
rendering the 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. |
Object |
getText()
Returns the text that should be displayed when this Item
has focus. |
boolean |
isSelectable()
Indicates if the item can be selected. |
| Method Detail |
|---|
boolean isSelectable()
item, your code can perform an action.
true if the the item is selectable; Object getText()
Item
has focus.
String text to display or an
AttributedTextImage getIcon()
Item
has focus.
Image containing the icon; or
null if this Item does not
support an icon.InputStream getAudioStream()
Item has focus. Return an InputStream that
should be played; or null if no audio should be played.
String getAudioMimeType()
String 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 | |||||||||