Developer Resources
StatusBarItem
Overview
The StatusBarItem represents an item on a statusbar.
Constructor
- StatusBar()
- StatusBar(width : Integer, text : String)
Arguments
- width
- The fixed width of the newly created item.
- text
- The default text for the newly created item.
Methods
- StatusBarItem.getText
- Gets the text of the status bar item.
- StatusBarItem.setStretchProportion
- Sets the proportional size of the status bar item.
- StatusBarItem.setText
- Sets the status bar item's text.
- StatusBarItem.setWidth
- Sets the width of the status bar item.
StatusBarItem.getText
- function StatusBarItem.getText() : String
Returns
Returns the text of the status bar item.
Description
Returns the text of the status bar item.
StatusBarItem.setStretchProportion
- function StatusBarItem.setStretchProportion(size : Integer)
Arguments
- value
- The proportional size of the status bar item, relative to all other proportional items.
Description
Sets the proportional size of the status bar item relative to all other proportional items.
StatusBarItem.setText
- function StatusBarItem.setText(text : String)
Arguments
- text
- The text to which to set the text of the status bar.
Description
Sets the status bar item's text.
StatusBarItem.setWidth
- function StatusBarItem.setWidth(width : Integer)
Arguments
- width
- The width to which to set the width of the status bar item.
Description
Sets the width of the status bar item.