net.sf.tacos.components.dojo
Class DropTarget

java.lang.Object
  extended by org.apache.hivemind.impl.BaseLocatable
      extended by org.apache.tapestry.AbstractComponent
          extended by org.apache.tapestry.dojo.AbstractWidget
              extended by net.sf.tacos.components.dojo.DropTarget
All Implemented Interfaces:
Locatable, LocationHolder, org.apache.tapestry.dojo.IWidget, org.apache.tapestry.IComponent, org.apache.tapestry.IDirect, org.apache.tapestry.IDirectEvent, org.apache.tapestry.IDynamicInvoker, org.apache.tapestry.internal.Component, org.apache.tapestry.IRender

public abstract class DropTarget
extends org.apache.tapestry.dojo.AbstractWidget
implements org.apache.tapestry.IDirect


Field Summary
static String DRAG_SOURCE_PARAMETER
          Name of the IRequestCycle parameter whose value is the identifier of the dropped draggable source
 
Fields inherited from class org.apache.tapestry.AbstractComponent
_body, _bodyCount
 
Constructor Summary
DropTarget()
           
 
Method Summary
abstract  Collection getAcceptedTypes()
          Type of tags target accepts
abstract  Object getDragSource()
          List item source parameter
abstract  String getDragSourceElement()
          Drag source element
abstract  String getDragSourceTag()
          Drag source tag
abstract  org.apache.tapestry.engine.IEngineService getEngine()
          Injected engine service .
abstract  org.apache.tapestry.IActionListener getListener()
          Injected listener parameter, may be null.
abstract  org.apache.tapestry.listener.ListenerInvoker getListenerInvoker()
          Injected listener invoker.
abstract  String getOnDrop()
          Reference to js function - called when a drop event is generated.
abstract  org.apache.tapestry.IScript getScript()
          Injected script.
abstract  boolean isInsertDragSource()
          Whether or not to allow insertion of source element
 void renderWidget(org.apache.tapestry.IMarkupWriter writer, org.apache.tapestry.IRequestCycle cycle)
          
 void trigger(org.apache.tapestry.IRequestCycle cycle)
          
 
Methods inherited from class org.apache.tapestry.dojo.AbstractWidget
getDestroy, renderComponent, setDestroy
 
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.tapestry.IDirect
isStateful
 
Methods inherited from interface org.apache.tapestry.IComponent
addAsset, addBody, addComponent, enterActiveState, finishLoad, getAsset, getAssets, getBeans, getBinding, getBindingNames, getBindings, getClientId, getComponent, getComponents, getContainedComponent, getContainer, getEventInvoker, getExtendedId, getId, getIdPath, getListeners, getMessages, getNamespace, getPage, getSpecification, getSpecifiedId, getTemplateTagName, isRendering, peekClientId, renderBody, setBinding, setClientId, setContainedComponent, setContainer, setId, setNamespace, setPage, setTemplateTagName
 
Methods inherited from interface org.apache.tapestry.IRender
render
 
Methods inherited from interface org.apache.hivemind.LocationHolder
setLocation
 
Methods inherited from interface org.apache.hivemind.Locatable
getLocation
 
Methods inherited from interface org.apache.tapestry.IDynamicInvoker
getUpdateComponents, isAsync, isJson
 
Methods inherited from interface org.apache.tapestry.IDirectEvent
isStateful, triggerEvent
 

Field Detail

DRAG_SOURCE_PARAMETER

public static final String DRAG_SOURCE_PARAMETER
Name of the IRequestCycle parameter whose value is the identifier of the dropped draggable source

See Also:
IRequestCycle#getParameter(String)}, Constant Field Values
Constructor Detail

DropTarget

public DropTarget()
Method Detail

renderWidget

public void renderWidget(org.apache.tapestry.IMarkupWriter writer,
                         org.apache.tapestry.IRequestCycle cycle)

Specified by:
renderWidget in interface org.apache.tapestry.dojo.IWidget

trigger

public void trigger(org.apache.tapestry.IRequestCycle cycle)

Specified by:
trigger in interface org.apache.tapestry.IDirect

getOnDrop

public abstract String getOnDrop()
Reference to js function - called when a drop event is generated.


getDragSource

public abstract Object getDragSource()
List item source parameter


getDragSourceElement

public abstract String getDragSourceElement()
Drag source element


getDragSourceTag

public abstract String getDragSourceTag()
Drag source tag


getAcceptedTypes

public abstract Collection getAcceptedTypes()
Type of tags target accepts


isInsertDragSource

public abstract boolean isInsertDragSource()
Whether or not to allow insertion of source element


getListener

public abstract org.apache.tapestry.IActionListener getListener()
Injected listener parameter, may be null.


getScript

public abstract org.apache.tapestry.IScript getScript()
Injected script.


getListenerInvoker

public abstract org.apache.tapestry.listener.ListenerInvoker getListenerInvoker()
Injected listener invoker.


getEngine

public abstract org.apache.tapestry.engine.IEngineService getEngine()
Injected engine service .



Copyright © 2005-2008 SourceForge.net. All Rights Reserved.