<a:DropContainer>

An AWDropContainer is a drop target for draggable elements (objects of type AWDragComponent -- AWDragContainer / AWDataTable rows). The AWDropContainer is by default a span but can be implemented using a div if desired.

When a valid draggable object is dropped on the AWDropContainer, the dropAction binding is invoked allowing application logic to handle the drag/drop action.

See AWDragContainer for information on setting up draggable content.

Bindings
tagName

The tag used as the container for the AWDragContainer. This affects the layout of the drop container in the page. The allowed values are span or div.

String
(get)
class

CSS class for the drop container.

String
(get)
style

Inline styles for the drop container.

String
(get)
dropClass

The dropClass is used to define a style which should be applied to the AWDropContainer when it is "active", ie, when a valid AWDragContainer is being dragged over the drop container

String
(get)
dropAction *

Action that is invoked when a draggable object is dropped on this drop container.

AWResponseGenerating
(get)
type

Drag/Drop type of objects allowed to be dropped in the AWTDataTable. This value is used to determine whether or not a draggable element can be dropped on the AWTDataTable.

String
(get)
types

This binding allows a list of valid Drag/Drop types to be defined for an AWTDataTable allowing multiple types of draggable objects to be dropped on the AWTDataTable.

List
(get)
omitTags

If $true, effectively removes the AWDropContainer tag. If an explicit tagName is specified, and the desire is to still have the tag rendered, but not have the drop container, then use the disableDrop binding instead.

boolean
(get)
disableDrop

If $true, disables the drop region, but still renders the container tag (either $tagName or span if no $tagName is specified). See omitTags binding.

boolean
(get)
*

Arbitrary key/value pairs may be passed-through to the \ or tagName tag.

String
(get)

ariba.ui.aribaweb.core
Class AWDropContainer

java.lang.Object
  extended by ariba.ui.aribaweb.util.AWBaseObject
      extended by ariba.ui.aribaweb.core.AWComponent
          extended by ariba.ui.aribaweb.core.AWDropContainer
All Implemented Interfaces:
AWCycleable, AWCycleableReference, AWResponseGenerating, AWResponseGenerating.ResponseSubstitution, AWObject

public final class AWDropContainer
extends AWComponent


Nested Class Summary
 
Nested classes/interfaces inherited from class ariba.ui.aribaweb.core.AWComponent
AWComponent.RenderingFilter, AWComponent.RenderingListener
 
Nested classes/interfaces inherited from interface ariba.ui.aribaweb.core.AWResponseGenerating
AWResponseGenerating.ResponseSubstitution
 
Constructor Summary
AWDropContainer()
           
 
Method Summary
 java.lang.String cssClass()
           
 boolean disableDrop()
           
static java.lang.String dropTypeToString(java.lang.String prefix, java.lang.String type, java.lang.Object types)
           
static java.lang.String dropTypeToString(java.lang.String cssClass, java.lang.String prefix, java.lang.String type, java.lang.Object types, java.lang.String dropStyle)
           
 void sleep()
           
 java.lang.String style()
           
 java.lang.String[] supportedBindingNames()
           
 
Methods inherited from class ariba.ui.aribaweb.core.AWComponent
_topLevelApplyValues, _topLevelInvokeAction, _topLevelRenderResponse, allowEmbeddedKeyPaths, allowsWhitespaceCompression, application, applyValues, awcyclePageAndLog, bindingForName, bindingForName, bindings, booleanValueForBinding, booleanValueForBinding, booleanValueForBinding, booleanValueForBinding, browserMaxWidth, browserMinWidth, characterEncoding, clearValidationError, clientTimeZone, componentConfiguration, componentDefinition, componentPath, componentReference, createPageWithName, defaultTemplateParser, determineInstance, determineInstance, dict, dict, dict, doubleValueForBinding, doubleValueForBinding, doubleValueForBinding, encodedStringValueForBinding, encodedStringValueForBinding, ensureAwake, ensureFieldValuesClear, env, errorManager, escapeAttribute, escapeString, escapeUnsafeString, extendedFields, formValueManager, generateResponse, generateResponse, generateResponse, generateStringContents, getAWParameter, getDrivingBusinessObject, getFoldInSituOnWindowSizeParam, getPageRenderVersion, getThis, hasBinding, hasBinding, hasContentForTagName, hasContentNamed, hasMultipleTemplates, hasSubTemplateNamed, httpSession, init, init, initTemplateResourceManager, intValueForBinding, intValueForBinding, intValueForBinding, invokeAction, isBidirectional, isBrowserMicrosoft, isClientPanel, isMacintosh, isRenderAW5, isStateless, isStrictTagNaming, isUserCommunityEnabled, isValidationEnabled, languageDirection, languageLeft, languageRight, loadTemplate, localizedJavaString, markBacktrackState, name, namePath, notifyChange, otherBindings, otherBindingsValues, page, pageComponent, pageWithClass, pageWithClass, pageWithName, pageWithName, parent, postTakeValueActions, preferredLocale, recordBacktrackState, recordBacktrackState, recordValidationError, recordValidationError, recordValidationError, recordValidationErrors, recordValidationWarning, redirectToPage, registerRenderingListener, registerXmlNodeWithName, removeBacktrackState, renderResponse, replacementResponse, request, requestContext, requiresPreGlidCompatibility, resourceClassName, resourceManager, response, restoreFromBacktrackState, session, session, setCharacterEncoding, setClientPanel, setClientTimeZone, setComponentConfiguration, setDefaultTemplateParser, setEnv, setPerfDestinationInfo, setPreferredLocale, setResourceManager, setTemplateParser, setupForNextCycle, setValueForBinding, setValueForBinding, setValueForBinding, setValueForBinding, setValueForBinding, setValueForBinding, shouldCachePage, shouldCloseElements, strings, stringValueForBinding, stringValueForBinding, stringValueForBinding, template, templateName, templateParser, templateResource, templateResourceManager, truncateBacktrackState, truncateBacktrackState, urlForResourceNamed, urlForResourceNamed, urlForResourceNamed, useXmlEscaping, valueForBinding, valueForBinding, valueForBinding, xml
 
Methods inherited from class ariba.ui.aribaweb.util.AWBaseObject
debugString, getFieldValue, isKindOfClass, localizedJavaString, logString, logWarning, setFieldValue
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface ariba.ui.aribaweb.util.AWObject
getFieldValue, isKindOfClass, setFieldValue
 

Field Detail

DropActionBinding

public static final java.lang.String DropActionBinding
See Also:
Constant Field Values

DisableDropBinding

public static final java.lang.String DisableDropBinding
See Also:
Constant Field Values

_elementId

public AWEncodedString _elementId
Constructor Detail

AWDropContainer

public AWDropContainer()
Method Detail

supportedBindingNames

public java.lang.String[] supportedBindingNames()
Overrides:
supportedBindingNames in class AWComponent

style

public java.lang.String style()

cssClass

public java.lang.String cssClass()

disableDrop

public boolean disableDrop()

dropTypeToString

public static java.lang.String dropTypeToString(java.lang.String prefix,
                                                java.lang.String type,
                                                java.lang.Object types)

dropTypeToString

public static java.lang.String dropTypeToString(java.lang.String cssClass,
                                                java.lang.String prefix,
                                                java.lang.String type,
                                                java.lang.Object types,
                                                java.lang.String dropStyle)

sleep

public void sleep()


AribaWeb User Interface Development Framework
Copyright © 2000-2014 Ariba, Inc. All Rights Reserved.