com.jmex.bui
Interface BStyleSheet.ResourceProvider

All Known Implementing Classes:
BStyleSheet.DefaultResourceProvider
Enclosing class:
BStyleSheet

public static interface BStyleSheet.ResourceProvider

An interface used by the stylesheet to obtain font and image resources.


Method Summary
 BTextFactory createTextFactory(String family, String style, int size)
          Creates a factory that will render text using the specified font.
 BCursor loadCursor(String name)
          Loads the cursor with the specified name.
 BImage loadImage(String path)
          Loads the image with the specified path.
 

Method Detail

createTextFactory

BTextFactory createTextFactory(String family,
                               String style,
                               int size)
Creates a factory that will render text using the specified font.


loadImage

BImage loadImage(String path)
                 throws IOException
Loads the image with the specified path.

Throws:
IOException

loadCursor

BCursor loadCursor(String name)
                   throws IOException
Loads the cursor with the specified name.

Throws:
IOException


Copyright © 2008 Michael Bayne. All Rights Reserved.