|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectsynergynetframework.appsystem.contentsystem.items.ContentItem
synergynetframework.appsystem.contentsystem.items.OrthoContentItem
synergynetframework.appsystem.contentsystem.items.RoundContentItem
synergynetframework.appsystem.contentsystem.items.RoundFrame
synergynetframework.appsystem.contentsystem.items.RoundTextLabel
public class RoundTextLabel
The Class RoundTextLabel.
Field Summary |
---|
Fields inherited from class synergynetframework.appsystem.contentsystem.items.OrthoContentItem |
---|
removable |
Fields inherited from class synergynetframework.appsystem.contentsystem.items.ContentItem |
---|
name |
Constructor Summary | |
---|---|
RoundTextLabel(ContentSystem contentSystem,
java.lang.String name)
Instantiates a new round text label. |
Method Summary | |
---|---|
java.lang.String |
getFirstLine()
Gets the first line. |
java.awt.Font |
getFont()
Gets the font. |
java.util.List<java.lang.String> |
getLines()
Gets the lines. |
java.lang.String |
getText()
Gets the text. |
java.awt.Color |
getTextColour()
Gets the text colour. |
boolean |
isAutoFitSize()
Checks if is auto fit size. |
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 |
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.items.RoundFrame |
---|
drawImage, drawImage, getImageResources, getImages, removeAllImages, removeImage |
Methods inherited from class synergynetframework.appsystem.contentsystem.items.RoundContentItem |
---|
getRadius, setRadius |
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.IRoundFrameImplementation |
---|
drawImage, drawImage, getImages, removeAllImages, removeImage |
Methods inherited from interface synergynetframework.appsystem.contentsystem.items.implementation.interfaces.IRoundContentItemImplementation |
---|
setRadius |
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 |
Constructor Detail |
---|
public RoundTextLabel(ContentSystem contentSystem, java.lang.String name)
contentSystem
- the content systemname
- the nameMethod Detail |
---|
public java.lang.String getFirstLine()
public java.awt.Font getFont()
public java.util.List<java.lang.String> getLines()
public java.lang.String getText()
public java.awt.Color getTextColour()
public boolean isAutoFitSize()
public void setAutoFitSize(boolean isEnabled)
IRoundTextLabelImplementation
setAutoFitSize
in interface IRoundTextLabelImplementation
isEnabled
- the new auto fit sizepublic void setCRLFSeparatedString(java.lang.String s)
IRoundTextLabelImplementation
setCRLFSeparatedString
in interface IRoundTextLabelImplementation
s
- the new CRLF separated stringpublic void setFont(java.awt.Font font)
IRoundTextLabelImplementation
setFont
in interface IRoundTextLabelImplementation
font
- the new fontpublic void setLines(java.util.List<java.lang.String> lines)
IRoundTextLabelImplementation
setLines
in interface IRoundTextLabelImplementation
lines
- the new linespublic void setLines(java.lang.String s, int charsPerLine)
IRoundTextLabelImplementation
setLines
in interface IRoundTextLabelImplementation
s
- the scharsPerLine
- the chars per linepublic void setText(java.lang.String text)
IRoundTextLabelImplementation
setText
in interface IRoundTextLabelImplementation
text
- the new textpublic void setTextColour(java.awt.Color textColour)
IRoundTextLabelImplementation
setTextColour
in interface IRoundTextLabelImplementation
textColour
- the new text colour
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |