| MTabRulerComponent is implemented by components which provide a tab-ruler
interface for interacting with an MTextPanel.
Users interact with MTabRulerComponent implementations as follows:
- The leading margin can be set by dragging the bottom half
of the leftmost triangle. The first-line indent will "stick" with
the leading margin.
- The first-line indent can be set by dragging the top half of the
leftmost triangle. The first-line indent applies to the first line of
a paragraph.
- The trailing margin can be set by dragging the rightmost triangle.
- Tabs can be added to the ruler by clicking the mouse on the ruler with the
control key pressed. Four kinds of tabs are provided: leading, trailing, center,
and decimal. The type of a tab can be changed by double-clicking the tab.
- Tabs can be repositioned by dragging them with the mouse.
MTabRulerComponent's appearance will reflect the paragraph styles in the
first selected paragraph. Style changes performed with an
MTabRulerComponent will apply to all selected paragraphs.
|