Package | ardisia.components.dockingCompassContainer |
Class | public class DockingCompassContainer |
Inheritance | DockingCompassContainer ![]() ![]() |
View the technical documentation on the Ardisia Labs website for more information.
Default MXML PropertycenterContent
Property | Defined By | ||
---|---|---|---|
![]() | animationDuration : Number
The duration of animations for the minimize/maximize animations. | CompassContainerBase | |
![]() | centerContent : Array [write-only]
Array of MXML content to add to the center region. | CompassContainerBase | |
![]() | centerRegionInstance : CompassRegionContainer | CompassContainerBase | |
![]() | centerRegionTitle : String
The title to display in the header for the center region if the header
is displayed. | CompassContainerBase | |
![]() | easer : IEaser
The easer to use for the minimize/maximize fade animation. | CompassContainerBase | |
![]() | eastCanBeClosed : Boolean
True if the east region can be closed via mouse interaction. | CompassContainerBase | |
![]() | eastCanBeMinimized : Boolean
True if the east region can be minimized via mouse interaction. | CompassContainerBase | |
![]() | eastContent : Array [write-only]
Array of MXML content to add to the east region. | CompassContainerBase | |
![]() | eastRegionInstance : CompassRegionContainer | CompassContainerBase | |
![]() | eastRegionTitle : String
The title to display in the header for the east region if the header
is displayed. | CompassContainerBase | |
![]() | eastResizeLocked : Boolean
True to prevent the region from being resized via user interaction. | CompassContainerBase | |
eastTopLevelDropTarget : TopLevelDropTarget | DockingCompassContainer | ||
![]() | eastWidth : Number
Explicit width of the east region. | CompassContainerBase | |
![]() | maxEastWidth : Number
The maximum allowed size of the east region. | CompassContainerBase | |
![]() | maxNorthHeight : Number
The maximum allowed size of the north region. | CompassContainerBase | |
![]() | maxSouthHeight : Number
The maximum allowed size of the south region. | CompassContainerBase | |
![]() | maxWestWidth : Number
The maximum allowed size of the west region. | CompassContainerBase | |
![]() | minEastWidth : Number
The minimum allowed size of the east region. | CompassContainerBase | |
![]() | minNorthHeight : Number
The minimum allowed size of the north region. | CompassContainerBase | |
![]() | minSouthHeight : Number
The minimum allowed size of the south region. | CompassContainerBase | |
![]() | minWestWidth : Number
The minimum allowed size of the west region. | CompassContainerBase | |
![]() | northCanBeClosed : Boolean
True if the north region can be closed via mouse interaction. | CompassContainerBase | |
![]() | northCanBeMinimized : Boolean
True if the north region can be minimized via mouse interaction. | CompassContainerBase | |
![]() | northContent : Array [write-only]
Array of MXML content to add to the north region. | CompassContainerBase | |
![]() | northHeight : Number
Explicit height of the north region. | CompassContainerBase | |
![]() | northRegionInstance : CompassRegionContainer | CompassContainerBase | |
![]() | northRegionTitle : String
The title to display in the header for the north region if the header
is displayed. | CompassContainerBase | |
![]() | northResizeLocked : Boolean
True to prevent the region from being resized via user interaction. | CompassContainerBase | |
northTopLevelDropTarget : TopLevelDropTarget | DockingCompassContainer | ||
regionDropTargetInstance : RegionDropTarget | DockingCompassContainer | ||
![]() | showCenterChrome : Boolean
True to display the chrome for the center region. | CompassContainerBase | |
![]() | showEastChrome : Boolean
True to display the chrome for the east region. | CompassContainerBase | |
![]() | showNorthChrome : Boolean
True to display the chrome for the north region. | CompassContainerBase | |
![]() | showSouthChrome : Boolean
True to display the chrome for the south region. | CompassContainerBase | |
![]() | showWestChrome : Boolean
True to display the chrome for the west region. | CompassContainerBase | |
![]() | southCanBeClosed : Boolean
True if the east region can be closed via mouse interaction. | CompassContainerBase | |
![]() | southCanBeMinimized : Boolean
True if the south region can be minimized via mouse interaction. | CompassContainerBase | |
![]() | southContent : Array [write-only]
Array of MXML content to add to the south region. | CompassContainerBase | |
![]() | southHeight : Number
Explicit height of the south region. | CompassContainerBase | |
![]() | southRegionInstance : CompassRegionContainer | CompassContainerBase | |
![]() | southRegionTitle : String
The title to display in the header for the south region if the header
is displayed. | CompassContainerBase | |
![]() | southResizeLocked : Boolean
True to prevent the region from being resized via user interaction. | CompassContainerBase | |
southTopLevelDropTarget : TopLevelDropTarget | DockingCompassContainer | ||
topLevelCompassContainer : CompassContainer [read-only]
Top level compass container. | DockingCompassContainer | ||
![]() | westCanBeClosed : Boolean
True if the west region can be closed via mouse interaction. | CompassContainerBase | |
![]() | westCanBeMinimized : Boolean
True if the west region can be minimized via mouse interaction. | CompassContainerBase | |
![]() | westContent : Array [write-only]
Array of MXML content to add to the west region. | CompassContainerBase | |
![]() | westRegionInstance : CompassRegionContainer | CompassContainerBase | |
![]() | westRegionTitle : String
The title to display in the header for the west region if the header
is displayed. | CompassContainerBase | |
![]() | westResizeLocked : Boolean
True to prevent the region from being resized via user interaction. | CompassContainerBase | |
westTopLevelDropTarget : TopLevelDropTarget | DockingCompassContainer | ||
![]() | westWidth : Number
Explicit width of the west region. | CompassContainerBase |
Method | Defined By | ||
---|---|---|---|
dragDrop(draggedRegion:CompassRegionContainer, hoveredRegion:CompassRegionContainer, regionDropQuadrant:String = null, topLevelQuadrant:String = null):void
Called when a region drag is dropped. | DockingCompassContainer | ||
dragEnd():void
Called when a drag operation ends. | DockingCompassContainer | ||
dragEnter(event:DockingCompassContainerEvent):void
Called when a drag operation enters the entire DockingCompassContainer. | DockingCompassContainer | ||
dragExit():void
Called when a drag operation exits the entire DockingCompassContainer. | DockingCompassContainer | ||
dragMove(hoveredRegion:CompassRegionContainer, originatingDockingCompassContainer:DockingCompassContainer):void
Called when a drag operation moves over the DockingCompassContainer. | DockingCompassContainer | ||
Called when a region drag enters a docking container region. | DockingCompassContainer | ||
dragRegionExit():void
Called when a drag operations exits a docking region. | DockingCompassContainer |
Method | Defined By | ||
---|---|---|---|
compassContainerHandler(event:Event):void
Handles events on the CompassContainer. | DockingCompassContainer | ||
dockingHandler(event:MouseEvent):void
Handles docking operations for the dragged region. | DockingCompassContainer | ||
drawDropIndicator(location:String, region:UIComponent, originatingDockingCompassContainer:DockingCompassContainer):void
Draw an indicator when hovering over a top level drop target or a
region drop target. | DockingCompassContainer | ||
getHoveredRegionDropTarget():String
Return the region drop target hovered (if any). | DockingCompassContainer | ||
getHoveredTopLevelRegionDropTarget():String
Check if any top level drop targets are hovered over. | DockingCompassContainer | ||
removeRegionDropTargets():void
Remove the region drop target instance. | DockingCompassContainer | ||
removeTopLevelDropTargets():void
Remove the top level drop targets. | DockingCompassContainer |
Event | Summary | Defined By | ||
---|---|---|---|---|
Dispatched when a drop is completed and after the dragged region has been added to the drop region. | DockingCompassContainer | |||
Dispatched when a drop is initiated, assuming it was not cancelled in the "dragEnter" event. | DockingCompassContainer | |||
Dispatched when a drag ends, regardless if a drop occurred or not. | DockingCompassContainer | |||
Dispatched when a drag enters a DockingCompassContainer. | DockingCompassContainer | |||
Dispatched when a drag leaves a DockingCompassContainer. | DockingCompassContainer | |||
Dispatched when a drag enters another region of a DockingCompassContainer. | DockingCompassContainer | |||
Dispatched when a drag leaves a region of the CompassRegionContainer. | DockingCompassContainer | |||
Dispatched when a region begins dragging. | DockingCompassContainer | |||
Dispatched when a region is about to begin dragging. | DockingCompassContainer |
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.
eastTopLevelDropTarget | property |
public var eastTopLevelDropTarget:TopLevelDropTarget
northTopLevelDropTarget | property |
public var northTopLevelDropTarget:TopLevelDropTarget
regionDropTargetInstance | property |
public var regionDropTargetInstance:RegionDropTarget
southTopLevelDropTarget | property |
public var southTopLevelDropTarget:TopLevelDropTarget
topLevelCompassContainer | property |
topLevelCompassContainer:CompassContainer
[read-only] Top level compass container. Should be available after creationComplete fires.
The default value is null
.
public function get topLevelCompassContainer():CompassContainer
westTopLevelDropTarget | property |
public var westTopLevelDropTarget:TopLevelDropTarget
compassContainerHandler | () | method |
protected function compassContainerHandler(event:Event):void
Handles events on the CompassContainer.
Parameters
event:Event — the Event that triggered the handler
|
dockingHandler | () | method |
protected function dockingHandler(event:MouseEvent):void
Handles docking operations for the dragged region.
Fired continously while a region that is a child of this DockingCompassContainer is being dragged.
Parameters
event:MouseEvent — the MouseEvent associated with the check
|
dragDrop | () | method |
public function dragDrop(draggedRegion:CompassRegionContainer, hoveredRegion:CompassRegionContainer, regionDropQuadrant:String = null, topLevelQuadrant:String = null):void
Called when a region drag is dropped.
Parameters
draggedRegion:CompassRegionContainer — the CompassRegionContainer being dragged
| |
hoveredRegion:CompassRegionContainer — the docking CompassRegionContainer region currently
hovered
| |
regionDropQuadrant:String (default = null ) — the region quadrant to dock too
| |
topLevelQuadrant:String (default = null ) — the top level quadrant to dock too
|
dragEnd | () | method |
public function dragEnd():void
Called when a drag operation ends.
dragEnter | () | method |
public function dragEnter(event:DockingCompassContainerEvent):void
Called when a drag operation enters the entire DockingCompassContainer.
See the dragRegionEnter method for the handler when a drag operation enters a particular region of the DockingCompassContainer.
Change the docking properties of the event to change allowed region docking.
Parameters
event:DockingCompassContainerEvent — the DockingCompassContainerEvent
|
dragExit | () | method |
public function dragExit():void
Called when a drag operation exits the entire DockingCompassContainer.
dragMove | () | method |
public function dragMove(hoveredRegion:CompassRegionContainer, originatingDockingCompassContainer:DockingCompassContainer):void
Called when a drag operation moves over the DockingCompassContainer.
Parameters
hoveredRegion:CompassRegionContainer — the CompassRegionContainer region currently hovered
| |
originatingDockingCompassContainer:DockingCompassContainer — the DockingCompassContainer that originated the drag
|
dragRegionEnter | () | method |
public function dragRegionEnter(hoveredRegion:CompassRegionContainer, event:DockingCompassContainerEvent):void
Called when a region drag enters a docking container region.
See the dragEnter method for the handler when a drag operation enters the entire DockingCompassContainer.
Change the docking properties of the event to change allowed region docking.
Parameters
hoveredRegion:CompassRegionContainer — the docking UIComponent region currently hovered
| |
event:DockingCompassContainerEvent — the DockingCompassContainerEvent
|
dragRegionExit | () | method |
public function dragRegionExit():void
Called when a drag operations exits a docking region.
See the dragExit method for the handler when a drag operation exits the entire DockingCompassContainer.
drawDropIndicator | () | method |
protected function drawDropIndicator(location:String, region:UIComponent, originatingDockingCompassContainer:DockingCompassContainer):void
Draw an indicator when hovering over a top level drop target or a region drop target.
Parameters
location:String — the quadrant hovered
| |
region:UIComponent — the UIComponent region hovered
| |
originatingDockingCompassContainer:DockingCompassContainer — the DockingCompassContainer that originated the drag
|
getHoveredRegionDropTarget | () | method |
protected function getHoveredRegionDropTarget():String
Return the region drop target hovered (if any).
ReturnsString — the CompassQuadrant string describing the hovered region
(if any)
|
getHoveredTopLevelRegionDropTarget | () | method |
protected function getHoveredTopLevelRegionDropTarget():String
Check if any top level drop targets are hovered over.
ReturnsString — the CompassQuadrant string describing the hovered region
(if any)
|
removeRegionDropTargets | () | method |
protected function removeRegionDropTargets():void
Remove the region drop target instance.
removeTopLevelDropTargets | () | method |
protected function removeTopLevelDropTargets():void
Remove the top level drop targets.
dragDropComplete | Event |
ardisia.components.dockingCompassContainer.events.DockingCompassContainerEvent
ardisia.components.dockingCompassContainer.events.DockingCompassContainerEvent
Dispatched when a drop is completed and after the dragged region has been added to the drop region.
Applies to drops to the top level and regions of the top level container. See the "dropType" property of the event.
dragDropStarting | Event |
ardisia.components.dockingCompassContainer.events.DockingCompassContainerEvent
ardisia.components.dockingCompassContainer.events.DockingCompassContainerEvent
Dispatched when a drop is initiated, assuming it was not cancelled in the "dragEnter" event.
Cancel to prevent the drop.
dragEnd | Event |
ardisia.components.dockingCompassContainer.events.DockingCompassContainerEvent
ardisia.components.dockingCompassContainer.events.DockingCompassContainerEvent
Dispatched when a drag ends, regardless if a drop occurred or not.
dragEnter | Event |
ardisia.components.dockingCompassContainer.events.DockingCompassContainerEvent
ardisia.components.dockingCompassContainer.events.DockingCompassContainerEvent
Dispatched when a drag enters a DockingCompassContainer.
Cancel to prevent the user from dropping on the entered container. When the event is cancelled, the drag will not end, only the entered target DockingCompassContainer cannot be dropped on. When cancelled, not only will the drop not be allowed, but no drop indicators will be displayed.
This event only applies when dragging over an entire DockingCompassContainer. For enter events for regions of the container, see the "dragRegionEnter" event.
dragExit | Event |
ardisia.components.dockingCompassContainer.events.DockingCompassContainerEvent
ardisia.components.dockingCompassContainer.events.DockingCompassContainerEvent
Dispatched when a drag leaves a DockingCompassContainer.
This event only applies when dragging out of an entire DockingCompassContainer. For exit events for regions of the container, see the "dragRegionExit" event.
dragRegionEnter | Event |
ardisia.components.dockingCompassContainer.events.DockingCompassContainerEvent
ardisia.components.dockingCompassContainer.events.DockingCompassContainerEvent
Dispatched when a drag enters another region of a DockingCompassContainer.
Cancel to prevent the user from dropping on the entered container. When the event is cancelled, the drag will not end, only the entered target region cannot be dropped unto. When cancelled, not only will the drop not be allowed, but no drop indicators will be displayed.
This event only applies when dragging over an regions elements. For enter events for the top level, entire DockingCompassContainer, see the "dragEnter" event.
dragRegionExit | Event |
ardisia.components.dockingCompassContainer.events.DockingCompassContainerEvent
ardisia.components.dockingCompassContainer.events.DockingCompassContainerEvent
Dispatched when a drag leaves a region of the CompassRegionContainer.
Cancel to prevent the user from dropping on the entered container. When the event is cancelled, the drag will not end, only the entered target region cannot be dropped unto. When cancelled, not only will the drop not be allowed, but no drop indicators will be displayed.
This event only applies when exiting a region element. For exit events for the entire DockingCompassContainer, see the "dragRegionExit" event.
dragStart | Event |
ardisia.components.dockingCompassContainer.events.DockingCompassContainerEvent
ardisia.components.dockingCompassContainer.events.DockingCompassContainerEvent
Dispatched when a region begins dragging.
dragStarting | Event |
ardisia.components.dockingCompassContainer.events.DockingCompassContainerEvent
ardisia.components.dockingCompassContainer.events.DockingCompassContainerEvent
Dispatched when a region is about to begin dragging.
Cancel to prevent the drag.