| Package | com.kapit.diagram.layers |
| Class | public class DiagramPanelCaption |
| Inheritance | DiagramPanelCaption mx.core.UIComponent |
| Implements | ISVGExportable |
| Property | Defined by | ||
|---|---|---|---|
| bordercolor : uint [read-only]
| DiagramPanelCaption | ||
| borderwidth : Number [read-only]
| DiagramPanelCaption | ||
| collapsed : Boolean [read-only]
Indicates whether the DiagramPanelCaption is currently collapsed.
| DiagramPanelCaption | ||
| collapsedsize : Number
The DiagramPanel component size (Height) at collapsed status.
| DiagramPanelCaption | ||
| container : DiagramPanelsContainer
[read-only]
Returns DiagramPanelsContainer containing this DiagramPanelCaption.
| DiagramPanelCaption | ||
| expandedsize : Number
The DiagramPanel component size (Height) at expanded status.
| DiagramPanelCaption | ||
| fontcolor : Number
The font color used by this DiagramPanelCaption.
| DiagramPanelCaption | ||
| panel : DiagramPanel
[read-only]
The parent DiagramPanel component to which this DiagramPanelCaption depends.
| DiagramPanelCaption | ||
| title : String
DiagramPanelCaption Title (title of the DiagramPanel component) displayed in the Label field of this DiagramPanelCaption.
| DiagramPanelCaption | ||
| view : DiagramView
[read-only]
The Diagram View Container.
| DiagramPanelCaption | ||
| Property | Defined by | ||
|---|---|---|---|
| _addbut : CaptionButton = null
Add button.
| DiagramPanelCaption | ||
| _bordercolor : uint
This DiagramPanelCaption border color.
| DiagramPanelCaption | ||
| _borderwidth : Number
This DiagramPanelCaption border width.
| DiagramPanelCaption | ||
| _closebut : CaptionButton = null
Close button.
| DiagramPanelCaption | ||
| _collapsebut : CaptionButton = null
Collapse button.
| DiagramPanelCaption | ||
| _collapsedsize : Number
This DiagramPanelCaption collapsed size (Height).
| DiagramPanelCaption | ||
| _expandbut : CaptionButton = null
Expand button.
| DiagramPanelCaption | ||
| _expandedsize : Number
This DiagramPanelCaption expanded size (Height).
| DiagramPanelCaption | ||
| _fontcolor : Number
Used Font Color in TextField.
| DiagramPanelCaption | ||
| _fontsize : Number
Used Font size in TextField.
| DiagramPanelCaption | ||
| _format : TextFormat
Used TextFormat
| DiagramPanelCaption | ||
| _label : TextField
Title TextField.
| DiagramPanelCaption | ||
| _printcolor : Number
Used Print Color in TextField.
| DiagramPanelCaption | ||
| _title : String = "null"
DiagramLaneCaption (also DiagramLane) title that can be set by the user.
| DiagramPanelCaption | ||
| _view : DiagramView
The Diagram View in which this DiagramPanelCaption is embedded.
| DiagramPanelCaption | ||
| Method | Defined by | ||
|---|---|---|---|
|
Creates a new DiagramPanelCaption instance.
| DiagramPanelCaption | ||
|
appendToSVGDocument(doc:SVGSVGElement):void
Adds this DiagramPanelCaption instance in an SVG description to an SVGSVGElement (SVG document).
| DiagramPanelCaption | ||
|
draw():void
Draws this DiagramPanelCaption according to its status (collapsed or expanded).
| DiagramPanelCaption | ||
| Method | Defined by | ||
|---|---|---|---|
|
addSiblingHandler(event:MouseEvent):void
Handles interaction with the "Add" button and creates a new DiagramPanel component inside the DiagramPanelsContainer containing this DiagramPanelCaption.
| DiagramPanelCaption | ||
|
closeHandler(event:MouseEvent):void
Handles interaction with the "Close" button and removes the DiagramPanel component
"panel" from its container. | DiagramPanelCaption | ||
|
collapseHandler(event:MouseEvent):void
Handles interaction with the "Expand" button and collapses the DiagramPanel component
"panel". | DiagramPanelCaption | ||
|
createChildren():void
Creates DiagramPanelCaption children.
| DiagramPanelCaption | ||
|
expandHandler(event:MouseEvent):void
Handles interaction with the "Expand" button and expands the DiagramPanel component
"panel". | DiagramPanelCaption | ||
|
measure():void
Calculates the default size (width and height), and optionally the default minimum size, of this DiagramPanelCaption.
| DiagramPanelCaption | ||
|
updateDisplayList(w:Number, h:Number):void
Draws this DiagramPanelCaption and/or sizes and positions its children.
| DiagramPanelCaption | ||
| _addbut | property |
protected var _addbut:CaptionButton = nullAdd button.
| _bordercolor | property |
protected var _bordercolor:uintThis DiagramPanelCaption border color.
| bordercolor | property |
bordercolor:uint [read-only]Implementation
public function get bordercolor():uint
| _borderwidth | property |
protected var _borderwidth:NumberThis DiagramPanelCaption 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 DiagramPanelCaption is currently collapsed.
Implementation public function get collapsed():Boolean
| _collapsedsize | property |
protected var _collapsedsize:NumberThis DiagramPanelCaption collapsed size (Height).
| collapsedsize | property |
collapsedsize:Number [read-write]The DiagramPanel component size (Height) at collapsed status.
Implementation public function get collapsedsize():Number
public function set collapsedsize(value:Number):void
| container | property |
container:DiagramPanelsContainer [read-only]Returns DiagramPanelsContainer containing this DiagramPanelCaption.
Implementation public function get container():DiagramPanelsContainer
| _expandbut | property |
protected var _expandbut:CaptionButton = nullExpand button.
| _expandedsize | property |
protected var _expandedsize:NumberThis DiagramPanelCaption expanded size (Height).
| expandedsize | property |
expandedsize:Number [read-write]The DiagramPanel component size (Height) at expanded status.
Implementation public function get expandedsize():Number
public function set expandedsize(value:Number):void
| _fontcolor | property |
protected var _fontcolor:NumberUsed Font Color in TextField.
| fontcolor | property |
fontcolor:Number [read-write]The font color used by this DiagramPanelCaption.
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.
| panel | property |
panel:DiagramPanel [read-only]The parent DiagramPanel component to which this DiagramPanelCaption depends.
Implementation public function get panel():DiagramPanel
| _printcolor | property |
protected var _printcolor:NumberUsed 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]DiagramPanelCaption Title (title of the DiagramPanel component) displayed in the Label field of this DiagramPanelCaption.
Implementation public function get title():String
public function set title(value:String):void
| _view | property |
protected var _view:DiagramViewThe Diagram View in which this DiagramPanelCaption is embedded.
| view | property |
view:DiagramView [read-only]The Diagram View Container.
Implementation public function get view():DiagramView
| DiagramPanelCaption | () | constructor |
public function DiagramPanelCaption(view:DiagramView)Creates a new DiagramPanelCaption instance.
Parametersview:DiagramView — DiagramView that contains this DiagramPanelCaption.
|
| addSiblingHandler | () | method |
protected function addSiblingHandler(event:MouseEvent):voidHandles interaction with the "Add" button and creates a new DiagramPanel component inside the DiagramPanelsContainer containing this DiagramPanelCaption.
Parametersevent:MouseEvent — Detected Mouse Event.
|
| appendToSVGDocument | () | method |
public function appendToSVGDocument(doc:SVGSVGElement):voidAdds this DiagramPanelCaption instance in an SVG description to an SVGSVGElement (SVG document).
Parametersdoc:SVGSVGElement — SVGSVGElement (SVG document) to be updated by adding this DiagramPanelCaption.
|
| closeHandler | () | method |
protected function closeHandler(event:MouseEvent):void
Handles interaction with the "Close" button and removes the DiagramPanel component "panel" from its container.
event:MouseEvent — Detected Mouse Event.
|
| collapseHandler | () | method |
protected function collapseHandler(event:MouseEvent):void
Handles interaction with the "Expand" button and collapses the DiagramPanel component "panel".
event:MouseEvent — Detected Mouse Event.
|
| createChildren | () | method |
protected override function createChildren():voidCreates DiagramPanelCaption children. They can be listed as follows:
| draw | () | method |
public function draw():void
Draws this DiagramPanelCaption 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.
| expandHandler | () | method |
protected function expandHandler(event:MouseEvent):void
Handles interaction with the "Expand" button and expands the DiagramPanel component "panel".
event:MouseEvent — Detected Mouse Event.
|
| measure | () | method |
protected override function measure():voidCalculates the default size (width and height), and optionally the default minimum size, of this DiagramPanelCaption.
| updateDisplayList | () | method |
protected override function updateDisplayList(w:Number, h:Number):void
Draws this DiagramPanelCaption and/or sizes and positions its children. This method is called when this DiagramPanelCaption 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 DiagramPanelCaption, in pixels, in the component's coordinates, regardless of the value of the scaleX property of this DiagramPanelCaption.
|
|
h:Number — Specifies the height of this DiagramPanelCaption, in pixels, in the component's coordinates, regardless of the value of the scaleY property of this DiagramPanelCaption.
|