Package | ardisia.components.dockingCompassContainer |
Class | public class RegionDropTarget |
Inheritance | RegionDropTarget spark.components.supportClasses.SkinnableComponent |
Use the getHoveredDropTargetQuadrant() method to return which drop target is hovered (if any).
Property | Defined By | ||
---|---|---|---|
dockingEastEnabled : Boolean
True if regions can be dragged and docked to the east quadrant of this
region. | RegionDropTarget | ||
dockingNorthEnabled : Boolean
True if regions can be dragged and docked to the north quadrant of this
region. | RegionDropTarget | ||
dockingSouthEnabled : Boolean
True if regions can be dragged and docked to the south quadrant of this
region. | RegionDropTarget | ||
dockingWestEnabled : Boolean
True if regions can be dragged and docked to the west quadrant of this
region. | RegionDropTarget |
Method | Defined By | ||
---|---|---|---|
getHoveredDropTargetQuadrant():String
Return the hovered drop target compass direction string description. | RegionDropTarget | ||
update():void
Check if a drop target is hovered and update the skin state. | RegionDropTarget |
This component uses skins made up of skin parts. Do not set the skin parts directly. The component's skin sets the skin parts.
To skin the component, implement a skin that defines the following states. Although you must implement all skin states, a skin state can be empty. An empty skin state specifies no changes to the default skin state.
Skin State | Description | Defined By | ||
---|---|---|---|---|
eastOver | RegionDropTarget | |||
normal | RegionDropTarget | |||
northOver | RegionDropTarget | |||
southOver | RegionDropTarget | |||
westOver | RegionDropTarget |
dockingEastEnabled | property |
dockingEastEnabled:Boolean
True if regions can be dragged and docked to the east quadrant of this region.
Value only affects future docks, not past ones.
The default value is true
.
public function get dockingEastEnabled():Boolean
public function set dockingEastEnabled(value:Boolean):void
dockingNorthEnabled | property |
dockingNorthEnabled:Boolean
True if regions can be dragged and docked to the north quadrant of this region.
Value only affects future docks, not past ones.
The default value is true
.
public function get dockingNorthEnabled():Boolean
public function set dockingNorthEnabled(value:Boolean):void
dockingSouthEnabled | property |
dockingSouthEnabled:Boolean
True if regions can be dragged and docked to the south quadrant of this region.
Value only affects future docks, not past ones.
The default value is true
.
public function get dockingSouthEnabled():Boolean
public function set dockingSouthEnabled(value:Boolean):void
dockingWestEnabled | property |
dockingWestEnabled:Boolean
True if regions can be dragged and docked to the west quadrant of this region.
Value only affects future docks, not past ones.
The default value is true
.
public function get dockingWestEnabled():Boolean
public function set dockingWestEnabled(value:Boolean):void
getHoveredDropTargetQuadrant | () | method |
public function getHoveredDropTargetQuadrant():String
Return the hovered drop target compass direction string description.
ReturnsString — the Compass direction hovered (if any)
|
update | () | method |
public function update():void
Check if a drop target is hovered and update the skin state.