beautypg.com

Adobe Extending Dreamweaver CS4 User Manual

Page 95

background image

89

EXTENDING DREAMWEAVER CS4

User interfaces for extensions

For readability,

TREECOLUMN

tags should follow immediately after the

MM:TREECONTROL

tag, as shown in the following

example:



...

The

MM:TREENODE

attributes are described in the following table:

For example, the following tree control has all its nodes expanded:












Attribute name

Description

name

Name of the column

value

String to appear in column header

width

Width of the column in pixels (percentage not supported); default is 100

align

Optional. Specifies whether the text in the column should be aligned left, right, or
center; default is left

state

Specifies whether the column is visible or hidden

Attribute name

Description

name

Name of the node

value

Contains the content for the given node. For more than one column, this is a pipe-
delimited string. To specify an empty column, place a single space character before
the pipe (|).

state

Specifies that the node is expanded or collapsed with the strings

"expanded"

or

"collapsed"

.

selected

You can select multiple nodes by setting this attribute on more than one tree node, if
the tree has a MULTIPLE attribute.

icon

Optional. The index of built-in icon to use, starting with 0:

0 = no icon; 1 = Dreamweaver document icon; 2 = multidocument icon

This manual is related to the following products: