RadioButton

A radio button is an overlay usually used to represent an option in a set of options where the user can choose only one. The control is done using the Group ID property.

Method Summary
 niladdOverlay (Overlay toAdd)
 niladdRepresentation (representation toAdd)
 representationcopyOverlay (Overlay toClone, string name)
 OverlaycreateOverlay (string name, number type, MediaItem mediaitem, number x, number y, number sx, number sy)
 numbergetAlpha ()
 number, number, number, numbergetDisabledColour ()
 Object, string, InterModel, boolean, stringgetDragDropListener (string key)
 Object, string, InterModel, boolean, stringgetDragDropListener (string key, boolean ctrl, boolean alt, boolean shift)
 MediaItem, numbergetFont ()
 numbergetGroupId ()
 number, number, number, numbergetHoverColour ()
 stringgetID ()
 Object, string, InterModel, boolean, stringgetKeyPressedListener (string key)
 Object, string, InterModel, boolean, stringgetKeyPressedListener (string key, boolean ctrl, boolean alt, boolean shift)
 Object, string, InterModel, boolean, stringgetKeyReleasedListener (string key)
 Object, string, InterModel, boolean, stringgetKeyReleasedListener (string key, boolean ctrl, boolean alt, boolean shift)
 MediaItemgetLookFeel ()
 number, numbergetMaxSize ()
 number, numbergetMinSize ()
 Object, string, InterModel, boolean, stringgetMouseButtonClickedListener (number mousekey)
 Object, string, InterModel, boolean, stringgetMouseButtonClickedListener (number mousekey, boolean ctrl, boolean alt, boolean shift)
 Object, string, InterModel, boolean, stringgetMouseButtonDoubleClickedListener (number mousekey)
 Object, string, InterModel, boolean, stringgetMouseButtonDoubleClickedListener (number mousekey, boolean ctrl, boolean alt, boolean shift)
 Object, string, InterModel, boolean, stringgetMouseButtonPressedListener (number mousekey)
 Object, string, InterModel, boolean, stringgetMouseButtonPressedListener (number mousekey, boolean ctrl, boolean alt, boolean shift)
 Object, string, InterModel, boolean, stringgetMouseButtonReleasedListener (number mousekey)
 Object, string, InterModel, boolean, stringgetMouseButtonReleasedListener (number mousekey, boolean ctrl, boolean alt, boolean shift)
 Object, string, InterModel, boolean, stringgetMouseButtonTripleClickedListener (number mousekey)
 Object, string, InterModel, boolean, stringgetMouseButtonTripleClickedListener (number mousekey, boolean ctrl, boolean alt, boolean shift)
 stringgetMouseCursor (MediaItem cursorImage)
 Object, string, InterModel, boolean, stringgetMouseEnteredListener ()
 Object, string, InterModel, boolean, stringgetMouseEnteredListener (boolean ctrl, boolean alt, boolean shift)
 Object, string, InterModel, boolean, stringgetMouseLeftListener ()
 Object, string, InterModel, boolean, stringgetMouseLeftListener (boolean ctrl, boolean alt, boolean shift)
 Object, string, InterModel, boolean, stringgetMouseMovedListener ()
 Object, string, InterModel, boolean, stringgetMouseMovedListener (boolean ctrl, boolean alt, boolean shift)
 Object, string, InterModel, boolean, stringgetMouseWheelMovedListener (number mousekey)
 Object, string, InterModel, boolean, stringgetMouseWheelMovedListener (number mousekey, boolean ctrl, boolean alt, boolean shift)
 stringgetName ()
 OverlaygetOverlay (string name)
 array{}getOverlays ()
 numbergetOverlayType ()
 number, numbergetPosition ()
 number, number, number, numbergetPushedColour ()
 representationgetRepresentation (string name, number type)
 representationgetRepresentationContainer ()
 array{}getRepresentations ()
 Object, string, InterModel, boolean, stringgetSelectionChangedListener ()
 number, numbergetSize ()
 stringgetText ()
 number, number, number, numbergetTextColour ()
 numbergetType ()
 booleanhasDragDropListener (string key)
 booleanhasDragDropListener (string key, boolean ctrl, boolean alt, boolean shift)
 booleanhasKeyPressedListener (string key)
 booleanhasKeyPressedListener (string key, boolean ctrl, boolean alt, boolean shift)
 booleanhasKeyReleasedListener (string key)
 booleanhasKeyReleasedListener (string key, boolean ctrl, boolean alt, boolean shift)
 booleanhasMouseButtonClickedListener (number mousekey)
 booleanhasMouseButtonClickedListener (number mousekey, boolean ctrl, boolean alt, boolean shift)
 booleanhasMouseButtonDoubleClickedListener (number mousekey)
 booleanhasMouseButtonDoubleClickedListener (number mousekey, boolean ctrl, boolean alt, boolean shift)
 booleanhasMouseButtonPressedListener (number mousekey)
 booleanhasMouseButtonPressedListener (number mousekey, boolean ctrl, boolean alt, boolean shift)
 booleanhasMouseButtonReleasedListener (number mousekey)
 booleanhasMouseButtonReleasedListener (number mousekey, boolean ctrl, boolean alt, boolean shift)
 booleanhasMouseButtonTripleClickedListener (number mousekey)
 booleanhasMouseButtonTripleClickedListener (number mousekey, boolean ctrl, boolean alt, boolean shift)
 booleanhasMouseEnteredListener ()
 booleanhasMouseEnteredListener (boolean ctrl, boolean alt, boolean shift)
 booleanhasMouseLeftListener ()
 booleanhasMouseLeftListener (boolean ctrl, boolean alt, boolean shift)
 booleanhasMouseMovedListener ()
 booleanhasMouseMovedListener (boolean ctrl, boolean alt, boolean shift)
 booleanhasMouseWheelMovedListener (number mousekey)
 booleanhasMouseWheelMovedListener (number mousekey, boolean ctrl, boolean alt, boolean shift)
 booleanhasRepresentation (representation other)
 booleanhasRepresentation (string name, number type)
 booleanhasSelectionChangedListener ()
 booleanisEnabled ()
 booleanisInheritsAlpha ()
 booleanisOnTop ()
 booleanisPersistent ()
 booleanisVisible ()
 nilprint ()
 nilremoveAllOverlays ()
 nilremoveAllRepresentations ()
 nilremoveDragDropListener (string key)
 nilremoveDragDropListener (string key, boolean ctrl, boolean alt, boolean shift)
 nilremoveKeyPressedListener (string key)
 nilremoveKeyPressedListener (string key, boolean ctrl, boolean alt, boolean shift)
 nilremoveKeyReleasedListener (string key)
 nilremoveKeyReleasedListener (string key, boolean ctrl, boolean alt, boolean shift)
 nilremoveMouseButtonClickedListener (number mousekey)
 nilremoveMouseButtonClickedListener (number mousekey, boolean ctrl, boolean alt, boolean shift)
 nilremoveMouseButtonDoubleClickedListener (number mousekey)
 nilremoveMouseButtonDoubleClickedListener (number mousekey, boolean ctrl, boolean alt, boolean shift)
 nilremoveMouseButtonPressedListener (number mousekey)
 nilremoveMouseButtonPressedListener (number mousekey, boolean ctrl, boolean alt, boolean shift)
 nilremoveMouseButtonReleasedListener (number mousekey)
 nilremoveMouseButtonReleasedListener (number mousekey, boolean ctrl, boolean alt, boolean shift)
 nilremoveMouseButtonTripleClickedListener (number mousekey)
 nilremoveMouseButtonTripleClickedListener (number mousekey, boolean ctrl, boolean alt, boolean shift)
 nilremoveMouseEnteredListener ()
 nilremoveMouseEnteredListener (boolean ctrl, boolean alt, boolean shift)
 nilremoveMouseLeftListener ()
 nilremoveMouseLeftListener (boolean ctrl, boolean alt, boolean shift)
 nilremoveMouseMovedListener ()
 nilremoveMouseMovedListener (boolean ctrl, boolean alt, boolean shift)
 nilremoveMouseWheelMovedListener (number mousekey)
 nilremoveMouseWheelMovedListener (number mousekey, boolean ctrl, boolean alt, boolean shift)
 nilremoveOverlay (string name)
 nilremoveRepresentation (representation other)
 nilremoveRepresentation (string name, number type)
 nilremoveSelectionChangedListener ()
 nilsetAlpha (number The)
 nilsetDisabledColour (number r, number g, number b, number a)
 nilsetDragDropListener (number mousekey, Object target, string name, InterModel interactionModel)
 nilsetDragDropListener (number mousekey, Object target, string name, InterModel interactionModel, boolean ctrl, boolean alt, boolean shift, boolean global, string channel)
 nilsetEnabled (boolean enable)
 nilsetFont (MediaItem font, number size)
 nilsetGroupId (number groupID)
 nilsetHoverColour (number r, number g, number b, number a)
 nilsetInheritsAlpha (boolean inAlpha)
 nilsetKeyPressedListener (string key, Object target, string name, InterModel interactionModel)
 nilsetKeyPressedListener (string key, Object target, string name, InterModel interactionModel, boolean ctrl, boolean alt, boolean shift, boolean global, string channel)
 nilsetKeyReleasedListener (string key, Object target, string name, InterModel interactionModel)
 nilsetKeyReleasedListener (string key, Object target, string name, InterModel interactionModel, boolean ctrl, boolean alt, boolean shift, boolean global, string channel)
 nilsetMaxSize (number w, number h)
 nilsetMinSize (number w, number h)
 nilsetMouseButtonDoubleClickedListener (number mousekey, Object target, string name, InterModel interactionModel)
 nilsetMouseButtonDoubleClickedListener (number mousekey, Object target, string name, InterModel interactionModel, boolean ctrl, boolean alt, boolean shift, boolean global, string channel)
 nilsetMouseButtonPressedListener (number mousekey, Object target, string name, InterModel interactionModel)
 nilsetMouseButtonPressedListener (number mousekey, Object target, string name, InterModel interactionModel, boolean ctrl, boolean alt, boolean shift, boolean global, string channel)
 nilsetMouseButtonReleasedListener (number mousekey, Object target, string name, InterModel interactionModel)
 nilsetMouseButtonReleasedListener (number mousekey, Object target, string name, InterModel interactionModel, boolean ctrl, boolean alt, boolean shift, boolean global, string channel)
 nilsetMouseButtonTripleClickedListener (number mousekey, Object target, string name, InterModel interactionModel)
 nilsetMouseButtonTripleClickedListener (number mousekey, Object target, string name, InterModel interactionModel, boolean ctrl, boolean alt, boolean shift, boolean global, string channel)
 nilsetMouseCursor (MediaItem cursorImage, string imageName)
 nilsetMouseEnteredListener (Object target, string name, InterModel interactionModel)
 nilsetMouseEnteredListener (Object target, string name, InterModel interactionModel, boolean ctrl, boolean alt, boolean shift, boolean global, string channel)
 nilsetMouseLeftListener (Object target, string name, InterModel interactionModel)
 nilsetMouseLeftListener (Object target, string name, InterModel interactionModel, boolean ctrl, boolean alt, boolean shift, boolean global, string channel)
 nilsetMouseMovedListener (Object target, string name, InterModel interactionModel)
 nilsetMouseMovedListener (Object target, string name, InterModel interactionModel, boolean ctrl, boolean alt, boolean shift, boolean global, string channel)
 nilsetMouseWheelMovedListener (number mousekey, Object target, string name, InterModel interactionModel)
 nilsetMouseWheelMovedListener (number mousekey, Object target, string name, InterModel interactionModel, boolean ctrl, boolean alt, boolean shift, boolean global, string channel)
 nilsetOnTop (boolean onTop)
 nilsetPersistent (boolean persistent)
 nilsetPosition (number x, number y)
 nilsetPosition (number x, number y, bool Smooth)
 nilsetPushedColour (number r, number g, number b, number a)
 nilsetSelected (boolean state)
 nilsetSelectionChangedListener (Object target, string name, InterModel interactionModel)
 nilsetSelectionChangedListener (Object target, string name, InterModel interactionModel, boolean global, string channel)
 nilsetSize (number w, number h)
 nilsetSize (number w, number h, bool smooth)
 nilsetText (string text)
 nilsetTextColour (number r, number g, number b, number a)
 nilsetTooltip (string tooltip)
 nilsetVisible (boolean visible)
 nilsetVisible (boolean visible, bool smooth)

