TransformAttributeOption

Options for applying layout attributes to any page item.

Methods:

addEventListener, getElements, removeEventListener, toSource, toSpecifier

Objects:

AnchorPoint, Boolean, EventListeners, Events, Number, Object, String, TransformPositionReference

Hierarchy:

Superclass: Preference

Class: TransformAttributeOption

Property Listing

Property

Type

Access

Description

eventListeners

EventListeners EventListener

readonly

A collection of event listeners.

events

Events Event

readonly

A collection of events.

isValid

Boolean

readonly

Returns true if the object specifier resolves to valid objects.

parent

ObjectStyle

readonly

The parent of the TransformAttributeOption (a ObjectStyle).

properties

Object

read/write

A property that allows setting of several properties at the same time.

transformAttrHeight

Number

String

read/write

The height of the object, defined by the object style.

transformAttrLeftReference

TransformPositionReference

TransformPositionReference.PAGE_EDGE_REFERENCE

TransformPositionReference.PAGE_MARGIN_REFERENCE

read/write

The reference point to be used while setting the X attribute of object style.

transformAttrRefAnchorPoint

AnchorPoint

AnchorPoint.BOTTOM_CENTER_ANCHOR

AnchorPoint.BOTTOM_LEFT_ANCHOR

AnchorPoint.BOTTOM_RIGHT_ANCHOR

AnchorPoint.CENTER_ANCHOR

AnchorPoint.LEFT_CENTER_ANCHOR

AnchorPoint.RIGHT_CENTER_ANCHOR

AnchorPoint.TOP_CENTER_ANCHOR

AnchorPoint.TOP_LEFT_ANCHOR

AnchorPoint.TOP_RIGHT_ANCHOR

read/write

Option to specify the achor point to be used by the style for anchoring the object while applying the position.

transformAttrTopReference

TransformPositionReference

TransformPositionReference.PAGE_EDGE_REFERENCE

TransformPositionReference.PAGE_MARGIN_REFERENCE

read/write

The reference point to be used while setting the Y attribute of object style.

transformAttrWidth

Number

String

read/write

The width of the object, defined by the object style.

transformAttrX

Number

String

read/write

The left position of the object, defined by the object style.

transformAttrY

Number

String

read/write

The top position of the object, defined by the object style.

Method Listing

EventListener addEventListener (eventType:String, handler:Varies File JavaScriptFunction, [captures:Boolean=Boolean])

Adds an event listener.

Parameter

Type

Description

eventType

String

The event type.

handler

File

JavaScriptFunction

The event handler. Can accept: File or JavaScript Function.

captures

Boolean

This parameter is obsolete. (Optional)

(default: false)

TransformAttributeOption getElements ()

Resolves the object specifier, creating an array of object references.

Boolean removeEventListener (eventType:String, handler:Varies File JavaScriptFunction, [captures:Boolean=Boolean])

Removes the event listener.

Parameter

Type

Description

eventType

String

The registered event type.

handler

File

JavaScriptFunction

The registered event handler. Can accept: File or JavaScript Function.

captures

Boolean

This parameter is obsolete. (Optional)

(default: false)

String toSource ()

Generates a string which, if executed, will return the TransformAttributeOption.

String toSpecifier ()

Retrieves the object specifier.

Object of

ObjectStyle.transformAttributeOptions

Event.parent

EventListener.parent

MutationEvent.parent

Return

TransformAttributeOption.getElements()