AutofitAppearancePreferences

AutoFit appearance preferences

Methods:

addEventListener, getElements, removeEventListener, resetAllToDefaults, toSource, toSpecifier

Hierarchy:

Superclass: Preference

Class: AutofitAppearancePreferences

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.

lineAppearance

AutofitLineAppearance

readonly

Settings for the appearance of the line drawn between to AutoFit relation markers

markerAppearance

AutofitMarkerAppearance

readonly

Settings for the appearance of the markers that represent anchor points of AutoFit relations

parent

AutofitApplicationSettings

AutofitDocumentSettings

readonly

The parent of the AutofitAppearancePreferences (a AutofitApplicationSettings or AutofitDocumentSettings).

preferences

Preferences Preference

readonly

A collection of preferences objects.

properties

Object

read/write

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

relationshipColor

UIColors

read/write

The relationship color to use through-out the document

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)

AutofitAppearancePreferences 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)

undefined resetAllToDefaults ()

Reset the AutoFit specific data of AutofitAppearancePreferences to the default values

String toSource ()

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

String toSpecifier ()

Retrieves the object specifier.

Object of

AutofitApplicationSettings.appearance

AutofitDocumentSettings.appearance

AutofitLineAppearance.parent

AutofitMarkerAppearance.parent

Event.parent

EventListener.parent

MutationEvent.parent

Preference.parent

Return

AutofitAppearancePreferences.getElements()