|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.wicket.behavior.Behavior
org.odlabs.wiquery.core.behavior.WiQueryAbstractBehavior
org.odlabs.wiquery.ui.position.PositionBehavior
public class PositionBehavior
$Id$
Behavior using the position utilities
Missing functionalities:
Constructor Summary | |
---|---|
PositionBehavior()
Default constructor |
Method Summary | |
---|---|
PositionOptions.Position |
getAt()
|
PositionOptions.Collision |
getCollision()
|
PositionOptions.Position |
getMy()
|
String |
getOf()
|
PositionOffset |
getOffset()
|
protected Options |
getOptions()
Method retrieving the options of the component |
boolean |
isBgiframe()
|
void |
renderHead(org.apache.wicket.Component component,
org.apache.wicket.markup.html.IHeaderResponse response)
|
PositionBehavior |
setAt(PositionOptions.Position at)
Defines which position on the target element to align the positioned element against: "horizontal vertical" alignment. |
PositionBehavior |
setBgiframe(boolean bgiframe)
Applies the bgiframe plugin when set to true. |
PositionBehavior |
setBy(JsScopePositionEvent by)
When specified the actual property setting is delegated to this callback. |
PositionBehavior |
setCollision(PositionOptions.Collision collision)
When the positioned element overflows the window in some direction, move it to an alternative position. |
PositionBehavior |
setMy(PositionOptions.Position my)
Defines which position on the element being positioned to align with the target element: "horizontal vertical" alignment. |
PositionBehavior |
setOf(String of)
Element to position against. |
PositionBehavior |
setOffset(PositionOffset offset)
Add these left-top values to the calculated position, eg. |
JsStatement |
statement()
Returns the main JsStatement used to create the plugin. |
Methods inherited from class org.odlabs.wiquery.core.behavior.WiQueryAbstractBehavior |
---|
bind, getComponent, onBind |
Methods inherited from class org.apache.wicket.behavior.Behavior |
---|
afterRender, beforeRender, canCallListenerInterface, canCallListenerInterface, detach, getStatelessHint, isEnabled, isTemporary, onComponentTag, onConfigure, onEvent, onException, unbind |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PositionBehavior()
Method Detail |
---|
public void renderHead(org.apache.wicket.Component component, org.apache.wicket.markup.html.IHeaderResponse response)
renderHead
in interface org.apache.wicket.markup.html.IComponentAwareHeaderContributor
renderHead
in class org.apache.wicket.behavior.Behavior
protected Options getOptions()
public JsStatement statement()
IWiQueryPlugin
JsStatement
used to create the plugin.
statement
in interface IWiQueryPlugin
statement
in class WiQueryAbstractBehavior
JsStatement
corresponding to this component.public PositionBehavior setAt(PositionOptions.Position at)
at
-
public PositionOptions.Position getAt()
public PositionBehavior setBgiframe(boolean bgiframe)
bgiframe
-
public boolean isBgiframe()
public PositionBehavior setCollision(PositionOptions.Collision collision)
collision
-
public PositionOptions.Collision getCollision()
public PositionBehavior setMy(PositionOptions.Position my)
my
-
public PositionOptions.Position getMy()
public PositionBehavior setOf(String of)
of
-
public String getOf()
public PositionBehavior setOffset(PositionOffset offset)
offset
-
public PositionOffset getOffset()
public PositionBehavior setBy(JsScopePositionEvent by)
by
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |