org.xith3d.ui.hud.base
Interface AbstractImage

All Superinterfaces:
org.jagatoo.datatypes.NamableObject, org.jagatoo.datatypes.NamedObject, org.openmali.types.twodee.Positioned2f, org.openmali.types.twodee.Positioned2fRO, org.openmali.types.twodee.Sized2f, org.openmali.types.twodee.Sized2fRO, Widget
All Known Implementing Classes:
Image

public interface AbstractImage
extends Widget

This is especially for an Image Widget


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.xith3d.ui.hud.base.Widget
Widget.DescriptionBase
 
Method Summary
 org.openmali.vecmath2.Colorf getColor()
           
 Texture getTexture()
           
 float getTileHeight()
           
 org.openmali.types.twodee.Sized2fRO getTileSize()
           
 float getTileWidth()
           
 void setColor(org.openmali.vecmath2.Colorf color)
          Sets this Image's color.
 void setTexture(java.lang.String texture)
          Sets the Texture resource used as the Image's texture
 void setTexture(Texture texture)
          Sets the Texture resource used as the Image's texture
 void setTileSize(float tileWidth, float tileHeight)
          Sets the tile size.
 void setTileSize(org.openmali.types.twodee.Sized2fRO tileSize)
          Sets the tile size.
 
Methods inherited from interface org.xith3d.ui.hud.base.Widget
addContainerListener, addFocusListener, addInputListener, addLocationListener, addSizeListener, addVisibilityListener, detach, detach, getAspect, getAssembly, getCachedToolTipWidget, getContainer, getContextMenu, getCursor, getHeight, getHUD, getInheritedCursor, getLeft, getLocation, getName, getSGNode, getSGZPosition, getSize, getToolTip, getTop, getTransparency, getUserObject, getWidth, getZIndex, hasFocus, hasFocus, hasToolTip, isClickable, isDraggable, isFocussable, isPickable, isVisible, onControllerAxisChanged, onControllerButtonPressed, onControllerButtonReleased, onDetached, onFocusGained, onFocusLost, onInputStateChanged, onKeyPressed, onKeyReleased, onKeyTyped, onMouseButtonPressed, onMouseButtonReleased, onMouseEntered, onMouseLeft, onMouseMoved, onMouseStopped, onMouseUnbound, onMouseWheelMoved, pick, removeContainerListener, removeFocusListener, removeInputListener, removeLocationListener, removeSizeListener, removeVisibilityListener, requestFocus, setAssembly, setCachedToolTipWidget, setClickable, setContainer, setContextMenu, setCursor, setDraggable, setFocussable, setLocation, setLocation, setName, setPickable, setSize, setSize, setSize, setToolTip, setTransparency, setUserObject, setVisible, setZIndex, update
 
Methods inherited from interface org.openmali.types.twodee.Sized2f
setHeight, setWidth
 

Method Detail

setTileSize

void setTileSize(float tileWidth,
                 float tileHeight)
Sets the tile size.
Use any negative value for no tiling.

Parameters:
tileWidth - the tile width (or negative for no tiling of width)
tileHeight - the tile height (or negative for no tiling of height)

setTileSize

void setTileSize(org.openmali.types.twodee.Sized2fRO tileSize)
Sets the tile size.
Use any negative value for no tiling.

Parameters:
tileSize - the tile size (or null for no tiling)

getTileSize

org.openmali.types.twodee.Sized2fRO getTileSize()
Returns:
the tile size (or null for no tiling)

getTileWidth

float getTileWidth()
Returns:
the tile width (or negative for no tiling)

getTileHeight

float getTileHeight()
Returns:
the tile width (or negative for no tiling)

getTexture

Texture getTexture()
Returns:
the Texture resource used as the Image's texture

setTexture

void setTexture(Texture texture)
Sets the Texture resource used as the Image's texture


setTexture

void setTexture(java.lang.String texture)
Sets the Texture resource used as the Image's texture


setColor

void setColor(org.openmali.vecmath2.Colorf color)
Sets this Image's color.

Parameters:
color - the new color

getColor

org.openmali.vecmath2.Colorf getColor()
Returns:
this Image's color