Methods' Details
|
- addDropTargetListener
-  
- [ oneway ] void
addDropTargetListener(
-
- Description
- Add a DropTargetListener.
The listener will be queried for the XAutoscroll interface
to see if it supports autoscrolling.
- Parameter dtl
-
The listener to add to the notification list.
|
- removeDropTargetListener
-  
- [ oneway ] void
removeDropTargetListener(
-
- Description
- Remove a drop target listener.
- Parameter dtl
-
The listener to remove from notification list.
|
- isActive
-  
boolean
isActive();
- Description
- Indicates either a drop target object is active or not.
- Returns
-
A boolean indicating whether or not this drop target object is
currently active, that is ready to accept drops.
|
- setActive
-  
- void
setActive(
-
- Description
- Sets the drop target object active or inactive.
- Parameter active
-
A value of true sets the drop target object active.
A value of false sets the drop target object inactive.
|
- getDefaultActions
-  
byte
getDefaultActions();
- Description
- Determine the actions supported by a drop target.
- Returns
-
The current action or actions supported by this drop target.
By default this will include all drag and drop actions.
- See also
- com::sun::star::datatransfer::dnd::DNDConstants
|
- setDefaultActions
-  
- [ oneway ] void
setDefaultActions(
-
- Description
- Sets the default acceptable actions for this drop target.
This method is a way to reduce the number of Drag and Drop events
by blocking events for actions not supported by this target.
By default the listener will receive notifications for all actions.
- Parameter actions
-
The actions.
- See also
- com::sun::star::datatransfer::dnd::DNDConstants
|
Copyright 2002 Sun Microsystems, Inc., 901 San Antonio Road, Palo Alto, CA 94303 USA.