|
||||||||||
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 itempublic JMELineItem(ContentItem contentItem, com.jme.math.Vector3f sourcePoint, com.jme.math.Vector3f targetPoint)
contentItem
- the content itemsourcePoint
- the source pointtargetPoint
- the target pointMethod Detail |
---|
public com.jme.scene.Line getLine()
public com.jme.scene.Spatial getSpatial()
JMEContentItemImplementation
getSpatial
in interface JMEContentItemImplementation
public void setAnnotationEnabled(boolean isEnabled)
ILineImplementation
setAnnotationEnabled
in interface ILineImplementation
isEnabled
- the new annotation enabledpublic void setArrowMode(int arrowMode)
ILineImplementation
setArrowMode
in interface ILineImplementation
arrowMode
- the new arrow modepublic void setArrowsEnabled(boolean isEnabled)
ILineImplementation
setArrowsEnabled
in interface ILineImplementation
isEnabled
- the new arrows enabledpublic void setLineColour(java.awt.Color lineColour)
ILineImplementation
setLineColour
in interface ILineImplementation
lineColour
- the new line colourpublic void setLineMode(int lineMode)
ILineImplementation
setLineMode
in interface ILineImplementation
lineMode
- the new line modepublic void setSourceItem(ContentItem sourceItem)
ILineImplementation
setSourceItem
in interface ILineImplementation
sourceItem
- the new source itempublic void setSourceLocation(Location sourceLocation)
ILineImplementation
setSourceLocation
in interface ILineImplementation
sourceLocation
- the new source locationpublic void setTargetItem(ContentItem targetItem)
ILineImplementation
setTargetItem
in interface ILineImplementation
targetItem
- the new target itempublic void setTargetLocation(Location targetLocation)
ILineImplementation
setTargetLocation
in interface ILineImplementation
targetLocation
- the new target locationpublic void setText(java.lang.String str)
ILineImplementation
setText
in interface ILineImplementation
str
- the new textpublic void setTextColour(java.awt.Color textColour)
ILineImplementation
setTextColour
in interface ILineImplementation
textColour
- the new text colourpublic void setTextFont(java.awt.Font textFont)
ILineImplementation
setTextFont
in interface ILineImplementation
textFont
- the new text fontpublic void setWidth(float lineWidth)
ILineImplementation
setWidth
in interface ILineImplementation
lineWidth
- the new widthpublic void update(float interpolation)
IContentItemImplementation
update
in interface IContentItemImplementation
update
in interface UpdateableJMEContentItemImplementation
update
in class JMEOrthoContentItem
interpolation
- the interpolation
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |