Packagecom.kapit.diagram.layers
Classpublic class DiagramLaneCaption
InheritanceDiagramLaneCaption Inheritance mx.core.UIComponent
ImplementsISVGExportable



Public Properties
 PropertyDefined by
  bordercolor : uint
[read-only]
DiagramLaneCaption
  borderwidth : Number
[read-only]
DiagramLaneCaption
  collapsed : Boolean
[read-only] Indicates whether the DiagramLaneCaption is currently collapsed.
DiagramLaneCaption
  collapsedsize : Number
The Diagram Lane size (Height) at collapsed status.
DiagramLaneCaption
  expandedsize : Number
The Diagram Lane size (Height) at expanded status.
DiagramLaneCaption
  fontcolor : Number
The font color used by this DiagramLaneCaption.
DiagramLaneCaption
  lane : DiagramLane
[read-only] The parent Diagram Lane.
DiagramLaneCaption
  title : String
Diagram Lane Caption Title (title of the Diagram Lane) displayed in the Label field of this Diagram Lane Caption.
DiagramLaneCaption
  view : DiagramView
[read-only] The Diagram View Container.
DiagramLaneCaption
Protected Properties
 PropertyDefined by
  _addbut : CaptionButton = null
Add button.
DiagramLaneCaption
  _bordercolor : uint
This DiagramLaneCaption border color.
DiagramLaneCaption
  _borderwidth : Number
This DiagramLaneCaption border width.
DiagramLaneCaption
  _closebut : CaptionButton = null
Close button.
DiagramLaneCaption
  _collapsebut : CaptionButton = null
Collapse button.
DiagramLaneCaption
  _collapsedsize : Number
This DiagramLaneCaption collapsed size (Height).
DiagramLaneCaption
  _expandbut : CaptionButton = null
Expand button.
DiagramLaneCaption
  _expandedsize : Number
This DiagramLaneCaption expanded size (Height).
DiagramLaneCaption
  _fontcolor : uint
Used Font Color in TextField.
DiagramLaneCaption
  _fontsize : Number
Used Font size in TextField.
DiagramLaneCaption
  _format : TextFormat
Used TextFormat
DiagramLaneCaption
  _label : TextField
Title TextField.
DiagramLaneCaption
  panel : DiagramPanel
[read-only] The DiagramPanel component, parent of the Diagram Lane to which the Diagram Lane Caption depends.
DiagramLaneCaption
  _printcolor : uint
Used Print Color in TextField.
DiagramLaneCaption
  _title : String = "null"
DiagramLaneCaption (also DiagramLane) title that can be set by the user.
DiagramLaneCaption
  _view : DiagramView
The Diagram View in which this DiagramLaneCaption is embedded.
DiagramLaneCaption
Public Methods
 MethodDefined by
  
Creates a new DiagramLaneCaption instance.
DiagramLaneCaption
  
appendToSVGDocument(doc:SVGSVGElement):void
DiagramLaneCaption
  
draw(forceredraw:Boolean = false):void
Draws this DiagramLaneCaption according to its status (collapsed or expanded).
DiagramLaneCaption
Protected Methods
 MethodDefined by
  
addSiblingHandler(event:MouseEvent):void
Handles interaction with the "Add" button and creates a new Diagram Lane in the DiagramPanel component containing this DiagramLaneCaption.
DiagramLaneCaption
  
closeHandler(event:MouseEvent):void
Handles interaction with the "Close" button and removes the Diagram Lane lane from its panel container.
DiagramLaneCaption
  
collapseHandler(event:MouseEvent):void
Handles interaction with the "Expand" button and collapses the Diagram Lane lane.
DiagramLaneCaption
  
Creates DiagramLaneCaption children.
DiagramLaneCaption
  
expandHandler(event:MouseEvent):void
Handles interaction with the "Expand" button and expands the Diagram Lane lane.
DiagramLaneCaption
  
labelDoubleClickHandler(event:MouseEvent):void
svi ajout modif label
DiagramLaneCaption
  
measure():void
Calculates the default size (width and height), and optionally the default minimum size, of this DiagramLaneCaption.
DiagramLaneCaption
  
updateDisplayList(w:Number, h:Number):void
Draws this DiagramLaneCaption and/or sizes and positions its children.
DiagramLaneCaption
Property detail
_addbutproperty
protected var _addbut:CaptionButton = null

Add button.

_bordercolorproperty 
protected var _bordercolor:uint

This DiagramLaneCaption border color.

bordercolorproperty 
bordercolor:uint  [read-only]

Implementation
    public function get bordercolor():uint
_borderwidthproperty 
protected var _borderwidth:Number

This DiagramLaneCaption border width.

borderwidthproperty 
borderwidth:Number  [read-only]

Implementation
    public function get borderwidth():Number
_closebutproperty 
protected var _closebut:CaptionButton = null

Close button.

_collapsebutproperty 
protected var _collapsebut:CaptionButton = null

Collapse button.

collapsedproperty 
collapsed:Boolean  [read-only]

