|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface BackgroundSettable
Any Widget class implementing this interface is able to receive and display background Textures.
| Method Summary | |
|---|---|
Texture |
getBackground()
|
org.openmali.vecmath2.Colorf |
getBackgroundColor()
|
float |
getBackgroundTileHeight()
|
org.openmali.types.twodee.Sized2fRO |
getBackgroundTileSize()
|
float |
getBackgroundTileWidth()
|
void |
setBackground(org.openmali.vecmath2.Colorf color)
Sets the background color of the Widget. |
void |
setBackground(java.lang.String texture)
Sets the background Texture of the Widget. |
void |
setBackground(Texture texture)
Sets the background texture of the Widget. |
void |
setBackgroundTileSize(float tileWidth,
float tileHeight)
Sets the background tile size. |
void |
setBackgroundTileSize(org.openmali.types.twodee.Sized2fRO tileSize)
Sets the background tile size. |
| Method Detail |
|---|
void setBackground(org.openmali.vecmath2.Colorf color)
color - the color to usevoid setBackground(Texture texture)
texture - the texture resource to usevoid setBackground(java.lang.String texture)
texture - the texture resource to useTexture getBackground()
org.openmali.vecmath2.Colorf getBackgroundColor()
void setBackgroundTileSize(float tileWidth,
float tileHeight)
tileWidth - the tile width (or negative for no tiling of width)tileHeight - the tile height (or negative for no tiling of height)void setBackgroundTileSize(org.openmali.types.twodee.Sized2fRO tileSize)
tileSize - the tile size (or null for no tiling)org.openmali.types.twodee.Sized2fRO getBackgroundTileSize()
float getBackgroundTileWidth()
float getBackgroundTileHeight()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||