| Package | com.flextoolbox.controls |
| Class | public class InputWireJack |
| Inheritance | InputWireJack WireJack mx.core.UIComponent |
See also
| Property | Defined by | ||
|---|---|---|---|
![]() | acceptedDataFormat : String
The
dataFormat required for other jacks before they may
connect to this jack. | WireJack | |
![]() | clickToDrag : Boolean = false [static]
If
true, dragging a wire from one jack to other will be
initiated by a mouse click event on the first jack in addition to
the standard drag while the mouse is down. | WireJack | |
![]() | connectedJacks : Array
The other jacks that are currently connected to this jack.
| WireJack | |
![]() | connectionAngle : Number
The angle, in degrees, at which the wire enters or exits the jack.
| WireJack | |
| data : Object
The data associated with this jack.
| InputWireJack | ||
![]() | ignoredJacks : Array
A list of jacks that are always incompatible with this jack.
| WireJack | |
| maxConnections : uint
The maximum number of wires that may be connected to this jack.
| InputWireJack | ||
| noDataValue : *
When the InputWireJack is not connected to another jack, it still
must return a value for its data property.
| InputWireJack | ||
![]() | wireManager : IWireManager
The IWireManager with which this jack is registered.
| WireJack | |
| Method | Defined by | ||
|---|---|---|---|
|
Constructor.
| InputWireJack | ||
![]() |
connectToJack(otherJack:WireJack):Boolean
Creates a connection between this jack and another jack.
| WireJack | |
![]() |
disconnect(otherJack:WireJack):void
Destroys a connection between this jack and another jack.
| WireJack | |
![]() |
disconnectAll():void
Destroys a connection between this jack and any other jacks that are
connected to it.
| WireJack | |
![]() |
isCompatibleWithJack(jack:WireJack):Boolean
Determines if this jack is compatible with another jack.
| WireJack | |
![]() |
isConnectedToJack(otherJack:WireJack):Boolean
Checks if this jack is connected to another jack.
| WireJack | |
| data | property |
data:Object [read-write]
The data associated with this jack. The related dataFormat
property specifies the type of data that the jack may hold, although
this isn't enforced.
This property can be used as the source for data binding.
Implementation public function get data():Object
public function set data(value:Object):void
| maxConnections | property |
maxConnections:uint [read-write]The maximum number of wires that may be connected to this jack.
Implementation public function get maxConnections():uint
public function set maxConnections(value:uint):void
| noDataValue | property |
noDataValue:* [read-write]When the InputWireJack is not connected to another jack, it still must return a value for its data property.
If a jack should only receive a primitive type like Number then
a developer may prefer to set noDataValue to 0 (zero) or
NaN (not a number) rather than the default value of
null.
The default value is null.
public function get noDataValue():*
public function set noDataValue(value:*):void
| InputWireJack | () | constructor |
public function InputWireJack()Constructor.