The Properties
palette is used to display and
edit the properties of objects on an EER diagram. It is especially
useful for editing display objects such as layers and notes.
All objects except connections have the following properties except as noted:
color
– The color accent of the
object. The color of the object is displayed here as is its
hexadecimal value. Change the color of the object by
changing this value. Only characters that are legal for
hexadecimal values may be entered. You can also change the
color by clicking the ... button.
This opens a color changer dialog box.
description
– Applicable to layers
only. A means of documenting the purpose of a layer.
expanded
– This attribute applies
to objects such as tables that can be expanded to show
columns, indexes, and triggers.
height
– The height of the object.
Depending upon the object, this property may be read only or
read/write.
left
– The number of pixels from
the object to the left side of the canvas.
locked
– Whether the object is
locked or not. The value for this attribute is either
true
or false
.
manualSizing
– Whether the object
has been manually sized or not. The value for this attribute
is either true
or
false
.
name
– The name of the object.
top
– The number of pixels from the
object to the top of the canvas.
visible
– This property controls
whether an object shows up on the canvas or not. Use
‘1’
for true and
‘0’
for false. It is
currently only used for relationships.
width
– The width of the object.
Depending upon the object, this property may be read only or
read/write.
In addition to the properties listed above, tables also have the following properties:
indexesExpanded
– This property
determines whether indexes are displayed when a table is
placed on the canvas. Use ‘1’
for true and ‘0’
for false.
triggersExpanded
– This property
determines whether triggers are displayed when a table is
placed on the canvas. Use ‘1’
for true and ‘0’
for false.
For a discussion of the properties of connections see Section 7.5.2.3, “The Properties of a Connection”.