public interface ILine extends IItem
| Modifier and Type | Interface and Description | 
|---|---|
| static class  | ILine.LineModeThe Enum LineMode. | 
INestable.IChildrenChangedListener| Modifier and Type | Method and Description | 
|---|---|
| IItem | getDestinationItem()Gets the destination item. | 
| com.jme3.math.Vector2f | getEndPosition()Gets the end position. | 
| float | getLength()Gets the length. | 
| ILine.LineMode | getMode()Gets the mode. | 
| IItem | getSourceItem()Gets the source item. | 
| com.jme3.math.Vector2f | getStartPosition()Gets the start position. | 
| void | setDestinationItem(IItem item)Sets the destination item. | 
| void | setEndPosition(com.jme3.math.Vector2f v)Sets the end position. | 
| void | setLineColour(com.jme3.math.ColorRGBA c)Sets the line colour. | 
| void | setLineVisibilityChangesWithItemVisibility(boolean autoVisibilityChange)Sets the line visibility changes with item visibility. | 
| void | setLineWidth(float width)Sets the line width. | 
| void | setSourceItem(IItem item)Sets the source item. | 
| void | setStartPosition(com.jme3.math.Vector2f v)Sets the start position. | 
addItemListener, 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, removeItemIItem getDestinationItem()
com.jme3.math.Vector2f getEndPosition()
float getLength()
ILine.LineMode getMode()
IItem getSourceItem()
com.jme3.math.Vector2f getStartPosition()
void setDestinationItem(IItem item)
item - the new destination itemvoid setEndPosition(com.jme3.math.Vector2f v)
v - the new end positionvoid setLineColour(com.jme3.math.ColorRGBA c)
c - the new line colourvoid setLineVisibilityChangesWithItemVisibility(boolean autoVisibilityChange)
autoVisibilityChange - the new line visibility changes with item
            visibilityvoid setLineWidth(float width)
width - the new line widthvoid setSourceItem(IItem item)
item - the new source itemvoid setStartPosition(com.jme3.math.Vector2f v)
v - the new start position