org.xith3d.ui.hud.geometries
Class BorderGeom
java.lang.Object
org.xith3d.scenegraph.SceneGraphObject
org.xith3d.scenegraph.Node
org.xith3d.scenegraph.Leaf
org.xith3d.scenegraph.Shape3D
org.xith3d.ui.hud.geometries.BorderGeom
- All Implemented Interfaces:
- org.jagatoo.datatypes.NamableObject, org.jagatoo.datatypes.NamedObject, org.openmali.spatial.SpatialNode
public class BorderGeom
- extends Shape3D
This is a Geoemtry for Border Widgets.
If can have up to 16 panels arranged around a virtual center panel.
|
Constructor Summary |
BorderGeom(Texture texture,
float width,
float height,
int bottom,
int right,
int top,
int left,
int llt,
int llr,
int lrl,
int lrt,
int urb,
int url,
int ulr,
int ulb,
org.openmali.types.twodee.Sized2fRO pixel)
|
|
Method Summary |
int |
getBottom()
|
TriangleStripArray |
getGeometry()
|
float |
getHeight()
|
int |
getLeft()
|
int |
getLLR()
|
int |
getLLT()
|
int |
getLRL()
|
int |
getLRT()
|
int |
getRight()
|
Texture |
getTexture()
|
int |
getULB()
|
int |
getULR()
|
int |
getURB()
|
int |
getURL()
|
float |
getWidth()
|
int |
getZop()
|
void |
setBottom(int border,
int left,
int right,
org.openmali.types.twodee.Sized2fRO pixel)
|
void |
setBottom(int border,
org.openmali.types.twodee.Sized2fRO pixel)
|
void |
setLeft(int border,
int top,
int bottom,
org.openmali.types.twodee.Sized2fRO pixel)
|
void |
setLeft(int border,
org.openmali.types.twodee.Sized2fRO pixel)
|
void |
setRight(int border,
int top,
int bottom,
org.openmali.types.twodee.Sized2fRO pixel)
|
void |
setRight(int border,
org.openmali.types.twodee.Sized2fRO pixel)
|
void |
setSize(float width,
float height,
int bottom,
int right,
int top,
int left,
int llt,
int llr,
int lrl,
int lrt,
int urb,
int url,
int ulr,
int ulb,
org.openmali.types.twodee.Sized2fRO pixel)
|
void |
setSize(float width,
float height,
org.openmali.types.twodee.Sized2fRO pixel)
|
void |
setTexture(Texture texture)
|
void |
setTop(int border,
int left,
int right,
org.openmali.types.twodee.Sized2fRO pixel)
|
void |
setTop(int border,
org.openmali.types.twodee.Sized2fRO pixel)
|
| Methods inherited from class org.xith3d.scenegraph.Shape3D |
absorbDetails, freeOpenGLResources, getAppearance, getAppearance, isBumpMappingEnabled, isShadowReceiver, isVisible, newAppearance, setAppearance, setBounds, setBumpMappingEnabled, setBumpMappingEnabled, setGeometry, setIsShadowReceiver, setLive, setModListener, setVisible, sharedCopy, sharedCopy, traverse, updateBounds, updateBoundsCheap, updateWorldTransform, verifyAppChange |
| Methods inherited from class org.xith3d.scenegraph.Node |
cloneNode, detach, duplicateNode, freeOpenGLResources, getBounds, getBoundsAutoCompute, getBoundsType, getBoundsTypeHint, getDefaultPickable, getIndentString, getInheritedNodeAttributes, getModListener, getOrderedChild, getOrderedState, getParent, getRoot, getShadowAttachment, getShowBounds, getTransformGroup, getTreeCell, getWorldBounds, getWorldTransform, getWorldTransform, isBillboard, isIgnoreBounds, isOccluder, isPickable, isRenderable, isUpdatableNode, mergeInheritedClipper, mergeInheritedNodes, mergeInheritedScissorRect, popGlobalIgnoreBounds, printBounds, pushGlobalIgnoreBounds, setBoundsAutoCompute, setBoundsDirty, setBoundsDirtyUpward, setBoundsTypeHint, setDefaultPickable, setGlobalIgnoreBounds, setIgnoreBounds, setIsOccluder, setOrderedChild, setParent, setPickable, setPickableRecursive, setPickableRecursive, setRenderable, setShadowAttachment, setShowBounds, setTransformGroup, setTreeCell, traverse, unmergeInheritedFog, unmergeInheritedLight, unmergeInheritedNodes, updateOrderedChild, updateTransformGroup |
| Methods inherited from class org.xith3d.scenegraph.SceneGraphObject |
getName, getUserData, getUserData, getUserDataMap, isLive, setName, setUserData, setUserData, setUserDataRecursive, setUserDataRecursive, toString |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
BorderGeom
public BorderGeom(Texture texture,
float width,
float height,
int bottom,
int right,
int top,
int left,
int llt,
int llr,
int lrl,
int lrt,
int urb,
int url,
int ulr,
int ulb,
org.openmali.types.twodee.Sized2fRO pixel)
getGeometry
public TriangleStripArray getGeometry()
-
- Overrides:
getGeometry in class Shape3D
- Returns:
- the Geometry for this object.
setTexture
public void setTexture(Texture texture)
getTexture
public Texture getTexture()
getWidth
public float getWidth()
getHeight
public float getHeight()
getBottom
public int getBottom()
getRight
public int getRight()
getZop
public int getZop()
getLeft
public int getLeft()
getLLT
public int getLLT()
getLLR
public int getLLR()
getLRL
public int getLRL()
getLRT
public int getLRT()
getURB
public int getURB()
getURL
public int getURL()
getULR
public int getULR()
getULB
public int getULB()
setBottom
public void setBottom(int border,
int left,
int right,
org.openmali.types.twodee.Sized2fRO pixel)
setBottom
public void setBottom(int border,
org.openmali.types.twodee.Sized2fRO pixel)
setRight
public void setRight(int border,
int top,
int bottom,
org.openmali.types.twodee.Sized2fRO pixel)
setRight
public void setRight(int border,
org.openmali.types.twodee.Sized2fRO pixel)
setTop
public void setTop(int border,
int left,
int right,
org.openmali.types.twodee.Sized2fRO pixel)
setTop
public void setTop(int border,
org.openmali.types.twodee.Sized2fRO pixel)
setLeft
public void setLeft(int border,
int top,
int bottom,
org.openmali.types.twodee.Sized2fRO pixel)
setLeft
public void setLeft(int border,
org.openmali.types.twodee.Sized2fRO pixel)
setSize
public void setSize(float width,
float height,
int bottom,
int right,
int top,
int left,
int llt,
int llr,
int lrl,
int lrt,
int urb,
int url,
int ulr,
int ulb,
org.openmali.types.twodee.Sized2fRO pixel)
setSize
public void setSize(float width,
float height,
org.openmali.types.twodee.Sized2fRO pixel)