|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface ResourceProvider
Removed from BStyleSheet and made into its own class
An interface used by the stylesheet to obtain font and image resources.
| Method Summary | |
|---|---|
BTextFactory |
createTextFactory(java.lang.String family,
java.lang.String style,
int size)
Creates a factory that will render text using the specified font. |
BCursor |
loadCursor(java.lang.String name)
Loads the cursor with the specified name. |
BImage |
loadImage(java.lang.String path)
Loads the image with the specified path. |
| Method Detail |
|---|
BTextFactory createTextFactory(java.lang.String family,
java.lang.String style,
int size)
family - Stringstyle - Stringsize - int
BImage loadImage(java.lang.String path)
throws java.io.IOException
path - String
java.io.IOException - io
BCursor loadCursor(java.lang.String name)
throws java.io.IOException
name - String
java.io.IOException - io
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||