Method Detail

addOverlay

nil addOverlay (Overlay toAdd)
Moves an Overlay to this RadioButton.

Parameters:
Overlay toAdd - Overlay to be moved to this RadioButton.


addRepresentation

nil addRepresentation (representation toAdd)
Adds another representation to this representation.

Parameters:
representation toAdd - Representation to be added to this representation.


copyOverlay

representation copyOverlay (Overlay toClone, string name)
Clones an overlay to this RadioButton.

Parameters:
Overlay toClone - Overlay that will be cloned.
string name - Name of the new RadioButton.

Returns:
representation - The new RadioButton.


createOverlay

Overlay createOverlay (string name, number type, MediaItem mediaitem, number x, number y, number sx, number sy)
Adds an overlay to the RadioButton.

Parameters:
string name - Name of the overlay.
number type - Type of the Overlay: OVT_WINDOW, OVT_BUTTON, OVT_CHECK_BOX, OVT_COMBO_BOX, OVT_EDIT_BOX, OVT_MULTILINE_EDIT_BOX, OVT_PROGRESS_BAR, OVT_SPINNER, OVT_RADIO_BUTTON, OVT_SCROLL_BAR_VERT, OVT_SCROLL_BAR_HORZ, OVT_SLIDER_BAR, OVT_STATIC_TEXT, OVT_STATIC_IMAGE, OVT_TAB_PANE, OVT_LIST_BOX, OVT_MENU_BAR, OVT_MENU_ITEM, OVT_MENU_POPUP, OVT_MULTICOLUMN_LIST, OVT_CODE_EDIT_BOX, OVT_SCROLL_PANE, OVT_TOGGLE_BUTTON or OVT_TREE.
MediaItem mediaitem - Media Item of the look n' feel to be applied to the overlay.
number x - X coordinate of the position of the overlay.
number y - Y coordinate of the position of the overlay.
number sx - Width of the overlay.
number sy - Height of the overlay.

Returns:
Overlay - The new overlay.


getAlpha

number getAlpha ()
Gets the alpha level of the RadioButton.

Returns:
number - The transparency (alpha) level to be applied on the RadioButton (between 0 and 255).


getDisabledColour

number, number, number, number getDisabledColour ()
Returns the colour of the RadioButton's text when the RadioButton is disabled.

Returns:
number - Red colour value (between 0 and 255)
number - Green colour value (between 0 and 255)
number - Blue colour value (between 0 and 255)
number - Alpha value (between 0 and 255)


getDragDropListener

Object, string, InterModel, boolean, string getDragDropListener (string key)
Returns the 'drag and drop' listener of the RadioButton.

Parameters:
string key - The key that will trigger the event.

Returns:
Object - The object that contains the interaction that will be executed.
string - Name of the interaction.
InterModel - Arguments of the interaction that will be executed when this listener is activated.
boolean - 'True' if this listener is executed globally, 'false' if it is executed only locally.
string - The channel of the listener.


getDragDropListener

Object, string, InterModel, boolean, string getDragDropListener (string key, boolean ctrl, boolean alt, boolean shift)
Returns the 'drag and drop' listener of the RadioButton.

Parameters:
string key - The key that will trigger the event.
boolean ctrl - Whether the key combination includes the 'ctrl' modifier key.
boolean alt - Whether the key combination includes the 'alt' modifier key.
boolean shift - Whether the key combination includes the 'shift' modifier key.

Returns:
Object - The object that contains the interaction that will be executed.
string - Name of the interaction.
InterModel - Arguments of the interaction that will be executed when this listener is activated.
boolean - 'True' if this listener is executed globally, 'false' if it is executed only locally.
string - The channel of the listener.


getFont

MediaItem, number getFont ()
Returns the text font and size applied on the RadioButton.

Returns:
MediaItem - The text font applied on the RadioButton.
number - The size of the font applied on the RadioButton.


getGroupId

number getGroupId ()
Returns the ID of the RadioButton

Returns:
number - ID of the RadioButton


getHoverColour

number, number, number, number getHoverColour ()
Returns the colour of the RadioButton's text when the mouse is hovering it.

Returns:
number - Red colour value (between 0 and 255)
number - Green colour value (between 0 and 255)
number - Blue colour value (between 0 and 255)
number - Alpha value (between 0 and 255)


getID

string getID ()
Returns the representation ID.

Returns:
string - Representation ID.


getKeyPressedListener

Object, string, InterModel, boolean, string getKeyPressedListener (string key)
Returns the 'key pressed' listener of the RadioButton.

Parameters:
string key - The key that will trigger the event.

Returns:
Object - The object that contains the interaction that will be executed.
string - Name of the interaction.
InterModel - Arguments of the interaction that will be executed when this listener is activated.
boolean - 'True' if this listener is executed globally, 'false' if it is executed only locally.
string - The channel of the listener.


getKeyPressedListener

Object, string, InterModel, boolean, string getKeyPressedListener (string key, boolean ctrl, boolean alt, boolean shift)
Returns the 'key pressed' listener of the RadioButton.

Parameters:
string key - The key that will trigger the event.
boolean ctrl - Whether the key combination includes the 'ctrl' modifier key.
boolean alt - Whether the key combination includes the 'alt' modifier key.
boolean shift - Whether the key combination includes the 'shift' modifier key.

Returns:
Object - The object that contains the interaction that will be executed.
string - Name of the interaction.
InterModel - Arguments of the interaction that will be executed when this listener is activated.
boolean - 'True' if this listener is executed globally, 'false' if it is executed only locally.
string - The channel of the listener.


getKeyReleasedListener

Object, string, InterModel, boolean, string getKeyReleasedListener (string key)
Returns the 'key released' listener of the RadioButton.

Parameters:
string key - The key that will trigger the event.

Returns:
Object - The object that contains the interaction that will be executed.
string - Name of the interaction.
InterModel - Arguments of the interaction that will be executed when this listener is activated.
boolean - 'True' if this listener is executed globally, 'false' if it is executed only locally.
string - The channel of the listener.


getKeyReleasedListener

Object, string, InterModel, boolean, string getKeyReleasedListener (string key, boolean ctrl, boolean alt, boolean shift)
Returns the 'key released' listener of the RadioButton.

Parameters:
string key - The key that will trigger the event.
boolean ctrl - Whether the key combination includes the 'ctrl' modifier key.
boolean alt - Whether the key combination includes the 'alt' modifier key.
boolean shift - Whether the key combination includes the 'shift' modifier key.

Returns:
Object - The object that contains the interaction that will be executed.
string - Name of the interaction.
InterModel - Arguments of the interaction that will be executed when this listener is activated.
boolean - 'True' if this listener is executed globally, 'false' if it is executed only locally.
string - The channel of the listener.


getLookFeel

MediaItem getLookFeel ()
Returns the MediaItem of the RadioButton.

Returns:
MediaItem - The look 'n feel applied to the RadioButton.


getMaxSize

number, number getMaxSize ()
Gets the maximum size of the RadioButton.

Returns:
number - Maximum width of the RadioButton.
number - Maximum height of the RadioButton.


getMinSize

number, number getMinSize ()
Gets the minimum size of the RadioButton.

Returns:
number - Minimum width of the RadioButton.
number - Minimum height of the RadioButton.


getMouseButtonClickedListener

Object, string, InterModel, boolean, string getMouseButtonClickedListener (number mousekey)
Returns the 'mouse button clicked' listener of the RadioButton.

Parameters:
number mousekey - Mouse key that will trigger the event: MOUSE_BUTTON_LEFT, MOUSE_BUTTON_MIDDLE or MOUSE_BUTTON_RIGHT.

Returns:
Object - The object that contains the interaction that will be executed.
string - Name of the interaction.
InterModel - Arguments of the interaction that will be executed when this listener is activated.
boolean - 'True' if this listener is executed globally, 'false' if it is executed only locally.
string - The channel of the listener.


getMouseButtonClickedListener

Object, string, InterModel, boolean, string getMouseButtonClickedListener (number mousekey, boolean ctrl, boolean alt, boolean shift)
Returns the 'mouse button clicked' listener of the RadioButton.

