|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.odlabs.wiquery.ui.position.PositionOptions
public class PositionOptions
$Id$
Complex option to store the possible options for the position. This is used too for the option position into the Autocomplete component
Nested Class Summary | |
---|---|
static class |
PositionOptions.Collision
Enumeration of collision values |
static class |
PositionOptions.Position
Enumeration of position values |
Constructor Summary | |
---|---|
PositionOptions()
Default constructor |
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PositionOptions()
Method Detail |
---|
public CharSequence getJavascriptOption()
IComplexOption
getJavascriptOption
in interface IComplexOption
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
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |