|
Openfire 3.8.2 Javadoc | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.awt.Component
java.awt.Container
javax.swing.JComponent
javax.swing.text.JTextComponent
javax.swing.JEditorPane
javax.swing.JTextPane
org.jivesoftware.openfire.launcher.DroppableTextPane
public abstract class DroppableTextPane
A droppable text pane allows for DnD of file objects from the OS onto the actual
pane via File.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class javax.swing.JEditorPane |
|---|
JEditorPane.AccessibleJEditorPane, JEditorPane.AccessibleJEditorPaneHTML, JEditorPane.JEditorPaneAccessibleHypertextSupport |
| Nested classes/interfaces inherited from class javax.swing.text.JTextComponent |
|---|
JTextComponent.AccessibleJTextComponent, JTextComponent.KeyBinding |
| Nested classes/interfaces inherited from class javax.swing.JComponent |
|---|
JComponent.AccessibleJComponent |
| Nested classes/interfaces inherited from class java.awt.Container |
|---|
Container.AccessibleAWTContainer |
| Nested classes/interfaces inherited from class java.awt.Component |
|---|
Component.AccessibleAWTComponent, Component.BltBufferStrategy, Component.FlipBufferStrategy |
| Field Summary |
|---|
| Fields inherited from class javax.swing.JEditorPane |
|---|
HONOR_DISPLAY_PROPERTIES, W3C_LENGTH_UNITS |
| Fields inherited from class javax.swing.text.JTextComponent |
|---|
DEFAULT_KEYMAP, FOCUS_ACCELERATOR_KEY |
| Fields inherited from class javax.swing.JComponent |
|---|
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW |
| Fields inherited from class java.awt.Component |
|---|
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT |
| Fields inherited from interface java.awt.image.ImageObserver |
|---|
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
| Constructor Summary | |
|---|---|
DroppableTextPane()
Creates a droppable text pane. |
|
| Method Summary | |
|---|---|
void |
directoryDropped(File file)
Notified when a directory has been dropped onto the frame. |
void |
dragDropEnd(DragSourceDropEvent DragSourceDropEvent)
|
void |
dragEnter(DragSourceDragEvent DragSourceDragEvent)
|
void |
dragEnter(DropTargetDragEvent dropTargetDragEvent)
|
void |
dragExit(DragSourceEvent DragSourceEvent)
|
void |
dragExit(DropTargetEvent dropTargetEvent)
|
void |
dragGestureRecognized(DragGestureEvent dragGestureEvent)
|
void |
dragOver(DragSourceDragEvent DragSourceDragEvent)
|
void |
dragOver(DropTargetDragEvent dropTargetDragEvent)
|
void |
drop(DropTargetDropEvent dropTargetDropEvent)
|
void |
dropActionChanged(DragSourceDragEvent DragSourceDragEvent)
|
void |
dropActionChanged(DropTargetDragEvent dropTargetDragEvent)
|
void |
fileDropped(File file)
Notified when a file has been dropped onto the frame. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public DroppableTextPane()
| Method Detail |
|---|
public void dragDropEnd(DragSourceDropEvent DragSourceDropEvent)
dragDropEnd in interface DragSourceListenerpublic void dragEnter(DragSourceDragEvent DragSourceDragEvent)
dragEnter in interface DragSourceListenerpublic void dragExit(DragSourceEvent DragSourceEvent)
dragExit in interface DragSourceListenerpublic void dragOver(DragSourceDragEvent DragSourceDragEvent)
dragOver in interface DragSourceListenerpublic void dropActionChanged(DragSourceDragEvent DragSourceDragEvent)
dropActionChanged in interface DragSourceListenerpublic void dragEnter(DropTargetDragEvent dropTargetDragEvent)
dragEnter in interface DropTargetListenerpublic void dragExit(DropTargetEvent dropTargetEvent)
dragExit in interface DropTargetListenerpublic void dragOver(DropTargetDragEvent dropTargetDragEvent)
dragOver in interface DropTargetListenerpublic void dropActionChanged(DropTargetDragEvent dropTargetDragEvent)
dropActionChanged in interface DropTargetListenerpublic void drop(DropTargetDropEvent dropTargetDropEvent)
drop in interface DropTargetListenerpublic void dragGestureRecognized(DragGestureEvent dragGestureEvent)
dragGestureRecognized in interface DragGestureListenerpublic void fileDropped(File file)
file - the file that has been dropped.public void directoryDropped(File file)
file - the directory that has been dropped.
|
Openfire 3.8.2 Javadoc | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||