|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
MTabRulerComponent is implemented by components which provide a tab-ruler interface for interacting with an MTextPanel.
Users interact with MTabRulerComponent implementations as follows:
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.
Field Summary | |
static java.lang.String |
COPYRIGHT
|
Method Summary | |
java.awt.Color |
getBackColor()
Return the background color of this TabRuler. |
int |
getFirstLineIndent()
Return the first line indent of this TabRuler. |
int |
getLeadingMargin()
Return the leading margin of this TabRuler. |
MTabRuler |
getRuler()
Return the MTabRuler represented by this TabRuler. |
int |
getTrailingMargin()
Return the trailing margin of this TabRuler. |
void |
listenToTextPanel(MTextPanel textPanel)
Listen to the given MTextPanel and reflect its changes, and update its paragraph styles when TabRuler is manipulated. |
void |
setBackColor(java.awt.Color backColor)
Set the background color of this TabRuler. |
Field Detail |
public static final java.lang.String COPYRIGHT
Method Detail |
public void listenToTextPanel(MTextPanel textPanel)
textPanel
- the MTextPanel to listen topublic java.awt.Color getBackColor()
public void setBackColor(java.awt.Color backColor)
backColor
- the new background color of this TabRulerpublic MTabRuler getRuler()
public int getLeadingMargin()
public int getFirstLineIndent()
public int getTrailingMargin()
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |