org.gudy.azureus2.ui.swt.shells
Class DockPosition

java.lang.Object
  extended by org.gudy.azureus2.ui.swt.shells.DockPosition

public class DockPosition
extends Object

A simple class to declare a docking position and an offset; currently only used by ShellDocker

Author:
khai

Field Summary
static int BOTTOM_LEFT
           
static int BOTTOM_RIGHT
           
static int TOP_LEFT
           
static int TOP_RIGHT
           
 
Constructor Summary
DockPosition()
           
DockPosition(int position, Offset offset)
           
 
Method Summary
 Offset getOffset()
           
 int getPosition()
           
 void setOffset(Offset offset)
           
 void setPosition(int position)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TOP_LEFT

public static final int TOP_LEFT
See Also:
Constant Field Values

BOTTOM_LEFT

public static final int BOTTOM_LEFT
See Also:
Constant Field Values

TOP_RIGHT

public static final int TOP_RIGHT
See Also:
Constant Field Values

BOTTOM_RIGHT

public static final int BOTTOM_RIGHT
See Also:
Constant Field Values
Constructor Detail

DockPosition

public DockPosition()

DockPosition

public DockPosition(int position,
                    Offset offset)
Method Detail

getPosition

public int getPosition()

setPosition

public void setPosition(int position)

getOffset

public Offset getOffset()

setOffset

public void setOffset(Offset offset)