public interface IColourRectangle extends IRectangularItem
INestable.IChildrenChangedListener| Modifier and Type | Method and Description |
|---|---|
void |
enableTransparency()
Enable transparency.
|
void |
setGradientBackground(Gradient g)
Sets the gradient background.
|
void |
setSolidBackgroundColour(com.jme3.math.ColorRGBA colorRGBA)
Sets the solid background colour.
|
getHeight, getSize, getWidth, setSize, setSizeaddItemListener, behaviourAdded, centerItem, convertWorldVelocityToLocalVelocity, getBehaviours, getBehaviours, getItemListeners, getManipulableSpatial, getMultiTouchDispatcher, getName, getParentItem, getRelativeLocation, getRelativeLocationOfWorldLocation, getRelativeRotation, getRelativeScale, getUUID, getWorldLocation, getWorldLocation, getWorldRotationDegrees, getZOrder, getZOrderManager, isVisible, removeItemListener, setInteractionEnabled, setItemListeners, setParentItem, setRelativeLocation, setRelativeRotation, setRelativeScale, setVisible, setWorldLocation, setZOrderaddItem, deRegisterChildrenChangedListener, getChildItems, getChildrenCount, hasChildren, registerChildrenChangedListener, removeAllItems, removeItemvoid enableTransparency()
void setGradientBackground(Gradient g)
g - the new gradient backgroundvoid setSolidBackgroundColour(com.jme3.math.ColorRGBA colorRGBA)
colorRGBA - the new solid background colour