|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.jme.scene.Spatial
com.jme.widget.WidgetAbstractImpl
WidgetAbstractImpl
| Field Summary | |
protected WidgetAlignmentType |
alignment
|
protected ColorRGBA |
bgColor
|
protected WidgetBorder |
border
|
protected boolean |
cantOwnMouse
|
protected static int |
DEFAULT_BORDER_SIZE
|
protected static int |
DEFAULT_COMP_HEIGHT
|
protected static int |
DEFAULT_COMP_WIDTH
|
static ColorRGBA |
defaultBgColor
|
static ColorRGBA |
defaultFgColor
|
protected ColorRGBA |
fgColor
|
protected WidgetBoundingRectangle |
localBound
|
protected WidgetNotifier |
notifierMouseButtonDown
|
protected WidgetNotifier |
notifierMouseButtonUp
|
protected WidgetNotifier |
notifierMouseDrag
|
protected WidgetNotifier |
notifierMouseEnter
|
protected WidgetNotifier |
notifierMouseExit
|
protected WidgetNotifier |
notifierMouseMove
|
protected boolean |
opaque
|
protected Vector2f |
preferredSize
|
protected WidgetTextureCoords |
textureCoords
|
protected WidgetViewRectangle |
viewRectangle
|
protected boolean |
visible
|
protected int |
zOrder
|
| Fields inherited from class com.jme.scene.Spatial |
currentStates, defaultStateList, forceCull, forceView, frustrumIntersects, geometricalControllers, lightCombineMode, localRotation, localScale, localTranslation, name, parent, queueDistance, renderQueueMode, renderStateList, textureCombineMode, worldBound, worldRotation, worldScale, worldTranslation |
| Constructor Summary | |
WidgetAbstractImpl()
|
|
WidgetAbstractImpl(int width,
int height)
|
|
| Method Summary | |
void |
addMouseButtonDownObserver(java.util.Observer o)
addMouseButtonDownObserver |
void |
addMouseButtonUpObserver(java.util.Observer o)
addMouseButtonUpObserver |
void |
addMouseDragObserver(java.util.Observer o)
addMouseDragObserver |
void |
addMouseEnterObserver(java.util.Observer o)
addMouseEnterObserver |
void |
addMouseExitObserver(java.util.Observer o)
addMouseExitObserver |
void |
addMouseMoveObserver(java.util.Observer o)
addMouseMoveObserver |
protected void |
alignCenter(Vector2f size,
WidgetInsets insets)
|
protected void |
alignEast(Vector2f size,
WidgetInsets insets)
|
protected void |
alignNorth(Vector2f size,
WidgetInsets insets)
|
protected void |
alignSouth(Vector2f size,
WidgetInsets insets)
|
protected void |
alignWest(Vector2f size,
WidgetInsets insets)
|
boolean |
canClose()
canClose |
void |
close()
close |
void |
deleteMouseButtonDownObserver(java.util.Observer o)
deleteMouseButtonDownObserver |
void |
deleteMouseButtonDownObservers()
deleteMouseButtonDownObservers |
void |
deleteMouseButtonUpObserver(java.util.Observer o)
deleteMouseButtonUpObserver |
void |
deleteMouseButtonUpObservers()
deleteMouseButtonUpObservers |
void |
deleteMouseDragObserver(java.util.Observer o)
deleteMouseDragObserver |
void |
deleteMouseDragObservers()
deleteMouseDragObservers |
void |
deleteMouseEnterObserver(java.util.Observer o)
deleteMouseEnterObserver |
void |
deleteMouseEnterObservers()
deleteMouseEnterObservers |
void |
deleteMouseExitObserver(java.util.Observer o)
deleteMouseExitObserver |
void |
deleteMouseExitObservers()
deleteMouseExitObservers |
void |
deleteMouseMoveObserver(java.util.Observer o)
deleteMouseMoveObserver |
void |
deleteMouseMoveObservers()
deleteMouseMoveObservers |
void |
doAlignment(Vector2f size,
WidgetInsets insets)
doAlignment |
void |
doMouseButtonDown()
doMouseButtonDown |
void |
doMouseButtonUp()
doMouseButtonUp |
void |
doMouseDrag()
doMouseDrag |
void |
doMouseEnter()
doMouseEnter |
void |
doMouseExit()
doMouseExit |
void |
doMouseMove()
doMouseMove |
void |
doParentLayout()
doParentLayout |
void |
draw(Renderer r)
draw abstract method that handles drawing data to the
renderer if it is geometry and passing the call to it's children if it is
a node. |
Vector2f |
getAbsoluteLocation()
getAbsoluteLocation |
WidgetAlignmentType |
getAlignment()
getAlignment |
ColorRGBA |
getBgColor()
getBgColor |
WidgetBorder |
getBorder()
getBorder |
WidgetBoundingRectangle |
getExtents()
getExtents |
ColorRGBA |
getFgColor()
getFgColor |
int |
getHeight()
getHeight |
AbstractInputHandler |
getInputHandler()
getInputHandler |
Widget |
getLastWidgetUnderMouse()
getLastWidgetUnderMouse |
Vector2f |
getLocation()
getLocation |
MouseInput |
getMouseInput()
getMouseInput |
Widget |
getMouseOwner()
getMouseOwner |
WidgetNotifier |
getNotifierMouseButtonDown()
getNotifierMouseButtonDown |
WidgetNotifier |
getNotifierMouseButtonUp()
getNotifierMouseButtonUp |
WidgetNotifier |
getNotifierMouseDrag()
getNotifierMouseDrag |
WidgetNotifier |
getNotifierMouseEnter()
getNotifierMouseEnter |
WidgetNotifier |
getNotifierMouseExit()
getNotifierMouseExit |
WidgetNotifier |
getNotifierMouseMove()
getNotifierMouseMove |
Widget |
getOwner()
getOwner |
Vector2f |
getPreferredSize()
getPreferredSize |
Vector2f |
getSize()
getSize |
WidgetTextureCoords |
getTextureCoords()
getTextureCoords |
protected Widget |
getTopLevelComponent()
|
WidgetViewRectangle |
getViewRectangle()
getViewRectangle |
WidgetAbstractContainer |
getWidgetParent()
getWidgetParent |
WidgetRenderer |
getWidgetRenderer()
getWidgetRenderer |
Widget |
getWidgetUnderMouse()
getWidgetUnderMouse |
int |
getWidth()
getWidth |
int |
getX()
getX |
int |
getXOffset()
getXOffset |
int |
getY()
getY |
int |
getYOffset()
getYOffset |
int |
getZOrder()
getZOrder |
void |
handleMouseButtonDown()
handleMouseButtonDown |
void |
handleMouseButtonUp()
handleMouseButtonUp |
void |
handleMouseDrag()
handleMouseDrag |
void |
handleMouseEnter()
handleMouseEnter |
void |
handleMouseExit()
handleMouseExit |
void |
handleMouseMove()
handleMouseMove |
boolean |
isApplyOffsetX()
isApplyOffsetX |
boolean |
isApplyOffsetY()
isApplyOffsetY |
boolean |
isCantOwnMouse()
isCantOwnMouse |
protected boolean |
isCulled(WidgetBoundingRectangle bound)
|
boolean |
isMouseInWidget()
isMouseInWidget |
boolean |
isOpaque()
isOpaque |
protected boolean |
isTopLevel()
|
boolean |
isVisible()
isVisible |
void |
onDraw(Renderer r)
onDraw checks the node with the camera to see if it should
be culled, if not, the node's draw method is called. |
void |
setAlignment(WidgetAlignmentType alignment)
setAlignment |
void |
setApplyOffsetX(boolean b)
setApplyOffsetX |
void |
setApplyOffsetY(boolean b)
setApplyOffsetY |
void |
setBgColor(ColorRGBA colorRGBA)
setBgColor |
void |
setBorder(WidgetBorder border)
setBorder |
void |
setCantOwnMouse(boolean b)
setCantOwnMouse |
void |
setFgColor(ColorRGBA colorRGBA)
setFgColor |
void |
setHeight(int height)
setHeight |
void |
setInputHandler(AbstractInputHandler ih)
setInputHandler |
void |
setLastWidgetUnderMouse(Widget widget)
setLastWidgetUnderMouse |
void |
setLocation(int x,
int y)
setLocation |
void |
setLocation(Vector2f at)
setLocation |
void |
setMouseOwner(Widget widget)
setMouseOwner |
void |
setOwner(Widget widget)
setOwner |
void |
setPreferredSize(int width,
int height)
setPreferredSize |
void |
setPreferredSize(Vector2f size)
setPreferredSize |
void |
setSize(int width,
int height)
setSize |
void |
setSize(Vector2f size)
setSize |
void |
setTextureCoords(WidgetTextureCoords coords)
setTextureCoords |
void |
setViewRectangle(WidgetViewRectangle viewRectangle)
setViewRectangle |
void |
setVisible(boolean visible)
setVisible |
void |
setWidgetParent(WidgetAbstractContainer parent)
setWidgetParent |
void |
setWidgetRenderer(WidgetRenderer widgetRenderer)
setWidgetRenderer |
void |
setWidgetUnderMouse(Widget widget)
setWidgetUnderMouse |
void |
setWidth(int width)
setWidth |
void |
setX(int x)
setX |
void |
setY(int y)
setY |
void |
setZOrder(int i)
setZOrder |
java.lang.String |
toString()
Returns the Spatial's name followed by the class of the spatial Example: "MyNode (com.jme.scene.Spatial) |
void |
updateWorldBound()
updateWorldBound updates the bounding volume of the world. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface com.jme.widget.Widget |
initWidgetRenderer |
| Field Detail |
public static final ColorRGBA defaultFgColor
protected ColorRGBA fgColor
public static final ColorRGBA defaultBgColor
protected ColorRGBA bgColor
protected static final int DEFAULT_COMP_WIDTH
protected static final int DEFAULT_COMP_HEIGHT
protected static final int DEFAULT_BORDER_SIZE
protected WidgetBorder border
protected WidgetBoundingRectangle localBound
protected Vector2f preferredSize
protected WidgetTextureCoords textureCoords
protected int zOrder
protected boolean visible
protected boolean opaque
protected WidgetAlignmentType alignment
protected boolean cantOwnMouse
protected WidgetNotifier notifierMouseButtonDown
protected WidgetNotifier notifierMouseButtonUp
protected WidgetNotifier notifierMouseDrag
protected WidgetNotifier notifierMouseEnter
protected WidgetNotifier notifierMouseExit
protected WidgetNotifier notifierMouseMove
protected WidgetViewRectangle viewRectangle
| Constructor Detail |
public WidgetAbstractImpl()
public WidgetAbstractImpl(int width,
int height)
| Method Detail |
public MouseInput getMouseInput()
WidgetgetMouseInput
getMouseInput in interface Widgetpublic AbstractInputHandler getInputHandler()
WidgetgetInputHandler
getInputHandler in interface Widgetpublic void setInputHandler(AbstractInputHandler ih)
WidgetsetInputHandler
setInputHandler in interface Widgetpublic Widget getMouseOwner()
WidgetgetMouseOwner
getMouseOwner in interface Widgetpublic void setMouseOwner(Widget widget)
WidgetsetMouseOwner
setMouseOwner in interface Widgetwidget - public Widget getWidgetUnderMouse()
getWidgetUnderMouse
getWidgetUnderMouse in interface Widgetpublic void setWidgetUnderMouse(Widget widget)
setWidgetUnderMouse
setWidgetUnderMouse in interface Widgetwidget - public Widget getLastWidgetUnderMouse()
getLastWidgetUnderMouse
getLastWidgetUnderMouse in interface Widgetpublic void setLastWidgetUnderMouse(Widget widget)
setLastWidgetUnderMouse
setLastWidgetUnderMouse in interface Widgetwidget - public WidgetRenderer getWidgetRenderer()
getWidgetRenderer
getWidgetRenderer in interface WidgetWidget.getWidgetRenderer()public void setWidgetRenderer(WidgetRenderer widgetRenderer)
setWidgetRenderer
setWidgetRenderer in interface WidgetwidgetRenderer - Widget.setWidgetRenderer(com.jme.widget.WidgetRenderer)public WidgetBorder getBorder()
WidgetgetBorder
getBorder in interface Widgetpublic void setBorder(WidgetBorder border)
WidgetsetBorder
setBorder in interface Widgetborder - public void setLocation(Vector2f at)
WidgetsetLocation
setLocation in interface Widgetat -
public void setLocation(int x,
int y)
WidgetsetLocation
setLocation in interface Widgetx - y - public Vector2f getLocation()
WidgetgetLocation
getLocation in interface Widgetpublic void setSize(Vector2f size)
WidgetsetSize
setSize in interface Widgetsize -
public void setSize(int width,
int height)
WidgetsetSize
setSize in interface Widgetwidth - height - public Vector2f getSize()
WidgetgetSize
getSize in interface Widgetpublic Vector2f getPreferredSize()
WidgetgetPreferredSize
getPreferredSize in interface Widgetpublic void setPreferredSize(Vector2f size)
WidgetsetPreferredSize
setPreferredSize in interface Widgetsize -
public void setPreferredSize(int width,
int height)
WidgetsetPreferredSize
setPreferredSize in interface Widgetwidth - height - public int getX()
WidgetgetX
getX in interface Widgetpublic void setX(int x)
WidgetsetX
setX in interface Widgetx - public int getY()
WidgetgetY
getY in interface Widgetpublic void setY(int y)
WidgetsetY
setY in interface Widgety - public int getWidth()
WidgetgetWidth
getWidth in interface Widgetpublic void setWidth(int width)
WidgetsetWidth
setWidth in interface Widgetwidth - public int getHeight()
WidgetgetHeight
getHeight in interface Widgetpublic void setHeight(int height)
WidgetsetHeight
setHeight in interface Widgetheight - public WidgetBoundingRectangle getExtents()
WidgetgetExtents
getExtents in interface Widgetpublic void setVisible(boolean visible)
WidgetsetVisible
setVisible in interface Widgetvisible - public boolean isVisible()
WidgetisVisible
isVisible in interface Widgetpublic boolean isOpaque()
WidgetisOpaque
isOpaque in interface Widgetpublic WidgetTextureCoords getTextureCoords()
WidgetgetTextureCoords
getTextureCoords in interface Widgetpublic void setTextureCoords(WidgetTextureCoords coords)
WidgetsetTextureCoords
setTextureCoords in interface Widgetcoords - public void doParentLayout()
WidgetdoParentLayout
doParentLayout in interface Widgetpublic void setWidgetParent(WidgetAbstractContainer parent)
WidgetsetWidgetParent
setWidgetParent in interface Widgetparent - public WidgetAbstractContainer getWidgetParent()
WidgetgetWidgetParent
getWidgetParent in interface Widgetpublic Vector2f getAbsoluteLocation()
WidgetgetAbsoluteLocation
getAbsoluteLocation in interface Widgetprotected boolean isTopLevel()
protected Widget getTopLevelComponent()
public void setApplyOffsetX(boolean b)
WidgetsetApplyOffsetX
setApplyOffsetX in interface Widgetb - public boolean isApplyOffsetX()
WidgetisApplyOffsetX
isApplyOffsetX in interface Widgetpublic int getXOffset()
WidgetgetXOffset
getXOffset in interface Widgetpublic void setApplyOffsetY(boolean b)
WidgetsetApplyOffsetY
setApplyOffsetY in interface Widgetb - public boolean isApplyOffsetY()
WidgetisApplyOffsetY
isApplyOffsetY in interface Widgetpublic int getYOffset()
WidgetgetYOffset
getYOffset in interface Widgetpublic int getZOrder()
WidgetgetZOrder
getZOrder in interface WidgetgetZOrder in class Spatialpublic void setZOrder(int i)
WidgetsetZOrder
setZOrder in interface WidgetsetZOrder in class Spatialpublic boolean isMouseInWidget()
WidgetisMouseInWidget
isMouseInWidget in interface Widgetpublic WidgetAlignmentType getAlignment()
WidgetgetAlignment
getAlignment in interface Widgetpublic void setAlignment(WidgetAlignmentType alignment)
WidgetsetAlignment
setAlignment in interface Widgetalignment -
protected void alignCenter(Vector2f size,
WidgetInsets insets)
protected void alignWest(Vector2f size,
WidgetInsets insets)
protected void alignEast(Vector2f size,
WidgetInsets insets)
protected void alignNorth(Vector2f size,
WidgetInsets insets)
protected void alignSouth(Vector2f size,
WidgetInsets insets)
public void doAlignment(Vector2f size,
WidgetInsets insets)
WidgetdoAlignment
doAlignment in interface Widgetsize - insets - public void close()
Widgetclose
close in interface Widgetpublic boolean canClose()
WidgetcanClose
canClose in interface Widgetpublic ColorRGBA getBgColor()
WidgetgetBgColor
getBgColor in interface Widgetpublic void setBgColor(ColorRGBA colorRGBA)
WidgetsetBgColor
setBgColor in interface WidgetcolorRGBA - public ColorRGBA getFgColor()
WidgetgetFgColor
getFgColor in interface Widgetpublic void setFgColor(ColorRGBA colorRGBA)
WidgetsetFgColor
setFgColor in interface WidgetcolorRGBA - public void addMouseButtonDownObserver(java.util.Observer o)
WidgetMouseHandlerInterfaceaddMouseButtonDownObserver
addMouseButtonDownObserver in interface WidgetMouseHandlerInterfaceo - public void deleteMouseButtonDownObserver(java.util.Observer o)
WidgetMouseHandlerInterfacedeleteMouseButtonDownObserver
deleteMouseButtonDownObserver in interface WidgetMouseHandlerInterfaceo - public void deleteMouseButtonDownObservers()
deleteMouseButtonDownObservers
deleteMouseButtonDownObservers in interface WidgetMouseHandlerInterfaceWidgetMouseHandlerInterface.deleteMouseButtonDownObservers()public void doMouseButtonDown()
WidgetMouseHandlerInterfacedoMouseButtonDown
doMouseButtonDown in interface WidgetMouseHandlerInterfacepublic void handleMouseButtonDown()
WidgetMouseHandlerInterfacehandleMouseButtonDown
handleMouseButtonDown in interface WidgetMouseHandlerInterfacepublic void addMouseButtonUpObserver(java.util.Observer o)
WidgetMouseHandlerInterfaceaddMouseButtonUpObserver
addMouseButtonUpObserver in interface WidgetMouseHandlerInterfaceo - public void deleteMouseButtonUpObserver(java.util.Observer o)
WidgetMouseHandlerInterfacedeleteMouseButtonUpObserver
deleteMouseButtonUpObserver in interface WidgetMouseHandlerInterfaceo - public void deleteMouseButtonUpObservers()
deleteMouseButtonUpObservers
deleteMouseButtonUpObservers in interface WidgetMouseHandlerInterfaceWidgetMouseHandlerInterface.deleteMouseButtonUpObservers()public void doMouseButtonUp()
WidgetMouseHandlerInterfacedoMouseButtonUp
doMouseButtonUp in interface WidgetMouseHandlerInterfacepublic void handleMouseButtonUp()
WidgetMouseHandlerInterfacehandleMouseButtonUp
handleMouseButtonUp in interface WidgetMouseHandlerInterfacepublic void addMouseMoveObserver(java.util.Observer o)
WidgetMouseHandlerInterfaceaddMouseMoveObserver
addMouseMoveObserver in interface WidgetMouseHandlerInterfaceo - public void deleteMouseMoveObserver(java.util.Observer o)
WidgetMouseHandlerInterfacedeleteMouseMoveObserver
deleteMouseMoveObserver in interface WidgetMouseHandlerInterfaceo - public void deleteMouseMoveObservers()
deleteMouseMoveObservers
deleteMouseMoveObservers in interface WidgetMouseHandlerInterfaceWidgetMouseHandlerInterface.deleteMouseMoveObservers()public void doMouseMove()
WidgetMouseHandlerInterfacedoMouseMove
doMouseMove in interface WidgetMouseHandlerInterfacepublic void handleMouseMove()
WidgetMouseHandlerInterfacehandleMouseMove
handleMouseMove in interface WidgetMouseHandlerInterfacepublic void addMouseDragObserver(java.util.Observer o)
WidgetMouseHandlerInterfaceaddMouseDragObserver
addMouseDragObserver in interface WidgetMouseHandlerInterfaceo - public void deleteMouseDragObserver(java.util.Observer o)
WidgetMouseHandlerInterfacedeleteMouseDragObserver
deleteMouseDragObserver in interface WidgetMouseHandlerInterfaceo - public void deleteMouseDragObservers()
deleteMouseDragObservers
deleteMouseDragObservers in interface WidgetMouseHandlerInterfaceWidgetMouseHandlerInterface.deleteMouseDragObservers()public void doMouseDrag()
WidgetMouseHandlerInterfacedoMouseDrag
doMouseDrag in interface WidgetMouseHandlerInterfacepublic void handleMouseDrag()
WidgetMouseHandlerInterfacehandleMouseDrag
handleMouseDrag in interface WidgetMouseHandlerInterfacepublic void addMouseEnterObserver(java.util.Observer o)
WidgetMouseHandlerInterfaceaddMouseEnterObserver
addMouseEnterObserver in interface WidgetMouseHandlerInterfaceo - public void deleteMouseEnterObserver(java.util.Observer o)
WidgetMouseHandlerInterfacedeleteMouseEnterObserver
deleteMouseEnterObserver in interface WidgetMouseHandlerInterfaceo - public void deleteMouseEnterObservers()
deleteMouseEnterObservers
deleteMouseEnterObservers in interface WidgetMouseHandlerInterfaceWidgetMouseHandlerInterface.deleteMouseEnterObservers()public void doMouseEnter()
WidgetMouseHandlerInterfacedoMouseEnter
doMouseEnter in interface WidgetMouseHandlerInterfacepublic void handleMouseEnter()
WidgetMouseHandlerInterfacehandleMouseEnter
handleMouseEnter in interface WidgetMouseHandlerInterfacepublic void addMouseExitObserver(java.util.Observer o)
WidgetMouseHandlerInterfaceaddMouseExitObserver
addMouseExitObserver in interface WidgetMouseHandlerInterfaceo - public void deleteMouseExitObserver(java.util.Observer o)
WidgetMouseHandlerInterfacedeleteMouseExitObserver
deleteMouseExitObserver in interface WidgetMouseHandlerInterfaceo - public void deleteMouseExitObservers()
deleteMouseExitObservers
deleteMouseExitObservers in interface WidgetMouseHandlerInterfaceWidgetMouseHandlerInterface.deleteMouseExitObservers()public void doMouseExit()
WidgetMouseHandlerInterfacedoMouseExit
doMouseExit in interface WidgetMouseHandlerInterfacepublic void handleMouseExit()
WidgetMouseHandlerInterfacehandleMouseExit
handleMouseExit in interface WidgetMouseHandlerInterfacepublic boolean isCantOwnMouse()
WidgetisCantOwnMouse
isCantOwnMouse in interface Widgetpublic void setCantOwnMouse(boolean b)
WidgetsetCantOwnMouse
setCantOwnMouse in interface Widgetb - public WidgetViewRectangle getViewRectangle()
WidgetgetViewRectangle
getViewRectangle in interface Widgetpublic void setViewRectangle(WidgetViewRectangle viewRectangle)
WidgetsetViewRectangle
setViewRectangle in interface WidgetviewRectangle - public Widget getOwner()
WidgetgetOwner
getOwner in interface Widgetpublic void setOwner(Widget widget)
WidgetsetOwner
setOwner in interface Widgetwidget - public WidgetNotifier getNotifierMouseButtonDown()
WidgetgetNotifierMouseButtonDown
getNotifierMouseButtonDown in interface Widgetpublic WidgetNotifier getNotifierMouseButtonUp()
WidgetgetNotifierMouseButtonUp
getNotifierMouseButtonUp in interface Widgetpublic WidgetNotifier getNotifierMouseDrag()
WidgetgetNotifierMouseDrag
getNotifierMouseDrag in interface Widgetpublic WidgetNotifier getNotifierMouseEnter()
WidgetgetNotifierMouseEnter
getNotifierMouseEnter in interface Widgetpublic WidgetNotifier getNotifierMouseExit()
WidgetgetNotifierMouseExit
getNotifierMouseExit in interface Widgetpublic WidgetNotifier getNotifierMouseMove()
WidgetgetNotifierMouseMove
getNotifierMouseMove in interface Widgetpublic void updateWorldBound()
SpatialupdateWorldBound updates the bounding volume of the world.
Abstract, geometry transforms the bound while node merges the children's
bound. In most cases, users will want to call updateModelBound() and let
this function be called automatically during updateGeometricState().
updateWorldBound in class SpatialSpatial.updateWorldBound()protected boolean isCulled(WidgetBoundingRectangle bound)
public void onDraw(Renderer r)
SpatialonDraw checks the node with the camera to see if it should
be culled, if not, the node's draw method is called.
onDraw in class Spatialr - the renderer used for display.Spatial.onDraw(com.jme.renderer.Renderer)public void draw(Renderer r)
Spatialdraw abstract method that handles drawing data to the
renderer if it is geometry and passing the call to it's children if it is
a node.
draw in class Spatialr - the renderer used for display.Spatial.draw(com.jme.renderer.Renderer)public java.lang.String toString()
Spatial
toString in class Spatial
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||