Parameters:
number mousekey - Mouse key that will trigger the event: MOUSE_BUTTON_LEFT, MOUSE_BUTTON_MIDDLE or MOUSE_BUTTON_RIGHT.
boolean ctrl - Whether the key combination includes the 'ctrl' modifier key.
boolean alt - Whether the key combination includes the 'alt' modifier key.
boolean shift - Whether the key combination includes the 'shift' modifier key.

Returns:
Object - The object that contains the interaction that will be executed.
string - Name of the interaction.
InterModel - Arguments of the interaction that will be executed when this listener is activated.
boolean - 'True' if this listener is executed globally, 'false' if it is executed only locally.
string - The channel of the listener.


getMouseButtonDoubleClickedListener

Object, string, InterModel, boolean, string getMouseButtonDoubleClickedListener (number mousekey)
Returns the 'mouse button double clicked' listener of the RadioButton.

Parameters:
number mousekey - Mouse key that will trigger the event: MOUSE_BUTTON_LEFT, MOUSE_BUTTON_MIDDLE or MOUSE_BUTTON_RIGHT.

Returns:
Object - The object that contains the interaction that will be executed.
string - Name of the interaction.
InterModel - Arguments of the interaction that will be executed when this listener is activated.
boolean - 'True' if this listener is executed globally, 'false' if it is executed only locally.
string - The channel of the listener.


getMouseButtonDoubleClickedListener

Object, string, InterModel, boolean, string getMouseButtonDoubleClickedListener (number mousekey, boolean ctrl, boolean alt, boolean shift)
Returns the 'mouse button double clicked' listener of the RadioButton.

Parameters:
number mousekey - Mouse key that will trigger the event: MOUSE_BUTTON_LEFT, MOUSE_BUTTON_MIDDLE or MOUSE_BUTTON_RIGHT.
boolean ctrl - Whether the key combination includes the 'ctrl' modifier key.
boolean alt - Whether the key combination includes the 'alt' modifier key.
boolean shift - Whether the key combination includes the 'shift' modifier key.

Returns:
Object - The object that contains the interaction that will be executed.
string - Name of the interaction.
InterModel - Arguments of the interaction that will be executed when this listener is activated.
boolean - 'True' if this listener is executed globally, 'false' if it is executed only locally.
string - The channel of the listener.


getMouseButtonPressedListener

Object, string, InterModel, boolean, string getMouseButtonPressedListener (number mousekey)
Returns the 'mouse button pressed' listener of the RadioButton.

Parameters:
number mousekey - Mouse key that will trigger the event: MOUSE_BUTTON_LEFT, MOUSE_BUTTON_MIDDLE or MOUSE_BUTTON_RIGHT.

Returns:
Object - The object that contains the interaction that will be executed.
string - Name of the interaction.
InterModel - Arguments of the interaction that will be executed when this listener is activated.
boolean - 'True' if this listener is executed globally, 'false' if it is executed only locally.
string - The channel of the listener.


getMouseButtonPressedListener

Object, string, InterModel, boolean, string getMouseButtonPressedListener (number mousekey, boolean ctrl, boolean alt, boolean shift)
Returns the 'mouse button pressed' listener of the RadioButton.

Parameters:
number mousekey - Mouse key that will trigger the event: MOUSE_BUTTON_LEFT, MOUSE_BUTTON_MIDDLE or MOUSE_BUTTON_RIGHT.
boolean ctrl - Whether the key combination includes the 'ctrl' modifier key.
boolean alt - Whether the key combination includes the 'alt' modifier key.
boolean shift - Whether the key combination includes the 'shift' modifier key.

Returns:
Object - The object that contains the interaction that will be executed.
string - Name of the interaction.
InterModel - Arguments of the interaction that will be executed when this listener is activated.
boolean - 'True' if this listener is executed globally, 'false' if it is executed only locally.
string - The channel of the listener.


getMouseButtonReleasedListener

Object, string, InterModel, boolean, string getMouseButtonReleasedListener (number mousekey)
Returns the 'mouse button released' listener of the RadioButton.

Parameters:
number mousekey - Mouse key that will trigger the event: MOUSE_BUTTON_LEFT, MOUSE_BUTTON_MIDDLE or MOUSE_BUTTON_RIGHT.

Returns:
Object - The object that contains the interaction that will be executed.
string - Name of the interaction.
InterModel - Arguments of the interaction that will be executed when this listener is activated.
boolean - 'True' if this listener is executed globally, 'false' if it is executed only locally.
string - The channel of the listener.


getMouseButtonReleasedListener

Object, string, InterModel, boolean, string getMouseButtonReleasedListener (number mousekey, boolean ctrl, boolean alt, boolean shift)
Returns the 'mouse button released' listener of the RadioButton.

Parameters:
number mousekey - Mouse key that will trigger the event: MOUSE_BUTTON_LEFT, MOUSE_BUTTON_MIDDLE or MOUSE_BUTTON_RIGHT.
boolean ctrl - Whether the key combination includes the 'ctrl' modifier key.
boolean alt - Whether the key combination includes the 'alt' modifier key.
boolean shift - Whether the key combination includes the 'shift' modifier key.

Returns:
Object - The object that contains the interaction that will be executed.
string - Name of the interaction.
InterModel - Arguments of the interaction that will be executed when this listener is activated.
boolean - 'True' if this listener is executed globally, 'false' if it is executed only locally.
string - The channel of the listener.


getMouseButtonTripleClickedListener

Object, string, InterModel, boolean, string getMouseButtonTripleClickedListener (number mousekey)
Returns the 'mouse button triple clicked' listener of the RadioButton.

Parameters:
number mousekey - Mouse key that will trigger the event: MOUSE_BUTTON_LEFT, MOUSE_BUTTON_MIDDLE or MOUSE_BUTTON_RIGHT.

Returns:
Object - The object that contains the interaction that will be executed.
string - Name of the interaction.
InterModel - Arguments of the interaction that will be executed when this listener is activated.
boolean - 'True' if this listener is executed globally, 'false' if it is executed only locally.
string - The channel of the listener.


getMouseButtonTripleClickedListener

Object, string, InterModel, boolean, string getMouseButtonTripleClickedListener (number mousekey, boolean ctrl, boolean alt, boolean shift)
Returns the 'mouse button triple clicked' listener of the RadioButton.

Parameters:
number mousekey - Mouse key that will trigger the event: MOUSE_BUTTON_LEFT, MOUSE_BUTTON_MIDDLE or MOUSE_BUTTON_RIGHT.
boolean ctrl - Whether the key combination includes the 'ctrl' modifier key.
boolean alt - Whether the key combination includes the 'alt' modifier key.
boolean shift - Whether the key combination includes the 'shift' modifier key.

Returns:
Object - The object that contains the interaction that will be executed.
string - Name of the interaction.
InterModel - Arguments of the interaction that will be executed when this listener is activated.
boolean - 'True' if this listener is executed globally, 'false' if it is executed only locally.
string - The channel of the listener.


getMouseCursor

string getMouseCursor (MediaItem cursorImage)
Sets the image of the mouse cursor when over the RadioButton..

Parameters:
MediaItem cursorImage - Media Item containing the look n' feel of the cursor.

Returns:
string - The name of the image.


getMouseEnteredListener

Object, string, InterModel, boolean, string getMouseEnteredListener ()
Returns the 'mouse entered' listener of the RadioButton.

Returns:
Object - The object that contains the interaction that will be executed.
string - Name of the interaction.
InterModel - Arguments of the interaction that will be executed when this listener is activated.
boolean - 'True' if this listener is executed globally, 'false' if it is executed only locally.
string - The channel of the listener.


getMouseEnteredListener

Object, string, InterModel, boolean, string getMouseEnteredListener (boolean ctrl, boolean alt, boolean shift)
Returns the 'mouse entered' listener of the RadioButton.

Parameters:
boolean ctrl - Whether the key combination includes the 'ctrl' modifier key.
boolean alt - Whether the key combination includes the 'alt' modifier key.
boolean shift - Whether the key combination includes the 'shift' modifier key.

Returns:
Object - The object that contains the interaction that will be executed.
string - Name of the interaction.
InterModel - Arguments of the interaction that will be executed when this listener is activated.
boolean - 'True' if this listener is executed globally, 'false' if it is executed only locally.
string - The channel of the listener.


getMouseLeftListener

Object, string, InterModel, boolean, string getMouseLeftListener ()
Returns the 'mouse left' listener of the RadioButton.

Returns:
Object - The object that contains the interaction that will be executed.
string - Name of the interaction.
InterModel - Arguments of the interaction that will be executed when this listener is activated.
boolean - 'True' if this listener is executed globally, 'false' if it is executed only locally.
string - The channel of the listener.


getMouseLeftListener

Object, string, InterModel, boolean, string getMouseLeftListener (boolean ctrl, boolean alt, boolean shift)
Returns the 'mouse left' listener of the RadioButton.

Parameters:
boolean ctrl - Whether the key combination includes the 'ctrl' modifier key.
boolean alt - Whether the key combination includes the 'alt' modifier key.
boolean shift - Whether the key combination includes the 'shift' modifier key.

Returns:
Object - The object that contains the interaction that will be executed.
string - Name of the interaction.
InterModel - Arguments of the interaction that will be executed when this listener is activated.
boolean - 'True' if this listener is executed globally, 'false' if it is executed only locally.
string - The channel of the listener.


getMouseMovedListener

Object, string, InterModel, boolean, string getMouseMovedListener ()
Returns the 'mouse moved' listener of the RadioButton.

Returns:
Object - The object that contains the interaction that will be executed.
string - Name of the interaction.
InterModel - Arguments of the interaction that will be executed when this listener is activated.
boolean - 'True' if this listener is executed globally, 'false' if it is executed only locally.
string - The channel of the listener.


getMouseMovedListener

Object, string, InterModel, boolean, string getMouseMovedListener (boolean ctrl, boolean alt, boolean shift)
Returns the 'mouse moved' listener of the RadioButton.

Parameters:
boolean ctrl - Whether the key combination includes the 'ctrl' modifier key.
boolean alt - Whether the key combination includes the 'alt' modifier key.
boolean shift - Whether the key combination includes the 'shift' modifier key.

