com.livescribe.i18n
Class DisplayableResource
java.lang.Object
com.livescribe.i18n.Resource
com.livescribe.i18n.DisplayableResource
- Direct Known Subclasses:
- ImageResource, TextResource
public abstract class DisplayableResource
- extends Resource
This class defines a resource that has been localized for a particular
Locale and that can be rendered on the display.
- Since:
- 0.4
- See Also:
Locale
| Fields inherited from class com.livescribe.i18n.Resource |
id |
DisplayableResource
protected DisplayableResource(String id)
- Creates a new audible resource having the specified ID.
- Parameters:
id - the resource ID
getDisplayable
public Object getDisplayable()
- Gets the localized displayable object. This returns:
- A string if this is an instance of
TextResource,
- An
Image if this is an instance of ImageResource, and
null if the resource is not system defined.
- Returns:
- either a string,
Image, or null.
Copyright © 2010 Livescribe Inc. All Rights Reserved.
Confidential and subject to NDA.