Label
Description
Label
Located in /gui-toolkit/standard.php (line 1289)
GuiComponent | --GuiElement | --Format | --Label
Method Summary
void
enableAutonewline
()
boolean
getAutonewline
()
int
getMaxline
()
string
getText
()
string
getTextid
()
Methods
Constructor __construct (line 1305)
Label
__construct
([ $sizeX = 20], [ $sizeY = 3])
- $sizeX
- $sizeY
Redefinition of:
Redefined in descendants as:
enableAutonewline (line 1340)
Enables wraping the text into several lines if the line is too short
void
enableAutonewline
()
setMaxline (line 1332)
Sets the maximum number of lines to display
void
setMaxline
(int $maxline)
- int $maxline
setTextid (line 1323)
Sets the text Id for use with Manialink dictionaries
void
setTextid
( $textid)
- $textid
Inherited Methods
Inherited From Format
Format::__construct()
Format::getTextColor()
Format::getTextSize()
Format::setTextColor()
Format::setTextSize()
Inherited From GuiElement
GuiElement::__construct()
GuiElement::addLink()
GuiElement::addPlayerId()
GuiElement::getAction()
GuiElement::getActionKey()
GuiElement::getAddPlayerId()
GuiElement::getBgcolor()
GuiElement::getHalign()
GuiElement::getImage()
GuiElement::getImageFocus()
GuiElement::getImageFocusid()
GuiElement::getImageid()
GuiElement::getManialink()
GuiElement::getManiazone()
GuiElement::getStyle()
GuiElement::getSubStyle()
GuiElement::getUrl()
GuiElement::getValign()
GuiElement::hasLink()
GuiElement::save()
GuiElement::setAction()
GuiElement::setActionKey()
GuiElement::setAlign()
GuiElement::setBgcolor()
GuiElement::setHalign()
GuiElement::setImage()
GuiElement::setImageFocus()
GuiElement::setImageFocusid()
GuiElement::setImageid()
GuiElement::setManialink()
GuiElement::setManiazone()
GuiElement::setStyle()
GuiElement::setSubStyle()
GuiElement::setUrl()
GuiElement::setValign()
Inherited From GuiComponent
GuiComponent::getPosX()
GuiComponent::getPosY()
GuiComponent::getPosZ()
GuiComponent::getScale()
GuiComponent::getSizeX()
GuiComponent::getSizeY()
GuiComponent::setPosition()
GuiComponent::setPositionX()
GuiComponent::setPositionY()
GuiComponent::setPositionZ()
GuiComponent::setScale()
GuiComponent::setSize()
GuiComponent::setSizeX()
GuiComponent::setSizeY()
Class Constants
Inherited Constants
Inherited from Format
Format::TextButtonBig
Format::TextButtonMedium
Format::TextButtonNav
Format::TextButtonSmall
Format::TextCardInfoSmall
Format::TextCardMedium
Format::TextCardRaceRank
Format::TextCardScores2
Format::TextCardSmallScores2
Format::TextCardSmallScores2Rank
Format::TextChallengeNameMedal
Format::TextChallengeNameMedalNone
Format::TextChallengeNameMedium
Format::TextChallengeNameSmall
Format::TextCongratsBig
Format::TextCredits
Format::TextCreditsTitle
Format::TextInfoMedium
Format::TextInfoSmall
Format::TextPlayerCardName
Format::TextRaceChat
Format::TextRaceChrono
Format::TextRaceChronoError
Format::TextRaceChronoWarning
Format::TextRaceMessage
Format::TextRaceStaticSmall
Format::TextRaceValueSmall
Format::TextRankingsBig
Format::TextStaticMedium
Format::TextStaticSmall
Format::TextSubTitle1
Format::TextSubTitle2
Format::TextTips
Format::TextTitle1
Format::TextTitle2
Format::TextTitle2Blink
Format::TextTitle3
Format::TextTitleError
Format::TextValueBig
Format::TextValueMedium
Format::TextValueSmall
Inherited from GuiElement
GuiElement::USE_ABSOLUTE_URL