Returns:
Object - The object that contains the interaction that will be executed.
string - Name of the interaction.
InterModel - Arguments of the interaction that will be executed when this listener is activated.
boolean - 'True' if this listener is executed globally, 'false' if it is executed only locally.
string - The channel of the listener.


getMouseWheelMovedListener

Object, string, InterModel, boolean, string getMouseWheelMovedListener (number mousekey)
Returns the 'mouse wheel moved' listener of the RadioButton.

Parameters:
number mousekey - Mouse wheel movement that will trigger the event: MOUSE_WHEEL_DOWN or MOUSE_WHEEL_DOWN.

Returns:
Object - The object that contains the interaction that will be executed.
string - Name of the interaction.
InterModel - Arguments of the interaction that will be executed when this listener is activated.
boolean - 'True' if this listener is executed globally, 'false' if it is executed only locally.
string - The channel of the listener.


getMouseWheelMovedListener

Object, string, InterModel, boolean, string getMouseWheelMovedListener (number mousekey, boolean ctrl, boolean alt, boolean shift)
Returns the 'mouse wheel moved' listener of the RadioButton.

Parameters:
number mousekey - Mouse wheel movement that will trigger the event: MOUSE_WHEEL_DOWN or MOUSE_WHEEL_DOWN.
boolean ctrl - Whether the key combination includes the 'ctrl' modifier key.
boolean alt - Whether the key combination includes the 'alt' modifier key.
boolean shift - Whether the key combination includes the 'shift' modifier key.

Returns:
Object - The object that contains the interaction that will be executed.
string - Name of the interaction.
InterModel - Arguments of the interaction that will be executed when this listener is activated.
boolean - 'True' if this listener is executed globally, 'false' if it is executed only locally.
string - The channel of the listener.


getName

string getName ()
Returns the name of the RadioButton

Returns:
string - The name of the RadioButton


getOverlay

Overlay getOverlay (string name)
Returns an Overlay identified by name contained in this RadioButton.

Parameters:
string name - Name of the Overlay.

Returns:
Overlay - The child Overlay identified by name.


getOverlays

array{} getOverlays ()
Returns the Overlays contained in this RadioButton.

Returns:
array{} - Overlays contained in this RadioButton.


getOverlayType

number getOverlayType ()
Returns the type of the Overlay.

Returns:
number - The type of the Overlay: OVT_WINDOW, OVT_BUTTON, OVT_CHECK_BOX, OVT_COMBO_BOX, OVT_EDIT_BOX, OVT_MULTILINE_EDIT_BOX, OVT_PROGRESS_BAR, OVT_SPINNER, OVT_RADIO_BUTTON, OVT_SCROLL_BAR_VERT, OVT_SCROLL_BAR_HORZ, OVT_SLIDER_BAR, OVT_STATIC_TEXT, OVT_STATIC_IMAGE, OVT_TAB_PANE, OVT_LIST_BOX, OVT_MENU_BAR, OVT_MENU_ITEM, OVT_MENU_POPUP, OVT_MULTICOLUMN_LIST, OVT_CODE_EDIT_BOX, OVT_SCROLL_PANE, OVT_TOGGLE_BUTTON or OVT_TREE.


getPosition

number, number getPosition ()
Gets the position of the RadioButton.

Returns:
number - X coordinate of the position of the RadioButton.
number - Y coordinate of the position of the RadioButton.


getPushedColour

number, number, number, number getPushedColour ()
Returns the colour of the RadioButton's text when the RadioButton is pushed.

Returns:
number - Red colour value (between 0 and 255)
number - Green colour value (between 0 and 255)
number - Blue colour value (between 0 and 255)
number - Alpha value (between 0 and 255)


getRepresentation

representation getRepresentation (string name, number type)
Returns the contained representation with the specified name and type.

Parameters:
string name - The name of the contained representation.
number type - The type of the contained representation.

Returns:
representation - The contained representation with the specified name and type.


getRepresentationContainer

representation getRepresentationContainer ()
Returns the representation that contains this representation.

Returns:
representation - The representation that contains this representation.


getRepresentations

array{} getRepresentations ()
Returns an array of the contained representations.

Returns:
array{} - Array of the contained representations.


getSelectionChangedListener

Object, string, InterModel, boolean, string getSelectionChangedListener ()
Returns the 'selection changed' listener of the RadioButton.

Returns:
Object - The object that contains the interaction that will be executed.
string - Name of the interaction.
InterModel - Arguments of the interaction that will be executed when this listener is activated.
boolean - 'true' if this listener is executed globally, 'false' if it is executed only locally.
string - The channel of the listener.


getSize

number, number getSize ()
Gets the size of the RadioButton.

Returns:
number - Width of the RadioButton.
number - Height of the RadioButton.


getText

string getText ()
Gets the text of the RadioButton.

Returns:
string - The text of the RadioButton


getTextColour

number, number, number, number getTextColour ()
Returns the colour of the RadioButton's text.

Returns:
number - Red colour value (between 0 and 255)
number - Green colour value (between 0 and 255)
number - Blue colour value (between 0 and 255)
number - Alpha value (between 0 and 255)


getType

number getType ()
Returns the representation type:
2 - MODEL,
3 - LIGHT,
4 - EFFECT,
5 - PLANE,
6 - WATER,
7 - SOUND,
8 - TERRAIN_MESH_DECAL,
9 - TERRAIN_HIGHLIGHTING_DECAL,
10 - BILLBOARD,
11 - OVERLAY

Returns:
number - The type of the representation.


hasDragDropListener

boolean hasDragDropListener (string key)
Returns 'true' if the RadioButton has a listener for the 'drag and drop' event, otherwise 'false'.

Parameters:
string key - The key that will trigger the event when released.

Returns:
boolean - 'True' if the RadioButton has a listener for the 'drag and drop' event, otherwise 'false'.


hasDragDropListener

boolean hasDragDropListener (string key, boolean ctrl, boolean alt, boolean shift)
Returns 'true' if the RadioButton has a listener for the 'drag and drop' event, otherwise 'false'.

Parameters:
string key - The key that will trigger the event when released.
boolean ctrl - Whether the key combination includes the 'ctrl' modifier key.
boolean alt - Whether the key combination includes the 'alt' modifier key.
boolean shift - Whether the key combination includes the 'shift' modifier key.

Returns:
boolean - 'True' if the RadioButton has a listener for the 'drag and drop' event, otherwise 'false'.


hasKeyPressedListener

boolean hasKeyPressedListener (string key)
Returns 'true' if the RadioButton has a listener for the 'key pressed' event, otherwise 'false'.

Parameters:
string key - The key that will trigger the event.

Returns:
boolean - 'True' if the RadioButton has a listener for the 'key pressed' event, otherwise 'false'.


hasKeyPressedListener

boolean hasKeyPressedListener (string key, boolean ctrl, boolean alt, boolean shift)
Returns 'true' if the RadioButton has a listener for the 'key pressed' event, otherwise 'false'.

Parameters:
string key - The key that will trigger the event.
boolean ctrl - Whether the key combination includes the 'ctrl' modifier key.
boolean alt - Whether the key combination includes the 'alt' modifier key.
boolean shift - Whether the key combination includes the 'shift' modifier key.

Returns:
boolean - 'True' if the RadioButton has a listener for the 'key pressed' event, otherwise 'false'.


hasKeyReleasedListener

boolean hasKeyReleasedListener (string key)
Returns 'true' if the RadioButton has a listener for the 'key released' event, otherwise 'false'.

Parameters:
string key - The key that will trigger the event when released.

Returns:
boolean - 'True' if the RadioButton has a listener for the 'key released' event, otherwise 'false'.


hasKeyReleasedListener

boolean hasKeyReleasedListener (string key, boolean ctrl, boolean alt, boolean shift)
Returns 'true' if the RadioButton has a listener for the 'key released' event, otherwise 'false'.

Parameters:
string key - The key that will trigger the event when released.
boolean ctrl - Whether the key combination includes the 'ctrl' modifier key.
boolean alt - Whether the key combination includes the 'alt' modifier key.
boolean shift - Whether the key combination includes the 'shift' modifier key.

Returns:
boolean - 'True' if the RadioButton has a listener for the 'key released' event, otherwise 'false'.


hasMouseButtonClickedListener

boolean hasMouseButtonClickedListener (number mousekey)
Returns 'true' if the RadioButton has a listener for the 'button clicked' event, otherwise 'false'.

Parameters:
number mousekey - Mouse key that will trigger the event: MOUSE_BUTTON_LEFT, MOUSE_BUTTON_MIDDLE or MOUSE_BUTTON_RIGHT.

Returns:
boolean - 'True' if the RadioButton has a listener for the 'button clicked' event, otherwise 'false'.


hasMouseButtonClickedListener

boolean hasMouseButtonClickedListener (number mousekey, boolean ctrl, boolean alt, boolean shift)
Returns 'true' if the RadioButton has a listener for the 'button clicked' event, otherwise 'false'.

Parameters:
number mousekey - Mouse key that will trigger the event: MOUSE_BUTTON_LEFT, MOUSE_BUTTON_MIDDLE or MOUSE_BUTTON_RIGHT.
boolean ctrl - Whether the key combination includes the 'ctrl' modifier key.
boolean alt - Whether the key combination includes the 'alt' modifier key.
boolean shift - Whether the key combination includes the 'shift' modifier key.

Returns:
boolean - 'True' if the RadioButton has a listener for the 'button clicked' event, otherwise 'false'.


hasMouseButtonDoubleClickedListener

boolean hasMouseButtonDoubleClickedListener (number mousekey)
Returns 'true' if the RadioButton has a listener for the 'button double clicked' event, otherwise 'false'.

Parameters:
number mousekey - Mouse key that will trigger the event: MOUSE_BUTTON_LEFT, MOUSE_BUTTON_MIDDLE or MOUSE_BUTTON_RIGHT.

Returns:
boolean - 'True' if the RadioButton has a listener for the 'button double clicked' event, otherwise 'false'.


hasMouseButtonDoubleClickedListener

boolean hasMouseButtonDoubleClickedListener (number mousekey, boolean ctrl, boolean alt, boolean shift)
Returns 'true' if the RadioButton has a listener for the 'button double clicked' event, otherwise 'false'.

