Share

Share

List of Widget Methods

From Runes of Magic Wiki
Jump to: navigation, search

This is a list of the widget object classes and their associated methods. This list may not be complete.

Some methods may appear in multiple object classes. The latest version is the one that will be used.

The inherited classes are displayed in the order they are inherited in.

Layout[edit]

This is the base class for all UI component objects. This class cannot be created directly, but all other classes inherit from this class.

Methods
ClearAllAnchors
GetAlpha
GetAnchor
GetAnchorOffset
GetBottom
GetCenter
GetColor
GetHeight
GetLeft
GetName
GetParent
GetPos
GetRealScale
GetRealSize
GetRight
GetScale
GetSize
GetTop
GetWidth
Hide
IsVisible
Moving
SetAlpha
SetAnchor
SetColor
SetHeight
SetPos
SetScale
SetSize
SetWidth
Show


FontString[edit]

Class objects of this type are for handling text strings. One of only two objects that does not derive from the Frame class.

Methods
GetDisplayWidth
GetText
HideLastDot
IsDrawDot
SetFont
SetFontSize
SetJustifyHType
SetRTL
SetText
Inherits from
Layout

Texture[edit]

Class object to handle textures. Texture objects are not derive from the Frame class.

Methods
GetAnimationProgress
PlayAnimation
Reload
SetAlphaMode
SetAnimation
SetCooldown
SetFile
SetLuminance
SetMaskFile
SetRotate
SetTexCoord
SetTexture
Inherits from
Layout

Frame[edit]

The frame class object serves as the main building block for creating UI elements. Most UI components are derived from this class.

Methods
Disable
Enable
GetID
IsEnable
Locked
RegisterEvent
RegisterForClicks
RegisterForDrag
ResetFrameOrder
SetBackdrop
SetBackdropEdgeAlpha
SetBackdropEdgeColor
SetBackdropTileAlpha
SetBackdropTileColor
SetFrameLevel
SetFrameStrata
SetID
SetKeyboardEnable
SetLayers
SetMouseEnable
SetParent
SetScripts
StartMoving
StartSizing
StopMovingOrSizing
Unlocked
UnregisterEvent
Inherits from
Layout


Button[edit]

This class object handles generic buttons.

Methods
GetDisabledText
GetDisabledTexture
GetHighlightText
GetHighlightTexture
GetNormalText
GetNormalTexture
GetPushedTexture
GetText
GetTextHeight
GetTextWidth
IsButtonPushed
LockHighlight
LockPushed
SetDisabledTexture
SetHighlightTexture
SetNormalTexture
SetPushedTexture
SetText
SetTextAnchor
SetTextColor
UnlockHighlight
UnlockPushed
Inherits from
Frame
Layout


CheckButton[edit]

This class is for handling check boxes.

Methods
GetCheckedTexture
GetDisabledCheckTexture
IsChecked
SetChecked
Inherits from
Button
Frame
Layout


EditBox[edit]

This class object is for handling text editing windows and the like.

Methods
AddHistoryLine
ClearFocus
GetCaretColor
GetMultiFirstLine
GetMultiMaxLines
GetMultiRangeLines
GetNumber
GetText
HighlightText
InsertChar
InsertText
SetCaretColor
SetFocus
SetKeyboardInputEnable
SetMultiFirstLine
SetNumber
SetPasswordMode
SetPlaceCaret
SetRTL
SetText
SetTextColor
SetTextInset
Inherits from
Frame
Layout


MessageFrame[edit]

Class objects of this type are for handling message windows.

Methods
AddMessage
ClearText
EnableHyperlink
GetFontString
GetLines
GetPageLines
GetPosition
ResetTime
ScrollBottom
ScrollDown
ScrollTop
ScrollUp
SetFontSize
SetLineBytes
SetPosition
Inherits from
Frame
Layout


Model[edit]

This class is for creating and manipulating 3D model object displays such as the paperdoll in the equipment preview window.

Methods
Build
CanDyeFXColors
GetMaterialCount
InserLinkFrame
IsPaperdoll
PlayMotion
ReleaseModel
SetAlignmentFrames
SetCameraPosition
SetComponent
SetComponentColors
SetDefaultTexture
SetDummyFemale
SetDummyMale
SetDyeFXColors
SetGuildHouseBuilding
SetHanger
SetItemLink
SetMaskFile
SetModel
SetModelOffset
SetPet
SetPlayerModel
SetServant
SetServantHire
SetTargetBone
SetTargetRotate
SetUnit
TakeOffAll
TakeOffWeapon
Inherits from
Frame
Layout


RadioButton[edit]

Objects of this type are for creating and manipulating radio buttons. This class only has one native method, all other methods are derived from other classes.

Methods
GetGroupId
Inherits from
CheckButton
Button
Frame
Layout


ScrollFrame[edit]

Class object for handling scroll bars and the like.

Methods
GetHorizontalScroll
GetScrollRange
GetVerticalScroll
SetHorizontalScroll
SetScrollRange
SetVerticalScroll
UpdateScrollChildRect
Inherits from
Frame
Layout


Slider[edit]

This object is for handling a slider widgets.

Methods
GetMaxValue
GetMinMaxValues
GetMinValue
GetValue
GetValueStepMode
SetMaxValue
SetMinMaxValues
SetMinValue
SetValue
SetValueStepMode
Inherits from
Frame
Layout


StatusBar[edit]

Object class for handling status bars.

Methods
GetBarColor
GetMaxValue
GetMinValue
GetValue
SetBarColor
SetMaxValue
SetMinValue
SetValue
Inherits from
Frame
Layout


Tooltip[edit]

UI component class object for handling tooltips. This class has the largest set of methods of all.

Methods
AddDoubleLine
AddLine
AddSeparator
ClearLines
IsOwned
SetAbility
SetAccountBagItem
SetActionItem
SetAssignItem
SetAuctionBidItem
SetAuctionBrowseItem
SetAuctionItem
SetAuctionSellItem
SetBagItem
SetBankItem
SetBootyItem
SetBulletinBoardItem
SetCraftItem
SetCraftItemRuneHole
SetCraftQueueRequestItem
SetCraftRequestItem
SetEquipmentItem
SetExtraActionItem
SetFusionStone
SetHistoryItem
SetHouseItem
SetHyperLink
SetImplementActionItem
SetInboxItem
SetInventoryItem
SetItemMall
SetLootItem
SetMerchantItem
SetOwner
SetPartnerItem
SetPetActionItem
SetPetEquipmentItem
SetPetFeedFoodItem
SetPetFeedFoodItemTmp
SetPetProductItem
SetPetSkillItem
SetPetTalentSkillItem
SetQuestItem
SetRecipeStoreItem
SetRTL
SetRuneExChangeItem
SetSendMailItem
SetShoppingCartItem
SetSkillItem
SetSkillItem_LevelUp
SetStoreItem
SetSuitSkillEquipmentItem
SetSuitSkillListItem
SetSuitSkillPlateItem
SetSuitSkillSkillItem
SetText
SetTitle
SetTradePlayerItem
SetTradeTargetItem
SetUnitBuff
SetUnitDebuff
Inherits from
Frame
Layout