public class DNDList extends javax.swing.JList
This is an example of a component, which serves as a DragSource as well as Drop Target. To illustrate the concept, JList has been used as a droppable target and a draggable source. Any component can be used instead of a JList. The code also contains debugging messages which can be used for diagnostics and understanding the flow of events.
Fields inherited from class | Fields |
---|---|
class javax.swing.JList |
VERTICAL, VERTICAL_WRAP, HORIZONTAL_WRAP, WHEN_FOCUSED, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_IN_FOCUSED_WINDOW, UNDEFINED_CONDITION, TOOL_TIP_TEXT_KEY, TOP_ALIGNMENT, CENTER_ALIGNMENT, BOTTOM_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, WIDTH, HEIGHT, PROPERTIES, SOMEBITS, FRAMEBITS, ALLBITS, ERROR, ABORT |
class javax.swing.JComponent |
WHEN_FOCUSED, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_IN_FOCUSED_WINDOW, UNDEFINED_CONDITION, TOOL_TIP_TEXT_KEY, TOP_ALIGNMENT, CENTER_ALIGNMENT, BOTTOM_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, WIDTH, HEIGHT, PROPERTIES, SOMEBITS, FRAMEBITS, ALLBITS, ERROR, ABORT |
Constructor and description |
---|
DNDList
(javax.swing.ListModel dataModel) constructor - initializes the DropTarget and DragSource. |
Type Params | Return Type | Name and description |
---|---|---|
|
void |
addElement(java.lang.Object s) adds elements to itself |
|
void |
dragDropEnd(java.awt.dnd.DragSourceDropEvent event) this message goes to DragSourceListener, informing it that the dragging has ended |
|
void |
dragEnter(java.awt.dnd.DropTargetDragEvent event) is invoked when you are dragging over the DropSite |
|
void |
dragEnter(java.awt.dnd.DragSourceDragEvent event) this message goes to DragSourceListener, informing it that the dragging has entered the DropSite |
|
void |
dragExit(java.awt.dnd.DropTargetEvent event) is invoked when you are exit the DropSite without dropping |
|
void |
dragExit(java.awt.dnd.DragSourceEvent event) this message goes to DragSourceListener, informing it that the dragging has exited the DropSite |
|
void |
dragGestureRecognized(java.awt.dnd.DragGestureEvent event) a drag gesture has been initiated |
|
void |
dragOver(java.awt.dnd.DropTargetDragEvent event) is invoked when a drag operation is going on |
|
void |
dragOver(java.awt.dnd.DragSourceDragEvent event) this message goes to DragSourceListener, informing it that the dragging is currently ocurring over the DropSite |
|
void |
drop(java.awt.dnd.DropTargetDropEvent event) a drop has occurred |
|
void |
dropActionChanged(java.awt.dnd.DropTargetDragEvent event) is invoked if the use modifies the current drop gesture |
|
void |
dropActionChanged(java.awt.dnd.DragSourceDragEvent event) is invoked when the user changes the dropAction |
|
void |
removeElement() removes an element from itself |
Methods inherited from class | Name |
---|---|
class javax.swing.JList |
javax.swing.JList#getPrototypeCellValue(), javax.swing.JList#setPrototypeCellValue(java.lang.Object), javax.swing.JList#getFixedCellWidth(), javax.swing.JList#setFixedCellWidth(int), javax.swing.JList#getFixedCellHeight(), javax.swing.JList#setFixedCellHeight(int), javax.swing.JList#getSelectionForeground(), javax.swing.JList#setSelectionForeground(java.awt.Color), javax.swing.JList#getSelectionBackground(), javax.swing.JList#setSelectionBackground(java.awt.Color), javax.swing.JList#getVisibleRowCount(), javax.swing.JList#setVisibleRowCount(int), javax.swing.JList#getLayoutOrientation(), javax.swing.JList#setLayoutOrientation(int), javax.swing.JList#getFirstVisibleIndex(), javax.swing.JList#getLastVisibleIndex(), javax.swing.JList#ensureIndexIsVisible(int), javax.swing.JList#getNextMatch(java.lang.String, int, javax.swing.text.Position$Bias), javax.swing.JList#locationToIndex(java.awt.Point), javax.swing.JList#indexToLocation(int), javax.swing.JList#getCellBounds(int, int), javax.swing.JList#setListData([Ljava.lang.Object;), javax.swing.JList#setListData(java.util.Vector), javax.swing.JList#getListSelectionListeners(), javax.swing.JList#setSelectedIndices([I), javax.swing.JList#getSelectedValues(), javax.swing.JList#getSelectedValuesList(), javax.swing.JList#getSelectedValue(), javax.swing.JList#setSelectedValue(java.lang.Object, boolean), javax.swing.JList#setDragEnabled(boolean), javax.swing.JList#getDragEnabled(), javax.swing.JList#setDropMode(javax.swing.DropMode), javax.swing.JList#getDropMode(), javax.swing.JList#getDropLocation(), javax.swing.JList#getPreferredScrollableViewportSize(), javax.swing.JList#getScrollableUnitIncrement(java.awt.Rectangle, int, int), javax.swing.JList#getScrollableBlockIncrement(java.awt.Rectangle, int, int), javax.swing.JList#getScrollableTracksViewportWidth(), javax.swing.JList#getScrollableTracksViewportHeight(), javax.swing.JList#getModel(), javax.swing.JList#setUI(javax.swing.plaf.ListUI), javax.swing.JList#updateUI(), javax.swing.JList#getUIClassID(), javax.swing.JList#getUI(), javax.swing.JList#getUI(), javax.swing.JList#setModel(javax.swing.ListModel), javax.swing.JList#setSelectedIndex(int), javax.swing.JList#getSelectedIndex(), javax.swing.JList#getAccessibleContext(), javax.swing.JList#getToolTipText(java.awt.event.MouseEvent), javax.swing.JList#setSelectionModel(javax.swing.ListSelectionModel), javax.swing.JList#getSelectionModel(), javax.swing.JList#clearSelection(), javax.swing.JList#setCellRenderer(javax.swing.ListCellRenderer), javax.swing.JList#getCellRenderer(), javax.swing.JList#getValueIsAdjusting(), javax.swing.JList#setSelectionInterval(int, int), javax.swing.JList#addSelectionInterval(int, int), javax.swing.JList#removeSelectionInterval(int, int), javax.swing.JList#getMinSelectionIndex(), javax.swing.JList#getMaxSelectionIndex(), javax.swing.JList#isSelectedIndex(int), javax.swing.JList#getAnchorSelectionIndex(), javax.swing.JList#getLeadSelectionIndex(), javax.swing.JList#isSelectionEmpty(), javax.swing.JList#setValueIsAdjusting(boolean), javax.swing.JList#setSelectionMode(int), javax.swing.JList#getSelectionMode(), javax.swing.JList#addListSelectionListener(javax.swing.event.ListSelectionListener), javax.swing.JList#removeListSelectionListener(javax.swing.event.ListSelectionListener), javax.swing.JList#getSelectedIndices(), javax.swing.JList#update(java.awt.Graphics), javax.swing.JList#contains(int, int), javax.swing.JList#getBounds(java.awt.Rectangle), javax.swing.JList#getLocation(java.awt.Point), javax.swing.JList#print(java.awt.Graphics), javax.swing.JList#getSize(java.awt.Dimension), javax.swing.JList#setOpaque(boolean), javax.swing.JList#isOpaque(), javax.swing.JList#enable(), javax.swing.JList#setEnabled(boolean), javax.swing.JList#addAncestorListener(javax.swing.event.AncestorListener), javax.swing.JList#firePropertyChange(java.lang.String, boolean, boolean), javax.swing.JList#firePropertyChange(java.lang.String, char, char), javax.swing.JList#firePropertyChange(java.lang.String, int, int), javax.swing.JList#getListeners(java.lang.Class), javax.swing.JList#getClientProperty(java.lang.Object), javax.swing.JList#setInheritsPopupMenu(boolean), javax.swing.JList#getInheritsPopupMenu(), javax.swing.JList#setComponentPopupMenu(javax.swing.JPopupMenu), javax.swing.JList#getComponentPopupMenu(), javax.swing.JList#paint(java.awt.Graphics), javax.swing.JList#printAll(java.awt.Graphics), javax.swing.JList#isPaintingTile(), javax.swing.JList#isPaintingForPrint(), javax.swing.JList#isManagingFocus(), javax.swing.JList#setNextFocusableComponent(java.awt.Component), javax.swing.JList#getNextFocusableComponent(), javax.swing.JList#setRequestFocusEnabled(boolean), javax.swing.JList#isRequestFocusEnabled(), javax.swing.JList#requestFocus(), javax.swing.JList#requestFocus(boolean), javax.swing.JList#requestFocusInWindow(), javax.swing.JList#grabFocus(), javax.swing.JList#setVerifyInputWhenFocusTarget(boolean), javax.swing.JList#getVerifyInputWhenFocusTarget(), javax.swing.JList#getFontMetrics(java.awt.Font), javax.swing.JList#setPreferredSize(java.awt.Dimension), javax.swing.JList#getPreferredSize(), javax.swing.JList#setMaximumSize(java.awt.Dimension), javax.swing.JList#getMaximumSize(), javax.swing.JList#setMinimumSize(java.awt.Dimension), javax.swing.JList#getMinimumSize(), javax.swing.JList#setBorder(javax.swing.border.Border), javax.swing.JList#getBorder(), javax.swing.JList#getInsets(), javax.swing.JList#getInsets(java.awt.Insets), javax.swing.JList#getAlignmentY(), javax.swing.JList#setAlignmentY(float), javax.swing.JList#getAlignmentX(), javax.swing.JList#setAlignmentX(float), javax.swing.JList#setInputVerifier(javax.swing.InputVerifier), javax.swing.JList#getInputVerifier(), javax.swing.JList#getGraphics(), javax.swing.JList#setDebugGraphicsOptions(int), javax.swing.JList#getDebugGraphicsOptions(), javax.swing.JList#registerKeyboardAction(java.awt.event.ActionListener, javax.swing.KeyStroke, int), javax.swing.JList#registerKeyboardAction(java.awt.event.ActionListener, java.lang.String, javax.swing.KeyStroke, int), javax.swing.JList#unregisterKeyboardAction(javax.swing.KeyStroke), javax.swing.JList#getRegisteredKeyStrokes(), javax.swing.JList#getConditionForKeyStroke(javax.swing.KeyStroke), javax.swing.JList#getActionForKeyStroke(javax.swing.KeyStroke), javax.swing.JList#resetKeyboardActions(), javax.swing.JList#setInputMap(int, javax.swing.InputMap), javax.swing.JList#getInputMap(int), javax.swing.JList#getInputMap(), javax.swing.JList#setActionMap(javax.swing.ActionMap), javax.swing.JList#getActionMap(), javax.swing.JList#getBaseline(int, int), javax.swing.JList#getBaselineResizeBehavior(), javax.swing.JList#requestDefaultFocus(), javax.swing.JList#setVisible(boolean), javax.swing.JList#setForeground(java.awt.Color), javax.swing.JList#setBackground(java.awt.Color), javax.swing.JList#setFont(java.awt.Font), javax.swing.JList#getDefaultLocale(), javax.swing.JList#setDefaultLocale(java.util.Locale), javax.swing.JList#setToolTipText(java.lang.String), javax.swing.JList#getToolTipText(), javax.swing.JList#getToolTipLocation(java.awt.event.MouseEvent), javax.swing.JList#getPopupLocation(java.awt.event.MouseEvent), javax.swing.JList#createToolTip(), javax.swing.JList#scrollRectToVisible(java.awt.Rectangle), javax.swing.JList#setAutoscrolls(boolean), javax.swing.JList#getAutoscrolls(), javax.swing.JList#setTransferHandler(javax.swing.TransferHandler), javax.swing.JList#getTransferHandler(), javax.swing.JList#disable(), javax.swing.JList#putClientProperty(java.lang.Object, java.lang.Object), javax.swing.JList#setFocusTraversalKeys(int, java.util.Set), javax.swing.JList#isLightweightComponent(java.awt.Component), javax.swing.JList#reshape(int, int, int, int), javax.swing.JList#getX(), javax.swing.JList#getY(), javax.swing.JList#getWidth(), javax.swing.JList#getHeight(), javax.swing.JList#computeVisibleRect(java.awt.Rectangle), javax.swing.JList#getVisibleRect(), javax.swing.JList#addVetoableChangeListener(java.beans.VetoableChangeListener), javax.swing.JList#removeVetoableChangeListener(java.beans.VetoableChangeListener), javax.swing.JList#getVetoableChangeListeners(), javax.swing.JList#getTopLevelAncestor(), javax.swing.JList#removeAncestorListener(javax.swing.event.AncestorListener), javax.swing.JList#getAncestorListeners(), javax.swing.JList#addNotify(), javax.swing.JList#removeNotify(), javax.swing.JList#repaint(java.awt.Rectangle), javax.swing.JList#repaint(long, int, int, int, int), javax.swing.JList#revalidate(), javax.swing.JList#isValidateRoot(), javax.swing.JList#isOptimizedDrawingEnabled(), javax.swing.JList#paintImmediately(java.awt.Rectangle), javax.swing.JList#paintImmediately(int, int, int, int), javax.swing.JList#setDoubleBuffered(boolean), javax.swing.JList#isDoubleBuffered(), javax.swing.JList#getRootPane(), javax.swing.JList#hide(), javax.swing.JList#add(java.awt.Component), javax.swing.JList#add(java.lang.String, java.awt.Component), javax.swing.JList#add(java.awt.Component, java.lang.Object), javax.swing.JList#add(java.awt.Component, int), javax.swing.JList#add(java.awt.Component, java.lang.Object, int), javax.swing.JList#remove(java.awt.Component), javax.swing.JList#remove(int), javax.swing.JList#list(java.io.PrintWriter, int), javax.swing.JList#list(java.io.PrintStream, int), javax.swing.JList#validate(), javax.swing.JList#removeAll(), javax.swing.JList#getComponentCount(), javax.swing.JList#getComponent(int), javax.swing.JList#getComponents(), javax.swing.JList#getComponentAt(int, int), javax.swing.JList#getComponentAt(java.awt.Point), javax.swing.JList#invalidate(), javax.swing.JList#addPropertyChangeListener(java.lang.String, java.beans.PropertyChangeListener), javax.swing.JList#addPropertyChangeListener(java.beans.PropertyChangeListener), javax.swing.JList#preferredSize(), javax.swing.JList#minimumSize(), javax.swing.JList#insets(), javax.swing.JList#isFocusCycleRoot(java.awt.Container), javax.swing.JList#isFocusCycleRoot(), javax.swing.JList#getFocusTraversalPolicy(), javax.swing.JList#setFocusTraversalPolicy(java.awt.FocusTraversalPolicy), javax.swing.JList#countComponents(), javax.swing.JList#setComponentZOrder(java.awt.Component, int), javax.swing.JList#getComponentZOrder(java.awt.Component), javax.swing.JList#getLayout(), javax.swing.JList#setLayout(java.awt.LayoutManager), javax.swing.JList#doLayout(), javax.swing.JList#layout(), javax.swing.JList#paintComponents(java.awt.Graphics), javax.swing.JList#printComponents(java.awt.Graphics), javax.swing.JList#addContainerListener(java.awt.event.ContainerListener), javax.swing.JList#removeContainerListener(java.awt.event.ContainerListener), javax.swing.JList#getContainerListeners(), javax.swing.JList#deliverEvent(java.awt.Event), javax.swing.JList#locate(int, int), javax.swing.JList#getMousePosition(boolean), javax.swing.JList#findComponentAt(java.awt.Point), javax.swing.JList#findComponentAt(int, int), javax.swing.JList#isAncestorOf(java.awt.Component), javax.swing.JList#getFocusTraversalKeys(int), javax.swing.JList#areFocusTraversalKeysSet(int), javax.swing.JList#isFocusTraversalPolicySet(), javax.swing.JList#setFocusCycleRoot(boolean), javax.swing.JList#setFocusTraversalPolicyProvider(boolean), javax.swing.JList#isFocusTraversalPolicyProvider(), javax.swing.JList#transferFocusDownCycle(), javax.swing.JList#applyComponentOrientation(java.awt.ComponentOrientation), javax.swing.JList#add(java.awt.PopupMenu), javax.swing.JList#remove(java.awt.MenuComponent), javax.swing.JList#toString(), javax.swing.JList#getName(), javax.swing.JList#contains(java.awt.Point), javax.swing.JList#list(), javax.swing.JList#list(java.io.PrintStream), javax.swing.JList#list(java.io.PrintWriter), javax.swing.JList#size(), javax.swing.JList#bounds(), javax.swing.JList#getBounds(), javax.swing.JList#getParent(), javax.swing.JList#getLocation(), javax.swing.JList#action(java.awt.Event, java.lang.Object), javax.swing.JList#setName(java.lang.String), javax.swing.JList#location(), javax.swing.JList#getSize(), javax.swing.JList#resize(int, int), javax.swing.JList#resize(java.awt.Dimension), javax.swing.JList#setSize(int, int), javax.swing.JList#setSize(java.awt.Dimension), javax.swing.JList#move(int, int), javax.swing.JList#setLocale(java.util.Locale), javax.swing.JList#getLocale(), javax.swing.JList#isEnabled(), javax.swing.JList#enable(boolean), javax.swing.JList#isValid(), javax.swing.JList#firePropertyChange(java.lang.String, double, double), javax.swing.JList#firePropertyChange(java.lang.String, float, float), javax.swing.JList#firePropertyChange(java.lang.String, long, long), javax.swing.JList#firePropertyChange(java.lang.String, short, short), javax.swing.JList#firePropertyChange(java.lang.String, byte, byte), javax.swing.JList#removePropertyChangeListener(java.beans.PropertyChangeListener), javax.swing.JList#removePropertyChangeListener(java.lang.String, java.beans.PropertyChangeListener), javax.swing.JList#requestFocus(java.awt.event.FocusEvent$Cause), javax.swing.JList#requestFocusInWindow(java.awt.event.FocusEvent$Cause), javax.swing.JList#repaint(int, int, int, int), javax.swing.JList#repaint(long), javax.swing.JList#repaint(), javax.swing.JList#nextFocus(), javax.swing.JList#getForeground(), javax.swing.JList#getFont(), javax.swing.JList#getTreeLock(), javax.swing.JList#isVisible(), javax.swing.JList#getFocusCycleRootAncestor(), javax.swing.JList#isDisplayable(), javax.swing.JList#isPreferredSizeSet(), javax.swing.JList#isMaximumSizeSet(), javax.swing.JList#isMinimumSizeSet(), javax.swing.JList#getBackground(), javax.swing.JList#isLightweight(), javax.swing.JList#setBounds(java.awt.Rectangle), javax.swing.JList#setBounds(int, int, int, int), javax.swing.JList#setLocation(int, int), javax.swing.JList#setLocation(java.awt.Point), javax.swing.JList#getPropertyChangeListeners(java.lang.String), javax.swing.JList#getPropertyChangeListeners(), javax.swing.JList#isShowing(), javax.swing.JList#getMousePosition(), javax.swing.JList#getGraphicsConfiguration(), javax.swing.JList#dispatchEvent(java.awt.AWTEvent), javax.swing.JList#isFocusable(), javax.swing.JList#isFocusOwner(), javax.swing.JList#transferFocus(), javax.swing.JList#handleEvent(java.awt.Event), javax.swing.JList#postEvent(java.awt.Event), javax.swing.JList#transferFocusBackward(), javax.swing.JList#setDropTarget(java.awt.dnd.DropTarget), javax.swing.JList#getDropTarget(), javax.swing.JList#getToolkit(), javax.swing.JList#enableInputMethods(boolean), javax.swing.JList#show(boolean), javax.swing.JList#show(), javax.swing.JList#isForegroundSet(), javax.swing.JList#isBackgroundSet(), javax.swing.JList#isFontSet(), javax.swing.JList#getColorModel(), javax.swing.JList#getLocationOnScreen(), javax.swing.JList#setCursor(java.awt.Cursor), javax.swing.JList#getCursor(), javax.swing.JList#isCursorSet(), javax.swing.JList#paintAll(java.awt.Graphics), javax.swing.JList#imageUpdate(java.awt.Image, int, int, int, int, int), javax.swing.JList#createImage(int, int), javax.swing.JList#createImage(java.awt.image.ImageProducer), javax.swing.JList#createVolatileImage(int, int), javax.swing.JList#createVolatileImage(int, int, java.awt.ImageCapabilities), javax.swing.JList#prepareImage(java.awt.Image, java.awt.image.ImageObserver), javax.swing.JList#prepareImage(java.awt.Image, int, int, java.awt.image.ImageObserver), javax.swing.JList#checkImage(java.awt.Image, int, int, java.awt.image.ImageObserver), javax.swing.JList#checkImage(java.awt.Image, java.awt.image.ImageObserver), javax.swing.JList#setIgnoreRepaint(boolean), javax.swing.JList#getIgnoreRepaint(), javax.swing.JList#inside(int, int), javax.swing.JList#addComponentListener(java.awt.event.ComponentListener), javax.swing.JList#removeComponentListener(java.awt.event.ComponentListener), javax.swing.JList#getComponentListeners(), javax.swing.JList#addFocusListener(java.awt.event.FocusListener), javax.swing.JList#removeFocusListener(java.awt.event.FocusListener), javax.swing.JList#getFocusListeners(), javax.swing.JList#addHierarchyListener(java.awt.event.HierarchyListener), javax.swing.JList#removeHierarchyListener(java.awt.event.HierarchyListener), javax.swing.JList#getHierarchyListeners(), javax.swing.JList#addHierarchyBoundsListener(java.awt.event.HierarchyBoundsListener), javax.swing.JList#removeHierarchyBoundsListener(java.awt.event.HierarchyBoundsListener), javax.swing.JList#getHierarchyBoundsListeners(), javax.swing.JList#addKeyListener(java.awt.event.KeyListener), javax.swing.JList#removeKeyListener(java.awt.event.KeyListener), javax.swing.JList#getKeyListeners(), javax.swing.JList#addMouseListener(java.awt.event.MouseListener), javax.swing.JList#removeMouseListener(java.awt.event.MouseListener), javax.swing.JList#getMouseListeners(), javax.swing.JList#addMouseMotionListener(java.awt.event.MouseMotionListener), javax.swing.JList#removeMouseMotionListener(java.awt.event.MouseMotionListener), javax.swing.JList#getMouseMotionListeners(), javax.swing.JList#addMouseWheelListener(java.awt.event.MouseWheelListener), javax.swing.JList#removeMouseWheelListener(java.awt.event.MouseWheelListener), javax.swing.JList#getMouseWheelListeners(), javax.swing.JList#addInputMethodListener(java.awt.event.InputMethodListener), javax.swing.JList#removeInputMethodListener(java.awt.event.InputMethodListener), javax.swing.JList#getInputMethodListeners(), javax.swing.JList#getInputMethodRequests(), javax.swing.JList#getInputContext(), javax.swing.JList#mouseDown(java.awt.Event, int, int), javax.swing.JList#mouseDrag(java.awt.Event, int, int), javax.swing.JList#mouseUp(java.awt.Event, int, int), javax.swing.JList#mouseMove(java.awt.Event, int, int), javax.swing.JList#mouseEnter(java.awt.Event, int, int), javax.swing.JList#mouseExit(java.awt.Event, int, int), javax.swing.JList#keyDown(java.awt.Event, int), javax.swing.JList#keyUp(java.awt.Event, int), javax.swing.JList#gotFocus(java.awt.Event, java.lang.Object), javax.swing.JList#lostFocus(java.awt.Event, java.lang.Object), javax.swing.JList#isFocusTraversable(), javax.swing.JList#setFocusable(boolean), javax.swing.JList#setFocusTraversalKeysEnabled(boolean), javax.swing.JList#getFocusTraversalKeysEnabled(), javax.swing.JList#transferFocusUpCycle(), javax.swing.JList#hasFocus(), javax.swing.JList#setComponentOrientation(java.awt.ComponentOrientation), javax.swing.JList#getComponentOrientation(), javax.swing.JList#setMixingCutoutShape(java.awt.Shape), javax.swing.JList#wait(long), javax.swing.JList#wait(long, int), javax.swing.JList#wait(), javax.swing.JList#equals(java.lang.Object), javax.swing.JList#hashCode(), javax.swing.JList#getClass(), javax.swing.JList#notify(), javax.swing.JList#notifyAll() |
class javax.swing.JComponent |
javax.swing.JComponent#update(java.awt.Graphics), javax.swing.JComponent#contains(int, int), javax.swing.JComponent#getBounds(java.awt.Rectangle), javax.swing.JComponent#getLocation(java.awt.Point), javax.swing.JComponent#print(java.awt.Graphics), javax.swing.JComponent#getSize(java.awt.Dimension), javax.swing.JComponent#setOpaque(boolean), javax.swing.JComponent#isOpaque(), javax.swing.JComponent#enable(), javax.swing.JComponent#updateUI(), javax.swing.JComponent#getUIClassID(), javax.swing.JComponent#getUI(), javax.swing.JComponent#setEnabled(boolean), javax.swing.JComponent#addAncestorListener(javax.swing.event.AncestorListener), javax.swing.JComponent#firePropertyChange(java.lang.String, boolean, boolean), javax.swing.JComponent#firePropertyChange(java.lang.String, char, char), javax.swing.JComponent#firePropertyChange(java.lang.String, int, int), javax.swing.JComponent#getListeners(java.lang.Class), javax.swing.JComponent#getClientProperty(java.lang.Object), javax.swing.JComponent#setInheritsPopupMenu(boolean), javax.swing.JComponent#getInheritsPopupMenu(), javax.swing.JComponent#setComponentPopupMenu(javax.swing.JPopupMenu), javax.swing.JComponent#getComponentPopupMenu(), javax.swing.JComponent#paint(java.awt.Graphics), javax.swing.JComponent#printAll(java.awt.Graphics), javax.swing.JComponent#isPaintingTile(), javax.swing.JComponent#isPaintingForPrint(), javax.swing.JComponent#isManagingFocus(), javax.swing.JComponent#setNextFocusableComponent(java.awt.Component), javax.swing.JComponent#getNextFocusableComponent(), javax.swing.JComponent#setRequestFocusEnabled(boolean), javax.swing.JComponent#isRequestFocusEnabled(), javax.swing.JComponent#requestFocus(), javax.swing.JComponent#requestFocus(boolean), javax.swing.JComponent#requestFocusInWindow(), javax.swing.JComponent#grabFocus(), javax.swing.JComponent#setVerifyInputWhenFocusTarget(boolean), javax.swing.JComponent#getVerifyInputWhenFocusTarget(), javax.swing.JComponent#getFontMetrics(java.awt.Font), javax.swing.JComponent#setPreferredSize(java.awt.Dimension), javax.swing.JComponent#getPreferredSize(), javax.swing.JComponent#setMaximumSize(java.awt.Dimension), javax.swing.JComponent#getMaximumSize(), javax.swing.JComponent#setMinimumSize(java.awt.Dimension), javax.swing.JComponent#getMinimumSize(), javax.swing.JComponent#setBorder(javax.swing.border.Border), javax.swing.JComponent#getBorder(), javax.swing.JComponent#getInsets(), javax.swing.JComponent#getInsets(java.awt.Insets), javax.swing.JComponent#getAlignmentY(), javax.swing.JComponent#setAlignmentY(float), javax.swing.JComponent#getAlignmentX(), javax.swing.JComponent#setAlignmentX(float), javax.swing.JComponent#setInputVerifier(javax.swing.InputVerifier), javax.swing.JComponent#getInputVerifier(), javax.swing.JComponent#getGraphics(), javax.swing.JComponent#setDebugGraphicsOptions(int), javax.swing.JComponent#getDebugGraphicsOptions(), javax.swing.JComponent#registerKeyboardAction(java.awt.event.ActionListener, javax.swing.KeyStroke, int), javax.swing.JComponent#registerKeyboardAction(java.awt.event.ActionListener, java.lang.String, javax.swing.KeyStroke, int), javax.swing.JComponent#unregisterKeyboardAction(javax.swing.KeyStroke), javax.swing.JComponent#getRegisteredKeyStrokes(), javax.swing.JComponent#getConditionForKeyStroke(javax.swing.KeyStroke), javax.swing.JComponent#getActionForKeyStroke(javax.swing.KeyStroke), javax.swing.JComponent#resetKeyboardActions(), javax.swing.JComponent#setInputMap(int, javax.swing.InputMap), javax.swing.JComponent#getInputMap(int), javax.swing.JComponent#getInputMap(), javax.swing.JComponent#setActionMap(javax.swing.ActionMap), javax.swing.JComponent#getActionMap(), javax.swing.JComponent#getBaseline(int, int), javax.swing.JComponent#getBaselineResizeBehavior(), javax.swing.JComponent#requestDefaultFocus(), javax.swing.JComponent#setVisible(boolean), javax.swing.JComponent#setForeground(java.awt.Color), javax.swing.JComponent#setBackground(java.awt.Color), javax.swing.JComponent#setFont(java.awt.Font), javax.swing.JComponent#getDefaultLocale(), javax.swing.JComponent#setDefaultLocale(java.util.Locale), javax.swing.JComponent#setToolTipText(java.lang.String), javax.swing.JComponent#getToolTipText(), javax.swing.JComponent#getToolTipText(java.awt.event.MouseEvent), javax.swing.JComponent#getToolTipLocation(java.awt.event.MouseEvent), javax.swing.JComponent#getPopupLocation(java.awt.event.MouseEvent), javax.swing.JComponent#createToolTip(), javax.swing.JComponent#scrollRectToVisible(java.awt.Rectangle), javax.swing.JComponent#setAutoscrolls(boolean), javax.swing.JComponent#getAutoscrolls(), javax.swing.JComponent#setTransferHandler(javax.swing.TransferHandler), javax.swing.JComponent#getTransferHandler(), javax.swing.JComponent#disable(), javax.swing.JComponent#putClientProperty(java.lang.Object, java.lang.Object), javax.swing.JComponent#setFocusTraversalKeys(int, java.util.Set), javax.swing.JComponent#isLightweightComponent(java.awt.Component), javax.swing.JComponent#reshape(int, int, int, int), javax.swing.JComponent#getX(), javax.swing.JComponent#getY(), javax.swing.JComponent#getWidth(), javax.swing.JComponent#getHeight(), javax.swing.JComponent#computeVisibleRect(java.awt.Rectangle), javax.swing.JComponent#getVisibleRect(), javax.swing.JComponent#addVetoableChangeListener(java.beans.VetoableChangeListener), javax.swing.JComponent#removeVetoableChangeListener(java.beans.VetoableChangeListener), javax.swing.JComponent#getVetoableChangeListeners(), javax.swing.JComponent#getTopLevelAncestor(), javax.swing.JComponent#removeAncestorListener(javax.swing.event.AncestorListener), javax.swing.JComponent#getAncestorListeners(), javax.swing.JComponent#addNotify(), javax.swing.JComponent#removeNotify(), javax.swing.JComponent#repaint(java.awt.Rectangle), javax.swing.JComponent#repaint(long, int, int, int, int), javax.swing.JComponent#revalidate(), javax.swing.JComponent#isValidateRoot(), javax.swing.JComponent#isOptimizedDrawingEnabled(), javax.swing.JComponent#paintImmediately(java.awt.Rectangle), javax.swing.JComponent#paintImmediately(int, int, int, int), javax.swing.JComponent#setDoubleBuffered(boolean), javax.swing.JComponent#isDoubleBuffered(), javax.swing.JComponent#getRootPane(), javax.swing.JComponent#hide(), javax.swing.JComponent#add(java.awt.Component), javax.swing.JComponent#add(java.lang.String, java.awt.Component), javax.swing.JComponent#add(java.awt.Component, java.lang.Object), javax.swing.JComponent#add(java.awt.Component, int), javax.swing.JComponent#add(java.awt.Component, java.lang.Object, int), javax.swing.JComponent#remove(java.awt.Component), javax.swing.JComponent#remove(int), javax.swing.JComponent#list(java.io.PrintWriter, int), javax.swing.JComponent#list(java.io.PrintStream, int), javax.swing.JComponent#validate(), javax.swing.JComponent#removeAll(), javax.swing.JComponent#getComponentCount(), javax.swing.JComponent#getComponent(int), javax.swing.JComponent#getComponents(), javax.swing.JComponent#getComponentAt(int, int), javax.swing.JComponent#getComponentAt(java.awt.Point), javax.swing.JComponent#invalidate(), javax.swing.JComponent#addPropertyChangeListener(java.lang.String, java.beans.PropertyChangeListener), javax.swing.JComponent#addPropertyChangeListener(java.beans.PropertyChangeListener), javax.swing.JComponent#preferredSize(), javax.swing.JComponent#minimumSize(), javax.swing.JComponent#insets(), javax.swing.JComponent#isFocusCycleRoot(java.awt.Container), javax.swing.JComponent#isFocusCycleRoot(), javax.swing.JComponent#getFocusTraversalPolicy(), javax.swing.JComponent#setFocusTraversalPolicy(java.awt.FocusTraversalPolicy), javax.swing.JComponent#countComponents(), javax.swing.JComponent#setComponentZOrder(java.awt.Component, int), javax.swing.JComponent#getComponentZOrder(java.awt.Component), javax.swing.JComponent#getLayout(), javax.swing.JComponent#setLayout(java.awt.LayoutManager), javax.swing.JComponent#doLayout(), javax.swing.JComponent#layout(), javax.swing.JComponent#paintComponents(java.awt.Graphics), javax.swing.JComponent#printComponents(java.awt.Graphics), javax.swing.JComponent#addContainerListener(java.awt.event.ContainerListener), javax.swing.JComponent#removeContainerListener(java.awt.event.ContainerListener), javax.swing.JComponent#getContainerListeners(), javax.swing.JComponent#deliverEvent(java.awt.Event), javax.swing.JComponent#locate(int, int), javax.swing.JComponent#getMousePosition(boolean), javax.swing.JComponent#findComponentAt(java.awt.Point), javax.swing.JComponent#findComponentAt(int, int), javax.swing.JComponent#isAncestorOf(java.awt.Component), javax.swing.JComponent#getFocusTraversalKeys(int), javax.swing.JComponent#areFocusTraversalKeysSet(int), javax.swing.JComponent#isFocusTraversalPolicySet(), javax.swing.JComponent#setFocusCycleRoot(boolean), javax.swing.JComponent#setFocusTraversalPolicyProvider(boolean), javax.swing.JComponent#isFocusTraversalPolicyProvider(), javax.swing.JComponent#transferFocusDownCycle(), javax.swing.JComponent#applyComponentOrientation(java.awt.ComponentOrientation), javax.swing.JComponent#add(java.awt.PopupMenu), javax.swing.JComponent#remove(java.awt.MenuComponent), javax.swing.JComponent#toString(), javax.swing.JComponent#getName(), javax.swing.JComponent#contains(java.awt.Point), javax.swing.JComponent#list(), javax.swing.JComponent#list(java.io.PrintStream), javax.swing.JComponent#list(java.io.PrintWriter), javax.swing.JComponent#size(), javax.swing.JComponent#bounds(), javax.swing.JComponent#getBounds(), javax.swing.JComponent#getParent(), javax.swing.JComponent#getLocation(), javax.swing.JComponent#action(java.awt.Event, java.lang.Object), javax.swing.JComponent#setName(java.lang.String), javax.swing.JComponent#location(), javax.swing.JComponent#getSize(), javax.swing.JComponent#resize(int, int), javax.swing.JComponent#resize(java.awt.Dimension), javax.swing.JComponent#setSize(int, int), javax.swing.JComponent#setSize(java.awt.Dimension), javax.swing.JComponent#move(int, int), javax.swing.JComponent#setLocale(java.util.Locale), javax.swing.JComponent#getLocale(), javax.swing.JComponent#isEnabled(), javax.swing.JComponent#enable(boolean), javax.swing.JComponent#isValid(), javax.swing.JComponent#getAccessibleContext(), javax.swing.JComponent#firePropertyChange(java.lang.String, double, double), javax.swing.JComponent#firePropertyChange(java.lang.String, float, float), javax.swing.JComponent#firePropertyChange(java.lang.String, long, long), javax.swing.JComponent#firePropertyChange(java.lang.String, short, short), javax.swing.JComponent#firePropertyChange(java.lang.String, byte, byte), javax.swing.JComponent#removePropertyChangeListener(java.beans.PropertyChangeListener), javax.swing.JComponent#removePropertyChangeListener(java.lang.String, java.beans.PropertyChangeListener), javax.swing.JComponent#requestFocus(java.awt.event.FocusEvent$Cause), javax.swing.JComponent#requestFocusInWindow(java.awt.event.FocusEvent$Cause), javax.swing.JComponent#repaint(int, int, int, int), javax.swing.JComponent#repaint(long), javax.swing.JComponent#repaint(), javax.swing.JComponent#nextFocus(), javax.swing.JComponent#getForeground(), javax.swing.JComponent#getFont(), javax.swing.JComponent#getTreeLock(), javax.swing.JComponent#isVisible(), javax.swing.JComponent#getFocusCycleRootAncestor(), javax.swing.JComponent#isDisplayable(), javax.swing.JComponent#isPreferredSizeSet(), javax.swing.JComponent#isMaximumSizeSet(), javax.swing.JComponent#isMinimumSizeSet(), javax.swing.JComponent#getBackground(), javax.swing.JComponent#isLightweight(), javax.swing.JComponent#setBounds(java.awt.Rectangle), javax.swing.JComponent#setBounds(int, int, int, int), javax.swing.JComponent#setLocation(int, int), javax.swing.JComponent#setLocation(java.awt.Point), javax.swing.JComponent#getPropertyChangeListeners(java.lang.String), javax.swing.JComponent#getPropertyChangeListeners(), javax.swing.JComponent#isShowing(), javax.swing.JComponent#getMousePosition(), javax.swing.JComponent#getGraphicsConfiguration(), javax.swing.JComponent#dispatchEvent(java.awt.AWTEvent), javax.swing.JComponent#isFocusable(), javax.swing.JComponent#isFocusOwner(), javax.swing.JComponent#transferFocus(), javax.swing.JComponent#handleEvent(java.awt.Event), javax.swing.JComponent#postEvent(java.awt.Event), javax.swing.JComponent#transferFocusBackward(), javax.swing.JComponent#setDropTarget(java.awt.dnd.DropTarget), javax.swing.JComponent#getDropTarget(), javax.swing.JComponent#getToolkit(), javax.swing.JComponent#enableInputMethods(boolean), javax.swing.JComponent#show(boolean), javax.swing.JComponent#show(), javax.swing.JComponent#isForegroundSet(), javax.swing.JComponent#isBackgroundSet(), javax.swing.JComponent#isFontSet(), javax.swing.JComponent#getColorModel(), javax.swing.JComponent#getLocationOnScreen(), javax.swing.JComponent#setCursor(java.awt.Cursor), javax.swing.JComponent#getCursor(), javax.swing.JComponent#isCursorSet(), javax.swing.JComponent#paintAll(java.awt.Graphics), javax.swing.JComponent#imageUpdate(java.awt.Image, int, int, int, int, int), javax.swing.JComponent#createImage(int, int), javax.swing.JComponent#createImage(java.awt.image.ImageProducer), javax.swing.JComponent#createVolatileImage(int, int), javax.swing.JComponent#createVolatileImage(int, int, java.awt.ImageCapabilities), javax.swing.JComponent#prepareImage(java.awt.Image, java.awt.image.ImageObserver), javax.swing.JComponent#prepareImage(java.awt.Image, int, int, java.awt.image.ImageObserver), javax.swing.JComponent#checkImage(java.awt.Image, int, int, java.awt.image.ImageObserver), javax.swing.JComponent#checkImage(java.awt.Image, java.awt.image.ImageObserver), javax.swing.JComponent#setIgnoreRepaint(boolean), javax.swing.JComponent#getIgnoreRepaint(), javax.swing.JComponent#inside(int, int), javax.swing.JComponent#addComponentListener(java.awt.event.ComponentListener), javax.swing.JComponent#removeComponentListener(java.awt.event.ComponentListener), javax.swing.JComponent#getComponentListeners(), javax.swing.JComponent#addFocusListener(java.awt.event.FocusListener), javax.swing.JComponent#removeFocusListener(java.awt.event.FocusListener), javax.swing.JComponent#getFocusListeners(), javax.swing.JComponent#addHierarchyListener(java.awt.event.HierarchyListener), javax.swing.JComponent#removeHierarchyListener(java.awt.event.HierarchyListener), javax.swing.JComponent#getHierarchyListeners(), javax.swing.JComponent#addHierarchyBoundsListener(java.awt.event.HierarchyBoundsListener), javax.swing.JComponent#removeHierarchyBoundsListener(java.awt.event.HierarchyBoundsListener), javax.swing.JComponent#getHierarchyBoundsListeners(), javax.swing.JComponent#addKeyListener(java.awt.event.KeyListener), javax.swing.JComponent#removeKeyListener(java.awt.event.KeyListener), javax.swing.JComponent#getKeyListeners(), javax.swing.JComponent#addMouseListener(java.awt.event.MouseListener), javax.swing.JComponent#removeMouseListener(java.awt.event.MouseListener), javax.swing.JComponent#getMouseListeners(), javax.swing.JComponent#addMouseMotionListener(java.awt.event.MouseMotionListener), javax.swing.JComponent#removeMouseMotionListener(java.awt.event.MouseMotionListener), javax.swing.JComponent#getMouseMotionListeners(), javax.swing.JComponent#addMouseWheelListener(java.awt.event.MouseWheelListener), javax.swing.JComponent#removeMouseWheelListener(java.awt.event.MouseWheelListener), javax.swing.JComponent#getMouseWheelListeners(), javax.swing.JComponent#addInputMethodListener(java.awt.event.InputMethodListener), javax.swing.JComponent#removeInputMethodListener(java.awt.event.InputMethodListener), javax.swing.JComponent#getInputMethodListeners(), javax.swing.JComponent#getInputMethodRequests(), javax.swing.JComponent#getInputContext(), javax.swing.JComponent#mouseDown(java.awt.Event, int, int), javax.swing.JComponent#mouseDrag(java.awt.Event, int, int), javax.swing.JComponent#mouseUp(java.awt.Event, int, int), javax.swing.JComponent#mouseMove(java.awt.Event, int, int), javax.swing.JComponent#mouseEnter(java.awt.Event, int, int), javax.swing.JComponent#mouseExit(java.awt.Event, int, int), javax.swing.JComponent#keyDown(java.awt.Event, int), javax.swing.JComponent#keyUp(java.awt.Event, int), javax.swing.JComponent#gotFocus(java.awt.Event, java.lang.Object), javax.swing.JComponent#lostFocus(java.awt.Event, java.lang.Object), javax.swing.JComponent#isFocusTraversable(), javax.swing.JComponent#setFocusable(boolean), javax.swing.JComponent#setFocusTraversalKeysEnabled(boolean), javax.swing.JComponent#getFocusTraversalKeysEnabled(), javax.swing.JComponent#transferFocusUpCycle(), javax.swing.JComponent#hasFocus(), javax.swing.JComponent#setComponentOrientation(java.awt.ComponentOrientation), javax.swing.JComponent#getComponentOrientation(), javax.swing.JComponent#setMixingCutoutShape(java.awt.Shape), javax.swing.JComponent#wait(long), javax.swing.JComponent#wait(long, int), javax.swing.JComponent#wait(), javax.swing.JComponent#equals(java.lang.Object), javax.swing.JComponent#hashCode(), javax.swing.JComponent#getClass(), javax.swing.JComponent#notify(), javax.swing.JComponent#notifyAll() |
constructor - initializes the DropTarget and DragSource.
adds elements to itself
this message goes to DragSourceListener, informing it that the dragging has ended
is invoked when you are dragging over the DropSite
this message goes to DragSourceListener, informing it that the dragging has entered the DropSite
is invoked when you are exit the DropSite without dropping
this message goes to DragSourceListener, informing it that the dragging has exited the DropSite
a drag gesture has been initiated
is invoked when a drag operation is going on
this message goes to DragSourceListener, informing it that the dragging is currently ocurring over the DropSite
a drop has occurred
is invoked if the use modifies the current drop gesture
is invoked when the user changes the dropAction
removes an element from itself
ReadyAPI functional (soapui) SDK 3.20.1