synergynetframework.jme.gfx.twod
Interface DrawableSpatialImage

All Known Implementing Classes:
ControlClientView, LightRaysDisplay, MTKeyboard, SimpleSketch, TablePresenceView, UniverseSimulator, WaterTank

public interface DrawableSpatialImage

The Interface DrawableSpatialImage.


Method Summary
 void cursorClicked(long cursorID, int x, int y)
          Cursor clicked.
 void cursorDragged(long id, int x, int y)
          Cursor dragged.
 void cursorPressed(long cursorID, int x, int y)
          Cursor pressed.
 void cursorReleased(long cursorID, int x, int y)
          Cursor released.
 void draw()
          Draw.
 float getHeight()
          Gets the height.
 int getImageHeight()
          Gets the image height.
 int getImageWidth()
          Gets the image width.
 com.jme.scene.Spatial getSpatial()
          Gets the spatial.
 float getWidth()
          Gets the width.
 

Method Detail

cursorClicked

void cursorClicked(long cursorID,
                   int x,
                   int y)
Cursor clicked.

Parameters:
cursorID - the cursor id
x - the x
y - the y

cursorDragged

void cursorDragged(long id,
                   int x,
                   int y)
Cursor dragged.

Parameters:
id - the id
x - the x
y - the y

cursorPressed

void cursorPressed(long cursorID,
                   int x,
                   int y)
Cursor pressed.

Parameters:
cursorID - the cursor id
x - the x
y - the y

cursorReleased

void cursorReleased(long cursorID,
                    int x,
                    int y)
Cursor released.

Parameters:
cursorID - the cursor id
x - the x
y - the y

draw

void draw()
Draw.


getHeight

float getHeight()
Gets the height.

Returns:
the height

getImageHeight

int getImageHeight()
Gets the image height.

Returns:
the image height

getImageWidth

int getImageWidth()
Gets the image width.

Returns:
the image width

getSpatial

com.jme.scene.Spatial getSpatial()
Gets the spatial.

Returns:
the spatial

getWidth

float getWidth()
Gets the width.

Returns:
the width