synergynetframework.appsystem.contentsystem.items
Class MultiLineTextLabel
java.lang.Object
synergynetframework.appsystem.contentsystem.items.ContentItem
synergynetframework.appsystem.contentsystem.items.OrthoContentItem
synergynetframework.appsystem.contentsystem.items.QuadContentItem
synergynetframework.appsystem.contentsystem.items.Frame
synergynetframework.appsystem.contentsystem.items.TextLabel
synergynetframework.appsystem.contentsystem.items.MultiLineTextLabel
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Cloneable, java.lang.Comparable<OrthoContentItem>, IContentItemImplementation, IFrameImplementation, IMultiLineTextLabelImplementation, IOrthoContentItemImplementation, IQuadContentItemImplementation, ITextLabelImplementation, BringToTopListener, ItemListener, OrthoControlPointRotateTranslateScaleListener, OrthoFlickListener, OrthoScaleMotionListener, OrthoSnapListener, OrthoSpinListener
- Direct Known Subclasses:
- ImageTextLabel
public class MultiLineTextLabel
- extends TextLabel
- implements IMultiLineTextLabelImplementation, java.io.Serializable, java.lang.Cloneable
The Class MultiLineTextLabel.
- See Also:
- Serialized Form
Fields inherited from class synergynetframework.appsystem.contentsystem.items.ContentItem |
name |
Method Summary |
java.lang.Object |
clone()
|
java.lang.String |
getFirstLine()
Gets the first line. |
java.util.List<java.lang.String> |
getLines()
Gets the lines. |
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. |
Methods inherited from class synergynetframework.appsystem.contentsystem.items.OrthoContentItem |
addBringToTopListener, addFlickListener, addItemListener, addOrthoControlPointRotateTranslateScaleListener, addScreenCursorListener, addSnapListener, allowMoreThanTwoToRotateAndScale, allowSingleTouchFreeMove, allowSnapToOccupiedLocation, bindImplementationOjbect, centerItem, compareTo, cursorChanged, cursorClicked, cursorDoubleClicked, cursorLongHeld, cursorPressed, cursorReleased, cursorRightClicked, enableMultiTouchElementListeners, fireCursorChanged, fireCursorClicked, fireCursorDoubleClicked, fireCursorLongHeld, fireCursorPressed, fireCursorReleased, fireCursorRightClicked, fireScreenCursorChanged, fireScreenCursorClicked, fireScreenCursorPressed, fireScreenCursorReleased, flick, getBringToTopListeners, getFlickDeceleration, getFlickListeners, getItemListeners, getLocation, getMaxScale, getMinScale, getOrder, getOrthoControlPointRotateTranslateScaleListeners, getOrthoSnapListeners, getParent, getScaleMotionDeceleration, getScaleMotionListeners, getSpinListeners, isBringToTopEnabled, isFlickable, isRotateTranslateScaleEnabled, isSingleTouchRotateTranslate, isSnapEnabled, itemBringToToped, itemFlicked, itemRotated, itemScaled, itemScaleMotioned, itemSnapped, itemSpun, itemTranslated, makeFlickable, makeUnflickable, placeRandom, removeBringToTopListeners, removeBringToTopListeners, removeFlickListeners, removeFlickListeners, removeItemListerner, removeItemListerners, removeOrthoControlPointRotateTranslateScaleListeners, removeOrthoControlPointRotateTranslateScaleListeners, removeScreenCursorListeners, removeSnapListeners, removeSnapListeners, reset, rotateRandom, setAsBottomObject, setAsTopObject, setAsTopObjectAndBroadCastEvent, setBringToTopable, setBringToTopListeners, setFixLocations, setFlickListeners, setItemListeners, setLocation, setLocation, setName, setOrder, setOrthoControlPointRotateTranslateScaleListeners, setOrthoSnapListeners, setRightClickDistance, setRotateTranslateScalable, setRotateTranslateScalable, setScaleLimit, setScaleMotionListeners, setSingleTouchRotateTranslate, setSnapable, setSpinListeners, setTolerance, setZRotateLimit, turnOffEventDispatcher |
Methods inherited from class synergynetframework.appsystem.contentsystem.items.ContentItem |
addMultitouchListener, canManipulate, contains, generateUniqueName, getAngle, getBackGround, getBackgroundColour, getBorder, getBorderColour, getBorderSize, getContentSystem, getId, getImplementationObject, getLocalLocation, getName, getNote, getResource, getScale, hasCollision, init, initImplementationObjet, isBoundaryEnabled, isVisible, setAngle, setBackGround, setBackgroundColour, setBorder, setBorderColour, setBorderSize, setBoundaryEnabled, setContentSystem, setId, setLocalLocation, setLocalLocation, setLocalLocation, setManipulate, setNote, setResource, setScale, setScale, setVisible, setVisible, update, update |
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.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, init, setAngle, setBackGround, setBorder, setBoundaryEnabled, setId, setLocalLocation, setLocation, setManipulate, setName, setScale, setScale, setVisible, setVisible, update, update |
MultiLineTextLabel
public MultiLineTextLabel(ContentSystem contentSystem,
java.lang.String name)
- Instantiates a new multi line text label.
- Parameters:
contentSystem
- the content systemname
- the name
clone
public java.lang.Object clone()
throws java.lang.CloneNotSupportedException
- Overrides:
clone
in class TextLabel
- Throws:
java.lang.CloneNotSupportedException
getFirstLine
public java.lang.String getFirstLine()
- Gets the first line.
- Returns:
- the first line
getLines
public java.util.List<java.lang.String> getLines()
- Gets the lines.
- Returns:
- the lines
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 scharsPerLine
- the chars per line