synergynetframework.appsystem.contentsystem.jme.items
Class JMEMultiLineTextLabel

java.lang.Object
  extended by synergynetframework.appsystem.contentsystem.jme.items.JMEContentItem
      extended by synergynetframework.appsystem.contentsystem.jme.items.JMEOrthoContentItem
          extended by synergynetframework.appsystem.contentsystem.jme.items.JMEQuadContentItem
              extended by synergynetframework.appsystem.contentsystem.jme.items.JMEFrame
                  extended by synergynetframework.appsystem.contentsystem.jme.items.JMETextLabel
                      extended by synergynetframework.appsystem.contentsystem.jme.items.JMEMultiLineTextLabel
All Implemented Interfaces:
IContentItemImplementation, IFrameImplementation, IMultiLineTextLabelImplementation, IOrthoContentItemImplementation, IQuadContentItemImplementation, ITextLabelImplementation, ScreenCursorListener, OrthoBringToTop.OrthoBringToTopListener, OrthoControlPointRotateTranslateScale.RotateTranslateScaleListener, OrthoCursorEventDispatcher.CommonCursorEventListener, OrthoSnap.SnapListener, FlickMover.FlickListener
Direct Known Subclasses:
JMEImageTextLabel

public class JMEMultiLineTextLabel
extends JMETextLabel
implements IMultiLineTextLabelImplementation

The Class JMEMultiLineTextLabel.


Constructor Summary
JMEMultiLineTextLabel(ContentItem contentItem)
          Instantiates a new JME multi line text label.
 
Method Summary
 void init()
          Inits the.
 void setCRLFSeparatedString(java.lang.String s)
          Sets the CRLF separated string.
 void setLines(java.util.List<java.lang.String> lines)
          Sets the lines.
 void setLines(java.lang.String s, int charsPerLine)
          Sets the lines.
 void setText(java.lang.String s)
          Sets the text.
 
Methods inherited from class synergynetframework.appsystem.contentsystem.jme.items.JMETextLabel
drawImage, getAlignment, removeAllImages, setAlignment, setAutoFitSize, setFont, setTextColour
 
Methods inherited from class synergynetframework.appsystem.contentsystem.jme.items.JMEFrame
drawImage, flushGraphics, getGraphicsContext, getImages, removeImage, setBackGround, setBorder, setHeight, setWidth
 
Methods inherited from class synergynetframework.appsystem.contentsystem.jme.items.JMEQuadContentItem
cursorChanged, cursorClicked, cursorPressed, cursorReleased
 
Methods inherited from class synergynetframework.appsystem.contentsystem.jme.items.JMEOrthoContentItem
addBringToTopListener, addFlickListener, addItemListener, addMultitouchListener, addOrthoControlPointRotateTranslateScaleListener, addScreenCursorListener, addSnapListener, allowMoreThanTwoToRotateAndScale, allowSingleTouchFreeMove, allowSnapToOccupiedLocation, centerItem, cursorRightClicked, flick, getMaxScale, getMinScale, isFlickable, ItemBringToTop, itemFlicked, itemMoved, itemRotated, itemScaled, itemSnapped, makeFlickable, makeUnflickable, placeRandom, removeBringToTopListeners, removeFlickListeners, removeItemListerner, removeOrthoControlPointRotateTranslateScaleListeners, removeScreenCursorListeners, removeSnapListeners, reset, rotateRandom, screenCursorChanged, screenCursorClicked, screenCursorPressed, screenCursorReleased, setAsBottomObject, setAsTopObject, setAsTopObjectAndBroadCastEvent, setBringToTopable, setFixLocations, setLocalLocation, setName, setOrder, setRightClickDistance, setRotateTranslateScalable, setRotateTranslateScalable, setScaleLimit, setSingleTouchRotateTranslate, setSnapable, setTolerance, setZRotateLimit, turnOffEventDispatcher, update, update
 
Methods inherited from class synergynetframework.appsystem.contentsystem.jme.items.JMEContentItem
contains, getImplementationObject, getLocalLocation, hasCollision, 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.ITextLabelImplementation
getAlignment, setAlignment, setFont, setTextColour
 
Methods inherited from interface synergynetframework.appsystem.contentsystem.items.implementation.interfaces.IFrameImplementation
drawImage, drawImage, flushGraphics, getGraphicsContext, getImages, removeAllImages, removeImage
 
Methods inherited from interface synergynetframework.appsystem.contentsystem.items.implementation.interfaces.IQuadContentItemImplementation
setAutoFitSize, setHeight, setWidth
 
Methods inherited from interface synergynetframework.appsystem.contentsystem.items.implementation.interfaces.IOrthoContentItemImplementation
addBringToTopListener, addFlickListener, addItemListener, addOrthoControlPointRotateTranslateScaleListener, addScreenCursorListener, addSnapListener, allowMoreThanTwoToRotateAndScale, allowSingleTouchFreeMove, allowSnapToOccupiedLocation, centerItem, flick, getMaxScale, getMinScale, isFlickable, makeFlickable, makeUnflickable, placeRandom, removeBringToTopListeners, removeFlickListeners, removeItemListerner, removeOrthoControlPointRotateTranslateScaleListeners, removeScreenCursorListeners, removeSnapListeners, reset, rotateRandom, setAsBottomObject, setAsTopObject, setAsTopObjectAndBroadCastEvent, setBringToTopable, setFixLocations, setOrder, setRightClickDistance, setRotateTranslateScalable, setRotateTranslateScalable, setScaleLimit, setSingleTouchRotateTranslate, setSnapable, setTolerance, setZRotateLimit, turnOffEventDispatcher
 
Methods inherited from interface synergynetframework.appsystem.contentsystem.items.implementation.interfaces.IContentItemImplementation
addMultitouchListener, contains, getImplementationObject, hasCollision, setAngle, setBackGround, setBorder, setBoundaryEnabled, setId, setLocalLocation, setLocation, setManipulate, setName, setScale, setScale, setVisible, setVisible, update, update
 

Constructor Detail

JMEMultiLineTextLabel

public JMEMultiLineTextLabel(ContentItem contentItem)
Instantiates a new JME multi line text label.

Parameters:
contentItem - the content item
Method Detail

init

public void init()
Description copied from interface: IContentItemImplementation
Inits the.

Specified by:
init in interface IContentItemImplementation
Overrides:
init in class JMEFrame

setCRLFSeparatedString

public void setCRLFSeparatedString(java.lang.String s)
Description copied from interface: IMultiLineTextLabelImplementation
Sets the CRLF separated string.

Specified by:
setCRLFSeparatedString in interface IMultiLineTextLabelImplementation
Parameters:
s - the new CRLF separated string

setLines

public void setLines(java.util.List<java.lang.String> lines)
Description copied from interface: IMultiLineTextLabelImplementation
Sets the lines.

Specified by:
setLines in interface IMultiLineTextLabelImplementation
Parameters:
lines - the new lines

setLines

public void setLines(java.lang.String s,
                     int charsPerLine)
Description copied from interface: IMultiLineTextLabelImplementation
Sets the lines.

Specified by:
setLines in interface IMultiLineTextLabelImplementation
Parameters:
s - the s
charsPerLine - the chars per line

setText

public void setText(java.lang.String s)
Description copied from interface: ITextLabelImplementation
Sets the text.

Specified by:
setText in interface ITextLabelImplementation
Overrides:
setText in class JMETextLabel
Parameters:
s - the new text