Parameters:
number mousekey - Mouse key that will trigger the event: MOUSE_BUTTON_LEFT, MOUSE_BUTTON_MIDDLE or MOUSE_BUTTON_RIGHT.
boolean ctrl - Whether the key combination includes the 'ctrl' modifier key.
boolean alt - Whether the key combination includes the 'alt' modifier key.
boolean shift - Whether the key combination includes the 'shift' modifier key.

Returns:
boolean - 'True' if the RadioButton has a listener for the 'button double clicked' event, otherwise 'false'.


hasMouseButtonPressedListener

boolean hasMouseButtonPressedListener (number mousekey)
Returns 'true' if the RadioButton has a listener for the 'button pressed' event, otherwise 'false'.

Parameters:
number mousekey - Mouse key that will trigger the event: MOUSE_BUTTON_LEFT, MOUSE_BUTTON_MIDDLE or MOUSE_BUTTON_RIGHT.

Returns:
boolean - 'True' if the RadioButton has a listener for the 'button pressed' event, otherwise 'false'.


hasMouseButtonPressedListener

boolean hasMouseButtonPressedListener (number mousekey, boolean ctrl, boolean alt, boolean shift)
Returns 'true' if the RadioButton has a listener for the 'button pressed' event, otherwise 'false'.

Parameters:
number mousekey - Mouse key that will trigger the event: MOUSE_BUTTON_LEFT, MOUSE_BUTTON_MIDDLE or MOUSE_BUTTON_RIGHT.
boolean ctrl - Whether the key combination includes the 'ctrl' modifier key.
boolean alt - Whether the key combination includes the 'alt' modifier key.
boolean shift - Whether the key combination includes the 'shift' modifier key.

Returns:
boolean - 'True' if the RadioButton has a listener for the 'button pressed' event, otherwise 'false'.


hasMouseButtonReleasedListener

boolean hasMouseButtonReleasedListener (number mousekey)
Returns 'true' if the RadioButton has a listener for the 'button released' event, otherwise 'false'.

Parameters:
number mousekey - Mouse key that will trigger the event: MOUSE_BUTTON_LEFT, MOUSE_BUTTON_MIDDLE or MOUSE_BUTTON_RIGHT.

Returns:
boolean - 'True' if the RadioButton has a listener for the 'button released' event, otherwise 'false'.


hasMouseButtonReleasedListener

boolean hasMouseButtonReleasedListener (number mousekey, boolean ctrl, boolean alt, boolean shift)
Returns 'true' if the RadioButton has a listener for the 'button released' event, otherwise 'false'.

Parameters:
number mousekey - Mouse key that will trigger the event: MOUSE_BUTTON_LEFT, MOUSE_BUTTON_MIDDLE or MOUSE_BUTTON_RIGHT.
boolean ctrl - Whether the key combination includes the 'ctrl' modifier key.
boolean alt - Whether the key combination includes the 'alt' modifier key.
boolean shift - Whether the key combination includes the 'shift' modifier key.

Returns:
boolean - 'True' if the RadioButton has a listener for the 'button released' event, otherwise 'false'.


hasMouseButtonTripleClickedListener

boolean hasMouseButtonTripleClickedListener (number mousekey)
Returns 'true' if the RadioButton has a listener for the 'button triple clicked' event, otherwise 'false'.

Parameters:
number mousekey - Mouse key that will trigger the event: MOUSE_BUTTON_LEFT, MOUSE_BUTTON_MIDDLE or MOUSE_BUTTON_RIGHT.

Returns:
boolean - 'True' if the RadioButton has a listener for the 'button triple clicked' event, otherwise 'false'.


hasMouseButtonTripleClickedListener

boolean hasMouseButtonTripleClickedListener (number mousekey, boolean ctrl, boolean alt, boolean shift)
Returns 'true' if the RadioButton has a listener for the 'button triple clicked' event, otherwise 'false'.

Parameters:
number mousekey - Mouse key that will trigger the event: MOUSE_BUTTON_LEFT, MOUSE_BUTTON_MIDDLE or MOUSE_BUTTON_RIGHT.
boolean ctrl - Whether the key combination includes the 'ctrl' modifier key.
boolean alt - Whether the key combination includes the 'alt' modifier key.
boolean shift - Whether the key combination includes the 'shift' modifier key.

Returns:
boolean - 'True' if the RadioButton has a listener for the 'button triple clicked' event, otherwise 'false'.


hasMouseEnteredListener

boolean hasMouseEnteredListener ()
Returns 'true' if the RadioButton has a listener for the 'mouse entered' event, otherwise 'false'.

Returns:
boolean - 'True' if the RadioButton has a listener for the 'mouse entered' event, otherwise 'false'.


hasMouseEnteredListener

boolean hasMouseEnteredListener (boolean ctrl, boolean alt, boolean shift)
Returns 'true' if the RadioButton has a listener for the 'mouse entered' event, otherwise 'false'.

Parameters:
boolean ctrl - Whether the key combination includes the 'ctrl' modifier key.
boolean alt - Whether the key combination includes the 'alt' modifier key.
boolean shift - Whether the key combination includes the 'shift' modifier key.

Returns:
boolean - 'True' if the RadioButton has a listener for the 'mouse entered' event, otherwise 'false'.


hasMouseLeftListener

boolean hasMouseLeftListener ()
Returns 'true' if the RadioButton has a listener for the 'mouse left' event, otherwise 'false'.

Returns:
boolean - 'True' if the RadioButton has a listener for the 'mouse left' event, otherwise 'false'.


hasMouseLeftListener

boolean hasMouseLeftListener (boolean ctrl, boolean alt, boolean shift)
Returns 'true' if the RadioButton has a listener for the 'mouse left' event, otherwise 'false'.

Parameters:
boolean ctrl - Whether the key combination includes the 'ctrl' modifier key.
boolean alt - Whether the key combination includes the 'alt' modifier key.
boolean shift - Whether the key combination includes the 'shift' modifier key.

Returns:
boolean - 'True' if the RadioButton has a listener for the 'mouse left' event, otherwise 'false'.


hasMouseMovedListener

boolean hasMouseMovedListener ()
Returns 'true' if the RadioButton has a listener for the 'mouse moved' event, otherwise 'false'.

Returns:
boolean - 'True' if the RadioButton has a listener for the 'mouse moved' event, otherwise 'false'.


hasMouseMovedListener

boolean hasMouseMovedListener (boolean ctrl, boolean alt, boolean shift)
Returns 'true' if the RadioButton has a listener for the 'mouse moved' event, otherwise 'false'.

Parameters:
boolean ctrl - Whether the key combination includes the 'ctrl' modifier key.
boolean alt - Whether the key combination includes the 'alt' modifier key.
boolean shift - Whether the key combination includes the 'shift' modifier key.

Returns:
boolean - 'True' if the RadioButton has a listener for the 'mouse moved' event, otherwise 'false'.


hasMouseWheelMovedListener

boolean hasMouseWheelMovedListener (number mousekey)
Returns 'true' if the RadioButton has a listener for the 'mouse wheel moved' event, otherwise 'false'.

Parameters:
number mousekey - Mouse wheel movement that will trigger the event: MOUSE_WHEEL_DOWN or MOUSE_WHEEL_DOWN.

Returns:
boolean - 'True' if the RadioButton has a listener for the 'mouse wheel moved' event, otherwise 'false'.


hasMouseWheelMovedListener

boolean hasMouseWheelMovedListener (number mousekey, boolean ctrl, boolean alt, boolean shift)
Returns 'true' if the RadioButton has a listener for the 'mouse wheel moved' event, otherwise 'false'.

Parameters:
number mousekey - Mouse wheel movement that will trigger the event: MOUSE_WHEEL_DOWN or MOUSE_WHEEL_DOWN.
boolean ctrl - Whether the key combination includes the 'ctrl' modifier key.
boolean alt - Whether the key combination includes the 'alt' modifier key.
boolean shift - Whether the key combination includes the 'shift' modifier key.

Returns:
boolean - 'True' if the RadioButton has a listener for the 'mouse wheel moved' event, otherwise 'false'.


hasRepresentation

boolean hasRepresentation (representation other)
Returns 'true' if this representation has the other representation, otherwise 'false'.

Parameters:
representation other - The other representation.

Returns:
boolean - 'True' if this representation has the other representation, otherwise 'false'.


hasRepresentation

boolean hasRepresentation (string name, number type)
Returns 'true' if this representation has another representation with the specified name and type, otherwise 'false'.

Parameters:
string name - Name of the representation.
number type - Type of the representation

Returns:
boolean - 'True' if this representation has another representation with the specified name and type, otherwise 'false'.


hasSelectionChangedListener

boolean hasSelectionChangedListener ()
Returns 'true' if the RadioButton has a 'selection changed' listener, otherwise 'false'.

Returns:
boolean - 'True' if the RadioButton has a 'selection changed' listener, otherwise 'false'.


isEnabled

boolean isEnabled ()
Returns 'true' if the RadioButton is enabled, otherwise 'false'.

Returns:
boolean - 'True' if the RadioButton is enabled, otherwise 'false'.


isInheritsAlpha

boolean isInheritsAlpha ()
Returns 'true' if the RadioButton is set to inherit the alpha level from its parent, otherwise 'false'.

Returns:
boolean - 'True' if the RadioButton is set to inherit the alpha level from its parent, otherwise 'false'.


isOnTop

boolean isOnTop ()
Returns 'true' if the RadioButton is set to show on top, otherwise 'false'.

Returns:
boolean - 'True' if the RadioButton is set to show on top, otherwise 'false'.


isPersistent

boolean isPersistent ()
Returns true if the representation is persistent, false otherwise.

Returns:
boolean - Whether the RadioButton is persistent or not.


isVisible

boolean isVisible ()
Returns 'true' if the representation is visible, 'false' otherwise.

Returns:
boolean - Whether the RadioButton is visible or not.


print

nil print ()
Prints the RadioButton data and attributes to the console.


removeAllOverlays

nil removeAllOverlays ()
Removes all Overlays contained in this RadioButton.


removeAllRepresentations

nil removeAllRepresentations ()
Removes all representations contained in this representation.


