public class AbsoluteLayerLayoutData
extends com.extjs.gxt.ui.client.widget.layout.LayoutData
Modifier and Type | Field and Description |
---|---|
static int |
HORIZONTAL_ATTACH_LEFT |
static int |
HORIZONTAL_ATTACH_RIGHT |
static int |
VERTICAL_ATTACH_BOTTOM |
static int |
VERTICAL_ATTACH_TOP |
Constructor and Description |
---|
AbsoluteLayerLayoutData(int attachmentFlags,
int horizontalOffset,
int verticalOffset,
int width,
int height,
int zIndex)
Constructor
|
Modifier and Type | Method and Description |
---|---|
int |
getHeight() |
int |
getHorizontalOffset() |
int |
getVerticalOffset() |
int |
getWidth() |
int |
getZIndex() |
boolean |
isAttachedBottom() |
boolean |
isAttachedLeft() |
boolean |
isAttachedRight() |
boolean |
isAttachedTop() |
public static final int HORIZONTAL_ATTACH_LEFT
public static final int HORIZONTAL_ATTACH_RIGHT
public static final int VERTICAL_ATTACH_TOP
public static final int VERTICAL_ATTACH_BOTTOM
public AbsoluteLayerLayoutData(int attachmentFlags, int horizontalOffset, int verticalOffset, int width, int height, int zIndex)
attachmentFlags
- A combination of an horizontal attachment flag and
a vertical attachment flaghorizontalOffset
- The distance to the horizontal attachment pointverticalOffset
- The distance to the vertical attachment pointwidth
- The width (if 0, it will adjust to the container width)height
- The height (if 0, it will adjust to the container height)zIndex
- The z indexpublic boolean isAttachedLeft()
public boolean isAttachedRight()
public boolean isAttachedTop()
public boolean isAttachedBottom()
public int getHeight()
public int getWidth()
public int getHorizontalOffset()
public int getVerticalOffset()
public int getZIndex()
Copyright © 2018. All Rights Reserved.