Package | twaver |
Class | public final class Styles |
Inheritance | Styles ![]() |
In TWaver documentation website http://doc.servasoftware.com you can find more detailed developer guide shows how to use these styles. English and Chinese are available so far. This is the English page in the developer guide explains all styles:
http://doc.servasoftware.com/display/TWaverFlexEn/Network+Element+Stylesheet
You can also check TWaver Flex online demo and the source code to learn how to use these styles and properties.
Method | Defined By | ||
---|---|---|---|
getStyle(styleProp:String):* [static]
Get a style property default value. | Styles | ||
register(styleProp:String, newValue:Object, type:String = null, cdata:Boolean = false, overrideExist:Boolean = true):void [static]
Register a style property default value. | Styles | ||
setStyle(styleProp:String, newValue:Object):void [static]
Set a style property default value. | Styles |
Constant | Defined By | ||
---|---|---|---|
ALARM_ALPHA : String = alarm.alpha [static]
Element alarm bubble text color transparency. | Styles | ||
ALARM_BOLD : String = alarm.bold [static]
Whether element alarm bubble text use bold style. | Styles | ||
ALARM_COLOR : String = alarm.color [static]
Element alarm bubble text color. | Styles | ||
ALARM_CONTENT_XSCALE : String = alarm.content.xscale [static]
Element alarm bubble text scale in x axis. | Styles | ||
ALARM_CONTENT_YSCALE : String = alarm.content.yscale [static]
Element alarm bubble text scale in y axis. | Styles | ||
ALARM_CORNER_RADIUS : String = alarm.corner.radius [static]
Element alarm bubble round corner radius. | Styles | ||
ALARM_DIRECTION : String = alarm.direction [static]
Element alarm bubble direction. | Styles | ||
ALARM_EMBED : String = alarm.embed [static]
Whether element alarm bubble text label
use embed font name. | Styles | ||
ALARM_FILL_ALPHA : String = alarm.fill.alpha [static]
Element alarm bubble fill color transparency. | Styles | ||
ALARM_FONT : String = alarm.font [static]
Element alarm bubble text font name. | Styles | ||
ALARM_GRADIENT : String = alarm.gradient [static]
Element alarm bubble fill gradient pattern. | Styles | ||
ALARM_GRADIENT_ALPHA : String = alarm.gradient.alpha [static]
Element alarm bubble fill gradient color transparency. | Styles | ||
ALARM_GRADIENT_COLOR : String = alarm.gradient.color [static]
Element alarm bubble fill gradient color. | Styles | ||
ALARM_HTML : String = alarm.html [static]
Element alarm bubble text whether or not html.Default value is false. | Styles | ||
ALARM_ITALIC : String = alarm.italic [static]
Whether element alarm bubble text use italic style. | Styles | ||
ALARM_OUTLINE_ALPHA : String = alarm.outline.alpha [static]
Element alarm bubble outline color transparency. | Styles | ||
ALARM_OUTLINE_COLOR : String = alarm.outline.color [static]
Element alarm bubble outline color. | Styles | ||
ALARM_OUTLINE_WIDTH : String = alarm.outline.width [static]
Element alarm bubble outline width. | Styles | ||
ALARM_PADDING : String = alarm.padding [static]
Element alarm bubble shape inner padding value. | Styles | ||
ALARM_PADDING_BOTTOM : String = alarm.padding.bottom [static]
Element alarm bubble shape inner bottom gap. | Styles | ||
ALARM_PADDING_LEFT : String = alarm.padding.left [static]
Element alarm bubble shape inner left gap. | Styles | ||
ALARM_PADDING_RIGHT : String = alarm.padding.right [static]
Element alarm bubble shape inner right gap. | Styles | ||
ALARM_PADDING_TOP : String = alarm.padding.top [static]
Element alarm bubble shape inner top gap. | Styles | ||
ALARM_POINTER_LENGTH : String = alarm.pointer.length [static]
Element alarm bubble pointer length. | Styles | ||
ALARM_POINTER_WIDTH : String = alarm.pointer.width [static]
Element alarm bubble pointer width. | Styles | ||
ALARM_POSITION : String = alarm.position [static]
Element alarm bubble position. | Styles | ||
ALARM_SHADOW_ALPHA : String = alarm.shadow.alpha [static]
Element alarm bubble shadow fill color transparency. | Styles | ||
ALARM_SHADOW_ANGLE : String = alarm.shadow.angle [static]
Element alarm bubble pointer angle in degree. | Styles | ||
ALARM_SHADOW_COLOR : String = alarm.shadow.color [static]
Element alarm bubble shadow fill color. | Styles | ||
ALARM_SHADOW_DISTANCE : String = alarm.shadow.distance [static]
Element alarm bubble and the shadow distance. | Styles | ||
ALARM_SIZE : String = alarm.size [static]
Element alarm bubble font size. | Styles | ||
ALARM_UNDERLINE : String = alarm.underline [static]
Whether element alarm bubble text use underline style. | Styles | ||
ALARM_XOFFSET : String = alarm.xoffset [static]
Element alarm bubble x offset base on the
ALARM_POSITION. | Styles | ||
ALARM_YOFFSET : String = alarm.yoffset [static]
Element alarm bubble y offset base on the
ALARM_POSITION. | Styles | ||
ARROW_FROM : String = arrow.from [static]
Whether display from arrow of link/ShapeNode element. | Styles | ||
ARROW_FROM_ALPHA : String = arrow.from.alpha [static]
Link/ShapeNode element from arrow shape fill color transparency. | Styles | ||
ARROW_FROM_AT_EDGE : String = arrow.from.at.edge [static]
Whether from arrow of Link/ShapeNode element are from start node's edge. | Styles | ||
ARROW_FROM_COLOR : String = arrow.from.color [static]
Link/ShapeNode element from arrow shape draw color. | Styles | ||
ARROW_FROM_FILL : String = arrow.from.fill [static]
Whether fill from arrow shape of the link/ShapeNode element. | Styles | ||
ARROW_FROM_HEIGHT : String = arrow.from.height [static]
Link/ShapeNode element from arrow shape height. | Styles | ||
ARROW_FROM_OUTLINE_ALPHA : String = arrow.from.outline.alpha [static]
Link/ShapeNode element from arrow outline color transparency. | Styles | ||
ARROW_FROM_OUTLINE_COLOR : String = arrow.from.outline.color [static]
Link/ShapeNode element from arrow outline color. | Styles | ||
ARROW_FROM_OUTLINE_PATTERN : String = arrow.from.outline.pattern [static]
Link/ShapeNode element from arrow outline dash line pattern. | Styles | ||
ARROW_FROM_OUTLINE_WIDTH : String = arrow.from.outline.width [static]
Link/ShapeNode element from arrow outline width. | Styles | ||
ARROW_FROM_SHAPE : String = arrow.from.shape [static]
Link/ShapeNode element from arrow shape. | Styles | ||
ARROW_FROM_WIDTH : String = arrow.from.width [static]
Link/ShapeNode element from arrow shape width. | Styles | ||
ARROW_FROM_XOFFSET : String = arrow.from.xoffset [static]
Link/ShapeNode element from arrow offset in x axis direction. | Styles | ||
ARROW_FROM_YOFFSET : String = arrow.from.yoffset [static]
Link/ShapeNode element from arrow offset in y axis direction. | Styles | ||
ARROW_TO : String = arrow.to [static]
Whether display to arrow of link/ShapeNode element. | Styles | ||
ARROW_TO_ALPHA : String = arrow.to.alpha [static]
Link/ShapeNode element to arrow shape fill color transparency. | Styles | ||
ARROW_TO_AT_EDGE : String = arrow.to.at.edge [static]
Whether to arrow of Link/ShapeNode element are from start node's edge. | Styles | ||
ARROW_TO_COLOR : String = arrow.to.color [static]
Link/ShapeNode element to arrow shape draw color. | Styles | ||
ARROW_TO_FILL : String = arrow.to.fill [static]
Whether fill to arrow shape of the link/ShapeNode element. | Styles | ||
ARROW_TO_HEIGHT : String = arrow.to.height [static]
Link/ShapeNode element to arrow shape height. | Styles | ||
ARROW_TO_OUTLINE_ALPHA : String = arrow.to.outline.alpha [static]
Link/ShapeNode element to arrow outline color transparency. | Styles | ||
ARROW_TO_OUTLINE_COLOR : String = arrow.to.outline.color [static]
Link/ShapeNode element to arrow outline color. | Styles | ||
ARROW_TO_OUTLINE_PATTERN : String = arrow.to.outline.pattern [static]
Link/ShapeNode element to arrow outline dash line pattern. | Styles | ||
ARROW_TO_OUTLINE_WIDTH : String = arrow.to.outline.width [static]
Link/ShapeNode element to arrow outline color. | Styles | ||
ARROW_TO_SHAPE : String = arrow.to.shape [static]
Link/ShapeNode element to arrow shape. | Styles | ||
ARROW_TO_WIDTH : String = arrow.to.width [static]
Link/ShapeNode element to arrow shape width. | Styles | ||
ARROW_TO_XOFFSET : String = arrow.to.xoffset [static]
Link/ShapeNode element to arrow offset in x axis direction. | Styles | ||
ARROW_TO_YOFFSET : String = arrow.to.yoffset [static]
Link/ShapeNode element to arrow offset in y axis direction. | Styles | ||
BACKGROUND_IMAGE : String = background.image [static]
Network canvas background image. | Styles | ||
BACKGROUND_IMAGE_CAPS_STYLE : String = background.image.caps.style [static]
Network image caps sytle. | Styles | ||
BACKGROUND_IMAGE_JOINT_STYLE : String = background.image.joint.style [static]
Network image joint sytle. | Styles | ||
BACKGROUND_IMAGE_OUTLINE_ALPHA : String = background.image.outline.alpha [static]
Network background image outline color transparency. | Styles | ||
BACKGROUND_IMAGE_OUTLINE_COLOR : String = background.image.outline.color [static]
Network background image outline color. | Styles | ||
BACKGROUND_IMAGE_OUTLINE_WIDTH : String = background.image.outline.width [static]
Network background image outline width, number type. | Styles | ||
BACKGROUND_IMAGE_PADDING : String = background.image.padding [static]
Network background image insets value, number type. | Styles | ||
BACKGROUND_IMAGE_PADDING_BOTTOM : String = background.image.padding.bottom [static]
Network background image bottom insets value, number type. | Styles | ||
BACKGROUND_IMAGE_PADDING_LEFT : String = background.image.padding.left [static]
Network background image left insets value, number type. | Styles | ||
BACKGROUND_IMAGE_PADDING_RIGHT : String = background.image.padding.right [static]
Network background image right insets value, number type. | Styles | ||
BACKGROUND_IMAGE_PADDING_TOP : String = background.image.padding.top [static]
Network background image top insets value, number type. | Styles | ||
BACKGROUND_IMAGE_PIXEL_HINTING : String = background.image.pixel.hinting [static]
Whether enable network background image pixel hinting. | Styles | ||
BACKGROUND_IMAGE_SCALE_MODE : String = background.image.scale.mode [static]
Network image scale mode. | Styles | ||
BACKGROUND_IMAGE_SCOPE : String = background.image.scope [static]
Scope of network background image. | Styles | ||
BACKGROUND_IMAGE_SHAPE : String = background.image.shape [static]
Network background image shape. | Styles | ||
BACKGROUND_IMAGE_STRETCH : String = background.image.stretch [static]
Network background image stretch policy. | Styles | ||
BACKGROUND_TYPE : String = background.type [static]
Network canvas background type. | Styles | ||
BACKGROUND_VECTOR_CAPS_STYLE : String = background.vector.caps.style [static]
Network vector background joint style. | Styles | ||
BACKGROUND_VECTOR_DEEP : String = background.vector.deep [static]
Network vector background deepness. | Styles | ||
BACKGROUND_VECTOR_FILL : String = background.vector.fill [static]
Whether fill network bacground vector image. | Styles | ||
BACKGROUND_VECTOR_FILL_ALPHA : String = background.vector.fill.alpha [static]
Network background vector image fill color transparency. | Styles | ||
BACKGROUND_VECTOR_FILL_COLOR : String = background.vector.fill.color [static]
Network background vector image fill color. | Styles | ||
BACKGROUND_VECTOR_GRADIENT : String = background.vector.gradient [static]
Network vector background gradient pattern. | Styles | ||
BACKGROUND_VECTOR_GRADIENT_ALPHA : String = background.vector.gradient.alpha [static]
Network vector background gradient color transparency. | Styles | ||
BACKGROUND_VECTOR_GRADIENT_COLOR : String = background.vector.gradient.color [static]
Network vector background gradient color. | Styles | ||
BACKGROUND_VECTOR_JOINT_STYLE : String = background.vector.joint.style [static]
Network vector background joint style. | Styles | ||
BACKGROUND_VECTOR_OUTLINE_ALPHA : String = background.vector.outline.alpha [static]
Network vector background outline width. | Styles | ||
BACKGROUND_VECTOR_OUTLINE_COLOR : String = background.vector.outline.color [static]
Network vector background outline width. | Styles | ||
BACKGROUND_VECTOR_OUTLINE_WIDTH : String = background.vector.outline.width [static]
Network vector background outline width. | Styles | ||
BACKGROUND_VECTOR_PADDING : String = background.vector.padding [static]
Network vector background insets value in all directions. | Styles | ||
BACKGROUND_VECTOR_PADDING_BOTTOM : String = background.vector.padding.bottom [static]
Network vector background insets value on bottom. | Styles | ||
BACKGROUND_VECTOR_PADDING_LEFT : String = background.vector.padding.left [static]
Network vector background insets value in left side. | Styles | ||
BACKGROUND_VECTOR_PADDING_RIGHT : String = background.vector.padding.right [static]
Network vector background insets value in right side. | Styles | ||
BACKGROUND_VECTOR_PADDING_TOP : String = background.vector.padding.top [static]
Network vector background insets value on top. | Styles | ||
BACKGROUND_VECTOR_PIXEL_HINTING : String = background.vector.pixel.hinting [static]
Whether enable network vector background pixel hinting. | Styles | ||
BACKGROUND_VECTOR_SCALE_MODE : String = background.vector.scale.mode [static]
Network vector background scale mode. | Styles | ||
BACKGROUND_VECTOR_SCOPE : String = background.vector.scope [static]
Network background vector image scope. | Styles | ||
BACKGROUND_VECTOR_SHAPE : String = background.vector.shape [static]
Network background shape. | Styles | ||
BODY_ALPHA : String = body.alpha [static]
Element body alpha transparency. | Styles | ||
BODY_BEVEL : String = body.bevel [static]
Whether apply BevelFilter on element body. | Styles | ||
BODY_BEVEL_ANGLE : String = body.bevel.angle [static]
The bevel angle of the bevel filter when
BODY_BEVEL is turned on. | Styles | ||
BODY_BEVEL_BLURX : String = body.bevel.blurx [static]
The amount to blur horizontally when
BODY_BEVEL is turned on. | Styles | ||
BODY_BEVEL_BLURY : String = body.bevel.blury [static]
The amount to blur vertically when
BODY_BEVEL is turned on. | Styles | ||
BODY_BEVEL_DISTANCE : String = body.bevel.distance [static]
The bevel distance of the bevel filter when
BODY_BEVEL is turned on. | Styles | ||
BODY_BEVEL_HIGHLIGHT_ALPHA : String = body.bevel.highlight.alpha [static]
The bevel highlight transparency of the bevel filter when
BODY_BEVEL is turned on. | Styles | ||
BODY_BEVEL_HIGHLIGHT_COLOR : String = body.bevel.highlight.color [static]
The bevel highlight color of the bevel filter when
BODY_BEVEL is turned on. | Styles | ||
BODY_BEVEL_KNOCKOUT : String = body.bevel.knockout [static]
The bevel knockout value of the bevel filter when
BODY_BEVEL is turned on. | Styles | ||
BODY_BEVEL_QUALITY : String = body.bevel.quality [static]
The bevel quality of the bevel filter when
BODY_BEVEL is turned on. | Styles | ||
BODY_BEVEL_SHADOW_ALPHA : String = body.bevel.shadow.alpha [static]
The bevel shadow alpha value of the bevel filter when
BODY_BEVEL is turned on. | Styles | ||
BODY_BEVEL_SHADOW_COLOR : String = body.bevel.shadow.color [static]
The bevel shadow color of the bevel filter when
BODY_BEVEL is turned on. | Styles | ||
BODY_BEVEL_STRENGTH : String = body.bevel.strength [static]
The bevel strength of the bevel filter when
BODY_BEVEL is turned on. | Styles | ||
BODY_BEVEL_TYPE : String = body.bevel.type [static]
The bevel type of the bevel filter when
BODY_BEVEL is turned on. | Styles | ||
BODY_INTERACTIVE : String = body.interactive [static]
Whether element body is interactable. | Styles | ||
BUS_STYLE : String = bus.style [static]
Shape style of bus element. | Styles | ||
CHART_ALPHA : String = chart.alpha [static] | Styles | ||
CHART_ANCHOR_SHAPE : String = chart.anchor.shape [static] | Styles | ||
CHART_ANCHOR_SIZE : String = chart.anchor.size [static] | Styles | ||
CHART_BUBBLE_SHAPE : String = chart.bubble.shape [static] | Styles | ||
CHART_COLOR : String = chart.color [static] | Styles | ||
CHART_LINE_WIDTH : String = chart.line.width [static] | Styles | ||
CHART_NAMES : String = chart.names [static] | Styles | ||
CHART_VALUE : String = chart.value [static] | Styles | ||
CHART_VALUE_COLOR : String = chart.value.color [static] | Styles | ||
CHART_VALUE_FONT : String = chart.value.font [static] | Styles | ||
CHART_VALUES : String = chart.values [static] | Styles | ||
CHART_XAXIS_VALUES : String = chart.xaxis.values [static] | Styles | ||
CHART_YAXIS_VALUES : String = chart.yaxis.values [static] | Styles | ||
CONTENT_TYPE : String = content.type [static]
The element content type. | Styles | ||
DIALCHART_BASE_WIDTH : String = dialchart.base.width [static] | Styles | ||
DIALCHART_RADIUS : String = dialchart.Radius [static] | Styles | ||
DIALCHART_REAR_EXTENSION : String = dialchart.rear.extension [static] | Styles | ||
DIALCHART_TOP_WIDTH : String = dialchart.top.width [static] | Styles | ||
FOLLOWER_COLUMN_INDEX : String = follower.column.index [static]
The parent grid element column index this follower to attach on. | Styles | ||
FOLLOWER_COLUMN_SPAN : String = follower.column.span [static]
How many columns this follower element to span in parent grid element. | Styles | ||
FOLLOWER_FILL_CELL : String = follower.fill.cell [static]
Whether change the follower width and height to fill the grid cell when this follower attached on a parent grid element. | Styles | ||
FOLLOWER_PADDING : String = follower.padding [static]
The inner gap when this follower attached on a parent grid element. | Styles | ||
FOLLOWER_PADDING_BOTTOM : String = follower.padding.bottom [static]
The inner gap in bottom side when this follower attached on a parent grid element. | Styles | ||
FOLLOWER_PADDING_LEFT : String = follower.padding.left [static]
The inner gap in left side when this follower attached on a parent grid element. | Styles | ||
FOLLOWER_PADDING_RIGHT : String = follower.padding.right [static]
The inner gap in right side when this follower attached on a parent grid element. | Styles | ||
FOLLOWER_PADDING_TOP : String = follower.padding.top [static]
The inner gap in top side when this follower attached on a parent grid element. | Styles | ||
FOLLOWER_ROW_INDEX : String = follower.row.index [static]
The parent grid element row index this follower to attach on. | Styles | ||
FOLLOWER_ROW_SPAN : String = follower.row.span [static]
How many rows this follower element to span in parent grid element. | Styles | ||
GRID_BORDER : String = grid.border [static]
Grid element border width. | Styles | ||
GRID_BORDER_BOTTOM : String = grid.border.bottom [static]
Grid element border bottom width. | Styles | ||
GRID_BORDER_LEFT : String = grid.border.left [static]
Grid element border left width. | Styles | ||
GRID_BORDER_RIGHT : String = grid.border.right [static]
Grid element border right width. | Styles | ||
GRID_BORDER_TOP : String = grid.border.top [static]
Grid element border top width. | Styles | ||
GRID_CELL_DEEP : String = grid.cell.deep [static]
Grid element 3D border shadow deep for each cell. | Styles | ||
GRID_COLUMN_COUNT : String = grid.column.count [static]
How many columns a grid element has. | Styles | ||
GRID_COLUMN_PERCENTS : String = grid.column.percents [static]
Each column width percentage of the whole width of grid element. | Styles | ||
GRID_DEEP : String = grid.deep [static]
Grid element 3D border shadow deep. | Styles | ||
GRID_FILL : String = grid.fill [static]
Whether grid element need to fill. | Styles | ||
GRID_FILL_ALPHA : String = grid.fill.alpha [static]
Grid element fill color transparency. | Styles | ||
GRID_FILL_COLOR : String = grid.fill.color [static]
Grid element fill color. | Styles | ||
GRID_PADDING : String = grid.padding [static]
Grid element border inner gap. | Styles | ||
GRID_PADDING_BOTTOM : String = grid.padding.bottom [static]
Grid element border inner bottom gap. | Styles | ||
GRID_PADDING_LEFT : String = grid.padding.left [static]
Grid element border inner left gap. | Styles | ||
GRID_PADDING_RIGHT : String = grid.padding.right [static]
Grid element border inner right gap. | Styles | ||
GRID_PADDING_TOP : String = grid.padding.top [static]
Grid element border inner top gap. | Styles | ||
GRID_ROW_COUNT : String = grid.row.count [static]
How many rows a grid element has. | Styles | ||
GRID_ROW_PERCENTS : String = grid.row.percents [static]
Each row height percentage of the whole height of grid element. | Styles | ||
GROUP_CAPS_STYLE : String = group.caps.style [static]
Group shape caps sytle. | Styles | ||
GROUP_DEEP : String = group.deep [static]
Group element shape 3D deep. | Styles | ||
GROUP_FILL : String = group.fill [static]
Whether fill group element shape. | Styles | ||
GROUP_FILL_ALPHA : String = group.fill.alpha [static]
Group element shape fill color transparency. | Styles | ||
GROUP_FILL_COLOR : String = group.fill.color [static]
Group element shape fill color. | Styles | ||
GROUP_GRADIENT : String = group.gradient [static]
Group element shape fill gradient pattern. | Styles | ||
GROUP_GRADIENT_ALPHA : String = group.gradient.alpha [static]
Group element shape fill gradient pattern color transparency. | Styles | ||
GROUP_GRADIENT_COLOR : String = group.gradient.color [static]
Group element shape fill gradient pattern color. | Styles | ||
GROUP_JOINT_STYLE : String = group.joint.style [static]
Group shape joint sytle. | Styles | ||
GROUP_OUTLINE_ALPHA : String = group.outline.alpha [static]
Group element shape outline draw color transparency. | Styles | ||
GROUP_OUTLINE_COLOR : String = group.outline.color [static]
Group element shape outline draw color. | Styles | ||
GROUP_OUTLINE_WIDTH : String = group.outline.width [static]
Group element shape outline width. | Styles | ||
GROUP_PADDING : String = group.padding [static]
Group element shape inner gap. | Styles | ||
GROUP_PADDING_BOTTOM : String = group.padding.bottom [static]
Group element shape inner bottom gap. | Styles | ||
GROUP_PADDING_LEFT : String = group.padding.left [static]
Group element shape inner left gap. | Styles | ||
GROUP_PADDING_RIGHT : String = group.padding.right [static]
Group element shape inner right gap. | Styles | ||
GROUP_PADDING_TOP : String = group.padding.top [static]
Group element shape inner top gap. | Styles | ||
GROUP_PIXEL_HINTING : String = group.pixel.hinting [static]
Whether enable group shape pixel hinting. | Styles | ||
GROUP_SCALE_MODE : String = group.scale.mode [static]
Group element shape scale mode. | Styles | ||
GROUP_SHAPE : String = group.shape [static]
Group element shape type. | Styles | ||
ICONS_COLORS : String = icons.colors [static]
Style name of each icon's rendering color on element. | Styles | ||
ICONS_NAMES : String = icons.names [static]
Attached icons name of element. | Styles | ||
ICONS_ORIENTATION : String = icons.orientation [static]
Element icon attachment orientation, that is, the
align direction. | Styles | ||
ICONS_POSITION : String = icons.position [static]
Element icon attachment position. | Styles | ||
ICONS_XGAP : String = icons.xgap [static]
Gap in x axis between element icon attachments. | Styles | ||
ICONS_XOFFSET : String = icons.xoffset [static]
Element icon attachment x offset base on the
ICONS_POSITION. | Styles | ||
ICONS_YGAP : String = icons.ygap [static]
Gap in y axis between element icon attachments. | Styles | ||
ICONS_YOFFSET : String = icons.yoffset [static]
Element icon attachment y offset base on the
ICONS_POSITION. | Styles | ||
IMAGE_CAPS_STYLE : String = image.caps.style [static]
Element image caps sytle. | Styles | ||
IMAGE_JOINT_STYLE : String = image.joint.style [static]
Element image joint style. | Styles | ||
IMAGE_OUTLINE_ALPHA : String = image.outline.alpha [static]
Element image outline color transparency. | Styles | ||
IMAGE_OUTLINE_COLOR : String = image.outline.color [static]
Element image outline color. | Styles | ||
IMAGE_OUTLINE_WIDTH : String = image.outline.width [static]
Element image outline width. | Styles | ||
IMAGE_PADDING : String = image.padding [static]
Element image inner gap. | Styles | ||
IMAGE_PADDING_BOTTOM : String = image.padding.bottom [static]
Element image inner gap on bottom. | Styles | ||
IMAGE_PADDING_LEFT : String = image.padding.left [static]
Element image inner gap in left side. | Styles | ||
IMAGE_PADDING_RIGHT : String = image.padding.right [static]
Element image inner gap in right side. | Styles | ||
IMAGE_PADDING_TOP : String = image.padding.top [static]
Element image inner gap on top. | Styles | ||
IMAGE_PIXEL_HINTING : String = image.pixel.hinting [static]
Whether enable element image pixel hinting. | Styles | ||
IMAGE_SCALE_MODE : String = image.scale.mode [static]
Element image scale mode. | Styles | ||
IMAGE_SHAPE : String = image.shape [static]
Element image shape. | Styles | ||
IMAGE_STRETCH : String = image.stretch [static]
Element image stretch policy. | Styles | ||
INNER_ALPHA : String = inner.alpha [static]
Element inner fill color transparency. | Styles | ||
INNER_BACK : String = inner.back [static]
Boolean value, whether display element inner shape behind element body. | Styles | ||
INNER_COLOR : String = inner.color [static]
Element inner fill color. | Styles | ||
INNER_GRADIENT : String = inner.gradient [static]
Element inner shape gradient pattern. | Styles | ||
INNER_GRADIENT_ALPHA : String = inner.gradient.alpha [static]
Element inner shape gradient color transparency. | Styles | ||
INNER_GRADIENT_COLOR : String = inner.gradient.color [static]
Element inner shape gradient color. | Styles | ||
INNER_OUTLINE_ALPHA : String = inner.outline.alpha [static]
Element inner shape outline color transparency. | Styles | ||
INNER_OUTLINE_COLOR : String = inner.outline.color [static]
Element inner shape outline color. | Styles | ||
INNER_OUTLINE_WIDTH : String = inner.outline.width [static]
Element inner shape outline width. | Styles | ||
INNER_PADDING : String = inner.padding [static]
Element inner shape padding value. | Styles | ||
INNER_PADDING_BOTTOM : String = inner.padding.bottom [static]
Element inner shape padding value on the bottom. | Styles | ||
INNER_PADDING_LEFT : String = inner.padding.left [static]
Element inner shape padding value in left side. | Styles | ||
INNER_PADDING_RIGHT : String = inner.padding.right [static]
Element inner shape padding value in right side. | Styles | ||
INNER_PADDING_TOP : String = inner.padding.top [static]
Element inner shape padding value on the top. | Styles | ||
INNER_SHAPE : String = inner.shape [static]
Element inner fill shape. | Styles | ||
INNER_STYLE : String = inner.style [static]
Defines the element body representation style for native alarms. | Styles | ||
LABEL_ALPHA : String = label.alpha [static]
Element label color transparency. | Styles | ||
LABEL_BOLD : String = label.bold [static]
Whether element label font is bold. | Styles | ||
LABEL_COLOR : String = label.color [static]
Element label text color. | Styles | ||
LABEL_CONTENT_XSCALE : String = label.content.xscale [static]
Element label text scale value in x axis. | Styles | ||
LABEL_CONTENT_YSCALE : String = label.content.yscale [static]
Element label text scale value in y axis. | Styles | ||
LABEL_CORNER_RADIUS : String = label.corner.radius [static]
Element label border line corner round radius. | Styles | ||
LABEL_DIRECTION : String = label.direction [static]
Element label direction. | Styles | ||
LABEL_EMBED : String = label.embed [static]
Whether element label use embed font. | Styles | ||
LABEL_FILL : String = label.fill [static]
Boolean value, whether label area need to fill. | Styles | ||
LABEL_FILL_ALPHA : String = label.fill.alpha [static]
Element label area fill transparency. | Styles | ||
LABEL_FILL_COLOR : String = label.fill.color [static]
Element label area fill color. | Styles | ||
LABEL_FONT : String = label.font [static]
Element label font name. | Styles | ||
LABEL_GRADIENT : String = label.gradient [static]
Element label area fill gradient pattern. | Styles | ||
LABEL_GRADIENT_ALPHA : String = label.gradient.alpha [static]
Element label area fill gradient color transparency. | Styles | ||
LABEL_GRADIENT_COLOR : String = label.gradient.color [static]
Element label area fill gradient color. | Styles | ||
LABEL_HTML : String = label.html [static]
Element label whether or not html.Default value is false. | Styles | ||
LABEL_ITALIC : String = label.italic [static]
Whether element label use italic font. | Styles | ||
LABEL_OUTLINE_ALPHA : String = label.outline.alpha [static]
Element label outline color transparency. | Styles | ||
LABEL_OUTLINE_COLOR : String = label.outline.color [static]
Element label outline color. | Styles | ||
LABEL_OUTLINE_WIDTH : String = label.outline.width [static]
Element label outline width. | Styles | ||
LABEL_PADDING : String = label.padding [static]
Element label border inner padding value. | Styles | ||
LABEL_PADDING_BOTTOM : String = label.padding.bottom [static]
Element label border inner bottom gap. | Styles | ||
LABEL_PADDING_LEFT : String = label.padding.left [static]
Element label border inner left gap. | Styles | ||
LABEL_PADDING_RIGHT : String = label.padding.right [static]
Element label border inner right gap. | Styles | ||
LABEL_PADDING_TOP : String = label.padding.top [static]
Element label border inner top gap. | Styles | ||
LABEL_POINTER_LENGTH : String = label.pointer.length [static]
Element label pointer length value. | Styles | ||
LABEL_POINTER_WIDTH : String = label.pointer.width [static]
Element label pointer width value. | Styles | ||
LABEL_POSITION : String = label.position [static]
Element label position. | Styles | ||
LABEL_SIZE : String = label.size [static]
Element label font size. | Styles | ||
LABEL_UNDERLINE : String = label.underline [static]
Whether draw underline for element label font. | Styles | ||
LABEL_XOFFSET : String = label.xoffset [static]
Element label x offset base on the LABEL_POSITION. | Styles | ||
LABEL_YOFFSET : String = label.yoffset [static]
Element label y offset base on the LABEL_POSITION. | Styles | ||
LINK_ALPHA : String = link.alpha [static]
Link element color transparency. | Styles | ||
LINK_BUNDLE_ENABLE : String = link.bundle.enable [static]
Boolean value whether link element will be bundled. | Styles | ||
LINK_BUNDLE_EXPANDED : String = link.bundle.expanded [static]
Boolean values determine link bundle whether in expanded status. | Styles | ||
LINK_BUNDLE_GAP : String = link.bundle.gap [static]
Gap between bundled links. | Styles | ||
LINK_BUNDLE_ID : String = link.bundle.id [static]
Link bundled group id. | Styles | ||
LINK_BUNDLE_INDEPENDENT : String = link.bundle.independent [static]
Boolean values whether bundle the link bundle groups independently. | Styles | ||
LINK_BUNDLE_OFFSET : String = link.bundle.offset [static]
Offset value for link bundle flexion. | Styles | ||
LINK_CAPS_STYLE : String = link.caps.style [static]
Link element caps sytle. | Styles | ||
LINK_COLOR : String = link.color [static]
Link element color. | Styles | ||
LINK_CONTROL_POINT : String = link.control.point [static]
Link element control point. | Styles | ||
LINK_CORNER : String = link.corner [static]
Link corner type. | Styles | ||
LINK_CORNER_XRADIUS : String = link.xradius [static]
Link corner x radius of the round arc. | Styles | ||
LINK_CORNER_YRADIUS : String = link.yradius [static]
Link corner y radius of the round arc. | Styles | ||
LINK_EXTEND : String = link.extend [static]
Link element extended offset. | Styles | ||
LINK_FROM_AT_EDGE : String = link.from.at.edge [static]
Boolean value whether link from point is in the edge of from node. | Styles | ||
LINK_FROM_POSITION : String = link.from.position [static]
Link element path start position. | Styles | ||
LINK_FROM_XOFFSET : String = link.from.xoffset [static]
Link element path start point offset in x axis base on the
LINK_FROM_POSITION. | Styles | ||
LINK_FROM_YOFFSET : String = link.from.yoffset [static]
Link element path start point offset in y axis base on the
LINK_FROM_POSITION. | Styles | ||
LINK_HANDLER_BOLD : String = link.handler.bold [static]
Whether use bold style for link bundle handler text. | Styles | ||
LINK_HANDLER_COLOR : String = link.handler.color [static]
Link bundle handler text font color. | Styles | ||
LINK_HANDLER_CORNER_RADIUS : String = link.handler.corner.radius [static]
Link bundle handler corner radius. | Styles | ||
LINK_HANDLER_DIRECTION : String = link.handler.direction [static]
Link bundle handler expand direction. | Styles | ||
LINK_HANDLER_EMBED : String = link.handler.embed [static]
Whether use embedded font for link bundle handler text. | Styles | ||
LINK_HANDLER_FILL : String = link.handler.fill [static]
Whether fill link bundle handler area. | Styles | ||
LINK_HANDLER_FILL_ALPHA : String = link.handler.fill.alpha [static]
Link bundle handler fill color transparency. | Styles | ||
LINK_HANDLER_FILL_COLOR : String = link.handler.fill.color [static]
Link bundle handler fill color. | Styles | ||
LINK_HANDLER_FONT : String = link.handler.font [static]
Link bundle handler text font. | Styles | ||
LINK_HANDLER_GRADIENT : String = link.handler.gradient [static]
Link bundle handler fill gradient pattern. | Styles | ||
LINK_HANDLER_GRADIENT_ALPHA : String = link.handler.gradient.alpha [static]
Link bundle handler fill gradient color transparency. | Styles | ||
LINK_HANDLER_GRADIENT_COLOR : String = link.handler.gradient.color [static]
Link bundle handler fill gradient color. | Styles | ||
LINK_HANDLER_ITALIC : String = link.handler.italic [static]
Whether use italic style for link bundle handler text. | Styles | ||
LINK_HANDLER_POINTER_LENGTH : String = link.handler.pointer.length [static]
Link bundle handler pointer length. | Styles | ||
LINK_HANDLER_POINTER_WIDTH : String = link.handler.pointer.width [static]
Link bundle handler pointer width. | Styles | ||
LINK_HANDLER_POSITION : String = link.handler.position [static]
Link bundle handler text position. | Styles | ||
LINK_HANDLER_SIZE : String = link.handler.size [static]
Link bundle handler text font size. | Styles | ||
LINK_HANDLER_UNDERLINE : String = link.handler.underline [static]
Whether use underline style for link bundle handler text. | Styles | ||
LINK_HANDLER_XOFFSET : String = link.handler.xoffset [static]
Link bundle handler text x offset base on LINK_HANDLER_POSITION. | Styles | ||
LINK_HANDLER_YOFFSET : String = link.handler.yoffset [static]
Link bundle handler text y offset base on LINK_HANDLER_POSITION. | Styles | ||
LINK_JOINT_STYLE : String = link.joint.style [static]
Link element joint sytle. | Styles | ||
LINK_LABEL_ROTATABLE : String = link.label.rotatable [static]
Whether link label rotate along link. | Styles | ||
LINK_LOOPED_DIRECTION : String = link.looped.direction [static]
Line growing direction for self-looped links. | Styles | ||
LINK_LOOPED_GAP : String = link.looped.gap [static]
Line gap between looped links. | Styles | ||
LINK_LOOPED_TYPE : String = link.looped.type [static]
Line path type of self-looped link element. | Styles | ||
LINK_PATTERN : String = link.pattern [static]
Link element dash pattern. | Styles | ||
LINK_PIXEL_HINTING : String = link.pixel.hinting [static]
Whether enable link element pixel hinting. | Styles | ||
LINK_SCALE_MODE : String = link.scale.mode [static]
Link element scale mode. | Styles | ||
LINK_SPLIT_BY_PERCENT : String = link.split.by.percent [static]
Boolean value whether link will split into segments by percentage. | Styles | ||
LINK_SPLIT_PERCENT : String = link.split.percent [static]
The percentage to split link into segments. | Styles | ||
LINK_SPLIT_VALUE : String = link.split.value [static]
Link split value. | Styles | ||
LINK_TO_AT_EDGE : String = link.to.at.edge [static]
Boolean value whether link to point is in the edge of from node. | Styles | ||
LINK_TO_POSITION : String = link.to.position [static]
Link element path end position. | Styles | ||
LINK_TO_XOFFSET : String = link.to.xoffset [static]
Link element path end point offset in x axis base on the
LINK_FROM_POSITION. | Styles | ||
LINK_TO_YOFFSET : String = link.to.yoffset [static]
Link element path stop point offset in y axis base on the
LINK_TO_POSITION. | Styles | ||
LINK_TYPE : String = link.type [static]
Link element type. | Styles | ||
LINK_WIDTH : String = link.width [static]
Link element width. | Styles | ||
NETWORK_LABEL : String = network.label [static]
Style name of label on network canvas. | Styles | ||
OUTER_ALPHA : String = outer.alpha [static]
Element outer color transparency. | Styles | ||
OUTER_ANGLE : String = outer.angle [static]
The glow or shadow filter angle of element outer border, in degree. | Styles | ||
OUTER_BLURX : String = outer.blurx [static]
This parameter is used for the glow/shadow filter effect
for element outer border. | Styles | ||
OUTER_BLURY : String = outer.blury [static]
This parameter is used for the glow/shadow filter effect
for element outer border. | Styles | ||
OUTER_CAPS_STYLE : String = outer.caps.style [static]
Element outer border joint style. | Styles | ||
OUTER_COLOR : String = outer.color [static]
Element outer color. | Styles | ||
OUTER_DISTANCE : String = outer.distance [static]
The glow or shadow offset distance for element outer border. | Styles | ||
OUTER_HIDEOBJECT : String = outer.hideobject [static]
This parameter is used for the glow/shadow filter effect
for element outer border. | Styles | ||
OUTER_INNER : String = outer.inner [static]
A boolean value for the grow direction (to inner or outer )
of glow/shadow filter of element outer border . | Styles | ||
OUTER_JOINT_STYLE : String = outer.joint.style [static]
Element outer border joint style. | Styles | ||
OUTER_KNOCKOUT : String = outer.knockout [static]
This parameter is used for the glow/shadow filter effect
for element outer border. | Styles | ||
OUTER_PADDING : String = outer.padding [static]
Element outer border insets value, number type. | Styles | ||
OUTER_PADDING_BOTTOM : String = outer.padding.bottom [static]
Element outer border bottom inset value, number type. | Styles | ||
OUTER_PADDING_LEFT : String = outer.padding.left [static]
Element outer border left inset value, number type. | Styles | ||
OUTER_PADDING_RIGHT : String = outer.padding.right [static]
Element outer border right inset value, number type. | Styles | ||
OUTER_PADDING_TOP : String = outer.padding.top [static]
Element outer border top inset value, number type. | Styles | ||
OUTER_PIXEL_HINTING : String = outer.pixel.hinting [static]
Whether enable element outer border pixel hinting. | Styles | ||
OUTER_QUALITY : String = outer.quality [static]
The glow or shadow filter quality level for element outer border. | Styles | ||
OUTER_SCALE_MODE : String = outer.scale.mode [static]
Element outer border scale mode. | Styles | ||
OUTER_SHAPE : String = outer.shape [static]
Shape of element outer border shape. | Styles | ||
OUTER_STRENGTH : String = outer.strength [static]
This parameter is used for the glow/shadow filter effect
for element outer border. | Styles | ||
OUTER_STYLE : String = outer.style [static]
Element outer style. | Styles | ||
OUTER_WIDTH : String = outer.width [static]
Element outer border width. | Styles | ||
SELECT_ALPHA : String = select.alpha [static]
Element selected color transparency. | Styles | ||
SELECT_ANGLE : String = select.angle [static]
The glow or shadow offset angle in degree when element is selected. | Styles | ||
SELECT_BLURX : String = select.blurx [static]
This parameter is used for the glow/shadow filter effect
when element is selected. | Styles | ||
SELECT_BLURY : String = select.blury [static]
This parameter is used for the glow/shadow filter effect
when element is selected. | Styles | ||
SELECT_CAPS_STYLE : String = select.caps.style [static]
Element selection border caps sytle. | Styles | ||
SELECT_COLOR : String = select.color [static]
Element selected color. | Styles | ||
SELECT_DISTANCE : String = select.distance [static]
The glow or shadow offset distance when element is selected. | Styles | ||
SELECT_HIDEOBJECT : String = select.hideobject [static]
This parameter is used for the glow/shadow filter effect
when element is selected. | Styles | ||
SELECT_INNER : String = select.inner [static]
A boolean value whether selected glow/shadow filter
is grow to inner or outer. | Styles | ||
SELECT_JOINT_STYLE : String = select.joint.style [static]
Element selection border joint sytle. | Styles | ||
SELECT_KNOCKOUT : String = select.knockout [static]
This parameter is used for the glow/shadow filter effect
when element is selected. | Styles | ||
SELECT_PADDING : String = select.padding [static]
Element inner insets. | Styles | ||
SELECT_PADDING_BOTTOM : String = select.padding.bottom [static]
Element inner gap on bottom. | Styles | ||
SELECT_PADDING_LEFT : String = select.padding.left [static]
Element inner gap in left side. | Styles | ||
SELECT_PADDING_RIGHT : String = select.padding.right [static]
Element inner gap in right side. | Styles | ||
SELECT_PADDING_TOP : String = select.padding.top [static]
Element inner gap to top. | Styles | ||
SELECT_PIXEL_HINTING : String = select.pixel.hinting [static]
Whether use pixel fine-tuning for element selected
highlight border. | Styles | ||
SELECT_QUALITY : String = select.quality [static]
The glow or shadow filter quality level when element
is selected. | Styles | ||
SELECT_SCALE_MODE : String = select.scale.mode [static]
Element selected highlight border scale mode. | Styles | ||
SELECT_SHAPE : String = select.shape [static]
Shape of element selected highlight. | Styles | ||
SELECT_STRENGTH : String = select.strength [static]
This parameter is used for the glow/shadow filter effect
when element is selected. | Styles | ||
SELECT_STYLE : String = select.style [static]
Display style when element is selected. | Styles | ||
SELECT_WIDTH : String = select.width [static]
Element selected highlight border width. | Styles | ||
SHAPELINK_TYPE : String = shapelink.type [static]
ShapeLink element type, how to draw line segment in ShapeLink element. | Styles | ||
SHAPENODE_CLOSED : String = shapenode.closed [static]
Whether shape node is path closed. | Styles | ||
SHAPENODE_PATTERN : String = shapenode.pattern [static]
Dash line pattern for shape node element. | Styles | ||
TREE_ALARM_FILL_ALPHA : String = tree.alarm.fill.alpha [static]
Style name of the tree node small alarm indicator's fill alpha transparent value. | Styles | ||
TREE_ALARM_FILL_COLOR : String = tree.alarm.fill.color [static]
Style name of the tree node small alarm indicator's fill color. | Styles | ||
TREE_ALARM_GRADIENT : String = tree.alarm.gradient [static]
Style name of the tree node small alarm indicator's fill gradient pattern. | Styles | ||
TREE_ALARM_GRADIENT_ALPHA : String = tree.alarm.gradient.alpha [static]
Style name of the tree node small alarm indicator's gradient fill color transparency. | Styles | ||
TREE_ALARM_GRADIENT_COLOR : String = tree.alarm.gradient.color [static]
Style name of the tree node small alarm indicator's gradient fill color. | Styles | ||
TREE_ALARM_HEIGHT : String = tree.alarm.height [static]
Style name of the small alarm indicator height value on tree node. | Styles | ||
TREE_ALARM_OUTLINE_ALPHA : String = tree.alarm.outline.alpha [static]
Style name of the tree node small alarm indicator's outline color transparency. | Styles | ||
TREE_ALARM_OUTLINE_COLOR : String = tree.alarm.outline.color [static]
Style name of the tree node small alarm indicator's outline color. | Styles | ||
TREE_ALARM_OUTLINE_WIDTH : String = tree.alarm.outline.width [static]
Style name of the tree node small alarm indicator's outline stroke width. | Styles | ||
TREE_ALARM_POSITION : String = tree.alarm.position [static]
Style indicates the small alarm indicator location of tree node icon. | Styles | ||
TREE_ALARM_SHAPE : String = tree.alarm.shape [static]
Style name of the small alarm indicator shape on tree node. | Styles | ||
TREE_ALARM_WIDTH : String = tree.alarm.width [static]
Style name of the small alarm indicator width value on tree node. | Styles | ||
TREE_ALARM_XOFFSET : String = tree.alarm.xoffset [static]
Style name of the small alarm indicator's x offset of the location on tree node. | Styles | ||
TREE_ALARM_YOFFSET : String = tree.alarm.yoffset [static]
Style name of the small alarm indicator's y offset of the location on tree node. | Styles | ||
TREE_ICON_HEIGHT : String = tree.icon.height [static]
Style name of the tree icon height value. | Styles | ||
TREE_ICON_PADDING : String = tree.icon.padding [static]
Style name of the padding value of tree icon. | Styles | ||
TREE_ICONS_COLORS : String = tree.icons.colors [static]
Style name of each icon's rendering color on tree node. | Styles | ||
TREE_ICONS_GAP : String = tree.icons.gap [static]
Style name of the gap between tree node icons. | Styles | ||
TREE_ICONS_NAMES : String = tree.icons.names [static]
Style name of all icon registered names displays on tree node. | Styles | ||
TREE_ICON_WIDTH : String = tree.icon.width [static]
Style name of the tree icon width value. | Styles | ||
TREE_LABEL : String = tree.label [static]
Style name of label on tree node. | Styles | ||
TREE_LABEL_BOLD : String = tree.label.bold [static]
Whether tree label text is bold. | Styles | ||
TREE_LABEL_BORDER : String = tree.label.border [static]
Whether tree label has outline border. | Styles | ||
TREE_LABEL_COLOR : String = tree.label.color [static]
Style name of tree label color. | Styles | ||
TREE_LABEL_EMBED : String = tree.label.embed [static]
Whether tree label use embed font name. | Styles | ||
TREE_LABEL_FONT : String = tree.label.font [static]
Tree label font name. | Styles | ||
TREE_LABEL_ITALIC : String = tree.label.italic [static]
Whether tree label text is italic style. | Styles | ||
TREE_LABEL_SIZE : String = tree.label.size [static]
Style name of tree label size. | Styles | ||
TREE_LABEL_UNDERLINE : String = tree.label.underline [static]
Whether tree label text has underline. | Styles | ||
TREE_LAYOUT : String = tree.layout [static]
Style name of tree node content layout. | Styles | ||
TREE_LAYOUT_GAP : String = tree.layout.gap [static]
Style name of the blank space between the items in tree content layout. | Styles | ||
TREE_MESSAGE : String = tree.message [static]
The message text of tree node. | Styles | ||
TREE_MESSAGE_BACKGROUND_ALPHA : String = tree.message.background.alpha [static]
Tree node message background transparency. | Styles | ||
TREE_MESSAGE_BACKGROUND_COLOR : String = tree.message.background.color [static]
Tree node message background color. | Styles | ||
TREE_MESSAGE_BOLD : String = tree.message.bold [static]
Whether tree node message text is bold. | Styles | ||
TREE_MESSAGE_CAPS_STYLE : String = tree.message.caps.style [static]
Endpoint type of tree node message link. | Styles | ||
TREE_MESSAGE_COLOR : String = tree.message.color [static]
The tree node message text color. | Styles | ||
TREE_MESSAGE_DEEP : String = tree.message.deep [static]
Tree node message 3D deep value. | Styles | ||
TREE_MESSAGE_EMBED : String = tree.message.embed [static]
Whether use embed font for tree node message text. | Styles | ||
TREE_MESSAGE_FILL_ALPHA : String = tree.message.fill.alpha [static]
The tree node message shape fill transparency. | Styles | ||
TREE_MESSAGE_FILL_COLOR : String = tree.message.fill.color [static]
The tree node message fill color. | Styles | ||
TREE_MESSAGE_FONT : String = tree.message.font [static]
The font name of tree node message text. | Styles | ||
TREE_MESSAGE_GRADIENT : String = tree.message.gradient [static]
Tree node message gradient pattern. | Styles | ||
TREE_MESSAGE_GRADIENT_ALPHA : String = tree.message.gradient.alpha [static]
Tree node message gradient alpha transparency. | Styles | ||
TREE_MESSAGE_GRADIENT_COLOR : String = tree.message.gradient.color [static]
Tree node message fill gradient color. | Styles | ||
TREE_MESSAGE_ITALIC : String = tree.message.italic [static]
Whether tree node message text is italic style. | Styles | ||
TREE_MESSAGE_JOINT_STYLE : String = tree.message.joint.style [static]
Endpoint style of tree node message link. | Styles | ||
TREE_MESSAGE_OUTLINE_ALPHA : String = tree.message.outline.alpha [static]
Transparency of tree node message outline color. | Styles | ||
TREE_MESSAGE_OUTLINE_COLOR : String = tree.message.outline.color [static]
Tree node message outline color. | Styles | ||
TREE_MESSAGE_OUTLINE_WIDTH : String = tree.message.outline.width [static]
Tree node message outline stroke width. | Styles | ||
TREE_MESSAGE_PERCENT : String = tree.message.percent [static]
This is to control the tree node message fill by %. | Styles | ||
TREE_MESSAGE_PIXEL_HINTING : String = tree.message.pixel.hinting [static]
Whether use pixel fine-tuning for tree node message line. | Styles | ||
TREE_MESSAGE_SCALE_MODE : String = tree.message.scale.mode [static]
Zoom type of tree node message line. | Styles | ||
TREE_MESSAGE_SHAPE : String = tree.message.shape [static]
Tree node message shape. | Styles | ||
TREE_MESSAGE_SIZE : String = tree.message.size [static]
The font size of tree node message text. | Styles | ||
TREE_MESSAGE_UNDERLINE : String = tree.message.underline [static]
Whether tree node message text is underline. | Styles | ||
TREE_MESSAGE_WIDTH : String = tree.message.width [static]
Tree node message width. | Styles | ||
TREE_MESSAGE_XPADDING : String = tree.message.xpadding [static]
Inner gap of tree node message in x axis. | Styles | ||
TREE_MESSAGE_YPADDING : String = tree.message.ypadding [static]
Inner gap of tree node message in y axis. | Styles | ||
TREE_OUTER_STYLE : String = tree.outer.style [static]
Style name of the tree border style. | Styles | ||
TREE_OUTER_WIDTH : String = tree.outer.width [static]
Style name of the tree border width. | Styles | ||
VECTOR_CAPS_STYLE : String = vector.caps.style [static]
Element vector shape caps sytle. | Styles | ||
VECTOR_DEEP : String = vector.deep [static]
Element vector shape deep value. | Styles | ||
VECTOR_FILL : String = vector.fill [static]
Whether fill element vector shape. | Styles | ||
VECTOR_FILL_ALPHA : String = vector.fill.alpha [static]
Element vector shape fill color transparency. | Styles | ||
VECTOR_FILL_COLOR : String = vector.fill.color [static]
Element vector shape fill color. | Styles | ||
VECTOR_GRADIENT : String = vector.gradient [static]
Element vector graph fill gradient pattern. | Styles | ||
VECTOR_GRADIENT_ALPHA : String = vector.gradient.alpha [static]
Element vector shape fill gradient color transparency. | Styles | ||
VECTOR_GRADIENT_COLOR : String = vector.gradient.color [static]
Element vector shape fill gradient color. | Styles | ||
VECTOR_GRADIENT_RECT : String = vector.gradient.rect [static]
The rectangle bound of element vector shape to fill with gradient. | Styles | ||
VECTOR_JOINT_STYLE : String = vector.joint.style [static]
Element vector shape joint sytle. | Styles | ||
VECTOR_OUTLINE_ALPHA : String = vector.outline.alpha [static]
Element vector shape outline color transparency. | Styles | ||
VECTOR_OUTLINE_COLOR : String = vector.outline.color [static]
Element vector shape outline color. | Styles | ||
VECTOR_OUTLINE_PATTERN : String = vector.outline.pattern [static]
Element vector shape outline dash pattern. | Styles | ||
VECTOR_OUTLINE_WIDTH : String = vector.outline.width [static]
Element vector shape outline width. | Styles | ||
VECTOR_PADDING : String = vector.padding [static]
The inner padding value of element vector graph. | Styles | ||
VECTOR_PADDING_BOTTOM : String = vector.padding.bottom [static]
The bottom gap value of element vector graph. | Styles | ||
VECTOR_PADDING_LEFT : String = vector.padding.left [static]
The left gap value of element vector graph. | Styles | ||
VECTOR_PADDING_RIGHT : String = vector.padding.right [static]
The right gap value of element vector graph. | Styles | ||
VECTOR_PADDING_TOP : String = vector.padding.top [static]
The top gap value of element vector graph. | Styles | ||
VECTOR_PIXEL_HINTING : String = vector.pixel.hinting [static]
Whether enable element vector shape pixel hinting. | Styles | ||
VECTOR_ROUNDRECT_RADIUS : String = vector.roundrect.radius [static]
The radius of the round rect. | Styles | ||
VECTOR_SCALE_MODE : String = vector.scale.mode [static]
Element vector shape scale mode. | Styles | ||
VECTOR_SHAPE : String = vector.shape [static]
Element vector shape type. | Styles | ||
WHOLE_ALPHA : String = whole.alpha [static]
Whole alpha transparency of an element. | Styles |
getStyle | () | method |
public static function getStyle(styleProp:String):*
Get a style property default value.
Parameters
styleProp:String — the style property name to get
|
* — the default value of this style property.
|
register | () | method |
public static function register(styleProp:String, newValue:Object, type:String = null, cdata:Boolean = false, overrideExist:Boolean = true):void
Register a style property default value.
Parameters
styleProp:String — style property name to register
| |
newValue:Object — new default value for this style property
| |
type:String (default = null ) — class type of this style property
| |
cdata:Boolean (default = false ) — whether is XML CData type.
| |
overrideExist:Boolean (default = true ) — whether overwrite the exist value
|
setStyle | () | method |
public static function setStyle(styleProp:String, newValue:Object):void
Set a style property default value.
Parameters
styleProp:String — the style property name to set
| |
newValue:Object — the new value of the style property.
|
ALARM_ALPHA | Constant |
public static const ALARM_ALPHA:String = alarm.alpha
Element alarm bubble text color transparency. Default value is 1, no transparency.
For example:
node.setStyle(Styles.ALARM_ALPHA, 0.5);
ALARM_BOLD | Constant |
public static const ALARM_BOLD:String = alarm.bold
Whether element alarm bubble text use bold style. Default value is false.
For example:
node.setStyle(Styles.ALARM_BOLD, true);
ALARM_COLOR | Constant |
public static const ALARM_COLOR:String = alarm.color
Element alarm bubble text color. Default value is black.
For example:
node.setStyle(Styles.ALARM_COLOR, Consts.COLOR_WHITE);
ALARM_CONTENT_XSCALE | Constant |
public static const ALARM_CONTENT_XSCALE:String = alarm.content.xscale
Element alarm bubble text scale in x axis. Default value is 1, no scale.
For example:
node.setStyle(Styles.ALARM_CONTENT_XSCALE, 2);
ALARM_CONTENT_YSCALE | Constant |
public static const ALARM_CONTENT_YSCALE:String = alarm.content.yscale
Element alarm bubble text scale in y axis. Default value is 1, no scale.
For example:
node.setStyle(Styles.ALARM_CONTENT_YSCALE, 2);
ALARM_CORNER_RADIUS | Constant |
public static const ALARM_CORNER_RADIUS:String = alarm.corner.radius
Element alarm bubble round corner radius. Default value is 8.
For example:
node.setStyle(Styles.ALARM_CORNER_RADIUS, 15);
ALARM_DIRECTION | Constant |
public static const ALARM_DIRECTION:String = alarm.direction
Element alarm bubble direction.
Default value is Consts.ATTACHMENT_DIRECTION_ABOVE_RIGHT
.
Available values are:
For example:
node.setStyle(Styles.ALARM_DIRECTION, Consts.ATTACHMENT_DIRECTION_RIGHT);
ALARM_EMBED | Constant |
public static const ALARM_EMBED:String = alarm.embed
Whether element alarm bubble text label use embed font name. Default value is false.
For example:
node.setStyle(Styles.ALARM_EMBED, true);
ALARM_FILL_ALPHA | Constant |
public static const ALARM_FILL_ALPHA:String = alarm.fill.alpha
Element alarm bubble fill color transparency. Default value is 1.
For example:
node.setStyle(Styles.ALARM_FILL_ALPHA, 0.5);
ALARM_FONT | Constant |
public static const ALARM_FONT:String = alarm.font
Element alarm bubble text font name.
ALARM_GRADIENT | Constant |
public static const ALARM_GRADIENT:String = alarm.gradient
Element alarm bubble fill gradient pattern.
Default value is Consts.GRADIENT_RADIAL_SOUTH
.
This value can be:
For example:
node.setStyle(Styles.ALARM_GRADIENT, Consts.GRADIENT_SPREAD_EAST);
ALARM_GRADIENT_ALPHA | Constant |
public static const ALARM_GRADIENT_ALPHA:String = alarm.gradient.alpha
Element alarm bubble fill gradient color transparency. Default value is 1, no transparency.
For example:
node.setStyle(Styles.ALARM_GRADIENT_ALPHA, 0.3);
ALARM_GRADIENT_COLOR | Constant |
public static const ALARM_GRADIENT_COLOR:String = alarm.gradient.color
Element alarm bubble fill gradient color.
Default value is Consts.COLOR_WHITE
.
For example:
node.setStyle(Styles.ALARM_GRADIENT_COLOR, Consts.COLOR_BLACK);
ALARM_HTML | Constant |
public static const ALARM_HTML:String = alarm.html
Element alarm bubble text whether or not html.Default value is false.
For example:
node.setStyle(Styles.ALARM_HTML, true);
ALARM_ITALIC | Constant |
public static const ALARM_ITALIC:String = alarm.italic
Whether element alarm bubble text use italic style. Default value is false.
For example:
node.setStyle(Styles.ALARM_ITALIC, true);
ALARM_OUTLINE_ALPHA | Constant |
public static const ALARM_OUTLINE_ALPHA:String = alarm.outline.alpha
Element alarm bubble outline color transparency. Default value is 1, no transparency.
For example:
node.setStyle(Styles.ALARM_OUTLINE_ALPHA, 0.3);
ALARM_OUTLINE_COLOR | Constant |
public static const ALARM_OUTLINE_COLOR:String = alarm.outline.color
Element alarm bubble outline color.
Default value is Consts.COLOR_BLACK
.
For example:
node.setStyle(Styles.ALARM_OUTLINE_COLOR, Consts.COLOR_WHITE);
ALARM_OUTLINE_WIDTH | Constant |
public static const ALARM_OUTLINE_WIDTH:String = alarm.outline.width
Element alarm bubble outline width. Default value is -1, no outline.
For example:
node.setStyle(Styles.ALARM_OUTLINE_WIDTH, 2);
ALARM_PADDING | Constant |
public static const ALARM_PADDING:String = alarm.padding
Element alarm bubble shape inner padding value. Default value is 0.
For example:
node.setStyle(Styles.ALARM_PADDING, 10);
ALARM_PADDING_BOTTOM | Constant |
public static const ALARM_PADDING_BOTTOM:String = alarm.padding.bottom
Element alarm bubble shape inner bottom gap. Default value is 0.
For example:
node.setStyle(Styles.ALARM_PADDING_BOTTOM, 10);
ALARM_PADDING_LEFT | Constant |
public static const ALARM_PADDING_LEFT:String = alarm.padding.left
Element alarm bubble shape inner left gap. Default value is 0.
For example:
node.setStyle(Styles.ALARM_PADDING_LEFT, 10);
ALARM_PADDING_RIGHT | Constant |
public static const ALARM_PADDING_RIGHT:String = alarm.padding.right
Element alarm bubble shape inner right gap. Default value is 0.
For example:
node.setStyle(Styles.ALARM_PADDING_RIGHT, 10);
ALARM_PADDING_TOP | Constant |
public static const ALARM_PADDING_TOP:String = alarm.padding.top
Element alarm bubble shape inner top gap. Default value is 0.
For example:
node.setStyle(Styles.ALARM_PADDING_TOP, 10);
ALARM_POINTER_LENGTH | Constant |
public static const ALARM_POINTER_LENGTH:String = alarm.pointer.length
Element alarm bubble pointer length. Default value is 10.
For example:
node.setStyle(Styles.ALARM_POINTER_LENGTH, 15);
ALARM_POINTER_WIDTH | Constant |
public static const ALARM_POINTER_WIDTH:String = alarm.pointer.width
Element alarm bubble pointer width. Default value is 8.
For example:
node.setStyle(Styles.ALARM_POINTER_WIDTH, 15);
ALARM_POSITION | Constant |
public static const ALARM_POSITION:String = alarm.position
Element alarm bubble position.
Default value is Consts.POSITION_HOTSPOT
.
The value can be:
For example:
node.setStyle(Styles.ALARM_POSITION, Consts.POSITION_BOTTOMRIGHT_BOTTOMRIGHT);
ALARM_SHADOW_ALPHA | Constant |
public static const ALARM_SHADOW_ALPHA:String = alarm.shadow.alpha
Element alarm bubble shadow fill color transparency. Default value is 0.4.
For example:
node.setStyle(Styles.ALARM_SHADOW_ALPHA, 0.2);
ALARM_SHADOW_ANGLE | Constant |
public static const ALARM_SHADOW_ANGLE:String = alarm.shadow.angle
Element alarm bubble pointer angle in degree. Default value is 45.
For example:
node.setStyle(Styles.ALARM_SHADOW_ANGLE, 60);
ALARM_SHADOW_COLOR | Constant |
public static const ALARM_SHADOW_COLOR:String = alarm.shadow.color
Element alarm bubble shadow fill color. Default value is 0x000000.
For example:
node.setStyle(Styles.ALARM_SHADOW_COLOR, 0xFF0000);
ALARM_SHADOW_DISTANCE | Constant |
public static const ALARM_SHADOW_DISTANCE:String = alarm.shadow.distance
Element alarm bubble and the shadow distance. Default value is 4.
For example:
node.setStyle(Styles.ALARM_SHADOW_DISTANCE, 10);
ALARM_SIZE | Constant |
public static const ALARM_SIZE:String = alarm.size
Element alarm bubble font size. Default value is 12.
For example:
node.setStyle(Styles.ALARM_SIZE, 20);
ALARM_UNDERLINE | Constant |
public static const ALARM_UNDERLINE:String = alarm.underline
Whether element alarm bubble text use underline style. Default value is false.
For example:
node.setStyle(Styles.ALARM_UNDERLINE, true);
ALARM_XOFFSET | Constant |
public static const ALARM_XOFFSET:String = alarm.xoffset
Element alarm bubble x offset base on the
ALARM_POSITION
.
Default value is 0.
For example:
node.setStyle(Styles.ALARM_XOFFSET, 10);
ALARM_YOFFSET | Constant |
public static const ALARM_YOFFSET:String = alarm.yoffset
Element alarm bubble y offset base on the
ALARM_POSITION
.
Default value is 0.
For example:
node.setStyle(Styles.ALARM_YOFFSET, 10);
ARROW_FROM | Constant |
public static const ARROW_FROM:String = arrow.from
Whether display from arrow of link/ShapeNode element. Default value is false.
Example:
link.setStyle(Styles.ARROW_FROM, true);
ARROW_FROM_ALPHA | Constant |
public static const ARROW_FROM_ALPHA:String = arrow.from.alpha
Link/ShapeNode element from arrow shape fill color transparency. Default value is 1, no transparency.
Example:
link.setStyle(Styles.ARROW_FROM_ALPHA, 0.4);
See also
ARROW_FROM_AT_EDGE | Constant |
public static const ARROW_FROM_AT_EDGE:String = arrow.from.at.edge
Whether from arrow of Link/ShapeNode element are from start node's edge. Default value is true.
Example:
link.setStyle(Styles.ARROW_FROM_AT_EDGE, false);
See also
ARROW_FROM_COLOR | Constant |
public static const ARROW_FROM_COLOR:String = arrow.from.color
Link/ShapeNode element from arrow shape draw color.
Example:
link.setStyle(Styles.ARROW_FROM_COLOR, 0x0000FF);
See also
ARROW_FROM_FILL | Constant |
public static const ARROW_FROM_FILL:String = arrow.from.fill
Whether fill from arrow shape of the link/ShapeNode element. Default value is true.
Example:
link.setStyle(Styles.ARROW_FROM_FILL, false);
See also
ARROW_FROM_HEIGHT | Constant |
public static const ARROW_FROM_HEIGHT:String = arrow.from.height
Link/ShapeNode element from arrow shape height. Default value is 9.
Example:
link.setStyle(Styles.ARROW_FROM_HEIGHT, 12);
See also
ARROW_FROM_OUTLINE_ALPHA | Constant |
public static const ARROW_FROM_OUTLINE_ALPHA:String = arrow.from.outline.alpha
Link/ShapeNode element from arrow outline color transparency. Default value is 1, no transparency.
Example:
link.setStyle(Styles.ARROW_FROM_OUTLINE_ALPHA, 0.4);
See also
ARROW_FROM_OUTLINE_COLOR | Constant |
public static const ARROW_FROM_OUTLINE_COLOR:String = arrow.from.outline.color
Link/ShapeNode element from arrow outline color.
Example:
link.setStyle(Styles.ARROW_FROM_OUTLINE_COLOR, 0x0000FF);
See also
ARROW_FROM_OUTLINE_PATTERN | Constant |
public static const ARROW_FROM_OUTLINE_PATTERN:String = arrow.from.outline.pattern
Link/ShapeNode element from arrow outline dash line pattern.
Example:
link.setStyle(Styles.ARROW_FROM_OUTLINE_PATTERN, [4,2]);
See also
ARROW_FROM_OUTLINE_WIDTH | Constant |
public static const ARROW_FROM_OUTLINE_WIDTH:String = arrow.from.outline.width
Link/ShapeNode element from arrow outline width. Default value is -1, no outlien.
Example:
link.setStyle(Styles.ARROW_FROM_OUTLINE_WIDTH, 1);
See also
ARROW_FROM_SHAPE | Constant |
public static const ARROW_FROM_SHAPE:String = arrow.from.shape
Link/ShapeNode element from arrow shape.
Default value is Consts.ARROW_STANDARD
.
This value can be:
Example:
link.setStyle(Styles.ARROW_FROM_SHAPE, Consts.ARROW_DELTA);
See also
ARROW_FROM_WIDTH | Constant |
public static const ARROW_FROM_WIDTH:String = arrow.from.width
Link/ShapeNode element from arrow shape width. Default value is 12.
Example:
link.setStyle(Styles.ARROW_FROM_WIDTH, 20);
See also
ARROW_FROM_XOFFSET | Constant |
public static const ARROW_FROM_XOFFSET:String = arrow.from.xoffset
Link/ShapeNode element from arrow offset in x axis direction. Default value is 0.
Example:
link.setStyle(Styles.ARROW_FROM_XOFFSET, 2);
See also
ARROW_FROM_YOFFSET | Constant |
public static const ARROW_FROM_YOFFSET:String = arrow.from.yoffset
Link/ShapeNode element from arrow offset in y axis direction. Default value is 0.
Example:
link.setStyle(Styles.ARROW_FROM_YOFFSET, 2);
See also
ARROW_TO | Constant |
public static const ARROW_TO:String = arrow.to
Whether display to arrow of link/ShapeNode element. Default value is false.
Example:
link.setStyle(Styles.ARROW_TO, true);
ARROW_TO_ALPHA | Constant |
public static const ARROW_TO_ALPHA:String = arrow.to.alpha
Link/ShapeNode element to arrow shape fill color transparency. Default value is 1, no transparency.
Example:
link.setStyle(Styles.ARROW_TO_ALPHA, 0.4);
See also
ARROW_TO_AT_EDGE | Constant |
public static const ARROW_TO_AT_EDGE:String = arrow.to.at.edge
Whether to arrow of Link/ShapeNode element are from start node's edge. Default value is true.
Example:
link.setStyle(Styles.ARROW_TO_AT_EDGE, false);
See also
ARROW_TO_COLOR | Constant |
public static const ARROW_TO_COLOR:String = arrow.to.color
Link/ShapeNode element to arrow shape draw color.
Example:
link.setStyle(Styles.ARROW_TO_COLOR, 0x0000FF);
See also
ARROW_TO_FILL | Constant |
public static const ARROW_TO_FILL:String = arrow.to.fill
Whether fill to arrow shape of the link/ShapeNode element. Default value is true.
Example:
link.setStyle(Styles.ARROW_TO_FILL, false);
See also
ARROW_TO_HEIGHT | Constant |
public static const ARROW_TO_HEIGHT:String = arrow.to.height
Link/ShapeNode element to arrow shape height. Default value is 9.
Example:
link.setStyle(Styles.ARROW_TO_HEIGHT, 12);
See also
ARROW_TO_OUTLINE_ALPHA | Constant |
public static const ARROW_TO_OUTLINE_ALPHA:String = arrow.to.outline.alpha
Link/ShapeNode element to arrow outline color transparency. Default value is 1, no transparency.
Example:
link.setStyle(Styles.ARROW_TO_OUTLINE_ALPHA, 0.4);
See also
ARROW_TO_OUTLINE_COLOR | Constant |
public static const ARROW_TO_OUTLINE_COLOR:String = arrow.to.outline.color
Link/ShapeNode element to arrow outline color.
Example:
link.setStyle(Styles.ARROW_TO_OUTLINE_COLOR, 0x0000FF);
See also
ARROW_TO_OUTLINE_PATTERN | Constant |
public static const ARROW_TO_OUTLINE_PATTERN:String = arrow.to.outline.pattern
Link/ShapeNode element to arrow outline dash line pattern.
Example:
link.setStyle(Styles.ARROW_TO_OUTLINE_PATTERN, [4,2]);
See also
ARROW_TO_OUTLINE_WIDTH | Constant |
public static const ARROW_TO_OUTLINE_WIDTH:String = arrow.to.outline.width
Link/ShapeNode element to arrow outline color.
Example:
link.setStyle(Styles.ARROW_TO_OUTLINE_WIDTH, 0x0000FF);
See also
ARROW_TO_SHAPE | Constant |
public static const ARROW_TO_SHAPE:String = arrow.to.shape
Link/ShapeNode element to arrow shape.
Default value is Consts.ARROW_STANDARD
.
This value can be:
Example:
link.setStyle(Styles.ARROW_TO_SHAPE, Consts.ARROW_DELTA);
See also
ARROW_TO_WIDTH | Constant |
public static const ARROW_TO_WIDTH:String = arrow.to.width
Link/ShapeNode element to arrow shape width. Default value is 12.
Example:
link.setStyle(Styles.ARROW_TO_WIDTH, 20);
See also
ARROW_TO_XOFFSET | Constant |
public static const ARROW_TO_XOFFSET:String = arrow.to.xoffset
Link/ShapeNode element to arrow offset in x axis direction. Default value is 0.
Example:
link.setStyle(Styles.ARROW_TO_XOFFSET, 2);
See also
ARROW_TO_YOFFSET | Constant |
public static const ARROW_TO_YOFFSET:String = arrow.to.yoffset
Link/ShapeNode element to arrow offset in y axis direction. Default value is 0.
Example:
link.setStyle(Styles.ARROW_TO_YOFFSET, 2);
See also
BACKGROUND_IMAGE | Constant |
public static const BACKGROUND_IMAGE:String = background.image
Network canvas background image.
box.setStyle(Styles.BACKGROUND_IMAGE, "background_resource");
BACKGROUND_IMAGE_CAPS_STYLE | Constant |
public static const BACKGROUND_IMAGE_CAPS_STYLE:String = background.image.caps.style
Network image caps sytle.
Default value is Consts.CAPS_STYLE_ROUND
.
Possible values are:
Example:
box.setStyle(Styles.BACKGROUND_IMAGE_CAPS_STYLE, Consts.CAPS_STYLE_SQUARE);
BACKGROUND_IMAGE_JOINT_STYLE | Constant |
public static const BACKGROUND_IMAGE_JOINT_STYLE:String = background.image.joint.style
Network image joint sytle.
Default value is Consts.JOINT_STYLE_ROUND
.
Possible values are:
Example:
box.setStyle(Styles.BACKGROUND_IMAGE_JOINT_STYLE, Consts.JOINT_STYLE_BEVEL);
BACKGROUND_IMAGE_OUTLINE_ALPHA | Constant |
public static const BACKGROUND_IMAGE_OUTLINE_ALPHA:String = background.image.outline.alpha
Network background image outline color transparency. Default value is 1, no transparentcy.
Example:
box.setStyle(Styles.BACKGROUND_IMAGE_OUTLINE_ALPHA, 1);
BACKGROUND_IMAGE_OUTLINE_COLOR | Constant |
public static const BACKGROUND_IMAGE_OUTLINE_COLOR:String = background.image.outline.color
Network background image outline color. Default value is black color.
Example:
box.setStyle(Styles.BACKGROUND_IMAGE_OUTLINE_COLOR, 0x000000);
BACKGROUND_IMAGE_OUTLINE_WIDTH | Constant |
public static const BACKGROUND_IMAGE_OUTLINE_WIDTH:String = background.image.outline.width
Network background image outline width, number type. -1 means no outline. Default value is -1.
Example:
box.setStyle(Styles.BACKGROUND_IMAGE_OUTLINE_WIDTH, -1);
BACKGROUND_IMAGE_PADDING | Constant |
public static const BACKGROUND_IMAGE_PADDING:String = background.image.padding
Network background image insets value, number type. Default value is 0.
box.setStyle(Styles.BACKGROUND_IMAGE_PADDING, 0);
BACKGROUND_IMAGE_PADDING_BOTTOM | Constant |
public static const BACKGROUND_IMAGE_PADDING_BOTTOM:String = background.image.padding.bottom
Network background image bottom insets value, number type. Default value is 0.
box.setStyle(Styles.BACKGROUND_IMAGE_PADDING_BOTTOM, 2);
BACKGROUND_IMAGE_PADDING_LEFT | Constant |
public static const BACKGROUND_IMAGE_PADDING_LEFT:String = background.image.padding.left
Network background image left insets value, number type. Default value is 0.
box.setStyle(Styles.BACKGROUND_IMAGE_PADDING_LEFT, 2);
BACKGROUND_IMAGE_PADDING_RIGHT | Constant |
public static const BACKGROUND_IMAGE_PADDING_RIGHT:String = background.image.padding.right
Network background image right insets value, number type. Default value is 0.
box.setStyle(Styles.BACKGROUND_IMAGE_PADDING_RIGHT, 2);
BACKGROUND_IMAGE_PADDING_TOP | Constant |
public static const BACKGROUND_IMAGE_PADDING_TOP:String = background.image.padding.top
Network background image top insets value, number type. Default value is 0.
box.setStyle(Styles.BACKGROUND_IMAGE_PADDING_TOP, 2);
BACKGROUND_IMAGE_PIXEL_HINTING | Constant |
public static const BACKGROUND_IMAGE_PIXEL_HINTING:String = background.image.pixel.hinting
Whether enable network background image pixel hinting.
See flash.display.Graphics#lineStyle(thickness:Number = NaN,
color:uint = 0, alpha:Number = 1.0, pixelHinting:Boolean = false,
scaleMode:String = "normal", caps:String = null, joints:String = null,
miterLimit:Number = 3)
for details
Default value is true.
Example:
box.setStyle(Styles.BACKGROUND_IMAGE_PIXEL_HINTING, false);
BACKGROUND_IMAGE_SCALE_MODE | Constant |
public static const BACKGROUND_IMAGE_SCALE_MODE:String = background.image.scale.mode
Network image scale mode.
Default value is Consts.SCALE_MODE_NORMAL
.
Possible values are:
Example:
box.setStyle(Styles.BACKGROUND_IMAGE_SCALE_MODE, Consts.SCALE_MODE_HORIZONTAL);
BACKGROUND_IMAGE_SCOPE | Constant |
public static const BACKGROUND_IMAGE_SCOPE:String = background.image.scope
Scope of network background image.
BACKGROUND_IMAGE_SHAPE | Constant |
public static const BACKGROUND_IMAGE_SHAPE:String = background.image.shape
Network background image shape. The value can be:
Default value is Consts.SHAPE_RECTANGLE
Example:
box.setStyle(Styles.BACKGROUND_IMAGE_SHAPE, Consts.SHAPE_RECTANGLE);
BACKGROUND_IMAGE_STRETCH | Constant |
public static const BACKGROUND_IMAGE_STRETCH:String = background.image.stretch
Network background image stretch policy.
Default value is Consts.STRETCH_NORTHWEST
.
This value can be:
BACKGROUND_TYPE | Constant |
public static const BACKGROUND_TYPE:String = background.type
Network canvas background type. This can be:
Default value is Consts.BACKGROUND_TYPE_NONE
.
BACKGROUND_VECTOR_CAPS_STYLE | Constant |
public static const BACKGROUND_VECTOR_CAPS_STYLE:String = background.vector.caps.style
Network vector background joint style.
Default value is Consts.CAPS_STYLE_ROUND
.
Possible values are:
Example:
box.setStyle(Styles.BACKGROUND_VECTOR_CAPS_STYLE, Consts.CAPS_STYLE_SQUARE);
BACKGROUND_VECTOR_DEEP | Constant |
public static const BACKGROUND_VECTOR_DEEP:String = background.vector.deep
Network vector background deepness. Default value is 0.
Example:
box.setStyle(Styles.BACKGROUND_VECTOR_DEEP, 5);
BACKGROUND_VECTOR_FILL | Constant |
public static const BACKGROUND_VECTOR_FILL:String = background.vector.fill
Whether fill network bacground vector image. Boolean value. Default value is true.
Example:
box.setStyle(Styles.BACKGROUND_VECTOR_FILL, false);
BACKGROUND_VECTOR_FILL_ALPHA | Constant |
public static const BACKGROUND_VECTOR_FILL_ALPHA:String = background.vector.fill.alpha
Network background vector image fill color transparency. Default value is 1, no transparency.
Example:
box.setStyle(Styles.BACKGROUND_VECTOR_FILL_ALPHA, 0.6);
BACKGROUND_VECTOR_FILL_COLOR | Constant |
public static const BACKGROUND_VECTOR_FILL_COLOR:String = background.vector.fill.color
Network background vector image fill color. Default value is 0xCCCCFF.
Example:
box.setStyle(Styles.BACKGROUND_VECTOR_FILL_COLOR, 0x22CC00);
BACKGROUND_VECTOR_GRADIENT | Constant |
public static const BACKGROUND_VECTOR_GRADIENT:String = background.vector.gradient
Network vector background gradient pattern.
Default value is Consts.GRADIENT_NONE
This value can be:
Example:
box.setStyle(Styles.BACKGROUND_VECTOR_GRADIENT, Consts.GRADIENT_SPREAD_VERTICAL);
BACKGROUND_VECTOR_GRADIENT_ALPHA | Constant |
public static const BACKGROUND_VECTOR_GRADIENT_ALPHA:String = background.vector.gradient.alpha
Network vector background gradient color transparency. Default value is 1, no transparency.
Example:
box.setStyle(Styles.BACKGROUND_VECTOR_GRADIENT_ALPHA, 0.8);
BACKGROUND_VECTOR_GRADIENT_COLOR | Constant |
public static const BACKGROUND_VECTOR_GRADIENT_COLOR:String = background.vector.gradient.color
Network vector background gradient color. Default value is white color.
Example:
box.setStyle(Styles.BACKGROUND_VECTOR_GRADIENT_COLOR, 0xFFFFFF);
BACKGROUND_VECTOR_JOINT_STYLE | Constant |
public static const BACKGROUND_VECTOR_JOINT_STYLE:String = background.vector.joint.style
Network vector background joint style.
Default value is Consts.JOINT_STYLE_ROUND
.
Possible values are:
Example:
box.setStyle(Styles.BACKGROUND_VECTOR_JOINT_STYLE, Consts.JOINT_STYLE_MITER);
BACKGROUND_VECTOR_OUTLINE_ALPHA | Constant |
public static const BACKGROUND_VECTOR_OUTLINE_ALPHA:String = background.vector.outline.alpha
Network vector background outline width. Default value is 1.
Example:
box.setStyle(Styles.BACKGROUND_VECTOR_OUTLINE_ALPHA, 0.5);
BACKGROUND_VECTOR_OUTLINE_COLOR | Constant |
public static const BACKGROUND_VECTOR_OUTLINE_COLOR:String = background.vector.outline.color
Network vector background outline width.
Default value Consts.COLOR_DARK
.
Example:
box.setStyle(Styles.BACKGROUND_VECTOR_OUTLINE_COLOR, 0x0000FF);
BACKGROUND_VECTOR_OUTLINE_WIDTH | Constant |
public static const BACKGROUND_VECTOR_OUTLINE_WIDTH:String = background.vector.outline.width
Network vector background outline width. Default value is -1, no outline.
Example:
box.setStyle(Styles.BACKGROUND_VECTOR_OUTLINE_WIDTH, 2);
BACKGROUND_VECTOR_PADDING | Constant |
public static const BACKGROUND_VECTOR_PADDING:String = background.vector.padding
Network vector background insets value in all directions. Default value is 0.
Example:
box.setStyle(Styles.BACKGROUND_VECTOR_PADDING, 5);
BACKGROUND_VECTOR_PADDING_BOTTOM | Constant |
public static const BACKGROUND_VECTOR_PADDING_BOTTOM:String = background.vector.padding.bottom
Network vector background insets value on bottom. Default value is 0.
Example:
box.setStyle(Styles.BACKGROUND_VECTOR_PADDING_BOTTOM, 5);
BACKGROUND_VECTOR_PADDING_LEFT | Constant |
public static const BACKGROUND_VECTOR_PADDING_LEFT:String = background.vector.padding.left
Network vector background insets value in left side. Default value is 0.
Example:
box.setStyle(Styles.BACKGROUND_VECTOR_PADDING_LEFT, 5);
BACKGROUND_VECTOR_PADDING_RIGHT | Constant |
public static const BACKGROUND_VECTOR_PADDING_RIGHT:String = background.vector.padding.right
Network vector background insets value in right side. Default value is 0.
Example:
box.setStyle(Styles.BACKGROUND_VECTOR_PADDING_RIGHT, 5);
BACKGROUND_VECTOR_PADDING_TOP | Constant |
public static const BACKGROUND_VECTOR_PADDING_TOP:String = background.vector.padding.top
Network vector background insets value on top. Default value is 0.
Example:
box.setStyle(Styles.BACKGROUND_VECTOR_PADDING_TOP, 5);
BACKGROUND_VECTOR_PIXEL_HINTING | Constant |
public static const BACKGROUND_VECTOR_PIXEL_HINTING:String = background.vector.pixel.hinting
Whether enable network vector background pixel hinting. Refer to:
flash.display.Graphics#lineStyle(thickness:Number = NaN,
color:uint = 0, alpha:Number = 1.0, pixelHinting:Boolean = false,
scaleMode:String = "normal", caps:String = null, joints:String = null,
miterLimit:Number = 3)
Default value is true.
Example:
box.setStyle(Styles.BACKGROUND_VECTOR_PIXEL_HINTING, false);
BACKGROUND_VECTOR_SCALE_MODE | Constant |
public static const BACKGROUND_VECTOR_SCALE_MODE:String = background.vector.scale.mode
Network vector background scale mode.
Default value is Consts.SCALE_MODE_NORMAL
.
Possible values are:
Example:
box.setStyle(Styles.BACKGROUND_VECTOR_SCALE_MODE, Consts.SCALE_MODE_HORIZONTAL);
BACKGROUND_VECTOR_SCOPE | Constant |
public static const BACKGROUND_VECTOR_SCOPE:String = background.vector.scope
Network background vector image scope.
Default value is Consts.SCOPE_VIEWSIZE
.
Possible values:
Example:
box.setStyle(Styles.BACKGROUND_VECTOR_SCOPE, Consts.SCOPE_VIEWPORT);
BACKGROUND_VECTOR_SHAPE | Constant |
public static const BACKGROUND_VECTOR_SHAPE:String = background.vector.shape
Network background shape.
Default value is Consts.SHAPE_RECTANGLE
.
Possible values:
Example:
box.setStyle(Styles.BACKGROUND_VECTOR_SHAPE, Consts.SHAPE_CIRCLE);
BODY_ALPHA | Constant |
public static const BODY_ALPHA:String = body.alpha
Element body alpha transparency. Default value is 1, no transparency.
BODY_BEVEL | Constant |
public static const BODY_BEVEL:String = body.bevel
Whether apply BevelFilter
on element body.
Default value is false.
BODY_BEVEL_ANGLE | Constant |
public static const BODY_BEVEL_ANGLE:String = body.bevel.angle
The bevel angle of the bevel filter when
BODY_BEVEL
is turned on. Below code
shows how TWaver Flex use this parameter internally:
new BevelFilter(element.getStyle(Styles.BODY_BEVEL_DISTANCE), element.getStyle(Styles.BODY_BEVEL_ANGLE), element.getStyle(Styles.BODY_BEVEL_HIGHLIGHT_COLOR), element.getStyle(Styles.BODY_BEVEL_HIGHLIGHT_ALPHA), element.getStyle(Styles.BODY_BEVEL_SHADOW_COLOR), element.getStyle(Styles.BODY_BEVEL_SHADOW_ALPHA), element.getStyle(Styles.BODY_BEVEL_BLURX), element.getStyle(Styles.BODY_BEVEL_BLURY), element.getStyle(Styles.BODY_BEVEL_STRENGTH), element.getStyle(Styles.BODY_BEVEL_QUALITY), element.getStyle(Styles.BODY_BEVEL_TYPE), element.getStyle(Styles.BODY_BEVEL_KNOCKOUT));
See also
BODY_BEVEL_BLURX | Constant |
public static const BODY_BEVEL_BLURX:String = body.bevel.blurx
The amount to blur horizontally when
BODY_BEVEL
is turned on. Below code
shows how TWaver Flex use this parameter internally:
new BevelFilter(element.getStyle(Styles.BODY_BEVEL_DISTANCE), element.getStyle(Styles.BODY_BEVEL_ANGLE), element.getStyle(Styles.BODY_BEVEL_HIGHLIGHT_COLOR), element.getStyle(Styles.BODY_BEVEL_HIGHLIGHT_ALPHA), element.getStyle(Styles.BODY_BEVEL_SHADOW_COLOR), element.getStyle(Styles.BODY_BEVEL_SHADOW_ALPHA), element.getStyle(Styles.BODY_BEVEL_BLURX), element.getStyle(Styles.BODY_BEVEL_BLURY), element.getStyle(Styles.BODY_BEVEL_STRENGTH), element.getStyle(Styles.BODY_BEVEL_QUALITY), element.getStyle(Styles.BODY_BEVEL_TYPE), element.getStyle(Styles.BODY_BEVEL_KNOCKOUT));
See also
BODY_BEVEL_BLURY | Constant |
public static const BODY_BEVEL_BLURY:String = body.bevel.blury
The amount to blur vertically when
BODY_BEVEL
is turned on. Below code
shows how TWaver Flex use this parameter internally:
new BevelFilter(element.getStyle(Styles.BODY_BEVEL_DISTANCE), element.getStyle(Styles.BODY_BEVEL_ANGLE), element.getStyle(Styles.BODY_BEVEL_HIGHLIGHT_COLOR), element.getStyle(Styles.BODY_BEVEL_HIGHLIGHT_ALPHA), element.getStyle(Styles.BODY_BEVEL_SHADOW_COLOR), element.getStyle(Styles.BODY_BEVEL_SHADOW_ALPHA), element.getStyle(Styles.BODY_BEVEL_BLURX), element.getStyle(Styles.BODY_BEVEL_BLURY), element.getStyle(Styles.BODY_BEVEL_STRENGTH), element.getStyle(Styles.BODY_BEVEL_QUALITY), element.getStyle(Styles.BODY_BEVEL_TYPE), element.getStyle(Styles.BODY_BEVEL_KNOCKOUT));
See also
BODY_BEVEL_DISTANCE | Constant |
public static const BODY_BEVEL_DISTANCE:String = body.bevel.distance
The bevel distance of the bevel filter when
BODY_BEVEL
is turned on. Below code
shows how TWaver Flex use this parameter internally:
new BevelFilter(element.getStyle(Styles.BODY_BEVEL_DISTANCE), element.getStyle(Styles.BODY_BEVEL_ANGLE), element.getStyle(Styles.BODY_BEVEL_HIGHLIGHT_COLOR), element.getStyle(Styles.BODY_BEVEL_HIGHLIGHT_ALPHA), element.getStyle(Styles.BODY_BEVEL_SHADOW_COLOR), element.getStyle(Styles.BODY_BEVEL_SHADOW_ALPHA), element.getStyle(Styles.BODY_BEVEL_BLURX), element.getStyle(Styles.BODY_BEVEL_BLURY), element.getStyle(Styles.BODY_BEVEL_STRENGTH), element.getStyle(Styles.BODY_BEVEL_QUALITY), element.getStyle(Styles.BODY_BEVEL_TYPE), element.getStyle(Styles.BODY_BEVEL_KNOCKOUT));
See also
BODY_BEVEL_HIGHLIGHT_ALPHA | Constant |
public static const BODY_BEVEL_HIGHLIGHT_ALPHA:String = body.bevel.highlight.alpha
The bevel highlight transparency of the bevel filter when
BODY_BEVEL
is turned on. Below code
shows how TWaver Flex use this parameter internally:
new BevelFilter(element.getStyle(Styles.BODY_BEVEL_DISTANCE), element.getStyle(Styles.BODY_BEVEL_ANGLE), element.getStyle(Styles.BODY_BEVEL_HIGHLIGHT_COLOR), element.getStyle(Styles.BODY_BEVEL_HIGHLIGHT_ALPHA), element.getStyle(Styles.BODY_BEVEL_SHADOW_COLOR), element.getStyle(Styles.BODY_BEVEL_SHADOW_ALPHA), element.getStyle(Styles.BODY_BEVEL_BLURX), element.getStyle(Styles.BODY_BEVEL_BLURY), element.getStyle(Styles.BODY_BEVEL_STRENGTH), element.getStyle(Styles.BODY_BEVEL_QUALITY), element.getStyle(Styles.BODY_BEVEL_TYPE), element.getStyle(Styles.BODY_BEVEL_KNOCKOUT));
See also
BODY_BEVEL_HIGHLIGHT_COLOR | Constant |
public static const BODY_BEVEL_HIGHLIGHT_COLOR:String = body.bevel.highlight.color
The bevel highlight color of the bevel filter when
BODY_BEVEL
is turned on. Below code
shows how TWaver Flex use this parameter internally:
new BevelFilter(element.getStyle(Styles.BODY_BEVEL_DISTANCE), element.getStyle(Styles.BODY_BEVEL_ANGLE), element.getStyle(Styles.BODY_BEVEL_HIGHLIGHT_COLOR), element.getStyle(Styles.BODY_BEVEL_HIGHLIGHT_ALPHA), element.getStyle(Styles.BODY_BEVEL_SHADOW_COLOR), element.getStyle(Styles.BODY_BEVEL_SHADOW_ALPHA), element.getStyle(Styles.BODY_BEVEL_BLURX), element.getStyle(Styles.BODY_BEVEL_BLURY), element.getStyle(Styles.BODY_BEVEL_STRENGTH), element.getStyle(Styles.BODY_BEVEL_QUALITY), element.getStyle(Styles.BODY_BEVEL_TYPE), element.getStyle(Styles.BODY_BEVEL_KNOCKOUT));
See also
BODY_BEVEL_KNOCKOUT | Constant |
public static const BODY_BEVEL_KNOCKOUT:String = body.bevel.knockout
The bevel knockout value of the bevel filter when
BODY_BEVEL
is turned on. Below code
shows how TWaver Flex use this parameter internally:
new BevelFilter(element.getStyle(Styles.BODY_BEVEL_DISTANCE), element.getStyle(Styles.BODY_BEVEL_ANGLE), element.getStyle(Styles.BODY_BEVEL_HIGHLIGHT_COLOR), element.getStyle(Styles.BODY_BEVEL_HIGHLIGHT_ALPHA), element.getStyle(Styles.BODY_BEVEL_SHADOW_COLOR), element.getStyle(Styles.BODY_BEVEL_SHADOW_ALPHA), element.getStyle(Styles.BODY_BEVEL_BLURX), element.getStyle(Styles.BODY_BEVEL_BLURY), element.getStyle(Styles.BODY_BEVEL_STRENGTH), element.getStyle(Styles.BODY_BEVEL_QUALITY), element.getStyle(Styles.BODY_BEVEL_TYPE), element.getStyle(Styles.BODY_BEVEL_KNOCKOUT));
See also
BODY_BEVEL_QUALITY | Constant |
public static const BODY_BEVEL_QUALITY:String = body.bevel.quality
The bevel quality of the bevel filter when
BODY_BEVEL
is turned on. Below code
shows how TWaver Flex use this parameter internally:
new BevelFilter(element.getStyle(Styles.BODY_BEVEL_DISTANCE), element.getStyle(Styles.BODY_BEVEL_ANGLE), element.getStyle(Styles.BODY_BEVEL_HIGHLIGHT_COLOR), element.getStyle(Styles.BODY_BEVEL_HIGHLIGHT_ALPHA), element.getStyle(Styles.BODY_BEVEL_SHADOW_COLOR), element.getStyle(Styles.BODY_BEVEL_SHADOW_ALPHA), element.getStyle(Styles.BODY_BEVEL_BLURX), element.getStyle(Styles.BODY_BEVEL_BLURY), element.getStyle(Styles.BODY_BEVEL_STRENGTH), element.getStyle(Styles.BODY_BEVEL_QUALITY), element.getStyle(Styles.BODY_BEVEL_TYPE), element.getStyle(Styles.BODY_BEVEL_KNOCKOUT));
See also
BODY_BEVEL_SHADOW_ALPHA | Constant |
public static const BODY_BEVEL_SHADOW_ALPHA:String = body.bevel.shadow.alpha
The bevel shadow alpha value of the bevel filter when
BODY_BEVEL
is turned on. Below code
shows how TWaver Flex use this parameter internally:
new BevelFilter(element.getStyle(Styles.BODY_BEVEL_DISTANCE), element.getStyle(Styles.BODY_BEVEL_ANGLE), element.getStyle(Styles.BODY_BEVEL_HIGHLIGHT_COLOR), element.getStyle(Styles.BODY_BEVEL_HIGHLIGHT_ALPHA), element.getStyle(Styles.BODY_BEVEL_SHADOW_COLOR), element.getStyle(Styles.BODY_BEVEL_SHADOW_ALPHA), element.getStyle(Styles.BODY_BEVEL_BLURX), element.getStyle(Styles.BODY_BEVEL_BLURY), element.getStyle(Styles.BODY_BEVEL_STRENGTH), element.getStyle(Styles.BODY_BEVEL_QUALITY), element.getStyle(Styles.BODY_BEVEL_TYPE), element.getStyle(Styles.BODY_BEVEL_KNOCKOUT));
See also
BODY_BEVEL_SHADOW_COLOR | Constant |
public static const BODY_BEVEL_SHADOW_COLOR:String = body.bevel.shadow.color
The bevel shadow color of the bevel filter when
BODY_BEVEL
is turned on. Below code
shows how TWaver Flex use this parameter internally:
new BevelFilter(element.getStyle(Styles.BODY_BEVEL_DISTANCE), element.getStyle(Styles.BODY_BEVEL_ANGLE), element.getStyle(Styles.BODY_BEVEL_HIGHLIGHT_COLOR), element.getStyle(Styles.BODY_BEVEL_HIGHLIGHT_ALPHA), element.getStyle(Styles.BODY_BEVEL_SHADOW_COLOR), element.getStyle(Styles.BODY_BEVEL_SHADOW_ALPHA), element.getStyle(Styles.BODY_BEVEL_BLURX), element.getStyle(Styles.BODY_BEVEL_BLURY), element.getStyle(Styles.BODY_BEVEL_STRENGTH), element.getStyle(Styles.BODY_BEVEL_QUALITY), element.getStyle(Styles.BODY_BEVEL_TYPE), element.getStyle(Styles.BODY_BEVEL_KNOCKOUT));
See also
BODY_BEVEL_STRENGTH | Constant |
public static const BODY_BEVEL_STRENGTH:String = body.bevel.strength
The bevel strength of the bevel filter when
BODY_BEVEL
is turned on. Below code
shows how TWaver Flex use this parameter internally:
new BevelFilter(element.getStyle(Styles.BODY_BEVEL_DISTANCE), element.getStyle(Styles.BODY_BEVEL_ANGLE), element.getStyle(Styles.BODY_BEVEL_HIGHLIGHT_COLOR), element.getStyle(Styles.BODY_BEVEL_HIGHLIGHT_ALPHA), element.getStyle(Styles.BODY_BEVEL_SHADOW_COLOR), element.getStyle(Styles.BODY_BEVEL_SHADOW_ALPHA), element.getStyle(Styles.BODY_BEVEL_BLURX), element.getStyle(Styles.BODY_BEVEL_BLURY), element.getStyle(Styles.BODY_BEVEL_STRENGTH), element.getStyle(Styles.BODY_BEVEL_QUALITY), element.getStyle(Styles.BODY_BEVEL_TYPE), element.getStyle(Styles.BODY_BEVEL_KNOCKOUT));
See also
BODY_BEVEL_TYPE | Constant |
public static const BODY_BEVEL_TYPE:String = body.bevel.type
The bevel type of the bevel filter when
BODY_BEVEL
is turned on. Below code
shows how TWaver Flex use this parameter internally:
new BevelFilter(element.getStyle(Styles.BODY_BEVEL_DISTANCE), element.getStyle(Styles.BODY_BEVEL_ANGLE), element.getStyle(Styles.BODY_BEVEL_HIGHLIGHT_COLOR), element.getStyle(Styles.BODY_BEVEL_HIGHLIGHT_ALPHA), element.getStyle(Styles.BODY_BEVEL_SHADOW_COLOR), element.getStyle(Styles.BODY_BEVEL_SHADOW_ALPHA), element.getStyle(Styles.BODY_BEVEL_BLURX), element.getStyle(Styles.BODY_BEVEL_BLURY), element.getStyle(Styles.BODY_BEVEL_STRENGTH), element.getStyle(Styles.BODY_BEVEL_QUALITY), element.getStyle(Styles.BODY_BEVEL_TYPE), element.getStyle(Styles.BODY_BEVEL_KNOCKOUT));
See also
BODY_INTERACTIVE | Constant |
public static const BODY_INTERACTIVE:String = body.interactive
Whether element body is interactable. You can embed component inside an element and tern this value on to enable the component interaction.
var node:Node = new Node(); node.image = "dateChooser"; node.setStyle(Styles.BODY_INTERACTIVE, true); node.setStyle(Styles.LABEL_FILL, true); node.setLocation(220, 150); node.name = "Embeded Interactive Component"); box.add(node);
See demo "Topology Editor Demo" of TWaver Flex online demo to know more about embedding component in TWaver Flex element.
BUS_STYLE | Constant |
public static const BUS_STYLE:String = bus.style
Shape style of bus element.
Default value is Consts.BUS_STYLE_NEARBY
.
This value can be:
Example:
bus.setStyle(Styles.BUS_STYLE, Consts.BUS_STYLE_WEST);
See "Bus Layout Demo" in TWaver Flex online demo for more details.
See also
CHART_ALPHA | Constant |
public static const CHART_ALPHA:String = chart.alpha
CHART_ANCHOR_SHAPE | Constant |
public static const CHART_ANCHOR_SHAPE:String = chart.anchor.shape
CHART_ANCHOR_SIZE | Constant |
public static const CHART_ANCHOR_SIZE:String = chart.anchor.size
CHART_BUBBLE_SHAPE | Constant |
public static const CHART_BUBBLE_SHAPE:String = chart.bubble.shape
CHART_COLOR | Constant |
public static const CHART_COLOR:String = chart.color
CHART_LINE_WIDTH | Constant |
public static const CHART_LINE_WIDTH:String = chart.line.width
CHART_NAMES | Constant |
public static const CHART_NAMES:String = chart.names
CHART_VALUE | Constant |
public static const CHART_VALUE:String = chart.value
CHART_VALUE_COLOR | Constant |
public static const CHART_VALUE_COLOR:String = chart.value.color
CHART_VALUE_FONT | Constant |
public static const CHART_VALUE_FONT:String = chart.value.font
CHART_VALUES | Constant |
public static const CHART_VALUES:String = chart.values
CHART_XAXIS_VALUES | Constant |
public static const CHART_XAXIS_VALUES:String = chart.xaxis.values
CHART_YAXIS_VALUES | Constant |
public static const CHART_YAXIS_VALUES:String = chart.yaxis.values
CONTENT_TYPE | Constant |
public static const CONTENT_TYPE:String = content.type
The element content type. It can be:
Default value is Consts.CONTENT_TYPE_DEFAULT
.
DIALCHART_BASE_WIDTH | Constant |
public static const DIALCHART_BASE_WIDTH:String = dialchart.base.width
DIALCHART_RADIUS | Constant |
public static const DIALCHART_RADIUS:String = dialchart.Radius
DIALCHART_REAR_EXTENSION | Constant |
public static const DIALCHART_REAR_EXTENSION:String = dialchart.rear.extension
DIALCHART_TOP_WIDTH | Constant |
public static const DIALCHART_TOP_WIDTH:String = dialchart.top.width
FOLLOWER_COLUMN_INDEX | Constant |
public static const FOLLOWER_COLUMN_INDEX:String = follower.column.index
The parent grid element column index this follower to attach on. Default value is 0.
Example:
follower.setStyle(Styles.FOLLOWER_COLUMN_INDEX, 2);
See "Grid Editor Demo" in TWaver Flex online demo for more details.
See also
FOLLOWER_COLUMN_SPAN | Constant |
public static const FOLLOWER_COLUMN_SPAN:String = follower.column.span
How many columns this follower element to span in parent grid element. Default value is 1.
Example:
follower.setStyle(Styles.FOLLOWER_COLUMN_SPAN, 2);
See "Grid Editor Demo" in TWaver Flex online demo for more details.
See also
FOLLOWER_FILL_CELL | Constant |
public static const FOLLOWER_FILL_CELL:String = follower.fill.cell
Whether change the follower width and height to fill the grid cell when this follower attached on a parent grid element. Default value is true.
Example:
follower.setStyle(Styles.FOLLOWER_FILL_CELL, false);
See "Grid Editor Demo" in TWaver Flex online demo for more details.
See also
FOLLOWER_PADDING | Constant |
public static const FOLLOWER_PADDING:String = follower.padding
The inner gap when this follower attached on a parent grid element. Default value is 0.
Example:
follower.setStyle(Styles.FOLLOWER_PADDING, 2);
See "Grid Editor Demo" in TWaver Flex online demo for more details.
See also
FOLLOWER_PADDING_BOTTOM | Constant |
public static const FOLLOWER_PADDING_BOTTOM:String = follower.padding.bottom
The inner gap in bottom side when this follower attached on a parent grid element. Default value is 0.
Example:
follower.setStyle(Styles.FOLLOWER_PADDING_BOTTOM, 2);
See "Grid Editor Demo" in TWaver Flex online demo for more details.
See also
FOLLOWER_PADDING_LEFT | Constant |
public static const FOLLOWER_PADDING_LEFT:String = follower.padding.left
The inner gap in left side when this follower attached on a parent grid element. Default value is 0.
Example:
follower.setStyle(Styles.FOLLOWER_PADDING_LEFT, 2);
See "Grid Editor Demo" in TWaver Flex online demo for more details.
See also
FOLLOWER_PADDING_RIGHT | Constant |
public static const FOLLOWER_PADDING_RIGHT:String = follower.padding.right
The inner gap in right side when this follower attached on a parent grid element. Default value is 0.
Example:
follower.setStyle(Styles.FOLLOWER_PADDING_RIGHT, 2);
See "Grid Editor Demo" in TWaver Flex online demo for more details.
See also
FOLLOWER_PADDING_TOP | Constant |
public static const FOLLOWER_PADDING_TOP:String = follower.padding.top
The inner gap in top side when this follower attached on a parent grid element. Default value is 0.
Example:
follower.setStyle(Styles.FOLLOWER_PADDING_TOP, 2);
See "Grid Editor Demo" in TWaver Flex online demo for more details.
See also
FOLLOWER_ROW_INDEX | Constant |
public static const FOLLOWER_ROW_INDEX:String = follower.row.index
The parent grid element row index this follower to attach on. Default value is 0.
Example:
follower.setStyle(Styles.FOLLOWER_ROW_INDEX, 2);
See "Grid Editor Demo" in TWaver Flex online demo for more details.
See also
FOLLOWER_ROW_SPAN | Constant |
public static const FOLLOWER_ROW_SPAN:String = follower.row.span
How many rows this follower element to span in parent grid element. Default value is 1.
Example:
follower.setStyle(Styles.FOLLOWER_ROW_SPAN, 2);
See "Grid Editor Demo" in TWaver Flex online demo for more details.
See also
GRID_BORDER | Constant |
public static const GRID_BORDER:String = grid.border
Grid element border width. Default value is 1.
Example:
grid.setStyle(Styles.GRID_BORDER, 3);
See "Grid Editor Demo" in TWaver Flex online demo for more details.
See also
GRID_BORDER_BOTTOM | Constant |
public static const GRID_BORDER_BOTTOM:String = grid.border.bottom
Grid element border bottom width. Default value is 0.
Example:
grid.setStyle(Styles.GRID_BORDER_BOTTOM, 3);
See "Grid Editor Demo" in TWaver Flex online demo for more details.
See also
GRID_BORDER_LEFT | Constant |
public static const GRID_BORDER_LEFT:String = grid.border.left
Grid element border left width. Default value is 0.
Example:
grid.setStyle(Styles.GRID_BORDER_LEFT, 3);
See "Grid Editor Demo" in TWaver Flex online demo for more details.
See also
GRID_BORDER_RIGHT | Constant |
public static const GRID_BORDER_RIGHT:String = grid.border.right
Grid element border right width. Default value is 0.
Example:
grid.setStyle(Styles.GRID_BORDER_RIGHT, 3);
See "Grid Editor Demo" in TWaver Flex online demo for more details.
See also
GRID_BORDER_TOP | Constant |
public static const GRID_BORDER_TOP:String = grid.border.top
Grid element border top width. Default value is 0.
Example:
grid.setStyle(Styles.GRID_BORDER_TOP, 3);
See "Grid Editor Demo" in TWaver Flex online demo for more details.
See also
GRID_CELL_DEEP | Constant |
public static const GRID_CELL_DEEP:String = grid.cell.deep
Grid element 3D border shadow deep for each cell. Default value is 1, no cell 3D border shadow.
Example:
grid.setStyle(Styles.GRID_CELL_DEEP, 3);
See "Grid Editor Demo" in TWaver Flex online demo for more details.
See also
GRID_COLUMN_COUNT | Constant |
public static const GRID_COLUMN_COUNT:String = grid.column.count
How many columns a grid element has. Default value is 1.
Example:
grid.setStyle(Styles.GRID_COLUMN_COUNT, 10);
See "Grid Editor Demo" in TWaver Flex online demo for more details.
See also
GRID_COLUMN_PERCENTS | Constant |
public static const GRID_COLUMN_PERCENTS:String = grid.column.percents
Each column width percentage of the whole width of grid element. This is a number array. [0.2, 0.8] means the width of the two rows are 20% and 80%. If null value means average width.
Example:
grid.setStyle(Styles.GRID_COLUMN_PERCENTS, [0.2, 0.4, 0.4]);
See "Grid Editor Demo" in TWaver Flex online demo for more details.
See also
GRID_DEEP | Constant |
public static const GRID_DEEP:String = grid.deep
Grid element 3D border shadow deep. Default value is 1, no 3D border shadow.
Example:
grid.setStyle(Styles.GRID_DEEP, 3);
See "Grid Editor Demo" in TWaver Flex online demo for more details.
See also
GRID_FILL | Constant |
public static const GRID_FILL:String = grid.fill
Whether grid element need to fill. Default value is true.
Example:
grid.setStyle(Styles.GRID_FILL, false);
See "Grid Editor Demo" in TWaver Flex online demo for more details.
See also
GRID_FILL_ALPHA | Constant |
public static const GRID_FILL_ALPHA:String = grid.fill.alpha
Grid element fill color transparency. Default value is 1, no transparency.
Example:
grid.setStyle(Styles.GRID_FILL_ALPHA, 0.3);
See "Grid Editor Demo" in TWaver Flex online demo for more details.
See also
GRID_FILL_COLOR | Constant |
public static const GRID_FILL_COLOR:String = grid.fill.color
Grid element fill color.
Default value is Consts.COLOR_GRAY
.
Example:
grid.setStyle(Styles.GRID_FILL_COLOR, Consts.COLOR_BLACK);
See "Grid Editor Demo" in TWaver Flex online demo for more details.
See also
GRID_PADDING | Constant |
public static const GRID_PADDING:String = grid.padding
Grid element border inner gap. Default value is 1.
Example:
grid.setStyle(Styles.GRID_PADDING, 3);
See "Grid Editor Demo" in TWaver Flex online demo for more details.
See also
GRID_PADDING_BOTTOM | Constant |
public static const GRID_PADDING_BOTTOM:String = grid.padding.bottom
Grid element border inner bottom gap. Default value is 0.
Example:
grid.setStyle(Styles.GRID_PADDING_BOTTOM, 3);
See "Grid Editor Demo" in TWaver Flex online demo for more details.
See also
GRID_PADDING_LEFT | Constant |
public static const GRID_PADDING_LEFT:String = grid.padding.left
Grid element border inner left gap. Default value is 0.
Example:
grid.setStyle(Styles.GRID_PADDING_LEFT, 3);
See "Grid Editor Demo" in TWaver Flex online demo for more details.
See also
GRID_PADDING_RIGHT | Constant |
public static const GRID_PADDING_RIGHT:String = grid.padding.right
Grid element border inner right gap. Default value is 0.
Example:
grid.setStyle(Styles.GRID_PADDING_RIGHT, 3);
See "Grid Editor Demo" in TWaver Flex online demo for more details.
See also
GRID_PADDING_TOP | Constant |
public static const GRID_PADDING_TOP:String = grid.padding.top
Grid element border inner top gap. Default value is 0.
Example:
grid.setStyle(Styles.GRID_PADDING_TOP, 3);
See "Grid Editor Demo" in TWaver Flex online demo for more details.
See also
GRID_ROW_COUNT | Constant |
public static const GRID_ROW_COUNT:String = grid.row.count
How many rows a grid element has. Default value is 1.
Example:
grid.setStyle(Styles.GRID_ROW_COUNT, 10);
See "Grid Editor Demo" in TWaver Flex online demo for more details.
See also
GRID_ROW_PERCENTS | Constant |
public static const GRID_ROW_PERCENTS:String = grid.row.percents
Each row height percentage of the whole height of grid element. This is a number array. [0.2, 0.8] means the height of two rows are 20% and 80%. If null value means average height.
Example:
grid.setStyle(Styles.GRID_ROW_PERCENTS, [0.2, 0.4, 0.4]);
See "Grid Editor Demo" in TWaver Flex online demo for more details.
See also
GROUP_CAPS_STYLE | Constant |
public static const GROUP_CAPS_STYLE:String = group.caps.style
Group shape caps sytle.
Default value is Consts.CAPS_STYLE_ROUND
.
Possible values are:
Example:
group.setStyle(Styles.GROUP_CAPS_STYLE, Consts.CAPS_STYLE_SQUARE);
See also
GROUP_DEEP | Constant |
public static const GROUP_DEEP:String = group.deep
Group element shape 3D deep. Default value is 0, no 3D deep effect.
Example:
group.setStyle(Styles.GROUP_DEEP, 5);
See also
GROUP_FILL | Constant |
public static const GROUP_FILL:String = group.fill
Whether fill group element shape. Default value is true.
Example:
group.setStyle(Styles.GROUP_FILL, true);
See also
GROUP_FILL_ALPHA | Constant |
public static const GROUP_FILL_ALPHA:String = group.fill.alpha
Group element shape fill color transparency. Default value is 1, no transparency.
Example:
group.setStyle(Styles.GROUP_FILL_ALPHA, 0.4);
See also
GROUP_FILL_COLOR | Constant |
public static const GROUP_FILL_COLOR:String = group.fill.color
Group element shape fill color. Default value is 0xCCCCFF.
Example:
group.setStyle(Styles.GROUP_FILL_COLOR, 0xCCCC00);
See also
GROUP_GRADIENT | Constant |
public static const GROUP_GRADIENT:String = group.gradient
Group element shape fill gradient pattern.
This value can be:
Example:
group.setStyle(Styles.GROUP_GRADIENT, Consts.GRADIENT_SPREAD_VERTICAL);
See also
GROUP_GRADIENT_ALPHA | Constant |
public static const GROUP_GRADIENT_ALPHA:String = group.gradient.alpha
Group element shape fill gradient pattern color transparency. Default value is 1, no transparency.
Example:
group.setStyle(Styles.GROUP_GRADIENT_ALPHA, 0.5);
See also
GROUP_GRADIENT_COLOR | Constant |
public static const GROUP_GRADIENT_COLOR:String = group.gradient.color
Group element shape fill gradient pattern color.
Default value is Consts.COLOR_WHITE
Example:
group.setStyle(Styles.GROUP_GRADIENT_COLOR, Consts.COLOR_BLACK);
See also
GROUP_JOINT_STYLE | Constant |
public static const GROUP_JOINT_STYLE:String = group.joint.style
Group shape joint sytle.
Default value is Consts.JOINT_STYLE_ROUND
.
Possible values are:
Example:
group.setStyle(Styles.GROUP_JOINT_STYLE, Consts.JOINT_STYLE_BEVEL);
See also
GROUP_OUTLINE_ALPHA | Constant |
public static const GROUP_OUTLINE_ALPHA:String = group.outline.alpha
Group element shape outline draw color transparency. Default value is 1, no transparency.
Example:
group.setStyle(Styles.GROUP_OUTLINE_ALPHA, 0.3);
See also
GROUP_OUTLINE_COLOR | Constant |
public static const GROUP_OUTLINE_COLOR:String = group.outline.color
Group element shape outline draw color.
Default value is Consts.COLOR_DARK
.
Example:
group.setStyle(Styles.GROUP_OUTLINE_COLOR, 0xCCCC00);
See also
GROUP_OUTLINE_WIDTH | Constant |
public static const GROUP_OUTLINE_WIDTH:String = group.outline.width
Group element shape outline width. Default value is 1.
Example:
group.setStyle(Styles.GROUP_OUTLINE_WIDTH, 3);
See also
GROUP_PADDING | Constant |
public static const GROUP_PADDING:String = group.padding
Group element shape inner gap. Default value is -3.
Example:
group.setStyle(Styles.GROUP_PADDING, 5);
See also
GROUP_PADDING_BOTTOM | Constant |
public static const GROUP_PADDING_BOTTOM:String = group.padding.bottom
Group element shape inner bottom gap. Default value is 0.
Example:
group.setStyle(Styles.GROUP_PADDING_BOTTOM, 2);
See also
GROUP_PADDING_LEFT | Constant |
public static const GROUP_PADDING_LEFT:String = group.padding.left
Group element shape inner left gap. Default value is 0.
Example:
group.setStyle(Styles.GROUP_PADDING_LEFT, 2);
See also
GROUP_PADDING_RIGHT | Constant |
public static const GROUP_PADDING_RIGHT:String = group.padding.right
Group element shape inner right gap. Default value is 0.
Example:
group.setStyle(Styles.GROUP_PADDING_RIGHT, 2);
See also
GROUP_PADDING_TOP | Constant |
public static const GROUP_PADDING_TOP:String = group.padding.top
Group element shape inner top gap. Default value is 0.
Example:
group.setStyle(Styles.GROUP_PADDING_TOP, 2);
See also
GROUP_PIXEL_HINTING | Constant |
public static const GROUP_PIXEL_HINTING:String = group.pixel.hinting
Whether enable group shape pixel hinting.
See flash.display.Graphics#lineStyle(thickness:Number = NaN,
color:uint = 0, alpha:Number = 1.0, pixelHinting:Boolean = false,
scaleMode:String = "normal", caps:String = null, joints:String = null,
miterLimit:Number = 3)
for details
Default value is true.
Example:
group.setStyle(Styles.BACKGROUND_IMAGE_PIXEL_HINTING, false);
See also
GROUP_SCALE_MODE | Constant |
public static const GROUP_SCALE_MODE:String = group.scale.mode
Group element shape scale mode.
Default value is Consts.SCALE_MODE_NORMAL
.
Possible values are:
Example:
group.setStyle(Styles.GROUP_SCALE_MODE, Consts.SCALE_MODE_HORIZONTAL);
See also
GROUP_SHAPE | Constant |
public static const GROUP_SHAPE:String = group.shape
Group element shape type.
Default value is Consts.SHAPE_RECTANGLE
.
This value can be (Some may not supported
in current TWaver Flex version, but it will):
Example:
group.setStyle(Styles.GROUP_SHAPE, Consts.SHAPE_RECTANGLE);
See also
ICONS_COLORS | Constant |
public static const ICONS_COLORS:String = icons.colors
Style name of each icon's rendering color on element. This icon will be rendered by this color, just like the image rendered by alarm severity. Value -1 means no rendering color. This is a number array contains all colors for each icon.
This is an example:
var icons:Array = ["icon1","icon2","icon3","icon4","icon5"]; var node:Node = new Node(); node.setStyle(Styles.ICONS_NAMES, icons); node.setStyle(Styles.ICONS_COLORS, [0xFF0000, 0x00FF00, -1, 0xFFFF00, -1]);
See also
ICONS_NAMES | Constant |
public static const ICONS_NAMES:String = icons.names
Attached icons name of element.
link.setStyle(Styles.ICONS_NAMES, ["att1","att2","att3","att4"]);
ICONS_ORIENTATION | Constant |
public static const ICONS_ORIENTATION:String = icons.orientation
Element icon attachment orientation, that is, the
align direction. Default value is
Consts.ORIENTATION_RIGHT
Possible values are:
For example:
link.setStyle(Styles.ICONS_ORIENTATION, Consts.ORIENTATION_BOTTOM);
ICONS_POSITION | Constant |
public static const ICONS_POSITION:String = icons.position
Element icon attachment position.
Default value is Consts.POSITION_TOPLEFT_BOTTOMRIGHT
.
Possible values are:
For example:
link.setStyle(Styles.ICONS_POSITION, Consts.POSITION_BOTTOMRIGHT_BOTTOMRIGHT);
ICONS_XGAP | Constant |
public static const ICONS_XGAP:String = icons.xgap
Gap in x axis between element icon attachments. Default value is 1.
For example:
link.setStyle(Styles.ICONS_XGAP, 4);
ICONS_XOFFSET | Constant |
public static const ICONS_XOFFSET:String = icons.xoffset
Element icon attachment x offset base on the
ICONS_POSITION
. Default value is 0.
For example:
link.setStyle(Styles.ICONS_XOFFSET, 10);
ICONS_YGAP | Constant |
public static const ICONS_YGAP:String = icons.ygap
Gap in y axis between element icon attachments. Default value is 1.
For example:
link.setStyle(Styles.ICONS_YGAP, 4);
ICONS_YOFFSET | Constant |
public static const ICONS_YOFFSET:String = icons.yoffset
Element icon attachment y offset base on the
ICONS_POSITION
. Default value is 0.
For example:
link.setStyle(Styles.ICONS_YOFFSET, 10);
IMAGE_CAPS_STYLE | Constant |
public static const IMAGE_CAPS_STYLE:String = image.caps.style
Element image caps sytle.
Default value is Consts.CAPS_STYLE_ROUND
.
Possible values are:
Example:
node.setStyle(Styles.IMAGE_CAPS_STYLE, Consts.JOINT_STYLE_MITER);
IMAGE_JOINT_STYLE | Constant |
public static const IMAGE_JOINT_STYLE:String = image.joint.style
Element image joint style.
Default value is Consts.JOINT_STYLE_ROUND
.
Possible values are:
Example:
node.setStyle(Styles.IMAGE_JOINT_STYLE, Consts.JOINT_STYLE_MITER);
IMAGE_OUTLINE_ALPHA | Constant |
public static const IMAGE_OUTLINE_ALPHA:String = image.outline.alpha
Element image outline color transparency. Default value is 1.
Example:
node.setStyle(Styles.IMAGE_OUTLINE_ALPHA, 0.1);
IMAGE_OUTLINE_COLOR | Constant |
public static const IMAGE_OUTLINE_COLOR:String = image.outline.color
Element image outline color.
Default value is Consts.COLOR_BLACK
.
Example:
node.setStyle(Styles.IMAGE_OUTLINE_COLOR, 0xFF0000);
IMAGE_OUTLINE_WIDTH | Constant |
public static const IMAGE_OUTLINE_WIDTH:String = image.outline.width
Element image outline width. Default value is -1, no outline.
Example:
node.setStyle(Styles.IMAGE_OUTLINE_WIDTH, 2);
IMAGE_PADDING | Constant |
public static const IMAGE_PADDING:String = image.padding
Element image inner gap. Default value is 0.
Example:
node.setStyle(Styles.IMAGE_PADDING, 5);
IMAGE_PADDING_BOTTOM | Constant |
public static const IMAGE_PADDING_BOTTOM:String = image.padding.bottom
Element image inner gap on bottom. Default value is 0.
Example:
node.setStyle(Styles.IMAGE_PADDING_BOTTOM, 5);
IMAGE_PADDING_LEFT | Constant |
public static const IMAGE_PADDING_LEFT:String = image.padding.left
Element image inner gap in left side. Default value is 0.
Example:
node.setStyle(Styles.IMAGE_PADDING_LEFT, 5);
IMAGE_PADDING_RIGHT | Constant |
public static const IMAGE_PADDING_RIGHT:String = image.padding.right
Element image inner gap in right side. Default value is 0.
Example:
node.setStyle(Styles.IMAGE_PADDING_RIGHT, 5);
IMAGE_PADDING_TOP | Constant |
public static const IMAGE_PADDING_TOP:String = image.padding.top
Element image inner gap on top. Default value is 0.
Example:
node.setStyle(Styles.IMAGE_PADDING_TOP, 5);
IMAGE_PIXEL_HINTING | Constant |
public static const IMAGE_PIXEL_HINTING:String = image.pixel.hinting
Whether enable element image pixel hinting.
See flash.display.Graphics#lineStyle(thickness:Number = NaN,
color:uint = 0, alpha:Number = 1.0, pixelHinting:Boolean = false,
scaleMode:String = "normal", caps:String = null, joints:String = null,
miterLimit:Number = 3)
for details
Default value is true.
Example:
node.setStyle(Styles.IMAGE_PIXEL_HINTING, false);
IMAGE_SCALE_MODE | Constant |
public static const IMAGE_SCALE_MODE:String = image.scale.mode
Element image scale mode.
Default value is Consts.SCALE_MODE_NORMAL
.
Possible values are:
Example:
node.setStyle(Styles.IMAGE_SCALE_MODE, Consts.SCALE_MODE_HORIZONTAL);
IMAGE_SHAPE | Constant |
public static const IMAGE_SHAPE:String = image.shape
Element image shape. Default value is Consts.SHAPE_RECTANGLE
.
This value can be:
Example:
node.setStyle(Styles.IMAGE_SHAPE, Consts.SHAPE_ROUNDRECT);
IMAGE_STRETCH | Constant |
public static const IMAGE_STRETCH:String = image.stretch
Element image stretch policy.
Default value is Consts.STRETCH_UNIFORM
.
This value can be:
Example:
node.setStyle(Styles.IMAGE_STRETCH, Consts.STRETCH_WEST_UNIFORM);
INNER_ALPHA | Constant |
public static const INNER_ALPHA:String = inner.alpha
Element inner fill color transparency. By default the fill color is alarm color, then element inner color value. Default transparency is 1, no transparent.
Example:
node.setStyle(Styles.INNER_ALPHA, 0.4);
INNER_BACK | Constant |
public static const INNER_BACK:String = inner.back
Boolean value, whether display element inner shape behind element body. Default value is true.
Example:
node.setStyle(Styles.INNER_BACK, false);
INNER_COLOR | Constant |
public static const INNER_COLOR:String = inner.color
Element inner fill color. By default will use alarm color, then element inner color value.
Example:
node.setStyle(Styles.INNER_COLOR, 0x0000FF);
INNER_GRADIENT | Constant |
public static const INNER_GRADIENT:String = inner.gradient
Element inner shape gradient pattern.
Default value is Consts.GRADIENT_NONE
.
This value can be:
Example:
node.setStyle(Styles.INNER_GRADIENT, Consts.GRADIENT_SPREAD_EAST);
INNER_GRADIENT_ALPHA | Constant |
public static const INNER_GRADIENT_ALPHA:String = inner.gradient.alpha
Element inner shape gradient color transparency. Default value is 1, no transparency.
Example:
node.setStyle(Styles.INNER_GRADIENT_ALPHA, 0.3);
INNER_GRADIENT_COLOR | Constant |
public static const INNER_GRADIENT_COLOR:String = inner.gradient.color
Element inner shape gradient color.
Default value is Consts.COLOR_WHITE
.
Example:
node.setStyle(Styles.INNER_GRADIENT_COLOR, Consts.COLOR_WHITE);
INNER_OUTLINE_ALPHA | Constant |
public static const INNER_OUTLINE_ALPHA:String = inner.outline.alpha
Element inner shape outline color transparency. Default value is 1, no transparency.
Example:
node.setStyle(Styles.INNER_OUTLINE_ALPHA, 0.3);
INNER_OUTLINE_COLOR | Constant |
public static const INNER_OUTLINE_COLOR:String = inner.outline.color
Element inner shape outline color.
Default value is Consts.COLOR_GRAY
.
Example:
node.setStyle(Styles.INNER_OUTLINE_COLOR, Consts.COLOR_GRAY);
INNER_OUTLINE_WIDTH | Constant |
public static const INNER_OUTLINE_WIDTH:String = inner.outline.width
Element inner shape outline width. Default value is 1, no transparency.
Example:
node.setStyle(Styles.INNER_OUTLINE_WIDTH, 3);
INNER_PADDING | Constant |
public static const INNER_PADDING:String = inner.padding
Element inner shape padding value. Default value is -2.
Example:
node.setStyle(Styles.INNER_PADDING, 2);
INNER_PADDING_BOTTOM | Constant |
public static const INNER_PADDING_BOTTOM:String = inner.padding.bottom
Element inner shape padding value on the bottom. Default value is 0.
Example:
node.setStyle(Styles.INNER_PADDING_BOTTOM, 2);
INNER_PADDING_LEFT | Constant |
public static const INNER_PADDING_LEFT:String = inner.padding.left
Element inner shape padding value in left side. Default value is 0.
Example:
node.setStyle(Styles.INNER_PADDING_LEFT, 2);
INNER_PADDING_RIGHT | Constant |
public static const INNER_PADDING_RIGHT:String = inner.padding.right
Element inner shape padding value in right side. Default value is 0.
Example:
node.setStyle(Styles.INNER_PADDING_RIGHT, 2);
INNER_PADDING_TOP | Constant |
public static const INNER_PADDING_TOP:String = inner.padding.top
Element inner shape padding value on the top. Default value is 0.
Example:
node.setStyle(Styles.INNER_PADDING_TOP, 2);
INNER_SHAPE | Constant |
public static const INNER_SHAPE:String = inner.shape
Element inner fill shape.
Default value is Consts.SHAPE_RECTANGLE
.
This value can be:
Example:
node.setStyle(Styles.INNER_SHAPE, Consts.SHAPE_DIAMOND);
INNER_STYLE | Constant |
public static const INNER_STYLE:String = inner.style
Defines the element body representation style for native alarms.
Defaut value is Consts.INNER_STYLE_DYE
.
Possible values are:
Example:
node.setStyle(Styles.INNER_STYLE, Consts.INNER_STYLE_SHAPE);
LABEL_ALPHA | Constant |
public static const LABEL_ALPHA:String = label.alpha
Element label color transparency. Default value is 1, no transparency.
For example:
node.setStyle(Styles.LABEL_ALPHA, 0.4);
LABEL_BOLD | Constant |
public static const LABEL_BOLD:String = label.bold
Whether element label font is bold. Default value is false.
For example:
node.setStyle(Styles.LABEL_BOLD, true);
LABEL_COLOR | Constant |
public static const LABEL_COLOR:String = label.color
Element label text color. Default value is 12.
For example:
node.setStyle(Styles.LABEL_COLOR, 0xFFFFFF);
LABEL_CONTENT_XSCALE | Constant |
public static const LABEL_CONTENT_XSCALE:String = label.content.xscale
Element label text scale value in x axis. Default value is 1, no scale.
For example:
node.setStyle(Styles.LABEL_CONTENT_XSCALE, 2);
LABEL_CONTENT_YSCALE | Constant |
public static const LABEL_CONTENT_YSCALE:String = label.content.yscale
Element label text scale value in y axis. Default value is 1, no scale.
For example:
node.setStyle(Styles.LABEL_CONTENT_YSCALE, 2);
LABEL_CORNER_RADIUS | Constant |
public static const LABEL_CORNER_RADIUS:String = label.corner.radius
Element label border line corner round radius. Default value is 0, no radius.
For example:
node.setStyle(Styles.LABEL_CORNER_RADIUS, true);
LABEL_DIRECTION | Constant |
public static const LABEL_DIRECTION:String = label.direction
Element label direction.
Default value is Consts.ATTACHMENT_DIRECTION_BELOW
.
Available values are:
For example:
node.setStyle(Styles.LABEL_DIRECTION, Consts.ATTACHMENT_DIRECTION_RIGHT);
LABEL_EMBED | Constant |
public static const LABEL_EMBED:String = label.embed
Whether element label use embed font. Default value is false.
For example:
node.setStyle(Styles.LABEL_EMBED, true);
LABEL_FILL | Constant |
public static const LABEL_FILL:String = label.fill
Boolean value, whether label area need to fill. Default value is false.
For example:
node.setStyle(Styles.LABEL_FILL, true);
LABEL_FILL_ALPHA | Constant |
public static const LABEL_FILL_ALPHA:String = label.fill.alpha
Element label area fill transparency. Default value is 0.5.
For example:
node.setStyle(Styles.LABEL_FILL_ALPHA, 0.7);
LABEL_FILL_COLOR | Constant |
public static const LABEL_FILL_COLOR:String = label.fill.color
Element label area fill color.
Default value is Consts.COLOR_GRAY
For example:
node.setStyle(Styles.LABEL_FILL_COLOR, Consts.COLOR_BLACK);
LABEL_FONT | Constant |
public static const LABEL_FONT:String = label.font
Element label font name.
LABEL_GRADIENT | Constant |
public static const LABEL_GRADIENT:String = label.gradient
Element label area fill gradient pattern.
This value can be:
For example:
node.setStyle(Styles.LABEL_GRADIENT, Consts.GRADIENT_SPREAD_EAST);
LABEL_GRADIENT_ALPHA | Constant |
public static const LABEL_GRADIENT_ALPHA:String = label.gradient.alpha
Element label area fill gradient color transparency. Default value is 0.5.
For example:
node.setStyle(Styles.LABEL_GRADIENT_ALPHA, 1);
LABEL_GRADIENT_COLOR | Constant |
public static const LABEL_GRADIENT_COLOR:String = label.gradient.color
Element label area fill gradient color.
Default value is Consts.COLOR_WHITE
.
For example:
node.setStyle(Styles.LABEL_GRADIENT_COLOR, Consts.COLOR_BLACK);
LABEL_HTML | Constant |
public static const LABEL_HTML:String = label.html
Element label whether or not html.Default value is false.
For example:
node.setStyle(Styles.LABEL_HTML, true);
LABEL_ITALIC | Constant |
public static const LABEL_ITALIC:String = label.italic
Whether element label use italic font. Default value is false.
For example:
node.setStyle(Styles.LABEL_ITALIC, true);
LABEL_OUTLINE_ALPHA | Constant |
public static const LABEL_OUTLINE_ALPHA:String = label.outline.alpha
Element label outline color transparency. Default value is 1, no transparency.
For example:
node.setStyle(Styles.LABEL_OUTLINE_ALPHA, 0.5);
LABEL_OUTLINE_COLOR | Constant |
public static const LABEL_OUTLINE_COLOR:String = label.outline.color
Element label outline color.
Default value is Consts.COLOR_BLACK
.
For example:
node.setStyle(Styles.LABEL_OUTLINE_COLOR, Consts.COLOR_WHITE);
LABEL_OUTLINE_WIDTH | Constant |
public static const LABEL_OUTLINE_WIDTH:String = label.outline.width
Element label outline width. Default value is -1, no outline.
For example:
node.setStyle(Styles.LABEL_OUTLINE_WIDTH, 2);
LABEL_PADDING | Constant |
public static const LABEL_PADDING:String = label.padding
Element label border inner padding value. Default value is 0.
For example:
node.setStyle(Styles.LABEL_PADDING, 5);
LABEL_PADDING_BOTTOM | Constant |
public static const LABEL_PADDING_BOTTOM:String = label.padding.bottom
Element label border inner bottom gap. Default value is 0.
For example:
node.setStyle(Styles.LABEL_PADDING_BOTTOM, 5);
LABEL_PADDING_LEFT | Constant |
public static const LABEL_PADDING_LEFT:String = label.padding.left
Element label border inner left gap. Default value is 0.
For example:
node.setStyle(Styles.LABEL_PADDING_LEFT, 5);
LABEL_PADDING_RIGHT | Constant |
public static const LABEL_PADDING_RIGHT:String = label.padding.right
Element label border inner right gap. Default value is 0.
For example:
node.setStyle(Styles.LABEL_PADDING_RIGHT, 5);
LABEL_PADDING_TOP | Constant |
public static const LABEL_PADDING_TOP:String = label.padding.top
Element label border inner top gap. Default value is 0.
For example:
node.setStyle(Styles.LABEL_PADDING_TOP, 5);
LABEL_POINTER_LENGTH | Constant |
public static const LABEL_POINTER_LENGTH:String = label.pointer.length
Element label pointer length value. Default is 0, no pointer.
For example:
node.setStyle(Styles.LABEL_POINTER_LENGTH, 5);
See also
LABEL_POINTER_WIDTH | Constant |
public static const LABEL_POINTER_WIDTH:String = label.pointer.width
Element label pointer width value. Default value is 8.
For example:
node.setStyle(Styles.LABEL_POINTER_WIDTH, 20);
See also
LABEL_POSITION | Constant |
public static const LABEL_POSITION:String = label.position
Element label position.
The value can be:
This default value is Consts.POSITION_BOTTOM
.
For example:
node.setStyle(Styles.LABEL_POSITION, Consts.POSITION_BOTTOMRIGHT_BOTTOMRIGHT);
LABEL_SIZE | Constant |
public static const LABEL_SIZE:String = label.size
Element label font size. Default value is 12.
For example:
node.setStyle(Styles.LABEL_SIZE, 20);
LABEL_UNDERLINE | Constant |
public static const LABEL_UNDERLINE:String = label.underline
Whether draw underline for element label font. Default value is false.
For example:
node.setStyle(Styles.LABEL_UNDERLINE, true);
LABEL_XOFFSET | Constant |
public static const LABEL_XOFFSET:String = label.xoffset
Element label x offset base on the LABEL_POSITION
.
Default value is 0.
For example:
node.setStyle(Styles.LABEL_XOFFSET, 5);
LABEL_YOFFSET | Constant |
public static const LABEL_YOFFSET:String = label.yoffset
Element label y offset base on the LABEL_POSITION
.
Default value is 0.
For example:
node.setStyle(Styles.LABEL_YOFFSET, 5);
LINK_ALPHA | Constant |
public static const LINK_ALPHA:String = link.alpha
Link element color transparency. Default value is 1, no transparency.
Example:
link.setStyle(Styles.LINK_ALPHA, 0.5);
LINK_BUNDLE_ENABLE | Constant |
public static const LINK_BUNDLE_ENABLE:String = link.bundle.enable
Boolean value whether link element will be bundled. Default value is true.
Example:
link.setStyle(Styles.LINK_BUNDLE_ENABLE, false);
See "Bundle Demo" in TWaver Flex demo for more details.
LINK_BUNDLE_EXPANDED | Constant |
public static const LINK_BUNDLE_EXPANDED:String = link.bundle.expanded
Boolean values determine link bundle whether in expanded status. Default value is true. Set this to false to close link bundle.
Example:
link.setStyle(Styles.LINK_BUNDLE_EXPANDED, false);
See "Bundle Demo" in TWaver Flex demo for more details.
See also
LINK_BUNDLE_GAP | Constant |
public static const LINK_BUNDLE_GAP:String = link.bundle.gap
Gap between bundled links. Default value is 12.
Example:
link.setStyle(Styles.LINK_BUNDLE_GAP, 20);
See "Bundle Demo" in TWaver Flex demo for more details.
See also
LINK_BUNDLE_ID | Constant |
public static const LINK_BUNDLE_ID:String = link.bundle.id
Link bundled group id. Links in a link bundle can ge grouped into different groups by this id. Links with same bundle id will be grouped together in the link bundle. See "Link Bundle Demo" in TWaver Flex online demo for more details.
Example:
for (i = 0; i < 3; i++) { link = new Link(from, to); link.setStyle(Styles.LINK_COLOR, 0x0000FF); link.setClient(GROUPKEY, GROUP_BLUE); link.setStyle(Styles.LINK_BUNDLE_ID, "1"); box.add(link); } for (i = 0; i < 4; i++) { link = new Link(from, to); link.setStyle(Styles.LINK_COLOR, 0xFF0000); link.setStyle(Styles.LINK_BUNDLE_ID, "2"); link.setClient(GROUPKEY, GROUP_RED); box.add(link); } for (i = 0; i < 5; i++) { link = new Link(from, to); link.setStyle(Styles.LINK_COLOR, 0x00FF00); link.setStyle(Styles.LINK_BUNDLE_ID, "3"); link.setClient(GROUPKEY, GROUP_GREEN); box.add(link); }
See "Bundle Demo" in TWaver Flex demo for more details.
LINK_BUNDLE_INDEPENDENT | Constant |
public static const LINK_BUNDLE_INDEPENDENT:String = link.bundle.independent
Boolean values whether bundle the link bundle groups independently. Default value is false.
Example:
link.setStyle(Styles.LINK_BUNDLE_INDEPENDENT, true);
See "Bundle Demo" in TWaver Flex demo for more details.
See also
LINK_BUNDLE_OFFSET | Constant |
public static const LINK_BUNDLE_OFFSET:String = link.bundle.offset
Offset value for link bundle flexion. Default value is 20.
Example:
link.setStyle(Styles.LINK_BUNDLE_OFFSET, 15);
See "Bundle Demo" in TWaver Flex demo for more details.
See also
LINK_CAPS_STYLE | Constant |
public static const LINK_CAPS_STYLE:String = link.caps.style
Link element caps sytle.
Default value is Consts.CAPS_STYLE_ROUND
.
Possible values are:
Example:
link.setStyle(Styles.LINK_CAPS_STYLE, Consts.CAPS_STYLE_SQUARE);
LINK_COLOR | Constant |
public static const LINK_COLOR:String = link.color
Link element color. Default value is Consts.COLOR_GRAY
.
Example:
link.setStyle(Styles.LINK_COLOR, 0x00FF00);
LINK_CONTROL_POINT | Constant |
public static const LINK_CONTROL_POINT:String = link.control.point
Link element control point. Only used for orthogonal link elements.
Example:
link.setStyle(Styles.LINK_CONTROL_POINT, new Point(20,20));
LINK_CORNER | Constant |
public static const LINK_CORNER:String = link.corner
Link corner type.
Default value is Consts.LINK_CORNER_ROUND
.
This value can be:
Example:
link.setStyle(Styles.LINK_CORNER, Consts.LINK_CORNER_BEVEL);
See "Link Editor Demo" in TWaver Flex demo for more details.
LINK_CORNER_XRADIUS | Constant |
public static const LINK_CORNER_XRADIUS:String = link.xradius
Link corner x radius of the round arc. Default value is 8.
Example:
link.setStyle(Styles.LINK_CORNER_XRADIUS, 20);
See "Link Editor Demo" in TWaver Flex demo for more details.
LINK_CORNER_YRADIUS | Constant |
public static const LINK_CORNER_YRADIUS:String = link.yradius
Link corner y radius of the round arc. Default value is 8.
Example:
link.setStyle(Styles.LINK_CORNER_YRADIUS, 20);
See "Link Editor Demo" in TWaver Flex demo for more details.
LINK_EXTEND | Constant |
public static const LINK_EXTEND:String = link.extend
Link element extended offset. Take effect when use
Consts.LINK_TYPE_EXTEND_*
or
Consts.LINK_TYPE_FLEXIONAL_*
.
Default value is 20.
Example:
link.setStyle(Styles.LINK_EXTEND, 30);
See also
LINK_FROM_AT_EDGE | Constant |
public static const LINK_FROM_AT_EDGE:String = link.from.at.edge
Boolean value whether link from point is in the edge of from node. Default value is true.
Example:
link.setStyle(Styles.LINK_FROM_AT_EDGE, false);
See "Link Editor Demo" in TWaver Flex demo for more details.
LINK_FROM_POSITION | Constant |
public static const LINK_FROM_POSITION:String = link.from.position
Link element path start position.
Default value is Consts.POSITION_CENTER
.
The value can be:
Example:
link.setStyle(Styles.LINK_FROM_POSITION, Consts.POSITION_BOTTOMLEFT_BOTTOMRIGHT);
See "Link Editor Demo" in TWaver Flex demo for more details.
LINK_FROM_XOFFSET | Constant |
public static const LINK_FROM_XOFFSET:String = link.from.xoffset
Link element path start point offset in x axis base on the
LINK_FROM_POSITION
.
Default value is 0.
Example:
link.setStyle(Styles.LINK_FROM_XOFFSET, 3);
See "Link Editor Demo" in TWaver Flex demo for more details.
See also
LINK_FROM_YOFFSET | Constant |
public static const LINK_FROM_YOFFSET:String = link.from.yoffset
Link element path start point offset in y axis base on the
LINK_FROM_POSITION
.
Default value is 0.
Example:
link.setStyle(Styles.LINK_FROM_YOFFSET, 3);
See "Link Editor Demo" in TWaver Flex demo for more details.
See also
LINK_HANDLER_BOLD | Constant |
public static const LINK_HANDLER_BOLD:String = link.handler.bold
Whether use bold style for link bundle handler text. Default value is false.
Example:
link.setStyle(Styles.LINK_HANDLER_BOLD, true);
See "Bundle Demo" in TWaver Flex demo for more details.
LINK_HANDLER_COLOR | Constant |
public static const LINK_HANDLER_COLOR:String = link.handler.color
Link bundle handler text font color.
See "Bundle Demo" in TWaver Flex demo for more details.
LINK_HANDLER_CORNER_RADIUS | Constant |
public static const LINK_HANDLER_CORNER_RADIUS:String = link.handler.corner.radius
Link bundle handler corner radius. Default value is 0, no round corner.
Example:
link.setStyle(Styles.LINK_HANDLER_CORNER_RADIUS, 10);
See "Bundle Demo" in TWaver Flex demo for more details.
LINK_HANDLER_DIRECTION | Constant |
public static const LINK_HANDLER_DIRECTION:String = link.handler.direction
Link bundle handler expand direction.
Default value is Consts.ATTACHMENT_DIRECTION_BELOW
.
Available values are:
Example:
link.setStyle(Styles.LINK_HANDLER_DIRECTION, Consts.ATTACHMENT_DIRECTION_BELOW_RIGHT);
See "Bundle Demo" in TWaver Flex demo for more details.
LINK_HANDLER_EMBED | Constant |
public static const LINK_HANDLER_EMBED:String = link.handler.embed
Whether use embedded font for link bundle handler text.
See "Bundle Demo" in TWaver Flex demo for more details.
LINK_HANDLER_FILL | Constant |
public static const LINK_HANDLER_FILL:String = link.handler.fill
Whether fill link bundle handler area. Default value is false.
Example:
link.setStyle(Styles.LINK_HANDLER_FILL, true);
See "Bundle Demo" in TWaver Flex demo for more details.
LINK_HANDLER_FILL_ALPHA | Constant |
public static const LINK_HANDLER_FILL_ALPHA:String = link.handler.fill.alpha
Link bundle handler fill color transparency. Default value is 1, no transparency.
Example:
link.setStyle(Styles.LINK_HANDLER_FILL_ALPHA, 0.3);
See "Bundle Demo" in TWaver Flex demo for more details.
LINK_HANDLER_FILL_COLOR | Constant |
public static const LINK_HANDLER_FILL_COLOR:String = link.handler.fill.color
Link bundle handler fill color.
Default value is Consts.COLOR_GRAY
.
Example:
link.setStyle(Styles.LINK_HANDLER_FILL_COLOR, Consts.COLOR_BLACK);
See "Bundle Demo" in TWaver Flex demo for more details.
LINK_HANDLER_FONT | Constant |
public static const LINK_HANDLER_FONT:String = link.handler.font
Link bundle handler text font.
See "Bundle Demo" in TWaver Flex demo for more details.
LINK_HANDLER_GRADIENT | Constant |
public static const LINK_HANDLER_GRADIENT:String = link.handler.gradient
Link bundle handler fill gradient pattern.
This value can be:
Example:
link.setStyle(Styles.LINK_HANDLER_GRADIENT, Consts.GRADIENT_SPREAD_EAST);
See "Bundle Demo" in TWaver Flex demo for more details.
LINK_HANDLER_GRADIENT_ALPHA | Constant |
public static const LINK_HANDLER_GRADIENT_ALPHA:String = link.handler.gradient.alpha
Link bundle handler fill gradient color transparency. Default value is 1, no transparency.
Example:
link.setStyle(Styles.LINK_HANDLER_GRADIENT_ALPHA, 0.5);
See "Bundle Demo" in TWaver Flex demo for more details.
LINK_HANDLER_GRADIENT_COLOR | Constant |
public static const LINK_HANDLER_GRADIENT_COLOR:String = link.handler.gradient.color
Link bundle handler fill gradient color.
Default value is Consts.COLOR_WHITE
.
Example:
link.setStyle(Styles.LINK_HANDLER_GRADIENT_COLOR, Consts.COLOR_BLACK);
See "Bundle Demo" in TWaver Flex demo for more details.
LINK_HANDLER_ITALIC | Constant |
public static const LINK_HANDLER_ITALIC:String = link.handler.italic
Whether use italic style for link bundle handler text. Default value is false.
Example:
link.setStyle(Styles.LINK_HANDLER_ITALIC, true);
See "Bundle Demo" in TWaver Flex demo for more details.
LINK_HANDLER_POINTER_LENGTH | Constant |
public static const LINK_HANDLER_POINTER_LENGTH:String = link.handler.pointer.length
Link bundle handler pointer length. Default value is 0, no pointer.
Example:
link.setStyle(Styles.LINK_HANDLER_POINTER_LENGTH, 10);
See "Bundle Demo" in TWaver Flex demo for more details.
LINK_HANDLER_POINTER_WIDTH | Constant |
public static const LINK_HANDLER_POINTER_WIDTH:String = link.handler.pointer.width
Link bundle handler pointer width. Default value is 8.
Example:
link.setStyle(Styles.LINK_HANDLER_POINTER_WIDTH, 10);
See "Bundle Demo" in TWaver Flex demo for more details.
LINK_HANDLER_POSITION | Constant |
public static const LINK_HANDLER_POSITION:String = link.handler.position
Link bundle handler text position.
Default value is Consts.POSITION_TOPLEFT_TOPLEFT
.
The value can be:
Example:
link.setStyle(Styles.LINK_HANDLER_POSITION, Consts.POSITION_BOTTOMRIGHT);
See "Bundle Demo" in TWaver Flex demo for more details.
LINK_HANDLER_SIZE | Constant |
public static const LINK_HANDLER_SIZE:String = link.handler.size
Link bundle handler text font size. Default value is 12.
Example:
link.setStyle(Styles.LINK_HANDLER_SIZE, 20);
See "Bundle Demo" in TWaver Flex demo for more details.
LINK_HANDLER_UNDERLINE | Constant |
public static const LINK_HANDLER_UNDERLINE:String = link.handler.underline
Whether use underline style for link bundle handler text. Default value is false.
Example:
link.setStyle(Styles.LINK_HANDLER_UNDERLINE, true);
See "Bundle Demo" in TWaver Flex demo for more details.
LINK_HANDLER_XOFFSET | Constant |
public static const LINK_HANDLER_XOFFSET:String = link.handler.xoffset
Link bundle handler text x offset base on LINK_HANDLER_POSITION
.
Default value is 0.
Example:
link.setStyle(Styles.LINK_HANDLER_XOFFSET, 10);
See "Bundle Demo" in TWaver Flex demo for more details.
See also
LINK_HANDLER_YOFFSET | Constant |
public static const LINK_HANDLER_YOFFSET:String = link.handler.yoffset
Link bundle handler text y offset base on LINK_HANDLER_POSITION
.
Default value is 0.
Example:
link.setStyle(Styles.LINK_HANDLER_YOFFSET, 10);
See "Bundle Demo" in TWaver Flex demo for more details.
See also
LINK_JOINT_STYLE | Constant |
public static const LINK_JOINT_STYLE:String = link.joint.style
Link element joint sytle.
Default value is Consts.JOINT_STYLE_ROUND
.
Possible values are:
Example:
link.setStyle(Styles.LINK_JOINT_STYLE, Consts.JOINT_STYLE_BEVEL);
LINK_LABEL_ROTATABLE | Constant |
public static const LINK_LABEL_ROTATABLE:String = link.label.rotatable
Whether link label rotate along link. Default value is false.
Example:
link.setStyle(Styles.LINK_LABEL_ROTATABLE, true);
LINK_LOOPED_DIRECTION | Constant |
public static const LINK_LOOPED_DIRECTION:String = link.looped.direction
Line growing direction for self-looped links.
Default value is Consts.DIRECTION_NORTH_WEST
.
This value can be:
Example:
link.setStyle(Styles.LINK_LOOPED_DIRECTION, Consts.DIRECTION_SOUTH);
See "Bundle Demo" in TWaver Flex demo for more details.
LINK_LOOPED_GAP | Constant |
public static const LINK_LOOPED_GAP:String = link.looped.gap
Line gap between looped links. Default value is 6.
Example:
link.setStyle(Styles.LINK_LOOPED_GAP, 10);
See "Bundle Demo" in TWaver Flex demo for more details.
LINK_LOOPED_TYPE | Constant |
public static const LINK_LOOPED_TYPE:String = link.looped.type
Line path type of self-looped link element.
Default value is Consts.LINK_LOOPED_TYPE_ARC
.
This value can be:
Example:
link.setStyle(Styles.LINK_LOOPED_TYPE, Consts.LINK_LOOPED_TYPE_RECTANGLE);
See "Bundle Demo" in TWaver Flex demo for more details.
LINK_PATTERN | Constant |
public static const LINK_PATTERN:String = link.pattern
Link element dash pattern. This is a number array.
Example:
link.setStyle(Styles.LINK_PATTERN, [12, 4]);
LINK_PIXEL_HINTING | Constant |
public static const LINK_PIXEL_HINTING:String = link.pixel.hinting
Whether enable link element pixel hinting.
See flash.display.Graphics#lineStyle(thickness:Number = NaN,
color:uint = 0, alpha:Number = 1.0, pixelHinting:Boolean = false,
scaleMode:String = "normal", caps:String = null, joints:String = null,
miterLimit:Number = 3)
for details
Default value is true.
Example:
link.setStyle(Styles.LINK_PIXEL_HINTING, false);
LINK_SCALE_MODE | Constant |
public static const LINK_SCALE_MODE:String = link.scale.mode
Link element scale mode.
Default value is Consts.SCALE_MODE_NORMAL
.
Possible values are:
Example:
link.setStyle(Styles.LINK_SCALE_MODE, Consts.SCALE_MODE_HORIZONTAL);
LINK_SPLIT_BY_PERCENT | Constant |
public static const LINK_SPLIT_BY_PERCENT:String = link.split.by.percent
Boolean value whether link will split into segments by percentage. Default value is false.
Example:
link.setStyle(Styles.LINK_SPLIT_BY_PERCENT, true);
See "Link Editor Demo" in TWaver Flex demo for more details.
LINK_SPLIT_PERCENT | Constant |
public static const LINK_SPLIT_PERCENT:String = link.split.percent
The percentage to split link into segments. Default value is 0.5 (50%).
Example:
link.setStyle(Styles.LINK_SPLIT_PERCENT, true);
See "Link Editor Demo" in TWaver Flex demo for more details.
See also
LINK_SPLIT_VALUE | Constant |
public static const LINK_SPLIT_VALUE:String = link.split.value
Link split value. Default value is 20.
Example:
link.setStyle(Styles.LINK_SPLIT_VALUE, 50);
See "Link Editor Demo" in TWaver Flex demo for more details.
See also
LINK_TO_AT_EDGE | Constant |
public static const LINK_TO_AT_EDGE:String = link.to.at.edge
Boolean value whether link to point is in the edge of from node. Default value is true.
Example:
link.setStyle(Styles.LINK_TO_AT_EDGE, false);
See "Link Editor Demo" in TWaver Flex demo for more details.
LINK_TO_POSITION | Constant |
public static const LINK_TO_POSITION:String = link.to.position
Link element path end position.
Default value is Consts.POSITION_CENTER
.
The value can be:
Example:
link.setStyle(Styles.LINK_TO_POSITION, Consts.POSITION_BOTTOMLEFT_BOTTOMRIGHT);
See "Link Editor Demo" in TWaver Flex demo for more details.
LINK_TO_XOFFSET | Constant |
public static const LINK_TO_XOFFSET:String = link.to.xoffset
Link element path end point offset in x axis base on the
LINK_FROM_POSITION
.
Default value is 0.
Example:
link.setStyle(Styles.LINK_TO_XOFFSET, 3);
See "Link Editor Demo" in TWaver Flex demo for more details.
See also
LINK_TO_YOFFSET | Constant |
public static const LINK_TO_YOFFSET:String = link.to.yoffset
Link element path stop point offset in y axis base on the
LINK_TO_POSITION
.
Default value is 0.
Example:
link.setStyle(Styles.LINK_TO_YOFFSET, 3);
See "Link Editor Demo" in TWaver Flex demo for more details.
See also
LINK_TYPE | Constant |
public static const LINK_TYPE:String = link.type
Link element type.
Default value is Consts.LINK_TYPE_ARC
.
This value can be:
Example:
link.setStyle(Styles.LINK_TYPE, Consts.LINK_TYPE_PARALLEL);
LINK_WIDTH | Constant |
public static const LINK_WIDTH:String = link.width
Link element width. Default value is 3.
Example:
link.setStyle(Styles.LINK_WIDTH, 5);
NETWORK_LABEL | Constant |
public static const NETWORK_LABEL:String = network.label
Style name of label on network canvas. The displayed label of an element on network canvas. Network will display element.name if this value is null.
OUTER_ALPHA | Constant |
public static const OUTER_ALPHA:String = outer.alpha
Element outer color transparency. Default value is 1, no transparency.
Example:
node.setStyle(Styles.OUTER_ALPHA, 0.4);
OUTER_ANGLE | Constant |
public static const OUTER_ANGLE:String = outer.angle
The glow or shadow filter angle of element outer border, in degree. Default value is 45 degree.
Example:
node.setStyle(Styles.OUTER_ANGLE, 60);
OUTER_BLURX | Constant |
public static const OUTER_BLURX:String = outer.blurx
This parameter is used for the glow/shadow filter effect
for element outer border. Only take effect when use
Consts.OUTER_STYLE_SHADOW
and
Consts.OUTER_STYLE_GLOW
select style.
Amount of horizontal blur.
Valid values are 0 to 255.0 (floating point).
Default value is 4.0.
More information about the usage of
this parameter, please check the asdoc of class
flash.filters.DropShadowFilter
for more details.
Example:
node.setStyle(Styles.OUTER_BLURX, 20);
OUTER_BLURY | Constant |
public static const OUTER_BLURY:String = outer.blury
This parameter is used for the glow/shadow filter effect
for element outer border. Only take effect when use
Consts.OUTER_STYLE_SHADOW
and
Consts.OUTER_STYLE_GLOW
select style.
Amount of vertical blur.
Valid values are 0 to 255.0 (floating point).
Default value is 4.0.
More information about the usage of
this parameter, please check the asdoc of class
flash.filters.DropShadowFilter
for more details.
Example:
node.setStyle(Styles.OUTER_BLURY, 20);
OUTER_CAPS_STYLE | Constant |
public static const OUTER_CAPS_STYLE:String = outer.caps.style
Element outer border joint style.
Default value is Consts.CAPS_STYLE_ROUND
.
Possible values are:
Example:
node.setStyle(Styles.OUTER_CAPS_STYLE, Consts.CAPS_STYLE_SQUARE);
OUTER_COLOR | Constant |
public static const OUTER_COLOR:String = outer.color
Element outer color. By default this will be alarm severity color if has.
Example:
node.setStyle(Styles.OUTER_COLOR, 0xFF00FF);
OUTER_DISTANCE | Constant |
public static const OUTER_DISTANCE:String = outer.distance
The glow or shadow offset distance for element outer border. Default value is 4.
Example:
node.setStyle(Styles.OUTER_DISTANCE, 6);
OUTER_HIDEOBJECT | Constant |
public static const OUTER_HIDEOBJECT:String = outer.hideobject
This parameter is used for the glow/shadow filter effect
for element outer border. Only take effect when use
Consts.OUTER_STYLE_SHADOW
and
Consts.OUTER_STYLE_GLOW
select style.
Indicates whether or not the object is hidden.
A value of true indicates that the object itself is not drawn;
only the shadow is visible.
Default value is false.
More information about the usage of
this parameter, please check the asdoc of class
flash.filters.DropShadowFilter
for more details.
Example:
node.setStyle(Styles.OUTER_HIDEOBJECT, true);
OUTER_INNER | Constant |
public static const OUTER_INNER:String = outer.inner
A boolean value for the grow direction (to inner or outer ) of glow/shadow filter of element outer border . True if inner, false outer. The default value is false, outer.
Example:
node.setStyle(Styles.OUTER_INNER, true);
OUTER_JOINT_STYLE | Constant |
public static const OUTER_JOINT_STYLE:String = outer.joint.style
Element outer border joint style.
Default value is Consts.JOINT_STYLE_ROUND
.
Possible values are:
Example:
node.setStyle(Styles.OUTER_JOINT_STYLE, Consts.JOINT_STYLE_MITER);
OUTER_KNOCKOUT | Constant |
public static const OUTER_KNOCKOUT:String = outer.knockout
This parameter is used for the glow/shadow filter effect
for element outer border. Only take effect when use
Consts.OUTER_STYLE_SHADOW
and
Consts.OUTER_STYLE_GLOW
select style.
This boolean value indicates
whether applies a knockout effect (true), which effectively
makes the object's fill transparent and reveals the background
color of the document.
More information about the usage of
this parameter, please check the asdoc of class
flash.filters.DropShadowFilter
for more details.
Default value is false.
Example:
node.setStyle(Styles.OUTER_KNOCKOUT, true);
OUTER_PADDING | Constant |
public static const OUTER_PADDING:String = outer.padding
Element outer border insets value, number type.
Only take effect when Consts.OUTER_STYLE_SHADOW
style is used. Default value is -1.
box.setStyle(Styles.OUTER_PADDING, 2);
OUTER_PADDING_BOTTOM | Constant |
public static const OUTER_PADDING_BOTTOM:String = outer.padding.bottom
Element outer border bottom inset value, number type. Default value is 0.
box.setStyle(Styles.OUTER_PADDING_BOTTOM, 2);
OUTER_PADDING_LEFT | Constant |
public static const OUTER_PADDING_LEFT:String = outer.padding.left
Element outer border left inset value, number type. Default value is 0.
box.setStyle(Styles.OUTER_PADDING_LEFT, 2);
OUTER_PADDING_RIGHT | Constant |
public static const OUTER_PADDING_RIGHT:String = outer.padding.right
Element outer border right inset value, number type. Default value is 0.
box.setStyle(Styles.OUTER_PADDING_RIGHT, 2);
OUTER_PADDING_TOP | Constant |
public static const OUTER_PADDING_TOP:String = outer.padding.top
Element outer border top inset value, number type. Default value is 0.
box.setStyle(Styles.OUTER_PADDING_TOP, 2);
OUTER_PIXEL_HINTING | Constant |
public static const OUTER_PIXEL_HINTING:String = outer.pixel.hinting
Whether enable element outer border pixel hinting.
See flash.display.Graphics#lineStyle(thickness:Number = NaN,
color:uint = 0, alpha:Number = 1.0, pixelHinting:Boolean = false,
scaleMode:String = "normal", caps:String = null, joints:String = null,
miterLimit:Number = 3)
for details
Default value is true.
Example:
node.setStyle(Styles.OUTER_PIXEL_HINTING, false);
OUTER_QUALITY | Constant |
public static const OUTER_QUALITY:String = outer.quality
The glow or shadow filter quality level for element outer border.
Default value is Consts.QUALITY_HIGH
Possible values are:
Example:
node.setStyle(Styles.OUTER_QUALITY, Consts.QUALITY_MEDIUM);
OUTER_SCALE_MODE | Constant |
public static const OUTER_SCALE_MODE:String = outer.scale.mode
Element outer border scale mode.
Default value is Consts.SCALE_MODE_NORMAL
.
Possible values are:
Example:
node.setStyle(Styles.OUTER_SCALE_MODE, Consts.SCALE_MODE_HORIZONTAL);
OUTER_SHAPE | Constant |
public static const OUTER_SHAPE:String = outer.shape
Shape of element outer border shape. Default value
is Consts.SHAPE_RECTANGLE
.
All available values are:
Example:
node.setStyle(Styles.OUTER_SHAPE, Consts.SHAPE_PENTAGON);
OUTER_STRENGTH | Constant |
public static const OUTER_STRENGTH:String = outer.strength
This parameter is used for the glow/shadow filter effect
for element outer border. Only take effect when use
Consts.OUTER_STYLE_SHADOW
and
Consts.OUTER_STYLE_GLOW
select style.
The strength of the imprint or spread.
The higher the value, the more color is imprinted and the stronger
the contrast between the shadow and the background.
Valid values are from 0 to 255.0. The default is 1.0.
More information about the usage of
this parameter, please check the asdoc of class
flash.filters.DropShadowFilter
for more details.
Example:
node.setStyle(Styles.OUTER_STRENGTH, 2);
OUTER_STYLE | Constant |
public static const OUTER_STYLE:String = outer.style
Element outer style.
Default value is Consts.OUTER_STYLE_BORDER
It can be:
Example:
node.setStyle(Styles.OUTER_STYLE, Consts.OUTER_STYLE_GLOW);
OUTER_WIDTH | Constant |
public static const OUTER_WIDTH:String = outer.width
Element outer border width. Default value is 2.
Example:
node.setStyle(Styles.OUTER_WIDTH, 4);
SELECT_ALPHA | Constant |
public static const SELECT_ALPHA:String = select.alpha
Element selected color transparency. Default value is 1, no transparency.
Example:
node.setStyle(Styles.SELECT_ALPHA, 0.5);
SELECT_ANGLE | Constant |
public static const SELECT_ANGLE:String = select.angle
The glow or shadow offset angle in degree when element is selected. Default value is 45 degree.
Example:
node.setStyle(Styles.SELECT_ANGLE, 60);
SELECT_BLURX | Constant |
public static const SELECT_BLURX:String = select.blurx
This parameter is used for the glow/shadow filter effect
when element is selected. Only take effect when use
Consts.SELECT_STYLE_SHADOW
and
Consts.SELECT_STYLE_GLOW
select style.
Amount of horizontal blur.
Valid values are 0 to 255.0 (floating point).
Default value is 4.0.
More information about the usage of
this parameter, please check the asdoc of class
flash.filters.DropShadowFilter
for more details.
Example:
node.setStyle(Styles.SELECT_BLURX, 20);
SELECT_BLURY | Constant |
public static const SELECT_BLURY:String = select.blury
This parameter is used for the glow/shadow filter effect
when element is selected. Only take effect when use
Consts.SELECT_STYLE_SHADOW
and
Consts.SELECT_STYLE_GLOW
select style.
Amount of vertical blur.
Valid values are 0 to 255.0 (floating point).
Default value is 4.0.
More information about the usage of
this parameter, please check the asdoc of class
flash.filters.DropShadowFilter
for more details.
Example:
node.setStyle(Styles.SELECT_BLURY, 20);
SELECT_CAPS_STYLE | Constant |
public static const SELECT_CAPS_STYLE:String = select.caps.style
Element selection border caps sytle.
Default value is Consts.CAPS_STYLE_ROUND
.
Possible values are:
Example:
node.setStyle(Styles.SELECT_CAPS_STYLE, Consts.CAPS_STYLE_SQUARE);
SELECT_COLOR | Constant |
public static const SELECT_COLOR:String = select.color
Element selected color.
Default value is Consts.COLOR_DARK
.
Example:
node.setStyle(Styles.SELECT_COLOR, 0x66CCFF);
SELECT_DISTANCE | Constant |
public static const SELECT_DISTANCE:String = select.distance
The glow or shadow offset distance when element is selected. Default value is 4.
Example:
node.setStyle(Styles.SELECT_DISTANCE, 6);
SELECT_HIDEOBJECT | Constant |
public static const SELECT_HIDEOBJECT:String = select.hideobject
This parameter is used for the glow/shadow filter effect
when element is selected. Only take effect when use
Consts.SELECT_STYLE_SHADOW
and
Consts.SELECT_STYLE_GLOW
select style.
Indicates whether or not the object is hidden.
A value of true indicates that the object itself is not drawn;
only the shadow is visible.
Default value is false.
More information about the usage of
this parameter, please check the asdoc of class
flash.filters.DropShadowFilter
for more details.
Example:
node.setStyle(Styles.SELECT_HIDEOBJECT, true);
SELECT_INNER | Constant |
public static const SELECT_INNER:String = select.inner
A boolean value whether selected glow/shadow filter is grow to inner or outer. True if inner, false outer. The default value is false, outer.
Example:
node.setStyle(Styles.SELECT_INNER, true);
SELECT_JOINT_STYLE | Constant |
public static const SELECT_JOINT_STYLE:String = select.joint.style
Element selection border joint sytle.
Default value is Consts.JOINT_STYLE_ROUND
.
Possible values are:
Example:
node.setStyle(Styles.SELECT_JOINT_STYLE, Consts.JOINT_STYLE_BEVEL);
SELECT_KNOCKOUT | Constant |
public static const SELECT_KNOCKOUT:String = select.knockout
This parameter is used for the glow/shadow filter effect
when element is selected. Only take effect when use
Consts.SELECT_STYLE_SHADOW
and
Consts.SELECT_STYLE_GLOW
select style.
This boolean value indicates
whether applies a knockout effect (true), which effectively
makes the object's fill transparent and reveals the background
color of the document.
More information about the usage of
this parameter, please check the asdoc of class
flash.filters.DropShadowFilter
for more details.
Default value is false.
Example:
node.setStyle(Styles.SELECT_KNOCKOUT, true);
SELECT_PADDING | Constant |
public static const SELECT_PADDING:String = select.padding
Element inner insets. Only take effect when
Consts.SELECT_STYLE_BORDER
style is used.
Default value is -1.
Example:
node.setStyle(Styles.SELECT_PADDING, 3);
SELECT_PADDING_BOTTOM | Constant |
public static const SELECT_PADDING_BOTTOM:String = select.padding.bottom
Element inner gap on bottom. Only take effect when
Consts.SELECT_STYLE_BORDER
style is used.
Default value is 0.
Example:
node.setStyle(Styles.SELECT_PADDING_BOTTOM, 3);
SELECT_PADDING_LEFT | Constant |
public static const SELECT_PADDING_LEFT:String = select.padding.left
Element inner gap in left side. Only take effect when
Consts.SELECT_STYLE_BORDER
style is used.
Default value is 0.
Example:
node.setStyle(Styles.SELECT_PADDING_LEFT, 3);
SELECT_PADDING_RIGHT | Constant |
public static const SELECT_PADDING_RIGHT:String = select.padding.right
Element inner gap in right side. Only take effect when
Consts.SELECT_STYLE_BORDER
style is used.
Default value is 0.
Example:
node.setStyle(Styles.SELECT_PADDING_RIGHT, 3);
SELECT_PADDING_TOP | Constant |
public static const SELECT_PADDING_TOP:String = select.padding.top
Element inner gap to top. Only take effect when
Consts.SELECT_STYLE_BORDER
style is used.
Default value is 0.
Example:
node.setStyle(Styles.SELECT_PADDING_TOP, 3);
SELECT_PIXEL_HINTING | Constant |
public static const SELECT_PIXEL_HINTING:String = select.pixel.hinting
Whether use pixel fine-tuning for element selected
highlight border.
Only take effect when Consts.SELECT_STYLE_BORDER
style is used.
See function flash.display.Graphics#lineStyle(...)
for more details about this parameter.
Default value is true.
Example:
node.setStyle(Styles.SELECT_PIXEL_HINTING, false);
SELECT_QUALITY | Constant |
public static const SELECT_QUALITY:String = select.quality
The glow or shadow filter quality level when element
is selected.
Default value is Consts.QUALITY_HIGH
Possible values are:
Example:
node.setStyle(Styles.SELECT_QUALITY, Consts.QUALITY_MEDIUM);
SELECT_SCALE_MODE | Constant |
public static const SELECT_SCALE_MODE:String = select.scale.mode
Element selected highlight border scale mode. This tells
how to draw selected border line when element is scaled.
Only take effect when Consts.SELECT_STYLE_BORDER
style is used.
See function flash.display.Graphics#lineStyle(...)
for more details about this parameter.
Default value is Consts.SCALE_MODE_NORMAL
.
Possible values are:
Example:
node.setStyle(Styles.SELECT_SCALE_MODE, Consts.SCALE_MODE_VERTICAL);
SELECT_SHAPE | Constant |
public static const SELECT_SHAPE:String = select.shape
Shape of element selected highlight. Default value
is Consts.SHAPE_RECTANGLE
.
All available values are:
Example:
node.setStyle(Styles.SELECT_SHAPE, Consts.SHAPE_PENTAGON);
SELECT_STRENGTH | Constant |
public static const SELECT_STRENGTH:String = select.strength
This parameter is used for the glow/shadow filter effect
when element is selected. Only take effect when use
Consts.SELECT_STYLE_SHADOW
and
Consts.SELECT_STYLE_GLOW
select style.
The strength of the imprint or spread.
The higher the value, the more color is imprinted and the stronger
the contrast between the shadow and the background.
Valid values are from 0 to 255.0. The default is 1.0.
More information about the usage of
this parameter, please check the asdoc of class
flash.filters.DropShadowFilter
for more details.
Example:
node.setStyle(Styles.SELECT_STRENGTH, 2);
SELECT_STYLE | Constant |
public static const SELECT_STYLE:String = select.style
Display style when element is selected.
Default value is Consts.SELECT_STYLE_SHADOW
.
Possible values are:
Example:
node.setStyle(Styles.SELECT_STYLE, Consts.SELECT_STYLE_GLOW);
SELECT_WIDTH | Constant |
public static const SELECT_WIDTH:String = select.width
Element selected highlight border width.
Only take effect when Consts.SELECT_STYLE_BORDER
style is used.
Default value is 2.
Example:
node.setStyle(Styles.SELECT_WIDTH, 3);
SHAPELINK_TYPE | Constant |
public static const SHAPELINK_TYPE:String = shapelink.type
ShapeLink element type, how to draw line segment in ShapeLink element.
Default value is Consts.SHAPELINK_TYPE_LINETO
.
This value can be:
Example:
shapeLink.setStyle(Styles.SHAPELINK_TYPE, Consts.SHAPELINK_TYPE_QUADTO);
See also
SHAPENODE_CLOSED | Constant |
public static const SHAPENODE_CLOSED:String = shapenode.closed
Whether shape node is path closed. True closed ,false otherwise. Default value is true.
Example:
shapeNode.setStyle(Styles.SHAPENODE_CLOSED, false);
See also
SHAPENODE_PATTERN | Constant |
public static const SHAPENODE_PATTERN:String = shapenode.pattern
Dash line pattern for shape node element. This is a number array, for example [4, 2]. Null value means solid line.
Example:
shapeNode.setStyle(Styles.SHAPENODE_PATTERN, [4, 2]);
See also
TREE_ALARM_FILL_ALPHA | Constant |
public static const TREE_ALARM_FILL_ALPHA:String = tree.alarm.fill.alpha
Style name of the tree node small alarm indicator's fill alpha transparent value. The small alarm indicator is a small shape draw on left-bottom corner of the tree node by default to indicate the alarms occured on this element.
Default value is 1, no transparency.
See tree component in "Alarm Mapping Demo" in TWaver Flex online demo to know more about the small alarm indicator.
TREE_ALARM_FILL_COLOR | Constant |
public static const TREE_ALARM_FILL_COLOR:String = tree.alarm.fill.color
Style name of the tree node small alarm indicator's fill color. The small alarm indicator is a small shape draw on left-bottom corner of the tree node by default to indicate the alarms occured on this element.
By default, TWaver Flex use alarm severity color if this value is null.
See tree component in "Alarm Mapping Demo" in TWaver Flex online demo to know more about the small alarm indicator.
TREE_ALARM_GRADIENT | Constant |
public static const TREE_ALARM_GRADIENT:String = tree.alarm.gradient
Style name of the tree node small alarm indicator's fill gradient pattern. The small alarm indicator is a small shape draw on left-bottom corner of the tree node by default to indicate the alarms occured on this element.
This value can be:
Default value is Consts.GRADIENT_RADIAL_NORTHEAST
.
See tree component in "Alarm Mapping Demo" in TWaver Flex online demo to know more about the small alarm indicator.
TREE_ALARM_GRADIENT_ALPHA | Constant |
public static const TREE_ALARM_GRADIENT_ALPHA:String = tree.alarm.gradient.alpha
Style name of the tree node small alarm indicator's gradient fill color transparency. The small alarm indicator is a small shape draw on left-bottom corner of the tree node by default to indicate the alarms occured on this element.
Default value is 1, no transparency.
See tree component in "Alarm Mapping Demo" in TWaver Flex online demo to know more about the small alarm indicator.
TREE_ALARM_GRADIENT_COLOR | Constant |
public static const TREE_ALARM_GRADIENT_COLOR:String = tree.alarm.gradient.color
Style name of the tree node small alarm indicator's gradient fill color. The small alarm indicator is a small shape draw on left-bottom corner of the tree node by default to indicate the alarms occured on this element.
Default value is Consts.COLOR_WHITE
See tree component in "Alarm Mapping Demo" in TWaver Flex online demo to know more about the small alarm indicator.
TREE_ALARM_HEIGHT | Constant |
public static const TREE_ALARM_HEIGHT:String = tree.alarm.height
Style name of the small alarm indicator height value on tree node. The small alarm indicator is a small shape draw on left-bottom corner of the tree node by default to indicate the alarms occured on this element.
This value is a number type, default value is 8.
See tree component in "Alarm Mapping Demo" in TWaver Flex online demo to know more about the small alarm indicator.
See also
TREE_ALARM_OUTLINE_ALPHA | Constant |
public static const TREE_ALARM_OUTLINE_ALPHA:String = tree.alarm.outline.alpha
Style name of the tree node small alarm indicator's outline color transparency. The small alarm indicator is a small shape draw on left-bottom corner of the tree node by default to indicate the alarms occured on this element.
Default value is 1, no transparency.
See tree component in "Alarm Mapping Demo" in TWaver Flex online demo to know more about the small alarm indicator.
TREE_ALARM_OUTLINE_COLOR | Constant |
public static const TREE_ALARM_OUTLINE_COLOR:String = tree.alarm.outline.color
Style name of the tree node small alarm indicator's outline color. The small alarm indicator is a small shape draw on left-bottom corner of the tree node by default to indicate the alarms occured on this element.
Default value is Consts.COLOR_WHITE
See tree component in "Alarm Mapping Demo" in TWaver Flex online demo to know more about the small alarm indicator.
TREE_ALARM_OUTLINE_WIDTH | Constant |
public static const TREE_ALARM_OUTLINE_WIDTH:String = tree.alarm.outline.width
Style name of the tree node small alarm indicator's outline stroke width. The small alarm indicator is a small shape draw on left-bottom corner of the tree node by default to indicate the alarms occured on this element.
Default value is -1, means no outline.
See tree component in "Alarm Mapping Demo" in TWaver Flex online demo to know more about the small alarm indicator.
TREE_ALARM_POSITION | Constant |
public static const TREE_ALARM_POSITION:String = tree.alarm.position
Style indicates the small alarm indicator location of tree node icon. The small alarm indicator is a small shape draw on left-bottom corner of the tree node by default to indicate the alarms occured on this element.
The value can be:
This default value is Consts.POSITION_BOTTOMLEFT_TOPRIGHT
.
See tree component in "Alarm Mapping Demo" in TWaver Flex online demo to know more about the small alarm indicator.
TREE_ALARM_SHAPE | Constant |
public static const TREE_ALARM_SHAPE:String = tree.alarm.shape
Style name of the small alarm indicator shape on tree node. The small alarm indicator is a small shape draw on left-bottom corner of the tree node by default to indicate the alarms occured on this element. This value can be:
Default value is Consts.SHAPE_CIRCLE
See tree component in "Alarm Mapping Demo" in TWaver Flex online demo to know more about the small alarm indicator.
TREE_ALARM_WIDTH | Constant |
public static const TREE_ALARM_WIDTH:String = tree.alarm.width
Style name of the small alarm indicator width value on tree node. The small alarm indicator is a small shape draw on left-bottom corner of the tree node by default to indicate the alarms occured on this element.
This value is a number type, default value is 8.
See tree component in "Alarm Mapping Demo" in TWaver Flex online demo to know more about the small alarm indicator.
See also
TREE_ALARM_XOFFSET | Constant |
public static const TREE_ALARM_XOFFSET:String = tree.alarm.xoffset
Style name of the small alarm indicator's x offset of the location on tree node. The small alarm indicator is a small shape draw on left-bottom corner of the tree node by default to indicate the alarms occured on this element.
This value is a number type, default value is 0.
See tree component in "Alarm Mapping Demo" in TWaver Flex online demo to know more about the small alarm indicator.
TREE_ALARM_YOFFSET | Constant |
public static const TREE_ALARM_YOFFSET:String = tree.alarm.yoffset
Style name of the small alarm indicator's y offset of the location on tree node. The small alarm indicator is a small shape draw on left-bottom corner of the tree node by default to indicate the alarms occured on this element.
This value is a number type, default value is 0.
See tree component in "Alarm Mapping Demo" in TWaver Flex online demo to know more about the small alarm indicator.
TREE_ICON_HEIGHT | Constant |
public static const TREE_ICON_HEIGHT:String = tree.icon.height
Style name of the tree icon height value. Default value is 18.
TREE_ICON_PADDING | Constant |
public static const TREE_ICON_PADDING:String = tree.icon.padding
Style name of the padding value of tree icon.
TREE_ICON_WIDTH | Constant |
public static const TREE_ICON_WIDTH:String = tree.icon.width
Style name of the tree icon width value. Default value is 18.
TREE_ICONS_COLORS | Constant |
public static const TREE_ICONS_COLORS:String = tree.icons.colors
Style name of each icon's rendering color on tree node. This icon will be rendered by this color, just like the image rendered by alarm severity. Value -1 means no rendering color. This is a number array contains all colors for each icon.
This is an example:
var icons:Array = ["icon1","icon2","icon3","icon4","icon5"]; var node:Node = new Node(); node.setStyle(Styles.TREE_ICONS_NAMES, icons); node.setStyle(Styles.TREE_ICONS_COLORS, [0xFF0000, 0x00FF00, -1, 0xFFFF00, -1]);
See also
TREE_ICONS_GAP | Constant |
public static const TREE_ICONS_GAP:String = tree.icons.gap
Style name of the gap between tree node icons. Default value is 1.
See also
TREE_ICONS_NAMES | Constant |
public static const TREE_ICONS_NAMES:String = tree.icons.names
Style name of all icon registered names displays on tree node. This is a string array of all small icon name need to display on tree node. The icon name is the icon image resource registered name.
This is an example:
var icons:Array = ["icon1","icon2","icon3","icon4","icon5"]; var node:Node = new Node(); //... node.setStyle(Styles.TREE_ICONS_NAMES, icons);
See also
TREE_LABEL | Constant |
public static const TREE_LABEL:String = tree.label
Style name of label on tree node. The displayed label of an element on tree node. Tree will display element.name if this value is null.
TREE_LABEL_BOLD | Constant |
public static const TREE_LABEL_BOLD:String = tree.label.bold
Whether tree label text is bold. Default value is false.
TREE_LABEL_BORDER | Constant |
public static const TREE_LABEL_BORDER:String = tree.label.border
Whether tree label has outline border. Default value is false.
TREE_LABEL_COLOR | Constant |
public static const TREE_LABEL_COLOR:String = tree.label.color
Style name of tree label color.
TREE_LABEL_EMBED | Constant |
public static const TREE_LABEL_EMBED:String = tree.label.embed
Whether tree label use embed font name. Default value is false.
TREE_LABEL_FONT | Constant |
public static const TREE_LABEL_FONT:String = tree.label.font
Tree label font name. Default value is null, that means use system default font.
TREE_LABEL_ITALIC | Constant |
public static const TREE_LABEL_ITALIC:String = tree.label.italic
Whether tree label text is italic style. Default value is false.
TREE_LABEL_SIZE | Constant |
public static const TREE_LABEL_SIZE:String = tree.label.size
Style name of tree label size.
TREE_LABEL_UNDERLINE | Constant |
public static const TREE_LABEL_UNDERLINE:String = tree.label.underline
Whether tree label text has underline. Default value is false.
TREE_LAYOUT | Constant |
public static const TREE_LAYOUT:String = tree.layout
Style name of tree node content layout. Value of this style can be:
element.setStyle(Styles.TREE_LAYOUT, Consts.TREE_LAYOUT_MESSAGE_LABEL_ICONS);
TREE_LAYOUT_GAP | Constant |
public static const TREE_LAYOUT_GAP:String = tree.layout.gap
Style name of the blank space between the items in tree content layout.
TREE_MESSAGE | Constant |
public static const TREE_MESSAGE:String = tree.message
The message text of tree node.
TREE_MESSAGE_BACKGROUND_ALPHA | Constant |
public static const TREE_MESSAGE_BACKGROUND_ALPHA:String = tree.message.background.alpha
Tree node message background transparency. Default value is 1, no transparency.
TREE_MESSAGE_BACKGROUND_COLOR | Constant |
public static const TREE_MESSAGE_BACKGROUND_COLOR:String = tree.message.background.color
Tree node message background color. Default value is null, no background.
TREE_MESSAGE_BOLD | Constant |
public static const TREE_MESSAGE_BOLD:String = tree.message.bold
Whether tree node message text is bold. Default value is false.
TREE_MESSAGE_CAPS_STYLE | Constant |
public static const TREE_MESSAGE_CAPS_STYLE:String = tree.message.caps.style
Endpoint type of tree node message link.
Refer to flash.display.Graphics#lineStyle(...)
parameters.
TREE_MESSAGE_COLOR | Constant |
public static const TREE_MESSAGE_COLOR:String = tree.message.color
The tree node message text color.
TREE_MESSAGE_DEEP | Constant |
public static const TREE_MESSAGE_DEEP:String = tree.message.deep
Tree node message 3D deep value. Default value is 0.
TREE_MESSAGE_EMBED | Constant |
public static const TREE_MESSAGE_EMBED:String = tree.message.embed
Whether use embed font for tree node message text. Default value is false.
TREE_MESSAGE_FILL_ALPHA | Constant |
public static const TREE_MESSAGE_FILL_ALPHA:String = tree.message.fill.alpha
The tree node message shape fill transparency. Default is 1, no transparency.
TREE_MESSAGE_FILL_COLOR | Constant |
public static const TREE_MESSAGE_FILL_COLOR:String = tree.message.fill.color
The tree node message fill color. Default color is 0xFFFF00.
TREE_MESSAGE_FONT | Constant |
public static const TREE_MESSAGE_FONT:String = tree.message.font
The font name of tree node message text.
TREE_MESSAGE_GRADIENT | Constant |
public static const TREE_MESSAGE_GRADIENT:String = tree.message.gradient
Tree node message gradient pattern.
This value can be:
Default value is Consts.GRADIENT_SPREAD_NORTH
.
TREE_MESSAGE_GRADIENT_ALPHA | Constant |
public static const TREE_MESSAGE_GRADIENT_ALPHA:String = tree.message.gradient.alpha
Tree node message gradient alpha transparency. Default value is 1, no transparency.
TREE_MESSAGE_GRADIENT_COLOR | Constant |
public static const TREE_MESSAGE_GRADIENT_COLOR:String = tree.message.gradient.color
Tree node message fill gradient color. Default color is white.
TREE_MESSAGE_ITALIC | Constant |
public static const TREE_MESSAGE_ITALIC:String = tree.message.italic
Whether tree node message text is italic style. Default value is false.
TREE_MESSAGE_JOINT_STYLE | Constant |
public static const TREE_MESSAGE_JOINT_STYLE:String = tree.message.joint.style
Endpoint style of tree node message link.
Refer to flash.display.Graphics#lineStyle(...)
parameters.
TREE_MESSAGE_OUTLINE_ALPHA | Constant |
public static const TREE_MESSAGE_OUTLINE_ALPHA:String = tree.message.outline.alpha
Transparency of tree node message outline color. Default is 1, no transparency.
TREE_MESSAGE_OUTLINE_COLOR | Constant |
public static const TREE_MESSAGE_OUTLINE_COLOR:String = tree.message.outline.color
Tree node message outline color. Default value is black.
TREE_MESSAGE_OUTLINE_WIDTH | Constant |
public static const TREE_MESSAGE_OUTLINE_WIDTH:String = tree.message.outline.width
Tree node message outline stroke width. Default value is -1, no outline.
TREE_MESSAGE_PERCENT | Constant |
public static const TREE_MESSAGE_PERCENT:String = tree.message.percent
This is to control the tree node message fill by %. If this
is defined, tree node message will be filled by color
TREE_MESSAGE_BACKGROUND_COLOR
with this much percent
width.
Default value is 1, means 100% fill.
TREE_MESSAGE_PIXEL_HINTING | Constant |
public static const TREE_MESSAGE_PIXEL_HINTING:String = tree.message.pixel.hinting
Whether use pixel fine-tuning for tree node message line. Refer to:
flash.display.Graphics#lineStyle(thickness:Number = NaN,
color:uint = 0, alpha:Number = 1.0, pixelHinting:Boolean = false,
scaleMode:String = "normal", caps:String = null, joints:String = null,
miterLimit:Number = 3)
Default value is true.
TREE_MESSAGE_SCALE_MODE | Constant |
public static const TREE_MESSAGE_SCALE_MODE:String = tree.message.scale.mode
Zoom type of tree node message line.
Refer to flash.display.Graphics#lineStyle(...)
parameters.
TREE_MESSAGE_SHAPE | Constant |
public static const TREE_MESSAGE_SHAPE:String = tree.message.shape
Tree node message shape. This value can be:
Consts.SHAPE_ROUNDRECT
.
TREE_MESSAGE_SIZE | Constant |
public static const TREE_MESSAGE_SIZE:String = tree.message.size
The font size of tree node message text.
TREE_MESSAGE_UNDERLINE | Constant |
public static const TREE_MESSAGE_UNDERLINE:String = tree.message.underline
Whether tree node message text is underline. Default value is false.
TREE_MESSAGE_WIDTH | Constant |
public static const TREE_MESSAGE_WIDTH:String = tree.message.width
Tree node message width.
TREE_MESSAGE_XPADDING | Constant |
public static const TREE_MESSAGE_XPADDING:String = tree.message.xpadding
Inner gap of tree node message in x axis. Default value is 2.
See also
TREE_MESSAGE_YPADDING | Constant |
public static const TREE_MESSAGE_YPADDING:String = tree.message.ypadding
Inner gap of tree node message in y axis. Default value is 0.
See also
TREE_OUTER_STYLE | Constant |
public static const TREE_OUTER_STYLE:String = tree.outer.style
Style name of the tree border style. It can be:
Consts.OUTER_STYLE_BORDER
.
TREE_OUTER_WIDTH | Constant |
public static const TREE_OUTER_WIDTH:String = tree.outer.width
Style name of the tree border width. Default value is 2.
VECTOR_CAPS_STYLE | Constant |
public static const VECTOR_CAPS_STYLE:String = vector.caps.style
Element vector shape caps sytle.
Default value is Consts.CAPS_STYLE_ROUND
.
Possible values are:
Example:
node.setStyle(Styles.VECTOR_CAPS_STYLE, Consts.CAPS_STYLE_SQUARE);
VECTOR_DEEP | Constant |
public static const VECTOR_DEEP:String = vector.deep
Element vector shape deep value. Default value is 0, no deep.
For example:
node.setStyle(Styles.VECTOR_DEEP, 3);
VECTOR_FILL | Constant |
public static const VECTOR_FILL:String = vector.fill
Whether fill element vector shape. Default value is true.
For example:
node.setStyle(Styles.VECTOR_FILL, false);
VECTOR_FILL_ALPHA | Constant |
public static const VECTOR_FILL_ALPHA:String = vector.fill.alpha
Element vector shape fill color transparency. Default value is 1, no transparency.
For example:
node.setStyle(Styles.VECTOR_FILL_ALPHA, 0.5);
VECTOR_FILL_COLOR | Constant |
public static const VECTOR_FILL_COLOR:String = vector.fill.color
Element vector shape fill color. Default value is 0xCCCCFF.
For example:
node.setStyle(Styles.VECTOR_FILL_COLOR, 0xDDCCFF);
VECTOR_GRADIENT | Constant |
public static const VECTOR_GRADIENT:String = vector.gradient
Element vector graph fill gradient pattern.
Default value is Consts.GRADIENT_NONE
.
This value can be:
Example:
node.setStyle(Styles.VECTOR_GRADIENT, Consts.GRADIENT_SPREAD_EAST);
VECTOR_GRADIENT_ALPHA | Constant |
public static const VECTOR_GRADIENT_ALPHA:String = vector.gradient.alpha
Element vector shape fill gradient color transparency. Default value is 1, no transparency.
Example:
node.setStyle(Styles.VECTOR_GRADIENT_ALPHA, 0.4);
VECTOR_GRADIENT_COLOR | Constant |
public static const VECTOR_GRADIENT_COLOR:String = vector.gradient.color
Element vector shape fill gradient color.
Default value is Consts.COLOR_WHITE
.
Example:
node.setStyle(Styles.VECTOR_GRADIENT_COLOR, Consts.COLOR_BLACK);
VECTOR_GRADIENT_RECT | Constant |
public static const VECTOR_GRADIENT_RECT:String = vector.gradient.rect
The rectangle bound of element vector shape to fill with gradient. Default value is null, use whole bound of the vector shape.
VECTOR_JOINT_STYLE | Constant |
public static const VECTOR_JOINT_STYLE:String = vector.joint.style
Element vector shape joint sytle.
Default value is Consts.JOINT_STYLE_ROUND
.
Possible values are:
Example:
node.setStyle(Styles.VECTOR_JOINT_STYLE, Consts.JOINT_STYLE_MITER);
VECTOR_OUTLINE_ALPHA | Constant |
public static const VECTOR_OUTLINE_ALPHA:String = vector.outline.alpha
Element vector shape outline color transparency. Default value is 1, no transparency.
For example:
node.setStyle(Styles.VECTOR_OUTLINE_ALPHA, 0.3);
VECTOR_OUTLINE_COLOR | Constant |
public static const VECTOR_OUTLINE_COLOR:String = vector.outline.color
Element vector shape outline color.
Default value is Consts.COLOR_DARK
.
For example:
node.setStyle(Styles.VECTOR_OUTLINE_COLOR, Consts.COLOR_BLACK);
VECTOR_OUTLINE_PATTERN | Constant |
public static const VECTOR_OUTLINE_PATTERN:String = vector.outline.pattern
Element vector shape outline dash pattern. This is a number array. Default value is null, no dash pattern.
For example:
node.setStyle(Styles.VECTOR_OUTLINE_PATTERN, [8,4]);
VECTOR_OUTLINE_WIDTH | Constant |
public static const VECTOR_OUTLINE_WIDTH:String = vector.outline.width
Element vector shape outline width. Default value is -1, no outline.
For example:
node.setStyle(Styles.VECTOR_OUTLINE_WIDTH, 2);
VECTOR_PADDING | Constant |
public static const VECTOR_PADDING:String = vector.padding
The inner padding value of element vector graph. Default value is 0.
Example:
node.setStyle(Styles.VECTOR_PADDING, 3);
VECTOR_PADDING_BOTTOM | Constant |
public static const VECTOR_PADDING_BOTTOM:String = vector.padding.bottom
The bottom gap value of element vector graph. Default value is 0.
Example:
node.setStyle(Styles.VECTOR_PADDING_BOTTOM, 3);
VECTOR_PADDING_LEFT | Constant |
public static const VECTOR_PADDING_LEFT:String = vector.padding.left
The left gap value of element vector graph. Default value is 0.
Example:
node.setStyle(Styles.VECTOR_PADDING_LEFT, 3);
VECTOR_PADDING_RIGHT | Constant |
public static const VECTOR_PADDING_RIGHT:String = vector.padding.right
The right gap value of element vector graph. Default value is 0.
Example:
node.setStyle(Styles.VECTOR_PADDING_RIGHT, 3);
VECTOR_PADDING_TOP | Constant |
public static const VECTOR_PADDING_TOP:String = vector.padding.top
The top gap value of element vector graph. Default value is 0.
Example:
node.setStyle(Styles.VECTOR_PADDING_TOP, 3);
VECTOR_PIXEL_HINTING | Constant |
public static const VECTOR_PIXEL_HINTING:String = vector.pixel.hinting
Whether enable element vector shape pixel hinting.
See flash.display.Graphics#lineStyle(thickness:Number = NaN,
color:uint = 0, alpha:Number = 1.0, pixelHinting:Boolean = false,
scaleMode:String = "normal", caps:String = null, joints:String = null,
miterLimit:Number = 3)
for details
Default value is true.
Example:
node.setStyle(Styles.VECTOR_PIXEL_HINTING, false);
VECTOR_ROUNDRECT_RADIUS | Constant |
public static const VECTOR_ROUNDRECT_RADIUS:String = vector.roundrect.radius
The radius of the round rect. Default value is -1. Math.min(width, height)/4 is used if it's less than 0.
Example:
node.setStyle(Styles.VECTOR_ROUNDRECT_RADIUS, 5);
VECTOR_SCALE_MODE | Constant |
public static const VECTOR_SCALE_MODE:String = vector.scale.mode
Element vector shape scale mode.
Default value is Consts.SCALE_MODE_NORMAL
.
Possible values are:
Example:
node.setStyle(Styles.VECTOR_SCALE_MODE, Consts.SCALE_MODE_HORIZONTAL);
VECTOR_SHAPE | Constant |
public static const VECTOR_SHAPE:String = vector.shape
Element vector shape type.
Default value is Consts.SHAPE_RECTANGLE
.
This value can be:
For example:
group.setStyle(Styles.VECTOR_SHAPE, Consts.SHAPE_OVAL);
WHOLE_ALPHA | Constant |
public static const WHOLE_ALPHA:String = whole.alpha
Whole alpha transparency of an element. Default value is 1, no transparency.