| Package | com.kapit.visualizer.renderer |
| Class | public class GenericObject |
| Inheritance | GenericObject mx.core.UIComponent |
| Implements | IGenericItem |
| Subclasses | GenericLink, GenericSprite |
| Property | Defined by | ||
|---|---|---|---|
| allowCollapseExpand : Boolean
Indicator if the Visualizer element should have an Expand/Collapse behaviour.
| GenericObject | ||
| buttonPlacement : String
Expand Collapse Button Placement.
| GenericObject | ||
| clickFilters : Array | GenericObject | ||
| collapseButtonClass : Class
Collapse Icon shown when the node is expanded.
| GenericObject | ||
| COLLAPSE_GROUP : uint = 3 [static]
"Group children are collapsed" Flag.
| GenericObject | ||
| collapseParent : GenericObject
Parent of the Visualizer element if there is any.
| GenericObject | ||
| COLLAPSE_SPRITE : uint = 0 [static]
"Sprite children are collapsed" Flag.
| GenericObject | ||
| collpaseOverButtonClass : Class
Collapse Icon shown when the node is expanded and the Expand/Collapse Button is rolled over.
| GenericObject | ||
| connectedElements : Dictionary | GenericObject | ||
| considerClick : Boolean
Indicator if Click events should be listened
| GenericObject | ||
| considerDoubleClick : Boolean
Indicator if Double Click events should be listened
| GenericObject | ||
| considerRollOut : Boolean
Indicator if Roll Out events should be listened
| GenericObject | ||
| considerRollOver : Boolean
Indicator if Roll Over events should be listened
| GenericObject | ||
| data : Object | GenericObject | ||
| decorator : Sprite
Visualizer element decorator (Image, TextField, animation....)
| GenericObject | ||
| expandButtonClass : Class
Expand Icon shown when the node is collapsed.
| GenericObject | ||
| expandCollapseElements : Array
Visualizer element collapse/expand children.
| GenericObject | ||
| EXPAND_GROUP : uint = 4 [static]
"Group children are expanded" Flag.
| GenericObject | ||
| expandOverButtonClass : Class
Expand Icon shown when the node is collapsed and the Expand/Collapse Button is rolled over.
| GenericObject | ||
| EXPAND_SPRITE : uint = 1 [static]
"Sprite children are expanded" Flag.
| GenericObject | ||
| highlightFilters : Array | GenericObject | ||
| idleFilers : Array | GenericObject | ||
| IDLE_GROUP : uint = 5 [static]
"Group with no Expand/Collapse functionality" Flag..
| GenericObject | ||
| IDLE_SPRITE : uint = 2 [static]
"Sprite with no Expand/Collapse functionality" Flag.
| GenericObject | ||
| isSelected : Boolean
Indicator if Visualizer element is selected.
| GenericObject | ||
| kDataItem : KDataItem | GenericObject | ||
| LINK : uint = 6 [static]
Link Flag.
| GenericObject | ||
| links : Array [read-only]
Links to which a GenericSprite or a GenericGroup is connected.
| GenericObject | ||
| lock : Boolean | GenericObject | ||
| manager : IManager
Visualizer element manager.
| GenericObject | ||
| showExpandCollapseButton : Boolean | GenericObject | ||
| type : uint
Visualizer element type indicating behavioural state.
| GenericObject | ||
| UID : String
Visualizer element Unique ID.
| GenericObject | ||
| view : GenericView [read-only]
Viewer to which the Visualizer element belongs
| GenericObject | ||
| Property | Defined by | ||
|---|---|---|---|
| _decoratorLayer : UIComponent | GenericObject | ||
| _expandButton : Button | GenericObject | ||
| Method | Defined by | ||
|---|---|---|---|
|
GenericObject(view:GenericView)
Constructor
| GenericObject | ||
|
initListeners(considerCLICK:Boolean = true, considerDoubleCLICK:Boolean = true, considerRollOUT:Boolean = true, considerRollOVER:Boolean = true, allowCollapseEXPAND:Boolean = true):void
nitialises and registers Visualizer element listeners.
| GenericObject | ||
|
setPlacement(rectangle:Rectangle, updateReferences:Boolean = false):void
Sets the Visualizer element spatial parameters and updates its environment (links, decorators...).
| GenericObject | ||
|
updateExpandButtonPlacement():void
| GenericObject | ||
|
updateLinks():void
| GenericObject | ||
| Method | Defined by | ||
|---|---|---|---|
|
commitProperties():void
| GenericObject | ||
|
handleClickEvent(event:Event):void
Handles click event if considered.
| GenericObject | ||
|
handleDoubleClickEvent(event:Event):void
Handles double click event if considered.
| GenericObject | ||
|
handleRollOutEvent(event:Event):void
Handles roll out event if considered.
| GenericObject | ||
|
handleRollOverEvent(event:Event):void
Handles roll over event if considered.
| GenericObject | ||
| Constant | Defined by | ||
|---|---|---|---|
| BUTTON_AT_BOTTOM_LEFT : String = "bottomLeft" [static]
xpand/Collapse Button placed at the bottom-left.
| GenericObject | ||
| BUTTON_AT_BOTTOM_RIGHT : String = "bottomRight" [static]
xpand/Collapse Button placed at the bottom-right.
| GenericObject | ||
| BUTTON_AT_MID_BOTTOM : String = "midBottom" [static]
xpand/Collapse Button placed at the bottom and X centered.
| GenericObject | ||
| BUTTON_AT_MID_LEFT : String = "midLeft" [static]
xpand/Collapse Button placed at the left and Y centered.
| GenericObject | ||
| BUTTON_AT_MID_RIGHT : String = "midRight" [static]
xpand/Collapse Button placed at the right and Y centered.
| GenericObject | ||
| BUTTON_AT_MID_TOP : String = "midTOP" [static]
xpand/Collapse Button placed at the top and X centered.
| GenericObject | ||
| BUTTON_AT_TOP_LEFT : String = "topLeft" [static]
xpand/Collapse Button placed at the top-left.
| GenericObject | ||
| BUTTON_AT_TOP_Right : String = "topRight" [static]
xpand/Collapse Button placed at the top-right.
| GenericObject | ||
| allowCollapseExpand | property |
allowCollapseExpand:Boolean [read-write]Indicator if the Visualizer element should have an Expand/Collapse behaviour.
Implementation public function get allowCollapseExpand():Boolean
public function set allowCollapseExpand(value:Boolean):void
| buttonPlacement | property |
buttonPlacement:String [read-write]Expand Collapse Button Placement. The possible values are :
public function get buttonPlacement():String
public function set buttonPlacement(value:String):void
| clickFilters | property |
clickFilters:Array [read-write]Implementation
public function get clickFilters():Array
public function set clickFilters(value:Array):void
| collapseButtonClass | property |
collapseButtonClass:Class [read-write]Collapse Icon shown when the node is expanded.
Implementation public function get collapseButtonClass():Class
public function set collapseButtonClass(value:Class):void
| COLLAPSE_GROUP | property |
public static var COLLAPSE_GROUP:uint = 3"Group children are collapsed" Flag. It indicates that the Visualizer element children must be / are collapsed.
| collapseParent | property |
collapseParent:GenericObject [read-write]Parent of the Visualizer element if there is any.
Implementation public function get collapseParent():GenericObject
public function set collapseParent(value:GenericObject):void
| COLLAPSE_SPRITE | property |
public static var COLLAPSE_SPRITE:uint = 0"Sprite children are collapsed" Flag. It indicates that the Visualizer element children must be / are collapsed.
| collpaseOverButtonClass | property |
collpaseOverButtonClass:Class [read-write]Collapse Icon shown when the node is expanded and the Expand/Collapse Button is rolled over.
Implementation public function get collpaseOverButtonClass():Class
public function set collpaseOverButtonClass(value:Class):void
| connectedElements | property |
connectedElements:Dictionary [read-write]Implementation
public function get connectedElements():Dictionary
public function set connectedElements(value:Dictionary):void
| considerClick | property |
considerClick:Boolean [read-write]Indicator if Click events should be listened
Implementation public function get considerClick():Boolean
public function set considerClick(value:Boolean):void
| considerDoubleClick | property |
considerDoubleClick:Boolean [read-write]Indicator if Double Click events should be listened
Implementation public function get considerDoubleClick():Boolean
public function set considerDoubleClick(value:Boolean):void
| considerRollOut | property |
considerRollOut:Boolean [read-write]Indicator if Roll Out events should be listened
Implementation public function get considerRollOut():Boolean
public function set considerRollOut(value:Boolean):void
| considerRollOver | property |
considerRollOver:Boolean [read-write]Indicator if Roll Over events should be listened
Implementation public function get considerRollOver():Boolean
public function set considerRollOver(value:Boolean):void
| data | property |
data:Object [read-write]Implementation
public function get data():Object
public function set data(value:Object):void
| decorator | property |
decorator:Sprite [read-write]Visualizer element decorator (Image, TextField, animation....)
Implementation public function get decorator():Sprite
public function set decorator(value:Sprite):void
| _decoratorLayer | property |
protected var _decoratorLayer:UIComponent
| _expandButton | property |
protected var _expandButton:Button
| expandButtonClass | property |
expandButtonClass:Class [read-write]Expand Icon shown when the node is collapsed.
Implementation public function get expandButtonClass():Class
public function set expandButtonClass(value:Class):void
| expandCollapseElements | property |
expandCollapseElements:Array [read-write]Visualizer element collapse/expand children.
Implementation public function get expandCollapseElements():Array
public function set expandCollapseElements(value:Array):void
| EXPAND_GROUP | property |
public static var EXPAND_GROUP:uint = 4"Group children are expanded" Flag. It indicates that the Visualizer element children must be / are expanded.
| expandOverButtonClass | property |
expandOverButtonClass:Class [read-write]Expand Icon shown when the node is collapsed and the Expand/Collapse Button is rolled over.
Implementation public function get expandOverButtonClass():Class
public function set expandOverButtonClass(value:Class):void
| EXPAND_SPRITE | property |
public static var EXPAND_SPRITE:uint = 1"Sprite children are expanded" Flag. It indicates that the Visualizer element children must be / are expanded.
| highlightFilters | property |
highlightFilters:Array [read-write]Implementation
public function get highlightFilters():Array
public function set highlightFilters(value:Array):void
| idleFilers | property |
idleFilers:Array [read-write]Implementation
public function get idleFilers():Array
public function set idleFilers(value:Array):void
| IDLE_GROUP | property |
public static var IDLE_GROUP:uint = 5"Group with no Expand/Collapse functionality" Flag..
| IDLE_SPRITE | property |
public static var IDLE_SPRITE:uint = 2"Sprite with no Expand/Collapse functionality" Flag.
| isSelected | property |
isSelected:Boolean [read-write]Indicator if Visualizer element is selected.
Implementation public function get isSelected():Boolean
public function set isSelected(value:Boolean):void
| kDataItem | property |
kDataItem:KDataItem [read-write]Implementation
public function get kDataItem():KDataItem
public function set kDataItem(value:KDataItem):void
| LINK | property |
public static var LINK:uint = 6Link Flag.
| links | property |
links:Array [read-only]Links to which a GenericSprite or a GenericGroup is connected.
Implementation public function get links():Array
| lock | property |
lock:Boolean [read-write]Implementation
public function get lock():Boolean
public function set lock(value:Boolean):void
| manager | property |
manager:IManager [read-write]Visualizer element manager. It controls user interaction and dispatches Visualizer event.
Implementation public function get manager():IManager
public function set manager(value:IManager):void
| showExpandCollapseButton | property |
showExpandCollapseButton:Boolean [read-write]Implementation
public function get showExpandCollapseButton():Boolean
public function set showExpandCollapseButton(value:Boolean):void
| type | property |
type:uint [read-write]Visualizer element type indicating behavioural state.
Implementation public function get type():uint
public function set type(value:uint):void
| UID | property |
UID:String [read-write]Visualizer element Unique ID.
Implementation public function get UID():String
public function set UID(value:String):void
| view | property |
view:GenericView [read-only]Viewer to which the Visualizer element belongs
Implementation public function get view():GenericView
| GenericObject | () | constructor |
public function GenericObject(view:GenericView)Constructor
Parametersview:GenericView — Viewer to which the Visualizer element belongs.
|
| commitProperties | () | method |
protected override function commitProperties():void
| handleClickEvent | () | method |
protected function handleClickEvent(event:Event):voidHandles click event if considered.
Parametersevent:Event — Detected click event
|
| handleDoubleClickEvent | () | method |
protected function handleDoubleClickEvent(event:Event):voidHandles double click event if considered.
Parametersevent:Event — Detected double click event
|
| handleRollOutEvent | () | method |
protected function handleRollOutEvent(event:Event):voidHandles roll out event if considered.
Parametersevent:Event — Detected roll out event
|
| handleRollOverEvent | () | method |
protected function handleRollOverEvent(event:Event):voidHandles roll over event if considered.
Parametersevent:Event — Detected roll over event
|
| initListeners | () | method |
public function initListeners(considerCLICK:Boolean = true, considerDoubleCLICK:Boolean = true, considerRollOUT:Boolean = true, considerRollOVER:Boolean = true, allowCollapseEXPAND:Boolean = true):voidnitialises and registers Visualizer element listeners.
ParametersconsiderCLICK:Boolean (default = true) — Indicator if Click events should be listened.
|
|
considerDoubleCLICK:Boolean (default = true) — Indicator if DoubleClick events should be listened.
|
|
considerRollOUT:Boolean (default = true) — Indicator if RollOut events should be listened.
|
|
considerRollOVER:Boolean (default = true) — Indicator if RollOver events should be listened.
|
|
allowCollapseEXPAND:Boolean (default = true) — Indicator if Expand events should be listened.
|
| setPlacement | () | method |
public function setPlacement(rectangle:Rectangle, updateReferences:Boolean = false):voidSets the Visualizer element spatial parameters and updates its environment (links, decorators...).
Parametersrectangle:Rectangle — Spatial parameters : position and size.
|
|
updateReferences:Boolean (default = false) — Indicator if the references to the Visualizer element should be updated.
|
| updateExpandButtonPlacement | () | method |
public function updateExpandButtonPlacement():void
| updateLinks | () | method |
public function updateLinks():void
| BUTTON_AT_BOTTOM_LEFT | constant |
public static const BUTTON_AT_BOTTOM_LEFT:String = "bottomLeft"xpand/Collapse Button placed at the bottom-left.
| BUTTON_AT_BOTTOM_RIGHT | constant |
public static const BUTTON_AT_BOTTOM_RIGHT:String = "bottomRight"xpand/Collapse Button placed at the bottom-right.
| BUTTON_AT_MID_BOTTOM | constant |
public static const BUTTON_AT_MID_BOTTOM:String = "midBottom"xpand/Collapse Button placed at the bottom and X centered.
| BUTTON_AT_MID_LEFT | constant |
public static const BUTTON_AT_MID_LEFT:String = "midLeft"xpand/Collapse Button placed at the left and Y centered.
| BUTTON_AT_MID_RIGHT | constant |
public static const BUTTON_AT_MID_RIGHT:String = "midRight"xpand/Collapse Button placed at the right and Y centered.
| BUTTON_AT_MID_TOP | constant |
public static const BUTTON_AT_MID_TOP:String = "midTOP"xpand/Collapse Button placed at the top and X centered.
| BUTTON_AT_TOP_LEFT | constant |
public static const BUTTON_AT_TOP_LEFT:String = "topLeft"xpand/Collapse Button placed at the top-left.
| BUTTON_AT_TOP_Right | constant |
public static const BUTTON_AT_TOP_Right:String = "topRight"xpand/Collapse Button placed at the top-right.