Indicates whether the DiagramLaneCaption is currently collapsed.

Implementation
    public function get collapsed():Boolean
_collapsedsizeproperty 
protected var _collapsedsize:Number

This DiagramLaneCaption collapsed size (Height).

collapsedsizeproperty 
collapsedsize:Number  [read-write]

The Diagram Lane size (Height) at collapsed status.

Implementation
    public function get collapsedsize():Number
    public function set collapsedsize(value:Number):void
_expandbutproperty 
protected var _expandbut:CaptionButton = null

Expand button.

_expandedsizeproperty 
protected var _expandedsize:Number

This DiagramLaneCaption expanded size (Height).

expandedsizeproperty 
expandedsize:Number  [read-write]

The Diagram Lane size (Height) at expanded status.

Implementation
    public function get expandedsize():Number
    public function set expandedsize(value:Number):void
_fontcolorproperty 
protected var _fontcolor:uint

Used Font Color in TextField.

fontcolorproperty 
fontcolor:Number  [read-write]

The font color used by this DiagramLaneCaption.

Implementation
    public function get fontcolor():Number
    public function set fontcolor(value:Number):void
_fontsizeproperty 
protected var _fontsize:Number

Used Font size in TextField.

_formatproperty 
protected var _format:TextFormat

Used TextFormat

_labelproperty 
protected var _label:TextField

Title TextField.

laneproperty 
lane:DiagramLane  [read-only]

The parent Diagram Lane.

Implementation
    public function get lane():DiagramLane
panelproperty 
panel:DiagramPanel  [read-only]

The DiagramPanel component, parent of the Diagram Lane to which the Diagram Lane Caption depends.

Implementation
    protected function get panel():DiagramPanel
_printcolorproperty 
protected var _printcolor:uint

Used Print Color in TextField.

_titleproperty 
protected var _title:String = "null"

DiagramLaneCaption (also DiagramLane) title that can be set by the user.

titleproperty 
title:String  [read-write]

Diagram Lane Caption Title (title of the Diagram Lane) displayed in the Label field of this Diagram Lane Caption.

Implementation
    public function get title():String
    public function set title(value:String):void
_viewproperty 
protected var _view:DiagramView

The Diagram View in which this DiagramLaneCaption is embedded.

viewproperty 
view:DiagramView  [read-only]

The Diagram View Container.

Implementation
    public function get view():DiagramView
Constructor detail
DiagramLaneCaption()constructor
public function DiagramLaneCaption(view:DiagramView)

Creates a new DiagramLaneCaption instance.

Parameters
view:DiagramView — The DiagramView that contains this DiagramLaneCaption.
Method detail
addSiblingHandler()method
protected function addSiblingHandler(event:MouseEvent):void

Handles interaction with the "Add" button and creates a new Diagram Lane in the DiagramPanel component containing this DiagramLaneCaption.

Parameters
event:MouseEvent — Detected Mouse Event.
appendToSVGDocument()method 
public function appendToSVGDocument(doc:SVGSVGElement):voidParameters
doc:SVGSVGElement
closeHandler()method 
protected function closeHandler(event:MouseEvent):void

Handles interaction with the "Close" button and removes the Diagram Lane lane from its panel container.

Parameters
event:MouseEvent — Detected Mouse Event.
collapseHandler()method 
protected function collapseHandler(event:MouseEvent):void

Handles interaction with the "Expand" button and collapses the Diagram Lane lane.

Parameters
event:MouseEvent — Detected Mouse Event.
createChildren()method 
protected override function createChildren():void

Creates DiagramLaneCaption children. They can be listed as follows:

draw()method 
public function draw(forceredraw:Boolean = false):void

Draws this DiagramLaneCaption according to its status (collapsed or expanded). The call of the invalidateDisplayList() method is aimed at executing the component's updateDisplayList() method at the next screen update.

Parameters
forceredraw:Boolean (default = false) — True if complete redraw must be performed.
expandHandler()method 
protected function expandHandler(event:MouseEvent):void

Handles interaction with the "Expand" button and expands the Diagram Lane lane.

Parameters
event:MouseEvent — Detected Mouse Event.
labelDoubleClickHandler()method 
protected function labelDoubleClickHandler(event:MouseEvent):void

svi ajout modif label

Parameters
event:MouseEvent
measure()method 
protected override function measure():void

Calculates the default size (width and height), and optionally the default minimum size, of this DiagramLaneCaption.

updateDisplayList()method 
protected override function updateDisplayList(w:Number, h:Number):void

Draws this DiagramLaneCaption and/or sizes and positions its children. This method is called when this DiagramLaneCaption is added to a container using the addChild method, and when the component's invalidateDisplayList method is called.

Parameters
w:Number — Specifies the width of this DiagramLaneCaption, in pixels, in the component's coordinates, regardless of the value of the scaleX property of this DiagramLaneCaption.
 
h:Number — Specifies the height of this DiagramLaneCaption, in pixels, in the component's coordinates, regardless of the value of the scaleY property of this DiagramLaneCaption.