public interface IImage extends IRectangularItem
INestable.IChildrenChangedListener
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getImage()
Gets the image.
|
void |
setImage(java.io.File imageFile)
Sets the image.
|
void |
setImage(java.lang.String imageResoure)
Sets the image.
|
void |
setSize(float width,
float height)
Sets the size.
|
void |
setTexture(com.jme3.texture.Texture tex)
Sets the texture.
|
void |
setWrapping(float xscale,
float yscale)
Sets the wrapping.
|
getHeight, getSize, getWidth, setSize
addItemListener, behaviourAdded, centerItem, convertWorldVelocityToLocalVelocity, getBehaviours, getBehaviours, getItemListeners, getManipulableSpatial, getMultiTouchDispatcher, getName, getParentItem, getRelativeLocation, getRelativeLocationOfWorldLocation, getRelativeRotation, getRelativeScale, getUUID, getWorldLocation, getWorldLocation, getWorldRotationDegrees, getZOrder, getZOrderManager, isVisible, removeItemListener, setInteractionEnabled, setItemListeners, setParentItem, setRelativeLocation, setRelativeRotation, setRelativeScale, setVisible, setWorldLocation, setZOrder
addItem, deRegisterChildrenChangedListener, getChildItems, getChildrenCount, hasChildren, registerChildrenChangedListener, removeAllItems, removeItem
java.lang.String getImage()
void setImage(java.io.File imageFile)
imageFile
- the new imagevoid setImage(java.lang.String imageResoure)
imageResoure
- the new imagevoid setSize(float width, float height)
IRectangularItem
setSize
in interface IRectangularItem
width
- the widthheight
- the heightvoid setTexture(com.jme3.texture.Texture tex)
tex
- the new texturevoid setWrapping(float xscale, float yscale)
xscale
- the xscaleyscale
- the yscale