org.vectomatic.svg.edit.client.gxt
Class AbsoluteLayerLayoutData
java.lang.Object
com.extjs.gxt.ui.client.widget.layout.LayoutData
org.vectomatic.svg.edit.client.gxt.AbsoluteLayerLayoutData
public class AbsoluteLayerLayoutData
- extends com.extjs.gxt.ui.client.widget.layout.LayoutData
Class to position layers in containers which use
AbsoluteLayerLayout.
- Author:
- laaglu
|
Constructor Summary |
AbsoluteLayerLayoutData(int attachmentFlags,
int horizontalOffset,
int verticalOffset,
int width,
int height,
int zIndex)
Constructor |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HORIZONTAL_ATTACH_LEFT
public static final int HORIZONTAL_ATTACH_LEFT
- See Also:
- Constant Field Values
HORIZONTAL_ATTACH_RIGHT
public static final int HORIZONTAL_ATTACH_RIGHT
- See Also:
- Constant Field Values
VERTICAL_ATTACH_TOP
public static final int VERTICAL_ATTACH_TOP
- See Also:
- Constant Field Values
VERTICAL_ATTACH_BOTTOM
public static final int VERTICAL_ATTACH_BOTTOM
- See Also:
- Constant Field Values
AbsoluteLayerLayoutData
public AbsoluteLayerLayoutData(int attachmentFlags,
int horizontalOffset,
int verticalOffset,
int width,
int height,
int zIndex)
- Constructor
- Parameters:
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 index
isAttachedLeft
public boolean isAttachedLeft()
isAttachedRight
public boolean isAttachedRight()
isAttachedTop
public boolean isAttachedTop()
isAttachedBottom
public boolean isAttachedBottom()
getHeight
public int getHeight()
getWidth
public int getWidth()
getHorizontalOffset
public int getHorizontalOffset()
getVerticalOffset
public int getVerticalOffset()
getZIndex
public int getZIndex()
Copyright © 2010. All Rights Reserved.