|
| Components |
|
| |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||||
public interface DesignTimeDropTargetInterface
The DesignTimeDropTargetInterface is implemented by visual components which wish to allow models and/or viewers to be dropped in/on them inside webAF. Typically, this interface is implemented by a container object such as com.sas.awt.Panel.
A typical component will only have significant implementation in the dragOver and drop methods.
| Method Summary | |
|---|---|
abstract int |
dragEnter(java.awt.Point point,
int representation,
int keyState,
java.util.Vector data)
dragEnter is called when the mouse cursor enters a component in webAF. |
abstract void |
dragLeave()
dragLeave is called when the cursor leaves the component. |
abstract int |
dragOver(java.awt.Point point,
int representation,
int keyState,
java.util.Vector data)
dragOver is called when a model or view is dragged over a component. |
abstract DesignTimeDropResult |
drop(java.awt.Point point,
int representation,
int keyState,
java.util.Vector data)
drop is alled when a model or view is dropped on a component. |
| Method Detail |
|---|
int dragEnter(java.awt.Point point,
int representation,
int keyState,
java.util.Vector data)
NOTE: dragEnter is currently not functioning properly due to a problem in the C/Java event handling. It may not be called on a component, or it may not always be called on a component at the expected time.
point - The x/y coordinates of the mouse cursor inside the component.representation - One of com.sas.DesignTimeDropResult.{representationComponent,representationModel,representationAttribute,representationViewer}keyState - Unused.data - A Vector containing information about the drag.
void dragLeave()
NOTE: dragLeave is currently not functioning properly due to a problem in the C/Java event handling. It may not be called on a component, or it may not always be called on a component at the expected time.
int dragOver(java.awt.Point point,
int representation,
int keyState,
java.util.Vector data)
point - The x/y coordinates of the mouse cursor inside the component.representation - One of com.sas.DesignTimeDropResult.{representationComponent,representationModel,representationAttribute,representationViewer}keyState - Unused.data - A Vector containing information about the drag.
DesignTimeDropResult drop(java.awt.Point point,
int representation,
int keyState,
java.util.Vector data)
point - The x/y coordinates of the mouse cursor inside the component.representation - One of com.sas.DesignTimeDropResult.{representationComponent,representationModel,representationAttribute,representationViewer}keyState - Unused.data - A Vector containing information about the drag.
|
| Components |
|
| |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||||