|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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 \ |
String (get) |
java.lang.Objectariba.ui.aribaweb.util.AWBaseObject
ariba.ui.aribaweb.core.AWComponent
ariba.ui.aribaweb.core.AWDropContainer
public final class AWDropContainer
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.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 |
---|
public static final java.lang.String DropActionBinding
public static final java.lang.String DisableDropBinding
public AWEncodedString _elementId
Constructor Detail |
---|
public AWDropContainer()
Method Detail |
---|
public java.lang.String[] supportedBindingNames()
supportedBindingNames
in class AWComponent
public java.lang.String style()
public java.lang.String cssClass()
public boolean disableDrop()
public static java.lang.String dropTypeToString(java.lang.String prefix, java.lang.String type, java.lang.Object types)
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)
public void sleep()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |