|
LPEX 3.6.7 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectCompositeRuler
com.ibm.lpex.alef.LpexCompositeRuler
public class LpexCompositeRuler
A composite vertical ruler which is connected to an LpexTextViewer.
This ruler does not have a a visual representation of its own.
The presentation comes from the configurable list of vertical ruler
columns. Such columns must implement the
IVerticalRulerColumn
interface.
Clients may instantiate and configure this class.
Constructor Summary | |
---|---|
LpexCompositeRuler()
Constructs a new composite vertical ruler. |
|
LpexCompositeRuler(int gap)
Constructs a new composite ruler with the given gap between its columns. |
Method Summary | |
---|---|
int |
toDocumentLineNumber(int y_coordinate)
Translates a y-coordinate of the vertical ruler's SWT Control into the corresponding ZERO-based line number of the input document section of the connected LpexTextViewer. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public LpexCompositeRuler()
public LpexCompositeRuler(int gap)
gap
- between-columns gapMethod Detail |
---|
public int toDocumentLineNumber(int y_coordinate)
IVerticalRuler
|
LPEX 3.6.7 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |