org.odlabs.wiquery.ui.draggable
Class DraggableCursorAt
java.lang.Object
org.odlabs.wiquery.ui.draggable.DraggableCursorAt
- All Implemented Interfaces:
- Serializable, IListItemOption
public class DraggableCursorAt
- extends Object
- implements IListItemOption
$Id: DraggableCursorAt.java
Bean to hold an option for 'cursorAt'
- Since:
- 1.0
- Author:
- Julien Roche
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DraggableCursorAt
public DraggableCursorAt(DraggableBehavior.CursorAtEnum cursorAtEnum,
int gap)
- Build a new instance
- Parameters:
cursorAtEnum
- Positiongap
-
getCursorAtEnum
public DraggableBehavior.CursorAtEnum getCursorAtEnum()
getGap
public int getGap()
getJavascriptOption
public final CharSequence getJavascriptOption()
- Description copied from interface:
IListItemOption
- Method retrieving the javascript's representation of the option
- Specified by:
getJavascriptOption
in interface IListItemOption
- Returns:
setCursorAtEnum
public void setCursorAtEnum(DraggableBehavior.CursorAtEnum cursorAtEnum)
setGap
public void setGap(int gap)
Copyright © 2012. All Rights Reserved.