removeDragDropListener

nil removeDragDropListener (string key)
Removes the listener for the 'drag and drop' event on the RadioButton.

Parameters:
string key - The key that will trigger the event.


removeDragDropListener

nil removeDragDropListener (string key, boolean ctrl, boolean alt, boolean shift)
Removes the listener for the 'drag and drop' event on the RadioButton.

Parameters:
string key - The key that will trigger the event.
boolean ctrl - Whether the key combination includes the 'ctrl' modifier key.
boolean alt - Whether the key combination includes the 'alt' modifier key.
boolean shift - Whether the key combination includes the 'shift' modifier key.


removeKeyPressedListener

nil removeKeyPressedListener (string key)
Removes the listener for the 'key pressed' event on the RadioButton.

Parameters:
string key - The key that will trigger the event.


removeKeyPressedListener

nil removeKeyPressedListener (string key, boolean ctrl, boolean alt, boolean shift)
Removes the listener for the 'key pressed' event on the RadioButton.

Parameters:
string key - The key that will trigger the event.
boolean ctrl - Whether the key combination includes the 'ctrl' modifier key.
boolean alt - Whether the key combination includes the 'alt' modifier key.
boolean shift - Whether the key combination includes the 'shift' modifier key.


removeKeyReleasedListener

nil removeKeyReleasedListener (string key)
Removes the listener for the 'key released' event on the RadioButton.

Parameters:
string key - The key that will trigger the event.


removeKeyReleasedListener

nil removeKeyReleasedListener (string key, boolean ctrl, boolean alt, boolean shift)
Removes the listener for the 'key released' event on the RadioButton.

Parameters:
string key - The key that will trigger the event.
boolean ctrl - Whether the key combination includes the 'ctrl' modifier key.
boolean alt - Whether the key combination includes the 'alt' modifier key.
boolean shift - Whether the key combination includes the 'shift' modifier key.


removeMouseButtonClickedListener

nil removeMouseButtonClickedListener (number mousekey)
Removes the 'mouse button clicked' event listener of the RadioButton.

Parameters:
number mousekey - Mouse key that will trigger the event: MOUSE_BUTTON_LEFT, MOUSE_BUTTON_MIDDLE or MOUSE_BUTTON_RIGHT.


removeMouseButtonClickedListener

nil removeMouseButtonClickedListener (number mousekey, boolean ctrl, boolean alt, boolean shift)
Removes the 'mouse button clicked' event listener of the RadioButton.

Parameters:
number mousekey - Mouse key that will trigger the event: MOUSE_BUTTON_LEFT, MOUSE_BUTTON_MIDDLE or MOUSE_BUTTON_RIGHT.
boolean ctrl - Whether the key combination includes the 'ctrl' modifier key.
boolean alt - Whether the key combination includes the 'alt' modifier key.
boolean shift - Whether the key combination includes the 'shift' modifier key.


removeMouseButtonDoubleClickedListener

nil removeMouseButtonDoubleClickedListener (number mousekey)
Removes the 'mouse button double clicked' event listener of the RadioButton.

Parameters:
number mousekey - Mouse key that will trigger the event: MOUSE_BUTTON_LEFT, MOUSE_BUTTON_MIDDLE or MOUSE_BUTTON_RIGHT.


removeMouseButtonDoubleClickedListener

nil removeMouseButtonDoubleClickedListener (number mousekey, boolean ctrl, boolean alt, boolean shift)
Removes the 'mouse button double clicked' event listener of the RadioButton.

Parameters:
number mousekey - Mouse key that will trigger the event: MOUSE_BUTTON_LEFT, MOUSE_BUTTON_MIDDLE or MOUSE_BUTTON_RIGHT.
boolean ctrl - Whether the key combination includes the 'ctrl' modifier key.
boolean alt - Whether the key combination includes the 'alt' modifier key.
boolean shift - Whether the key combination includes the 'shift' modifier key.


removeMouseButtonPressedListener

nil removeMouseButtonPressedListener (number mousekey)
Removes the 'mouse button pressed' event listener of the RadioButton.

Parameters:
number mousekey - Mouse key that will trigger the event: MOUSE_BUTTON_LEFT, MOUSE_BUTTON_MIDDLE or MOUSE_BUTTON_RIGHT.


removeMouseButtonPressedListener

nil removeMouseButtonPressedListener (number mousekey, boolean ctrl, boolean alt, boolean shift)
Removes the 'mouse button pressed' event listener of the RadioButton.

Parameters:
number mousekey - Mouse key that will trigger the event: MOUSE_BUTTON_LEFT, MOUSE_BUTTON_MIDDLE or MOUSE_BUTTON_RIGHT.
boolean ctrl - Whether the key combination includes the 'ctrl' modifier key.
boolean alt - Whether the key combination includes the 'alt' modifier key.
boolean shift - Whether the key combination includes the 'shift' modifier key.


removeMouseButtonReleasedListener

nil removeMouseButtonReleasedListener (number mousekey)
Removes the 'mouse button released' event listener of the RadioButton.

Parameters:
number mousekey - Mouse key that will trigger the event: MOUSE_BUTTON_LEFT, MOUSE_BUTTON_MIDDLE or MOUSE_BUTTON_RIGHT.


removeMouseButtonReleasedListener

nil removeMouseButtonReleasedListener (number mousekey, boolean ctrl, boolean alt, boolean shift)
Removes the 'mouse button released' event listener of the RadioButton.

Parameters:
number mousekey - Mouse key that will trigger the event: MOUSE_BUTTON_LEFT, MOUSE_BUTTON_MIDDLE or MOUSE_BUTTON_RIGHT.
boolean ctrl - Whether the key combination includes the 'ctrl' modifier key.
boolean alt - Whether the key combination includes the 'alt' modifier key.
boolean shift - Whether the key combination includes the 'shift' modifier key.


removeMouseButtonTripleClickedListener

nil removeMouseButtonTripleClickedListener (number mousekey)
Removes the 'mouse button triple clicked' event listener of the RadioButton.

Parameters:
number mousekey - Mouse key that will trigger the event: MOUSE_BUTTON_LEFT, MOUSE_BUTTON_MIDDLE or MOUSE_BUTTON_RIGHT.


removeMouseButtonTripleClickedListener

nil removeMouseButtonTripleClickedListener (number mousekey, boolean ctrl, boolean alt, boolean shift)
Removes the 'mouse button triple clicked' event listener of the RadioButton.

Parameters:
number mousekey - Mouse key that will trigger the event: MOUSE_BUTTON_LEFT, MOUSE_BUTTON_MIDDLE or MOUSE_BUTTON_RIGHT.
boolean ctrl - Whether the key combination includes the 'ctrl' modifier key.
boolean alt - Whether the key combination includes the 'alt' modifier key.
boolean shift - Whether the key combination includes the 'shift' modifier key.


removeMouseEnteredListener

nil removeMouseEnteredListener ()
Removes the 'mouse entered' event listener of the RadioButton.


removeMouseEnteredListener

nil removeMouseEnteredListener (boolean ctrl, boolean alt, boolean shift)
Removes the 'mouse entered' event listener of the RadioButton.

Parameters:
boolean ctrl - Whether the key combination includes the 'ctrl' modifier key.
boolean alt - Whether the key combination includes the 'alt' modifier key.
boolean shift - Whether the key combination includes the 'shift' modifier key.


removeMouseLeftListener

nil removeMouseLeftListener ()
Removes the 'mouse left' event listener of the RadioButton.


removeMouseLeftListener

nil removeMouseLeftListener (boolean ctrl, boolean alt, boolean shift)
Removes the 'mouse left' event listener of the RadioButton.

Parameters:
boolean ctrl - Whether the key combination includes the 'ctrl' modifier key.
boolean alt - Whether the key combination includes the 'alt' modifier key.
boolean shift - Whether the key combination includes the 'shift' modifier key.


removeMouseMovedListener

nil removeMouseMovedListener ()
Removes the 'mouse moved' event listener of the RadioButton.


removeMouseMovedListener

nil removeMouseMovedListener (boolean ctrl, boolean alt, boolean shift)
Removes the 'mouse moved' event listener of the RadioButton.

Parameters:
boolean ctrl - Whether the key combination includes the 'ctrl' modifier key.
boolean alt - Whether the key combination includes the 'alt' modifier key.
boolean shift - Whether the key combination includes the 'shift' modifier key.


removeMouseWheelMovedListener

nil removeMouseWheelMovedListener (number mousekey)
Removes the 'mouse wheel moved' event listener of the RadioButton.

Parameters:
number mousekey - Mouse wheel movement that will trigger the event: MOUSE_WHEEL_DOWN or MOUSE_WHEEL_DOWN.


removeMouseWheelMovedListener

nil removeMouseWheelMovedListener (number mousekey, boolean ctrl, boolean alt, boolean shift)
Removes the 'mouse wheel moved' event listener of the RadioButton.

Parameters:
number mousekey - Mouse wheel movement that will trigger the event: MOUSE_WHEEL_DOWN or MOUSE_WHEEL_DOWN.
boolean ctrl - Whether the key combination includes the 'ctrl' modifier key.
boolean alt - Whether the key combination includes the 'alt' modifier key.
boolean shift - Whether the key combination includes the 'shift' modifier key.


removeOverlay

nil removeOverlay (string name)
Removes an Overlay identified by name contained in this RadioButton.

Parameters:
string name - Name of the Overlay.


removeRepresentation

nil removeRepresentation (representation other)
Removes a representation from this representation.

Parameters:
representation other - The representation to be removed.


removeRepresentation

nil removeRepresentation (string name, number type)
Removes a representation with the specified name and type from this representation.

Parameters:
string name - Name of the representation.
number type - Type of the representation


removeSelectionChangedListener

nil removeSelectionChangedListener ()
Removes the 'selection changed' listener from the RadioButton.


setAlpha

nil setAlpha (number The)
Sets the alpha level of the RadioButton.

Parameters:
number The - new transparency (alpha) level to be applied on the RadioButton (between 0 and 255).


setDisabledColour

nil setDisabledColour (number r, number g, number b, number a)
Changes the colour of the RadioButton's text when the RadioButton is disabled.

