|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SwoglComponent
Interface for a Swogl component. A Swogl component contains a Swing
component, as well as a Texture
and a Geometry
.
The Texture contains an image of the Swing component, and will be
updated automatically by Swogl. The Geometry contains all information
required for rendering the SwoglComponent as a 3D object, textured with
the Texture.
Note to possible implementors: This interface may still be extended
by further methods in future versions. Specifically, by methods to
maintain a set of Listeners that want to be informed about transform
changes.
Method Summary | |
---|---|
javax.swing.JComponent |
getComponent()
Returns the Swing component of this SwoglComponent |
Geometry |
getGeometry()
Returns the Geometry of this SwoglComponent |
Material |
getMaterial()
Returns the Material of this SwoglComponent |
Texture |
getTexture()
Returns the Texture of this SwoglComponent |
javax.vecmath.Matrix4f |
getTransform()
Returns a copy of the current transform matrix of this SwoglComponent. |
void |
setTransform(javax.vecmath.Matrix4f matrix)
Set the transform of this SwoglComponent to be a copy of the given transform. |
Method Detail |
---|
javax.swing.JComponent getComponent()
Texture getTexture()
Texture
of this SwoglComponent
Texture
of this SwoglComponentMaterial getMaterial()
Material
of this SwoglComponent
Material
of this SwoglComponentGeometry getGeometry()
Geometry
of this SwoglComponent
Geometry
of this SwoglComponentjavax.vecmath.Matrix4f getTransform()
void setTransform(javax.vecmath.Matrix4f matrix)
matrix
- The new transform
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |