SWT LPEX
v3.0.5

com.ibm.lpex.alef
Class LpexSourceViewer.RulerLayout

java.lang.Object
  extended byorg.eclipse.swt.widgets.Layout
      extended bycom.ibm.lpex.alef.LpexSourceViewer.RulerLayout
Enclosing class:
LpexSourceViewer

protected class LpexSourceViewer.RulerLayout
extends Layout

Layout of this source viewer. The vertical ruler and the LPEX text widget are shown side by side. The LPEX text widget window sits on top of a prompt window.


Field Summary
protected  int fGap
          The gap between the text viewer and the vertical ruler.
 
Constructor Summary
LpexSourceViewer.RulerLayout(int gap)
          Creates a new ruler layout with the given gap between text viewer and vertical ruler.
 
Method Summary
protected  Point computeSize(Composite composite, int wHint, int hHint, boolean flushCache)
           
protected  void layout(Composite composite, boolean flushCache)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

fGap

protected int fGap
The gap between the text viewer and the vertical ruler.

Constructor Detail

LpexSourceViewer.RulerLayout

public LpexSourceViewer.RulerLayout(int gap)
Creates a new ruler layout with the given gap between text viewer and vertical ruler.

Parameters:
gap - the gap between text viewer and vertical ruler
Method Detail

computeSize

protected Point computeSize(Composite composite,
                            int wHint,
                            int hHint,
                            boolean flushCache)

layout

protected void layout(Composite composite,
                      boolean flushCache)

SWT LPEX
v3.0.5

(C) Copyright IBM Corporation 1998, 2005.  All Rights Reserved.