Parameters:
number r - Red Colour value (between 0 and 255).
number g - Green Colour value (between 0 and 255).
number b - Blue Colour value (between 0 and 255).
number a - Alpha value (between 0 and 255).


setDragDropListener

nil setDragDropListener (number mousekey, Object target, string name, InterModel interactionModel)
Sets a listener to be invoked upon a 'drag and drop' event on the RadioButton.

Parameters:
number mousekey - Mouse key that will trigger the event: MOUSE_BUTTON_LEFT, MOUSE_BUTTON_MIDDLE or MOUSE_BUTTON_RIGHT.
Object target - The object that contains the interaction that will be executed.
string name - Name of the interaction.
InterModel interactionModel - Arguments of the interaction that will be executed when this listener is activated.


setDragDropListener

nil setDragDropListener (number mousekey, Object target, string name, InterModel interactionModel, boolean ctrl, boolean alt, boolean shift, boolean global, string channel)
Sets a listener to be invoked upon a 'drag and drop' event on the RadioButton.

Parameters:
number mousekey - Mouse key that will trigger the event: MOUSE_BUTTON_LEFT, MOUSE_BUTTON_MIDDLE or MOUSE_BUTTON_RIGHT.
Object target - The object that contains the interaction that will be executed.
string name - Name of the interaction.
InterModel interactionModel - Arguments of the interaction that will be executed when this listener is activated.
boolean ctrl - Whether the key combination includes the 'ctrl' modifier key.
boolean alt - Whether the key combination includes the 'alt' modifier key.
boolean shift - Whether the key combination includes the 'shift' modifier key.
boolean global - 'true' if this listener is executed globally, 'false' if it is executed only locally.
string channel - The channel of the listener.


setEnabled

nil setEnabled (boolean enable)
Enables or disables the RadioButton.

Parameters:
boolean enable - 'True' if the RadioButton is enabled, otherwise 'false'.


setFont

nil setFont (MediaItem font, number size)
Changes the text font to be applied on the RadioButton.

Parameters:
MediaItem font - The Media Item containing the font for the RadioButton.
number size - The size of the font.


setGroupId

nil setGroupId (number groupID)
Sets the ID of the RadioButton.
The RadioButton will only allow one selected RadioButton per ID.

Parameters:
number groupID - ID of the RadioButton.


setHoverColour

nil setHoverColour (number r, number g, number b, number a)
Changes the colour of the RadioButton's text when the mouse is hovering it.

Parameters:
number r - Red Colour value (between 0 and 255).
number g - Green Colour value (between 0 and 255).
number b - Blue Colour value (between 0 and 255).
number a - Alpha value (between 0 and 255).


setInheritsAlpha

nil setInheritsAlpha (boolean inAlpha)
Sets whether the RadioButton inherits the alpha level from the parent component of not.

Parameters:
boolean inAlpha - Whether the RadioButton inherits the alpha level from the parent component of not.


setKeyPressedListener

nil setKeyPressedListener (string key, Object target, string name, InterModel interactionModel)
Sets a listener to be invoked upon a 'key pressed' event on the RadioButton.

Parameters:
string key - The key that will trigger the event.
Object target - The object that contains the interaction that will be executed.
string name - Name of the interaction.
InterModel interactionModel - Arguments of the interaction that will be executed when this listener is activated.


setKeyPressedListener

nil setKeyPressedListener (string key, Object target, string name, InterModel interactionModel, boolean ctrl, boolean alt, boolean shift, boolean global, string channel)
Sets a listener to be invoked upon a 'key pressed' event on the RadioButton.

Parameters:
string key - The key that will trigger the event.
Object target - The object that contains the interaction that will be executed.
string name - Name of the interaction.
InterModel interactionModel - Arguments of the interaction that will be executed when this listener is activated.
boolean ctrl - Whether the key combination includes the 'ctrl' modifier key.
boolean alt - Whether the key combination includes the 'alt' modifier key.
boolean shift - Whether the key combination includes the 'shift' modifier key.
boolean global - 'true' if this listener is executed globally, 'false' if it is executed only locally.
string channel - The channel of the listener.


setKeyReleasedListener

nil setKeyReleasedListener (string key, Object target, string name, InterModel interactionModel)
Sets a listener to be invoked upon a 'key released' event on the RadioButton.

Parameters:
string key - The key that will trigger the event when released.
Object target - The object that contains the interaction that will be executed.
string name - Name of the interaction.
InterModel interactionModel - Arguments of the interaction that will be executed when this listener is activated.


setKeyReleasedListener

nil setKeyReleasedListener (string key, Object target, string name, InterModel interactionModel, boolean ctrl, boolean alt, boolean shift, boolean global, string channel)
Sets a listener to be invoked upon a 'key released' event on the RadioButton.

Parameters:
string key - The key that will trigger the event when released.
Object target - The object that contains the interaction that will be executed.
string name - Name of the interaction.
InterModel interactionModel - Arguments of the interaction that will be executed when this listener is activated.
boolean ctrl - Whether the key combination includes the 'ctrl' modifier key.
boolean alt - Whether the key combination includes the 'alt' modifier key.
boolean shift - Whether the key combination includes the 'shift' modifier key.
boolean global - 'true' if this listener is executed globally, 'false' if it is executed only locally.
string channel - The channel of the listener.


setMaxSize

nil setMaxSize (number w, number h)
Sets the maximum size of the RadioButton.

Parameters:
number w - Maximum width of the RadioButton.
number h - Maximum height of the RadioButton.


setMinSize

nil setMinSize (number w, number h)
Sets the minimum size of the RadioButton.

Parameters:
number w - Minimum width of the RadioButton.
number h - Minimum height of the RadioButton.


setMouseButtonDoubleClickedListener

nil setMouseButtonDoubleClickedListener (number mousekey, Object target, string name, InterModel interactionModel)
Sets a listener to be invoked upon a 'mouse button double clicked' event on the RadioButton.

Parameters:
number mousekey - Mouse key that will trigger the event: MOUSE_BUTTON_LEFT, MOUSE_BUTTON_MIDDLE or MOUSE_BUTTON_RIGHT.
Object target - The object that contains the interaction that will be executed.
string name - Name of the interaction.
InterModel interactionModel - Arguments of the interaction that will be executed when this listener is activated.


setMouseButtonDoubleClickedListener

nil setMouseButtonDoubleClickedListener (number mousekey, Object target, string name, InterModel interactionModel, boolean ctrl, boolean alt, boolean shift, boolean global, string channel)
Sets a listener to be invoked upon a 'mouse button double clicked' event on the RadioButton.

Parameters:
number mousekey - Mouse key that will trigger the event: MOUSE_BUTTON_LEFT, MOUSE_BUTTON_MIDDLE or MOUSE_BUTTON_RIGHT.
Object target - The object that contains the interaction that will be executed.
string name - Name of the interaction.
InterModel interactionModel - Arguments of the interaction that will be executed when this listener is activated.
boolean ctrl - Whether the key combination includes the 'ctrl' modifier key.
boolean alt - Whether the key combination includes the 'alt' modifier key.
boolean shift - Whether the key combination includes the 'shift' modifier key.
boolean global - 'true' if this listener is executed globally, 'false' if it is executed only locally.
string channel - The channel of the listener.


setMouseButtonPressedListener

nil setMouseButtonPressedListener (number mousekey, Object target, string name, InterModel interactionModel)
Sets a listener to be invoked upon a 'mouse button pressed' event on the RadioButton.

Parameters:
number mousekey - Mouse key that will trigger the event: MOUSE_BUTTON_LEFT, MOUSE_BUTTON_MIDDLE or MOUSE_BUTTON_RIGHT.
Object target - The object that contains the interaction that will be executed.
string name - Name of the interaction.
InterModel interactionModel - Arguments of the interaction that will be executed when this listener is activated.


setMouseButtonPressedListener

nil setMouseButtonPressedListener (number mousekey, Object target, string name, InterModel interactionModel, boolean ctrl, boolean alt, boolean shift, boolean global, string channel)
Sets a listener to be invoked upon a 'mouse button pressed' event on the RadioButton.

Parameters:
number mousekey - Mouse key that will trigger the event: MOUSE_BUTTON_LEFT, MOUSE_BUTTON_MIDDLE or MOUSE_BUTTON_RIGHT.
Object target - The object that contains the interaction that will be executed.
string name - Name of the interaction.
InterModel interactionModel - Arguments of the interaction that will be executed when this listener is activated.
boolean ctrl - Whether the key combination includes the 'ctrl' modifier key.
boolean alt - Whether the key combination includes the 'alt' modifier key.
boolean shift - Whether the key combination includes the 'shift' modifier key.
boolean global - 'true' if this listener is executed globally, 'false' if it is executed only locally.
string channel - The channel of the listener.


setMouseButtonReleasedListener

nil setMouseButtonReleasedListener (number mousekey, Object target, string name, InterModel interactionModel)
Sets a listener to be invoked upon a 'mouse button released' event on the RadioButton.

Parameters:
number mousekey - Mouse key that will trigger the event: MOUSE_BUTTON_LEFT, MOUSE_BUTTON_MIDDLE or MOUSE_BUTTON_RIGHT.
Object target - The object that contains the interaction that will be executed.
string name - Name of the interaction.
InterModel interactionModel - Arguments of the interaction that will be executed when this listener is activated.


setMouseButtonReleasedListener

nil setMouseButtonReleasedListener (number mousekey, Object target, string name, InterModel interactionModel, boolean ctrl, boolean alt, boolean shift, boolean global, string channel)
Sets a listener to be invoked upon a 'mouse button released' event on the RadioButton.

Parameters:
number mousekey - Mouse key that will trigger the event: MOUSE_BUTTON_LEFT, MOUSE_BUTTON_MIDDLE or MOUSE_BUTTON_RIGHT.
Object target - The object that contains the interaction that will be executed.
string name - Name of the interaction.
InterModel interactionModel - Arguments of the interaction that will be executed when this listener is activated.
boolean ctrl - Whether the key combination includes the 'ctrl' modifier key.
boolean alt - Whether the key combination includes the 'alt' modifier key.
boolean shift - Whether the key combination includes the 'shift' modifier key.
boolean global - 'true' if this listener is executed globally, 'false' if it is executed only locally.
string channel - The channel of the listener.


