mx.controls
Class VRule



class VRule
extends mx.core.UIComponent

The VRule control creates a single vertical line. You typically use this control to create a dividing line within a container.

MXML Syntax

The <mx:VRule> tag inherits all the properties of its parent classes, and the following properties:

 <mx:VRule
color="No default."
shadowColor="No default."
strokeWidth="No default."
/>

See Also
mx.controls.HRule



Methods

Methods inherited from class mx.core.UIComponent
getFocus  setFocus  getFocusManager 

Methods inherited from class mx.core.UIObject
createAccessibilityImplementation  measure  doLater  cancelAllDoLaters  invalidate  invalidateStyle  invalidateProperties  invalidateSize  redraw  move  setSize  setSizeNoLayout  drawRect  fillRect  destroyLabel  createClassObject  createEmptyObject  destroyObject  getStyle  setMask  swapDepths 


Properties
staticversion:String  
ComponentVersion is for internal use only.

Properties inherited from class mx.core.UIComponent
version  enabled  tabIndex 

Properties inherited from class mx.core.UIObject
version  nestLevel  dispatchEvent  addEventListener  handleEvent  removeEventListener  kStretch  styleName  className  setStyle  parentApplication  isDocument  parentDocument  documentDescriptor  descriptor  instanceIndices  repeaterIndices  getRepeaterItem  id  width  height  x  y  minHeight  minWidth  preferredHeight  preferredWidth  maxHeight  maxWidth  widthFlex  heightFlex  visible  scaleX  scaleY  alpha  depth  mouseX  mouseY  toolTip  baselinePosition 


Effects

Effects inherited from class mx.core.UIComponent
showEffect  hideEffect  focusInEffect  focusOutEffect 

Effects inherited from class mx.core.UIObject
creationCompleteEffect  moveEffect  resizeEffect  mouseDownEffect  mouseOverEffect  mouseOutEffect  mouseUpEffect 


Events

Events inherited from class: mx.core.UIComponent
focusIn  focusOut  keyDown  keyUp  show  hide  valid  invalid  valueCommitted 

Events inherited from class: mx.core.UIObject
initialize  creationComplete  resize  move  draw  load  unload  mouseDown  mouseUp  mouseMove  mouseOver  mouseOut  mouseDownSomewhere  mouseUpSomewhere  mouseMoveSomewhere  mouseChangeSomewhere  effectStart  effectEnd  dragBegin  dragComplete  dragEnter  dragOver  dragExit  dragDrop 


Styles
color Type: Number   Format: Color   CSS Inheritance: yes
Color of the line according to the following rules:
  • If strokeWidth is 1, the color of the entire line.
  • If strokeWidth is 2, the color of the left line. This is the default value.
  • If strokeWidth is greater than 2, the color of the top and left edges of the rectangle.
The default value is #808080.
shadowColor Type: Number   Format: Color   CSS Inheritance: yes
Shadow color of the line as follows:
  • If strokeWidth is 1, does nothing.
  • If strokeWidth is 2, the color of the right line. The default value is #D4D0C8 (dark gray).
  • If strokeWidth is greater than 2, the color of the bottom and right edges of the rectangle. The default value is #D4D0C8 (dark gray).
strokeWidth Type: Number   Format: Length   CSS Inheritance: yes
Thickness of the rule, in pixels, as follows:
  • If strokeWidth is 1, the rule is a 1-pixel-wide line.
  • If strokeWidth is 2, the rule is two adjacent 1-pixel-wide vertical lines. This is the default value.
  • If strokeWidth is greater than 2, the rule is a hollow rectangle with 1-pixel-wide edges.

Styles inherited from class mx.core.UIComponent
backgroundColor  backgroundDisabledColor  backgroundImage  backgroundAlpha  backgroundSize  barColor  borderCapColor  borderColor  buttonColor  borderStyle  disabledColor  errorColor  highlightColor  lineHeight  modalTransparency  scrollTrackColor  shadowColor  shadowCapColor  symbolColor  symbolBackgroundColor  symbolBackgroundDisabledColor  symbolBackgroundPressedColor  symbolDisabledColor  themeColor 

Styles inherited from class mx.core.UIObject
color  fontFamily  fontSize  fontStyle  fontWeight  textAlign  textDecoration  textIndent  marginLeft  marginRight  horizontalGap  verticalGap 


Property Detail

version

static version:String  

ComponentVersion is for internal use only.