|
Openfire 3.5.2 Javadoc | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.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 DragSourceListener
public void dragEnter(DragSourceDragEvent DragSourceDragEvent)
dragEnter
in interface DragSourceListener
public void dragExit(DragSourceEvent DragSourceEvent)
dragExit
in interface DragSourceListener
public void dragOver(DragSourceDragEvent DragSourceDragEvent)
dragOver
in interface DragSourceListener
public void dropActionChanged(DragSourceDragEvent DragSourceDragEvent)
dropActionChanged
in interface DragSourceListener
public void dragEnter(DropTargetDragEvent dropTargetDragEvent)
dragEnter
in interface DropTargetListener
public void dragExit(DropTargetEvent dropTargetEvent)
dragExit
in interface DropTargetListener
public void dragOver(DropTargetDragEvent dropTargetDragEvent)
dragOver
in interface DropTargetListener
public void dropActionChanged(DropTargetDragEvent dropTargetDragEvent)
dropActionChanged
in interface DropTargetListener
public void drop(DropTargetDropEvent dropTargetDropEvent)
drop
in interface DropTargetListener
public void dragGestureRecognized(DragGestureEvent dragGestureEvent)
dragGestureRecognized
in interface DragGestureListener
public 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.5.2 Javadoc | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |