| Package | com.kapit.diagram.layers |
| Class | public class DiagramLaneCaption |
| Inheritance | DiagramLaneCaption mx.core.UIComponent |
| Implements | ISVGExportable |
| Property | Defined 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 | ||
| Property | Defined 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 | ||
| Method | Defined 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 | ||
| Method | Defined 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 | ||
|
createChildren():void
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 | ||
| _addbut | property |
protected var _addbut:CaptionButton = nullAdd button.
| _bordercolor | property |
protected var _bordercolor:uintThis DiagramLaneCaption border color.
| bordercolor | property |
bordercolor:uint [read-only]Implementation
public function get bordercolor():uint
| _borderwidth | property |
protected var _borderwidth:NumberThis DiagramLaneCaption border width.
| borderwidth | property |
borderwidth:Number [read-only]Implementation
public function get borderwidth():Number
| _closebut | property |
protected var _closebut:CaptionButton = nullClose button.
| _collapsebut | property |
protected var _collapsebut:CaptionButton = nullCollapse button.
| collapsed | property |
collapsed:Boolean [read-only]Indicates whether the DiagramLaneCaption is currently collapsed.
Implementation public function get collapsed():Boolean
| _collapsedsize | property |
protected var _collapsedsize:NumberThis DiagramLaneCaption collapsed size (Height).
| collapsedsize | property |
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
| _expandbut | property |
protected var _expandbut:CaptionButton = nullExpand button.
| _expandedsize | property |
protected var _expandedsize:NumberThis DiagramLaneCaption expanded size (Height).
| expandedsize | property |
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
| _fontcolor | property |
protected var _fontcolor:uintUsed Font Color in TextField.
| fontcolor | property |
fontcolor:Number [read-write]The font color used by this DiagramLaneCaption.
Implementation public function get fontcolor():Number
public function set fontcolor(value:Number):void
| _fontsize | property |
protected var _fontsize:NumberUsed Font size in TextField.
| _format | property |
protected var _format:TextFormatUsed TextFormat
| _label | property |
protected var _label:TextFieldTitle TextField.
| lane | property |
lane:DiagramLane [read-only]The parent Diagram Lane.
Implementation public function get lane():DiagramLane
| panel | property |
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
| _printcolor | property |
protected var _printcolor:uintUsed Print Color in TextField.
| _title | property |
protected var _title:String = "null"DiagramLaneCaption (also DiagramLane) title that can be set by the user.
| title | property |
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
| _view | property |
protected var _view:DiagramViewThe Diagram View in which this DiagramLaneCaption is embedded.
| view | property |
view:DiagramView [read-only]The Diagram View Container.
Implementation public function get view():DiagramView
| DiagramLaneCaption | () | constructor |
public function DiagramLaneCaption(view:DiagramView)Creates a new DiagramLaneCaption instance.
Parametersview:DiagramView — The DiagramView that contains this DiagramLaneCaption.
|
| addSiblingHandler | () | method |
protected function addSiblingHandler(event:MouseEvent):voidHandles interaction with the "Add" button and creates a new Diagram Lane in the DiagramPanel component containing this DiagramLaneCaption.
Parametersevent: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.
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.
event:MouseEvent — Detected Mouse Event.
|
| createChildren | () | method |
protected override function createChildren():voidCreates 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.
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.
event:MouseEvent — Detected Mouse Event.
|
| labelDoubleClickHandler | () | method |
protected function labelDoubleClickHandler(event:MouseEvent):voidsvi ajout modif label
Parametersevent:MouseEvent |
| measure | () | method |
protected override function measure():voidCalculates 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.
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.
|