<t:DragList>

A component for reordering / drag/dropping a list of items.

NOTE: Passes through other bindings to container element (e.g. width, height, ...)

Bindings
list

The list (Vector, Java Array, ...) to be rendered for drag / drop.

AWOrderedList
(get)
item

The current item in the repetition.

Object
(set)
dragAction

See AWDragContainer

void
(get)
dropAction *

See AWDropContainer. Note: When item dropped "at end" called with item set to null.

Client is responsible for handling drag/drop to reorder the list.

AWResponseGenerating
(get)
type

Drag type.

String
(get)
isHoriz

Is layout horizontal?

boolean
(get)
tagName

Tag for the container element

String
(get)
class

Css class for the container element. The drag and drop classes are parented off of this class. I.e., by default this class is vtList or hzList and drop styles are ".vtList .drop" etc

String
(get)
label

Label to render in box

String
(get)
itemTagName

Default is div for vert, span for horiz

String
(get)
dropTypes

List of accepted drop types. If not provided, type is used.

List
(get)
width

Pass through.

int
(get)
height

Pass through.

int
(get)
colspan

Pass through.

int
(get)
rowspan

Pass through.

int
(get)
title

Pass through.

String
(get)
align

Pass through.

String
(get)
valign

Pass through.

String
(get)

ariba.ui.table
Class AWTDragList

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

public class AWTDragList
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
AWTDragList()
           
 
Method Summary
 void awake()
           
 java.lang.String containerClass()
           
 AWResponseGenerating dropAtEnd()
           
 java.lang.String dropType()
           
 boolean enabled()
           
 java.lang.String itemTagName()
           
 void sleep()
           
 
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, supportedBindingNames, 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

_isHoriz

public boolean _isHoriz
Constructor Detail

AWTDragList

public AWTDragList()
Method Detail

awake

public void awake()

sleep

public void sleep()

containerClass

public java.lang.String containerClass()

itemTagName

public java.lang.String itemTagName()

dropAtEnd

public AWResponseGenerating dropAtEnd()

dropType

public java.lang.String dropType()

enabled

public boolean enabled()


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