com.sas.net
Interface ResourceConsumerInterface

All Known Implementing Classes:
ImageIconResource, ImageSequence, ImageView, ImageView

public interface ResourceConsumerInterface

Defines an interface to identify objects that consume resources. A resource is an external dependency such as an image (apple.gif) or sound-file (ring.wav). com.sas.visuals.ImageView is an example of a resource consumer.

See Also:
ResourceLocatorInterface

Method Summary
 com.sas.net.ResourceLocatorInterface getResourceLocator()
          Returns the (primary) resource associated with this.
 void setResourceLocator(com.sas.net.ResourceLocatorInterface resourceLocator)
          Sets the (primary) resource associated with this.
 

Method Detail

getResourceLocator

com.sas.net.ResourceLocatorInterface getResourceLocator()
Returns the (primary) resource associated with this.

Returns:
An object that implements ResourceLocatorInterface.
See Also:
setResourceLocator(com.sas.net.ResourceLocatorInterface)

setResourceLocator

void setResourceLocator(com.sas.net.ResourceLocatorInterface resourceLocator)
Sets the (primary) resource associated with this.

Parameters:
resourceLocator - An object that implements ResourceLocatorInterface.
See Also:
getResourceLocator()



Copyright © 2009 SAS Institute Inc. All Rights Reserved.