OverviewSingleDeprecated

jsx3.vector

class Tag

Object
->jsx3.lang.Object
  ->jsx3.html.Tag
    ->jsx3.html.BlockTag
      ->jsx3.vector.Tag

Direct Known Subclasses:

jsx3.vector.Group, jsx3.vector.Shape

class Tag
extends jsx3.html.BlockTag
The base class for jsx3.vector.Group and jsx3.vector.Shape. Defines getters and setters for the shared vector tag attributes and CSS style extensions.

Constructor Summary
void
init(strTagName : String, left : int, top : int, width : int, height : int)
The instance initializer.
Method Summary
int
Returns the rotation field.
void
Returns the tooltip, the text that is displayed on mouse over.
void
setRotation(rotation : int)
Sets the rotation field, an angle between 0 and 360.
void
setToolTip(title : String)
Sets the tooltip, the text that is displayed on mouse over.
Methods Inherited From jsx3.html.BlockTag
getBackgroundColor, getDimensions, getHeight, getLeft, getMargin, getMarginDimensions, getPadding, getPaddingDimensions, getPosition, getTop, getWidth, getZIndex, setBackgroundColor, setDimensions, setHeight, setLeft, setMargin, setPadding, setPosition, setTop, setWidth, setZIndex
Methods Inherited From jsx3.html.Tag
appendChild, getChildren, getClassName, getFirstChildOfType, getId, getParent, getProperty, getStyle, getTagNS, getTagName, onAppendChild, onRemoveChild, paint, paintDom, paintUpdate, release, removeChild, removeChildren, removeProperty, removeStyle, replaceChild, setClassName, setExtraStyles, setId, setProperty, setStyle, toString
Methods Inherited From jsx3.lang.Object
clone, equals, eval, getClass, getInstanceOf, getInstanceOfClass, getInstanceOfPackage, instanceOf, isInstanceOf, isSubclassOf, jsxmix, jsxsuper, jsxsupermix, setInstanceOf
Constructor Detail

init

void init(strTagName : String, left : int, top : int, width : int, height : int)
The instance initializer.

Parameters:

strTagName
leftleft position (in pixels) of the object relative to its parent container
toptop position (in pixels) of the object relative to its parent container
widthwidth (in pixels) of the object
heightheight (in pixels) of the object
Method Detail

getRotation

int getRotation()
Returns the rotation field.

Returns:

rotation  

getToolTip

void getToolTip()
Returns the tooltip, the text that is displayed on mouse over.

setRotation

void setRotation(rotation : int)
Sets the rotation field, an angle between 0 and 360.

Parameters:

rotationthe new value for rotation

setToolTip

void setToolTip(title : String)
Sets the tooltip, the text that is displayed on mouse over.

Parameters:

title