Packagecom.flextoolbox.controls
Classpublic class InputWireJack
InheritanceInputWireJack Inheritance WireJack Inheritance mx.core.UIComponent

A specialized WireJack designed to receive data from compatible output jacks. It may only have one connection.

See also

OutputWireJack


Public Properties
 PropertyDefined by
 InheritedacceptedDataFormat : String
The dataFormat required for other jacks before they may connect to this jack.
WireJack
 InheritedclickToDrag : 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
 InheritedconnectedJacks : Array
The other jacks that are currently connected to this jack.
WireJack
 InheritedconnectionAngle : Number
The angle, in degrees, at which the wire enters or exits the jack.
WireJack
  data : Object
The data associated with this jack.
InputWireJack
 InheritedignoredJacks : 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
 InheritedwireManager : IWireManager
The IWireManager with which this jack is registered.
WireJack
Public Methods
 MethodDefined by
  
Constructor.
InputWireJack
 Inherited
connectToJack(otherJack:WireJack):Boolean
Creates a connection between this jack and another jack.
WireJack
 Inherited
disconnect(otherJack:WireJack):void
Destroys a connection between this jack and another jack.
WireJack
 Inherited
Destroys a connection between this jack and any other jacks that are connected to it.
WireJack
 Inherited
Determines if this jack is compatible with another jack.
WireJack
 Inherited
isConnectedToJack(otherJack:WireJack):Boolean
Checks if this jack is connected to another jack.
WireJack
Events
 EventSummaryDefined by
 Inherited Dispatched when a wire will soon connected to the WireJack instance.WireJack
 Inherited Dispatched when a wire is connected to the WireJack instance.WireJack
 Inherited Dispatched when the value of the data property of the WireJack changes.WireJack
 Inherited Dispatched when a connected wire is removed from the WireJack instance.WireJack
Styles
 StyleDescriptionDefined by
 Inherited Type: Class
The class used to create the drag image.
WireJack
 Inherited Type: String
If the dragImage supports styleNames, this value is used.
WireJack
 Inherited Type: Class
The class used for the WireJack's skin.
WireJack
Public Constants
 ConstantDefined by
 InheritedWIRE_JACK_DRAG_FORMAT : String = "flextoolbox::wireJack"
[static] The dragFormat used by wire jacks for drag and drop operations.
WireJack
Property detail
dataproperty
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
maxConnectionsproperty 
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
noDataValueproperty 
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.

Implementation
    public function get noDataValue():*
    public function set noDataValue(value:*):void
Constructor detail
InputWireJack()constructor
public function InputWireJack()

Constructor.