|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.uni_paderborn.fujaba.mpEdit.Ruler
The Ruler is used to measure pixel lengths of strings.
Constructor Summary | |
Ruler(de.uni_paderborn.fujaba.mpEdit.DocMan dm)
Constructor for class Ruler |
Method Summary | |
void |
invalidate(int first,
int last)
No comment provided by developer, please add a comment to improve documentation. |
int |
length(int line,
int column)
No comment provided by developer, please add a comment to improve documentation. |
de.uni_paderborn.fujaba.mpEdit.TextPosition |
position(int line,
int x)
No comment provided by developer, please add a comment to improve documentation. |
void |
setFontMetrics(java.awt.FontMetrics fm)
Sets the fontMetrics attribute of the Ruler object |
void |
setTabSize(int ts)
Sets the tabSize attribute of the Ruler object |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Ruler(de.uni_paderborn.fujaba.mpEdit.DocMan dm)
dm
- No description providedMethod Detail |
public void setFontMetrics(java.awt.FontMetrics fm)
fm
- The new fontMetrics valuepublic void setTabSize(int ts)
ts
- The new tabSize valuepublic void invalidate(int first, int last)
first
- No description providedlast
- No description providedpublic int length(int line, int column)
line
- No description providedcolumn
- No description provided
public de.uni_paderborn.fujaba.mpEdit.TextPosition position(int line, int x)
line
- No description providedx
- No description provided
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |