|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectsynergynetframework.appsystem.contentsystem.jme.items.JMEContentItem
synergynetframework.appsystem.contentsystem.jme.items.JMEOrthoContentItem
synergynetframework.appsystem.contentsystem.jme.items.JMEOrthoContainer
synergynetframework.appsystem.contentsystem.jme.items.JMELineItem
public class JMELineItem
The Class JMELineItem.
| Constructor Summary | |
|---|---|
JMELineItem(ContentItem contentItem)
Instantiates a new JME line item. |
|
JMELineItem(ContentItem contentItem,
com.jme.math.Vector3f sourcePoint,
com.jme.math.Vector3f targetPoint)
Instantiates a new JME line item. |
|
| Method Summary | |
|---|---|
com.jme.scene.Line |
getLine()
Gets the line. |
com.jme.scene.Spatial |
getSpatial()
Gets the spatial. |
void |
setAnnotationEnabled(boolean isEnabled)
Sets the annotation enabled. |
void |
setArrowMode(int arrowMode)
Sets the arrow mode. |
void |
setArrowsEnabled(boolean isEnabled)
Sets the arrows enabled. |
void |
setLineColour(java.awt.Color lineColour)
Sets the line colour. |
void |
setLineMode(int lineMode)
Sets the line mode. |
void |
setSourceItem(ContentItem sourceItem)
Sets the source item. |
void |
setSourceLocation(Location sourceLocation)
Sets the source location. |
void |
setTargetItem(ContentItem targetItem)
Sets the target item. |
void |
setTargetLocation(Location targetLocation)
Sets the target location. |
void |
setText(java.lang.String str)
Sets the text. |
void |
setTextColour(java.awt.Color textColour)
Sets the text colour. |
void |
setTextFont(java.awt.Font textFont)
Sets the text font. |
void |
setWidth(float lineWidth)
Sets the width. |
void |
update(float interpolation)
Update. |
| Methods inherited from class synergynetframework.appsystem.contentsystem.jme.items.JMEOrthoContainer |
|---|
addSubItem, detachSubItem, getNode, removeSubItem, setBackGround, setBorder, updateOrder |
| Methods inherited from class synergynetframework.appsystem.contentsystem.jme.items.JMEContentItem |
|---|
contains, getImplementationObject, getLocalLocation, hasCollision, init, setAngle, setBoundaryEnabled, setId, setLocation, setManipulate, setScale, setScale, setVisible, setVisible |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface synergynetframework.appsystem.contentsystem.items.implementation.interfaces.IContentItemImplementation |
|---|
addMultitouchListener, contains, getImplementationObject, hasCollision, init, setAngle, setBackGround, setBorder, setBoundaryEnabled, setId, setLocalLocation, setLocation, setManipulate, setName, setScale, setScale, setVisible, setVisible, update |
| Methods inherited from interface synergynetframework.jme.cursorsystem.elements.twod.OrthoCursorEventDispatcher.CommonCursorEventListener |
|---|
cursorChanged, cursorClicked, cursorPressed, cursorReleased, cursorRightClicked |
| Constructor Detail |
|---|
public JMELineItem(ContentItem contentItem)
contentItem - the content item
public JMELineItem(ContentItem contentItem,
com.jme.math.Vector3f sourcePoint,
com.jme.math.Vector3f targetPoint)
contentItem - the content itemsourcePoint - the source pointtargetPoint - the target point| Method Detail |
|---|
public com.jme.scene.Line getLine()
public com.jme.scene.Spatial getSpatial()
JMEContentItemImplementation
getSpatial in interface JMEContentItemImplementationpublic void setAnnotationEnabled(boolean isEnabled)
ILineImplementation
setAnnotationEnabled in interface ILineImplementationisEnabled - the new annotation enabledpublic void setArrowMode(int arrowMode)
ILineImplementation
setArrowMode in interface ILineImplementationarrowMode - the new arrow modepublic void setArrowsEnabled(boolean isEnabled)
ILineImplementation
setArrowsEnabled in interface ILineImplementationisEnabled - the new arrows enabledpublic void setLineColour(java.awt.Color lineColour)
ILineImplementation
setLineColour in interface ILineImplementationlineColour - the new line colourpublic void setLineMode(int lineMode)
ILineImplementation
setLineMode in interface ILineImplementationlineMode - the new line modepublic void setSourceItem(ContentItem sourceItem)
ILineImplementation
setSourceItem in interface ILineImplementationsourceItem - the new source itempublic void setSourceLocation(Location sourceLocation)
ILineImplementation
setSourceLocation in interface ILineImplementationsourceLocation - the new source locationpublic void setTargetItem(ContentItem targetItem)
ILineImplementation
setTargetItem in interface ILineImplementationtargetItem - the new target itempublic void setTargetLocation(Location targetLocation)
ILineImplementation
setTargetLocation in interface ILineImplementationtargetLocation - the new target locationpublic void setText(java.lang.String str)
ILineImplementation
setText in interface ILineImplementationstr - the new textpublic void setTextColour(java.awt.Color textColour)
ILineImplementation
setTextColour in interface ILineImplementationtextColour - the new text colourpublic void setTextFont(java.awt.Font textFont)
ILineImplementation
setTextFont in interface ILineImplementationtextFont - the new text fontpublic void setWidth(float lineWidth)
ILineImplementation
setWidth in interface ILineImplementationlineWidth - the new widthpublic void update(float interpolation)
IContentItemImplementation
update in interface IContentItemImplementationupdate in interface UpdateableJMEContentItemImplementationupdate in class JMEOrthoContentIteminterpolation - the interpolation
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||