PenProfile 2.x

com.livescribe.i18n
Class ImageResource

java.lang.Object
  extended by com.livescribe.i18n.Resource
      extended by com.livescribe.i18n.DisplayableResource
          extended by com.livescribe.i18n.ImageResource

public abstract class ImageResource
extends DisplayableResource

This class defines an image resource that has been localized for a particular Locale and that can be rendered on the display.

See Also:
Locale

Field Summary
 
Fields inherited from class com.livescribe.i18n.Resource
id
 
Constructor Summary
protected ImageResource(String id)
          Creates a new image resource having the specified ID.
 
Method Summary
abstract  Image getImage()
          Gets the localized image.
 
Methods inherited from class com.livescribe.i18n.DisplayableResource
getDisplayable
 
Methods inherited from class com.livescribe.i18n.Resource
getId, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ImageResource

protected ImageResource(String id)
Creates a new image resource having the specified ID.

Parameters:
id - the resource ID
Method Detail

getImage

public abstract Image getImage()
Gets the localized image.

Returns:
the localized image.

PenProfile 2.x

Copyright © 2010 Livescribe Inc. All Rights Reserved.
Confidential and subject to NDA.