swingwt.awt.swtcustomlayout
Class SWTBorderLayout

java.lang.Object
  extended byorg.eclipse.swt.widgets.Layout
      extended byswingwt.awt.swtcustomlayout.SWTBorderLayout

public class SWTBorderLayout
extends org.eclipse.swt.widgets.Layout


Field Summary
static java.lang.Integer AFTER_LAST_LINE
           
static java.lang.Integer AFTER_LINE_ENDS
           
static java.lang.Integer BEFORE_FIRST_LINE
           
static java.lang.Integer BEFORE_LINE_BEGINS
           
static java.lang.Integer CENTER
           
static java.lang.Integer EAST
           
protected static int INT_AFTER_LAST_LINE
           
protected static int INT_AFTER_LINE_ENDS
           
protected static int INT_BEFORE_FIRST_LINE
           
protected static int INT_BEFORE_LINE_BEGINS
           
protected static int INT_CENTER
           
protected static int INT_EAST
           
protected static int INT_NONE
           
protected static int INT_NORTH
           
protected static int INT_SOUTH
           
protected static int INT_WEST
           
static java.lang.Integer NORTH
           
static java.lang.Integer SOUTH
           
static java.lang.Integer WEST
           
 
Constructor Summary
SWTBorderLayout()
           
SWTBorderLayout(int hgap, int vgap)
           
 
Method Summary
protected  org.eclipse.swt.graphics.Point computeSize(org.eclipse.swt.widgets.Composite composite, int wHint, int hHint, boolean flushCache)
           
protected  void determineControlPositions(org.eclipse.swt.widgets.Control[] controls)
           
protected  int getCenter()
           
protected  org.eclipse.swt.widgets.Control getChild(org.eclipse.swt.widgets.Control[] children, int key, boolean ltr)
           
protected  int getEast()
           
protected  int getFirstItem()
           
protected  int getFirstLine()
           
 int getHgap()
           
protected  int getLastItem()
           
protected  int getLastLine()
           
protected  int getNorth()
           
protected  int getSouth()
           
 int getVgap()
           
protected  int getWest()
           
protected  boolean isCached()
           
protected  void layout(org.eclipse.swt.widgets.Composite composite, boolean flushCache)
           
protected  java.lang.String paramString()
           
protected  void setCached(boolean cached)
           
protected  void setCenter(int center)
           
protected  void setEast(int east)
           
protected  void setFirstItem(int firstItem)
           
protected  void setFirstLine(int firstLine)
           
 void setHgap(int hgap)
           
protected  void setLastItem(int lastItem)
           
protected  void setLastLine(int lastLine)
           
protected  void setNorth(int north)
           
protected  void setSouth(int south)
           
 void setVgap(int vgap)
           
protected  void setWest(int west)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

INT_NONE

protected static final int INT_NONE
See Also:
Constant Field Values

INT_NORTH

protected static final int INT_NORTH
See Also:
Constant Field Values

NORTH

public static final java.lang.Integer NORTH

INT_SOUTH

protected static final int INT_SOUTH
See Also:
Constant Field Values

SOUTH

public static final java.lang.Integer SOUTH

INT_EAST

protected static final int INT_EAST
See Also:
Constant Field Values

EAST

public static final java.lang.Integer EAST

INT_WEST

protected static final int INT_WEST
See Also:
Constant Field Values

WEST

public static final java.lang.Integer WEST

INT_CENTER

protected static final int INT_CENTER
See Also:
Constant Field Values

CENTER

public static final java.lang.Integer CENTER

INT_BEFORE_FIRST_LINE

protected static final int INT_BEFORE_FIRST_LINE
See Also:
Constant Field Values

BEFORE_FIRST_LINE

public static final java.lang.Integer BEFORE_FIRST_LINE

INT_AFTER_LAST_LINE

protected static final int INT_AFTER_LAST_LINE
See Also:
Constant Field Values

AFTER_LAST_LINE

public static final java.lang.Integer AFTER_LAST_LINE

INT_BEFORE_LINE_BEGINS

protected static final int INT_BEFORE_LINE_BEGINS
See Also:
Constant Field Values

BEFORE_LINE_BEGINS

public static final java.lang.Integer BEFORE_LINE_BEGINS

INT_AFTER_LINE_ENDS

protected static final int INT_AFTER_LINE_ENDS
See Also:
Constant Field Values

AFTER_LINE_ENDS

public static final java.lang.Integer AFTER_LINE_ENDS
Constructor Detail

SWTBorderLayout

public SWTBorderLayout()

SWTBorderLayout

public SWTBorderLayout(int hgap,
                       int vgap)
Method Detail

getHgap

public int getHgap()

setHgap

public void setHgap(int hgap)

getVgap

public int getVgap()

setVgap

public void setVgap(int vgap)

determineControlPositions

protected void determineControlPositions(org.eclipse.swt.widgets.Control[] controls)

computeSize

protected org.eclipse.swt.graphics.Point computeSize(org.eclipse.swt.widgets.Composite composite,
                                                     int wHint,
                                                     int hHint,
                                                     boolean flushCache)

layout

protected void layout(org.eclipse.swt.widgets.Composite composite,
                      boolean flushCache)

getChild

protected org.eclipse.swt.widgets.Control getChild(org.eclipse.swt.widgets.Control[] children,
                                                   int key,
                                                   boolean ltr)

toString

public java.lang.String toString()

paramString

protected java.lang.String paramString()

getWest

protected int getWest()

setWest

protected void setWest(int west)

getSouth

protected int getSouth()

setSouth

protected void setSouth(int south)

getNorth

protected int getNorth()

setNorth

protected void setNorth(int north)

getLastLine

protected int getLastLine()

setLastLine

protected void setLastLine(int lastLine)

getLastItem

protected int getLastItem()

setLastItem

protected void setLastItem(int lastItem)

getFirstLine

protected int getFirstLine()

setFirstLine

protected void setFirstLine(int firstLine)

getFirstItem

protected int getFirstItem()

setFirstItem

protected void setFirstItem(int firstItem)

getEast

protected int getEast()

setEast

protected void setEast(int east)

getCenter

protected int getCenter()

setCenter

protected void setCenter(int center)

isCached

protected boolean isCached()

setCached

protected void setCached(boolean cached)