setMouseButtonTripleClickedListener

nil setMouseButtonTripleClickedListener (number mousekey, Object target, string name, InterModel interactionModel)
Sets a listener to be invoked upon a 'mouse button triple clicked' event on the RadioButton.

Parameters:
number mousekey - Mouse key that will trigger the event: MOUSE_BUTTON_LEFT, MOUSE_BUTTON_MIDDLE or MOUSE_BUTTON_RIGHT.
Object target - The object that contains the interaction that will be executed.
string name - Name of the interaction.
InterModel interactionModel - Arguments of the interaction that will be executed when this listener is activated.


setMouseButtonTripleClickedListener

nil setMouseButtonTripleClickedListener (number mousekey, Object target, string name, InterModel interactionModel, boolean ctrl, boolean alt, boolean shift, boolean global, string channel)
Sets a listener to be invoked upon a 'mouse button triple clicked' event on the RadioButton.

Parameters:
number mousekey - Mouse key that will trigger the event: MOUSE_BUTTON_LEFT, MOUSE_BUTTON_MIDDLE or MOUSE_BUTTON_RIGHT.
Object target - The object that contains the interaction that will be executed.
string name - Name of the interaction.
InterModel interactionModel - Arguments of the interaction that will be executed when this listener is activated.
boolean ctrl - Whether the key combination includes the 'ctrl' modifier key.
boolean alt - Whether the key combination includes the 'alt' modifier key.
boolean shift - Whether the key combination includes the 'shift' modifier key.
boolean global - 'true' if this listener is executed globally, 'false' if it is executed only locally.
string channel - The channel of the listener.


setMouseCursor

nil setMouseCursor (MediaItem cursorImage, string imageName)
Sets an image to the mouse cursor when over the RadioButton..

Parameters:
MediaItem cursorImage - Media Item containing the look n' feel for the cursor.
string imageName - Name of the image to apply.


setMouseEnteredListener

nil setMouseEnteredListener (Object target, string name, InterModel interactionModel)
Sets a listener to be invoked upon a 'mouse enter' event on the RadioButton.

Parameters:
Object target - The object that contains the interaction that will be executed.
string name - Name of the interaction.
InterModel interactionModel - Arguments of the interaction that will be executed when this listener is activated.


setMouseEnteredListener

nil setMouseEnteredListener (Object target, string name, InterModel interactionModel, boolean ctrl, boolean alt, boolean shift, boolean global, string channel)
Sets a listener to be invoked upon a 'mouse enter' event on the RadioButton.

Parameters:
Object target - The object that contains the interaction that will be executed.
string name - Name of the interaction.
InterModel interactionModel - Arguments of the interaction that will be executed when this listener is activated.
boolean ctrl - Whether the key combination includes the 'ctrl' modifier key.
boolean alt - Whether the key combination includes the 'alt' modifier key.
boolean shift - Whether the key combination includes the 'shift' modifier key.
boolean global - 'true' if this listener is executed globally, 'false' if it is executed only locally.
string channel - The channel of the listener.


setMouseLeftListener

nil setMouseLeftListener (Object target, string name, InterModel interactionModel)
Sets a listener to be invoked upon a 'mouse leave' event on the RadioButton.

Parameters:
Object target - The object that contains the interaction that will be executed.
string name - Name of the interaction.
InterModel interactionModel - Arguments of the interaction that will be executed when this listener is activated.


setMouseLeftListener

nil setMouseLeftListener (Object target, string name, InterModel interactionModel, boolean ctrl, boolean alt, boolean shift, boolean global, string channel)
Sets a listener to be invoked upon a 'mouse leave' event on the RadioButton.

Parameters:
Object target - The object that contains the interaction that will be executed.
string name - Name of the interaction.
InterModel interactionModel - Arguments of the interaction that will be executed when this listener is activated.
boolean ctrl - Whether the key combination includes the 'ctrl' modifier key.
boolean alt - Whether the key combination includes the 'alt' modifier key.
boolean shift - Whether the key combination includes the 'shift' modifier key.
boolean global - 'true' if this listener is executed globally, 'false' if it is executed only locally.
string channel - The channel of the listener.


setMouseMovedListener

nil setMouseMovedListener (Object target, string name, InterModel interactionModel)
Sets a listener to be invoked upon a 'mouse move' event on the RadioButton.

Parameters:
Object target - The object that contains the interaction that will be executed.
string name - Name of the interaction.
InterModel interactionModel - Arguments of the interaction that will be executed when this listener is activated.


setMouseMovedListener

nil setMouseMovedListener (Object target, string name, InterModel interactionModel, boolean ctrl, boolean alt, boolean shift, boolean global, string channel)
Sets a listener to be invoked upon a 'mouse move' event on the RadioButton.

Parameters:
Object target - The object that contains the interaction that will be executed.
string name - Name of the interaction.
InterModel interactionModel - Arguments of the interaction that will be executed when this listener is activated.
boolean ctrl - Whether the key combination includes the 'ctrl' modifier key.
boolean alt - Whether the key combination includes the 'alt' modifier key.
boolean shift - Whether the key combination includes the 'shift' modifier key.
boolean global - 'true' if this listener is executed globally, 'false' if it is executed only locally.
string channel - The channel of the listener.


setMouseWheelMovedListener

nil setMouseWheelMovedListener (number mousekey, Object target, string name, InterModel interactionModel)
Sets a listener to be invoked upon a 'mouse wheel moved' event on the RadioButton.

Parameters:
number mousekey - Mouse wheel movement that will trigger the event: MOUSE_WHEEL_DOWN or MOUSE_WHEEL_DOWN.
Object target - The object that contains the interaction that will be executed.
string name - Name of the interaction.
InterModel interactionModel - Arguments of the interaction that will be executed when this listener is activated.


setMouseWheelMovedListener

nil setMouseWheelMovedListener (number mousekey, Object target, string name, InterModel interactionModel, boolean ctrl, boolean alt, boolean shift, boolean global, string channel)
Sets a listener to be invoked upon a 'mouse wheel moved' event on the RadioButton.

Parameters:
number mousekey - Mouse wheel movement that will trigger the event: MOUSE_WHEEL_DOWN or MOUSE_WHEEL_DOWN.
Object target - The object that contains the interaction that will be executed.
string name - Name of the interaction.
InterModel interactionModel - Arguments of the interaction that will be executed when this listener is activated.
boolean ctrl - Whether the key combination includes the 'ctrl' modifier key.
boolean alt - Whether the key combination includes the 'alt' modifier key.
boolean shift - Whether the key combination includes the 'shift' modifier key.
boolean global - 'true' if this listener is executed globally, 'false' if it is executed only locally.
string channel - The channel of the listener.


setOnTop

nil setOnTop (boolean onTop)
Sets the RadioButton to show on top or not.

Parameters:
boolean onTop - Whether the RadioButton is set to show on top or not.


setPersistent

nil setPersistent (boolean persistent)
Makes the RadioButton persistent or not persistent.

Parameters:
boolean persistent - Whether the RadioButton is persistent or not.


setPosition

nil setPosition (number x, number y)
Sets the position of the RadioButton without a smooth transition.

Parameters:
number x - X coordinate of the position of the RadioButton.
number y - Y coordinate of the position of the RadioButton.


setPosition

nil setPosition (number x, number y, bool Smooth)
Sets the position of the RadioButton.

Parameters:
number x - X coordinate of the position of the RadioButton.
number y - Y coordinate of the position of the RadioButton.
bool Smooth - Whether the position changes with a smooth transition.


setPushedColour

nil setPushedColour (number r, number g, number b, number a)
Changes the colour of the RadioButton's text when the RadioButton is pushed.

Parameters:
number r - Red Colour value (between 0 and 255).
number g - Green Colour value (between 0 and 255).
number b - Blue Colour value (between 0 and 255).
number a - Alpha value (between 0 and 255).


setSelected

nil setSelected (boolean state)
Selects or deselects the RadioButton.

Parameters:
boolean state - 'True' to select the RadioButton, 'false' to deselect it.


setSelectionChangedListener

nil setSelectionChangedListener (Object target, string name, InterModel interactionModel)
Sets a listener to be invoked upon a 'selection changed' event on the RadioButton.

Parameters:
Object target - The object that contains the interaction that will be executed.
string name - Name of the interaction.
InterModel interactionModel - Arguments of the interaction that will be executed when this listener is activated.


setSelectionChangedListener

nil setSelectionChangedListener (Object target, string name, InterModel interactionModel, boolean global, string channel)
Sets a listener to be invoked upon a 'selection changed' event on the RadioButton.

Parameters:
Object target - The object that contains the interaction that will be executed.
string name - Name of the interaction.
InterModel interactionModel - Arguments of the interaction that will be executed when this listener is activated.
boolean global - 'true' if this listener is executed globally, 'false' if it is executed only locally.
string channel - The channel of the listener.


setSize

nil setSize (number w, number h)
Sets the size of the RadioButton without a smooth transition.

Parameters:
number w - Width of the RadioButton.
number h - Height of the RadioButton.


setSize

nil setSize (number w, number h, bool smooth)
Sets the size of the RadioButton.

Parameters:
number w - Width of the RadioButton.
number h - Height of the RadioButton.
bool smooth - Whether the size changes with a smooth transition.


setText

nil setText (string text)
Sets the text of the RadioButton.

Parameters:
string text - The text of the RadioButton


setTextColour

nil setTextColour (number r, number g, number b, number a)
Changes the colour of the RadioButton's text.

Parameters:
number r - Red Colour value (between 0 and 255).
number g - Green Colour value (between 0 and 255).
number b - Blue Colour value (between 0 and 255).
number a - Alpha value (between 0 and 255).


setTooltip

nil setTooltip (string tooltip)
Sets the tooltip text of the RadioButton.

Parameters:
string tooltip - The new tooltip text.


setVisible

nil setVisible (boolean visible)
Makes the RadioButton visible or invisible without a smooth transition.

Parameters:
boolean visible - Whether the RadioButton is visible or not.


setVisible

nil setVisible (boolean visible, bool smooth)
Makes the RadioButton visible or invisible.

Parameters:
boolean visible - Whether the RadioButton is visible or not.
bool smooth - Whether the RadioButton appears or disappears smoothly.