|
||||||||||
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.QuadContentItem
synergynetframework.appsystem.contentsystem.items.Frame
synergynetframework.appsystem.contentsystem.items.TextLabel
public class TextLabel
The Class TextLabel.
Nested Class Summary | |
---|---|
static class |
TextLabel.Alignment
The Enum Alignment. |
Field Summary |
---|
Fields inherited from class synergynetframework.appsystem.contentsystem.items.OrthoContentItem |
---|
removable |
Fields inherited from class synergynetframework.appsystem.contentsystem.items.ContentItem |
---|
name |
Constructor Summary | |
---|---|
TextLabel(ContentSystem contentSystem,
java.lang.String name)
Instantiates a new text label. |
Method Summary | |
---|---|
java.lang.Object |
clone()
|
TextLabel.Alignment |
getAlignment()
Gets the alignment. |
java.awt.Font |
getFont()
Gets the font. |
java.lang.String |
getText()
Gets the text. |
java.awt.Color |
getTextColour()
Gets the text colour. |
void |
setAlignment(TextLabel.Alignment alignment)
Sets the alignment. |
void |
setFont(java.awt.Font font)
Sets the font. |
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.Frame |
---|
drawImage, drawImage, flushGraphics, getGraphicsContext, getImageResources, getImages, removeAllImages, removeImage |
Methods inherited from class synergynetframework.appsystem.contentsystem.items.QuadContentItem |
---|
addSizeChangeListener, getHeight, getWidth, isAutoFitSize, removeSizeChangeListener, setAutoFit, setAutoFitSize, setHeight, setWidth |
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.IQuadContentItemImplementation |
---|
setAutoFitSize, setHeight, setWidth |
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 TextLabel(ContentSystem contentSystem, java.lang.String name)
contentSystem
- the content systemname
- the nameMethod Detail |
---|
public java.lang.Object clone() throws java.lang.CloneNotSupportedException
clone
in class QuadContentItem
java.lang.CloneNotSupportedException
public TextLabel.Alignment getAlignment()
public java.awt.Font getFont()
public java.lang.String getText()
public java.awt.Color getTextColour()
public void setAlignment(TextLabel.Alignment alignment)
alignment
- the new alignmentpublic void setFont(java.awt.Font font)
font
- the new fontpublic void setText(java.lang.String text)
text
- the new textpublic void setTextColour(java.awt.Color textColour)
textColour
- the new text colour
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |