Package | de.popforge.fui.controls |
Class | public class Knob |
Inheritance | Knob ![]() ![]() |
Implements | IParameterBindable |
Property | Defined by | ||
---|---|---|---|
![]() | _cols : uint
The columns of the component in tiles.
| FuiComponent | |
grip : DisplayObject | Knob | ||
mouseOrigin : Number | Knob | ||
parameter : Parameter | Knob | ||
![]() | _rows : uint
The rows of the component in tiles.
| FuiComponent | |
![]() | _tag : XML
The tag that has been used to define this component.
| FuiComponent | |
![]() | targetHeight : uint
The height in pixels (
_rows * tileSize ). | FuiComponent | |
![]() | targetWidth : uint
The width in pixels (
_cols * tileSize ). | FuiComponent | |
![]() | tileSize : uint
The tile size used to render this component.
| FuiComponent | |
valueOrigin : Number | Knob |
Method | Defined by | ||
---|---|---|---|
Knob | |||
disconnect():void
| Knob | ||
dispose():void
| Knob | ||
toString():String
| Knob |
Method | Defined by | ||
---|---|---|---|
build():void
| Knob | ||
![]() |
debugBounds():void
Draws the bounds of the component given by tile size and components size in tiles.
| FuiComponent | |
![]() |
maskComponent():void
Masks the component using the exact width and height calculated
using the tile size and components size in tiles.
| FuiComponent | |
onMouseDown(event:MouseEvent):void
| Knob | ||
onParameterChanged(parameter:Parameter, oldValue:*, newValue:*):void
| Knob | ||
onStageMouseMove(event:MouseEvent):void
| Knob | ||
onStageMouseUp(event:MouseEvent):void
| Knob | ||
releaseParameter():void
| Knob | ||
valueToRotation(normalizedValue:Number):Number
| Knob |
grip | property |
protected var grip:DisplayObject
mouseOrigin | property |
protected var mouseOrigin:Number
parameter | property |
protected var parameter:Parameter
valueOrigin | property |
protected var valueOrigin:Number
build | () | method |
protected override function build():void
connect | () | method |
disconnect | () | method |
public function disconnect():void
dispose | () | method |
public override function dispose():void
onMouseDown | () | method |
protected function onMouseDown(event:MouseEvent):void
Parameters
event:MouseEvent |
onParameterChanged | () | method |
protected function onParameterChanged(parameter:Parameter, oldValue:*, newValue:*):void
Parameters
parameter:Parameter |
|
oldValue:* |
|
newValue:* |
onStageMouseMove | () | method |
protected function onStageMouseMove(event:MouseEvent):void
Parameters
event:MouseEvent |
onStageMouseUp | () | method |
protected function onStageMouseUp(event:MouseEvent):void
Parameters
event:MouseEvent |
releaseParameter | () | method |
protected function releaseParameter():void
toString | () | method |
public override function toString():String
Returns
String |
valueToRotation | () | method |
protected function valueToRotation(normalizedValue:Number):Number
Parameters
normalizedValue:Number |
Number |