|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.awt.dnd.DropTarget
samples.javaclient.analyzer.AnalyzerDropTarget
The AnalyzerDropTarget makes it easier to decipher drop targets that objects are being dragged over. There are two drop targets for the application:
Nested Class Summary |
Nested classes inherited from class java.awt.dnd.DropTarget |
java.awt.dnd.DropTarget.DropTargetAutoScroller |
Field Summary | |
static int |
DATAVIEW
|
static int |
DESKTOP
|
(package private) int |
m_analyzerTarget
|
(package private) oracle.dss.dataView.Dataview |
m_dataview
|
(package private) Worksheet |
m_worksheet
|
Fields inherited from class java.awt.dnd.DropTarget |
|
Constructor Summary | |
AnalyzerDropTarget()
Constructor for the AnalyzerDropTarget class. |
|
AnalyzerDropTarget(java.awt.Component component,
int ops,
java.awt.dnd.DropTargetListener dtl)
|
Method Summary | |
int |
getAnalyzerTarget()
Get the Analyzer drop target. |
oracle.dss.dataView.Dataview |
getDataview()
Get the Dataview for this DropTarget. |
Worksheet |
getWorksheet()
Returns the worksheet object associated with this dataview. |
void |
setAnalyzerTarget(int analyzerTarget)
Set the Analyzer drop target. |
void |
setDataview(oracle.dss.dataView.Dataview dataview)
Set the Dataview for this DropTarget. |
void |
setWorksheet(Worksheet worksheet)
Set the Worksheet for this DropTarget. |
Methods inherited from class java.awt.dnd.DropTarget |
addDropTargetListener, addNotify, clearAutoscroll, createDropTargetAutoScroller, createDropTargetContext, dragEnter, dragExit, dragOver, drop, dropActionChanged, getComponent, getDefaultActions, getDropTargetContext, getFlavorMap, initializeAutoscrolling, isActive, removeDropTargetListener, removeNotify, setActive, setComponent, setDefaultActions, setFlavorMap, updateAutoscroll |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
oracle.dss.dataView.Dataview m_dataview
Worksheet m_worksheet
int m_analyzerTarget
public static final int DATAVIEW
public static final int DESKTOP
Constructor Detail |
public AnalyzerDropTarget()
public AnalyzerDropTarget(java.awt.Component component, int ops, java.awt.dnd.DropTargetListener dtl)
Method Detail |
public oracle.dss.dataView.Dataview getDataview()
public void setDataview(oracle.dss.dataView.Dataview dataview)
dataview
- The dataview is a valid drop target.public void setWorksheet(Worksheet worksheet)
worksheet
- The worksheet that contains the dataview (the Dataview is a DropTarget)public Worksheet getWorksheet()
public int getAnalyzerTarget()
public void setAnalyzerTarget(int analyzerTarget)
analyzerTarget
- The drop target for the application. Valid values are
AnalyzerDropTarget.DATAVIEW or AnalyzerDropTarget.DESKTOP
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |