public class PositionOptions extends Object implements IComplexOption
Complex option to store the possible options for the position. This is used too for the option position into the Autocomplete component
| Modifier and Type | Class and Description |
|---|---|
static class |
PositionOptions.Collision
Enumeration of collision values
|
static class |
PositionOptions.Position
Enumeration of position values
|
| Constructor and Description |
|---|
PositionOptions()
Default constructor
|
| Modifier and Type | Method and Description |
|---|---|
PositionOptions.Position |
getAt() |
PositionOptions.Collision |
getCollision() |
CharSequence |
getJavascriptOption()
Method retrieving the javascript representation of this complex option
|
PositionOptions.Position |
getMy() |
String |
getOf() |
PositionOffset |
getOffset() |
protected Options |
getOptions()
Method retrieving the options
|
boolean |
isBgiframe() |
PositionOptions |
setAt(PositionOptions.Position at)
Defines which position on the target element to align the positioned
element against: "horizontal vertical" alignment.
|
PositionOptions |
setBgiframe(boolean bgiframe)
Applies the bgiframe plugin when set to true.
|
PositionOptions |
setBy(JsScopePositionEvent by)
When specified the actual property setting is delegated to this callback.
|
PositionOptions |
setCollision(PositionOptions.Collision collision)
When the positioned element overflows the window in some direction, move
it to an alternative position.
|
PositionOptions |
setMy(PositionOptions.Position my)
Defines which position on the element being positioned to align with the
target element: "horizontal vertical" alignment.
|
PositionOptions |
setOf(String of)
Element to position against.
|
PositionOptions |
setOffset(PositionOffset offset)
Add these left-top values to the calculated position, eg.
|
public CharSequence getJavascriptOption()
getJavascriptOption in interface IComplexOptionIComplexOption.getJavascriptOption()protected Options getOptions()
public PositionOptions setAt(PositionOptions.Position at)
at - public PositionOptions.Position getAt()
public PositionOptions setBgiframe(boolean bgiframe)
bgiframe - public boolean isBgiframe()
public PositionOptions setCollision(PositionOptions.Collision collision)
collision - public PositionOptions.Collision getCollision()
public PositionOptions setMy(PositionOptions.Position my)
my - public PositionOptions.Position getMy()
public PositionOptions setOf(String of)
of - public String getOf()
public PositionOptions setOffset(PositionOffset offset)
offset - public PositionOffset getOffset()
public PositionOptions setBy(JsScopePositionEvent by)
by - Copyright © 2009-2012. All Rights Reserved.