|
SAP NetWeaver 2004S SPS 10 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sapportals.htmlb.Component
com.sapportals.htmlb.Container
com.sapportals.htmlb.DropTarget
The DropTarget is used to make a html business for java control dropable.
The DropTarget is a container which can contain any htmlb control.
In Netscape Drag-and-drop is only possible within the same form. Drag-and-drop between
different forms or windows is only supported for Internet Explorer.
You can drop on every html-element inside the DropTarget, but its not possible
to drop on an emty space inside the DropTarget.
Drag-and-Drop is supported for Internet Explorer and Netscape 6 and above.
Copyright 2004 SAP AG
| Field Summary | |
static String |
UI_ID
|
| Fields inherited from class com.sapportals.htmlb.Container |
elements |
| Constructor Summary | |
DropTarget(String name)
Creates a DropTarget with a specific name |
|
| Method Summary | |
void |
addFlavour(String flavour)
adds a flavour to the dropTarget. |
ArrayList |
getFlavours()
retrieves the list of flavours from the dropTarget. |
String |
getFlavoursAsString()
internal use only |
String |
getOnDrop()
retrieves the event handler for the DropEvent. |
String |
getUI()
get a identification String for the renderer that is unique across all supported components. |
String |
getValue()
retrieves the value to be passed to the DropEvent. |
String |
getWidth()
returns the width of the container |
void |
removeAllFlavours()
removes all flavours from the dragSource. |
void |
removeFlavour(String flavour)
removes a flavour from the dropTarget. |
void |
setFlavours(ArrayList flavours)
sets the list of flavours from the dropTarget. |
void |
setOnDrop(String onDrop)
sets the event handler for the DropEvent. |
void |
setValue(String value)
sets the value to be passed to the DropEvent. |
void |
setWidth(String width)
sets the width of the container |
| Methods inherited from class com.sapportals.htmlb.Container |
addComponent, addRawText, addText, getChildCount, iterator, preRender, removeComponent, render |
| Methods inherited from class com.sapportals.htmlb.Component |
getEncodedIdForForm, getId, getParent, initFromPageContext, initFromShortId, initializeFromId, isJsObjectNeeded, render, renderAsString, requiresForm, setId, setJsObjectNeeded, setParent |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final String UI_ID
| Constructor Detail |
public DropTarget(String name)
name - the name of the dragSource| Method Detail |
public String getUI()
getUI in class Componentpublic void addFlavour(String flavour)
flavour - the flavour to addpublic void removeFlavour(String flavour)
flavour - the flavour to removepublic void removeAllFlavours()
public ArrayList getFlavours()
public void setFlavours(ArrayList flavours)
flavours - the list of flavourspublic void setOnDrop(String onDrop)
onDrop - event handler for the DropEvent.public String getOnDrop()
public void setValue(String value)
value - the value to bes passed to the DropEvent.public String getValue()
public String getWidth()
public void setWidth(String width)
width - the width of the containerpublic String getFlavoursAsString()
|
SAP NetWeaver 2004S SPS 10 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||