|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.hivemind.impl.BaseLocatable
org.apache.tapestry.AbstractComponent
net.sf.tacos.components.scriptaculous.Draggable
public abstract class Draggable
Implementation of the Draggables.
This component makes html elements draggable. Draggables can be dragged and dropped into Droppables.
Example:
<div jwcid="@tacos:Draggable" draggables="ognl:{'id1', 'id2', 'id3'}" />
Droppable| Field Summary |
|---|
| Fields inherited from class org.apache.tapestry.AbstractComponent |
|---|
_body, _bodyCount |
| Constructor Summary | |
|---|---|
Draggable()
|
|
| Method Summary | |
|---|---|
abstract List |
getDraggables()
Returns String[] or Collection of element ids to make draggable. |
abstract org.apache.tapestry.IScript |
getScript()
Injected IScript. |
abstract boolean |
isGhosting()
If set to true, clones the element and drags the clone,
leaving the original in place until the clone is dropped. |
abstract boolean |
isRevert()
If set to true, the element returns to its original position when the drags ends. |
protected void |
renderComponent(org.apache.tapestry.IMarkupWriter writer,
org.apache.tapestry.IRequestCycle cycle)
|
| Methods inherited from class org.apache.tapestry.AbstractComponent |
|---|
addAsset, addBody, addComponent, checkActiveLock, cleanupAfterRender, enterActiveState, equals, finishLoad, finishLoad, generateClientId, getAsset, getAssets, getBeans, getBinding, getBindingNames, getBindings, getBody, getBodyCount, getBoundId, getClientId, getComponent, getComponents, getContainedComponent, getContainedRenderers, getContainer, getEventInvoker, getExtendedId, getId, getIdPath, getInnerRenderers, getListeners, getMessages, getNamespace, getPage, getRenderWorker, getSpecification, getSpecifiedId, getTemplateTagName, hasEvents, hashCode, isInActiveState, isParameterBound, isRendering, isStateful, pageEndRender, peekClientId, prepareForRender, render, renderBody, renderIdAttribute, renderInformalParameters, setBinding, setClientId, setContainedComponent, setContainer, setHasEvents, setId, setNamespace, setPage, setTemplateTagName, toString, triggerEvent |
| Methods inherited from class org.apache.hivemind.impl.BaseLocatable |
|---|
getLocation, setLocation |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.apache.hivemind.LocationHolder |
|---|
setLocation |
| Methods inherited from interface org.apache.hivemind.Locatable |
|---|
getLocation |
| Constructor Detail |
|---|
public Draggable()
| Method Detail |
|---|
protected void renderComponent(org.apache.tapestry.IMarkupWriter writer,
org.apache.tapestry.IRequestCycle cycle)
renderComponent in class org.apache.tapestry.AbstractComponentpublic abstract List getDraggables()
String[] or Collection of element ids to make draggable.
public abstract boolean isGhosting()
true, clones the element and drags the clone,
leaving the original in place until the clone is dropped.
public abstract boolean isRevert()
true, the element returns to its original position when the drags ends.
public abstract org.apache.tapestry.IScript getScript()
IScript.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||