synergynetframework.appsystem.contentsystem.jme.items
Class JMERoundTextLabel

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.JMERoundContentItem
              extended by synergynetframework.appsystem.contentsystem.jme.items.JMERoundFrame
                  extended by synergynetframework.appsystem.contentsystem.jme.items.JMERoundTextLabel
All Implemented Interfaces:
IContentItemImplementation, IOrthoContentItemImplementation, IRoundContentItemImplementation, IRoundFrameImplementation, IRoundTextLabelImplementation, ScreenCursorListener, OrthoBringToTop.OrthoBringToTopListener, OrthoControlPointRotateTranslateScale.RotateTranslateScaleListener, OrthoCursorEventDispatcher.CommonCursorEventListener, OrthoSnap.SnapListener, FlickMover.FlickListener

public class JMERoundTextLabel
extends JMERoundFrame
implements IRoundTextLabelImplementation

The Class JMERoundTextLabel.


Constructor Summary
JMERoundTextLabel(ContentItem contentItem)
          Instantiates a new JME round text label.
 
Method Summary
 void init()
          Inits the.
 void setAutoFitSize(boolean isEnabled)
          Sets the auto fit size.
 void setCRLFSeparatedString(java.lang.String s)
          Sets the CRLF separated string.
 void setFont(java.awt.Font font)
          Sets the font.
 void setLines(java.util.List<java.lang.String> lines)
          Sets the lines.
 void setLines(java.lang.String s, int charsPerLine)
          Sets the lines.
 void setRadius(float radius)
          Sets the radius.
 void setText(java.lang.String text)
          Sets the text.
 void setTextColour(java.awt.Color textColour)
          Sets the text colour.
 
Methods inherited from class synergynetframework.appsystem.contentsystem.jme.items.JMERoundFrame
cursorChanged, cursorClicked, cursorPressed, cursorReleased, drawImage, drawImage, getImages, removeAllImages, removeImage, setBackGround, setBorder
 
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.IRoundFrameImplementation
drawImage, drawImage, getImages, removeAllImages, removeImage
 
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

JMERoundTextLabel

public JMERoundTextLabel(ContentItem contentItem)
Instantiates a new JME round 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 JMERoundFrame

setAutoFitSize

public void setAutoFitSize(boolean isEnabled)
Description copied from interface: IRoundTextLabelImplementation
Sets the auto fit size.

Specified by:
setAutoFitSize in interface IRoundTextLabelImplementation
Parameters:
isEnabled - the new auto fit size

setCRLFSeparatedString

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

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

setFont

public void setFont(java.awt.Font font)
Description copied from interface: IRoundTextLabelImplementation
Sets the font.

Specified by:
setFont in interface IRoundTextLabelImplementation
Parameters:
font - the new font

setLines

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

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

setLines

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

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

setRadius

public void setRadius(float radius)
Description copied from interface: IRoundContentItemImplementation
Sets the radius.

Specified by:
setRadius in interface IRoundContentItemImplementation
Overrides:
setRadius in class JMERoundFrame
Parameters:
radius - the new radius

setText

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

Specified by:
setText in interface IRoundTextLabelImplementation
Parameters:
text - the new text

setTextColour

public void setTextColour(java.awt.Color textColour)
Description copied from interface: IRoundTextLabelImplementation
Sets the text colour.

Specified by:
setTextColour in interface IRoundTextLabelImplementation
Parameters:
textColour - the new text colour