org.japura.gui.dnd
Class CheckListTransferHandler
java.lang.Object
javax.swing.TransferHandler
org.japura.gui.dnd.CheckListTransferHandler
- All Implemented Interfaces:
- java.io.Serializable
public class CheckListTransferHandler
- extends javax.swing.TransferHandler
Copyright (C) 2011 Carlos Eduardo Leite de Andrade
This library is free software: you can redistribute it and/or modify it under
the terms of the GNU Lesser General Public License as published by the Free
Software Foundation, either version 3 of the License, or (at your option) any
later version.
This program is distributed in the hope that it will be useful, but WITHOUT
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
details.
You should have received a copy of the GNU Lesser General Public License
along with this program. If not, see www.gnu.org/licenses/
For more information, contact: www.japura.org
- Author:
- Carlos Eduardo Leite de Andrade
- See Also:
- Serialized Form
| Nested classes/interfaces inherited from class javax.swing.TransferHandler |
javax.swing.TransferHandler.DropLocation, javax.swing.TransferHandler.TransferSupport |
| Fields inherited from class javax.swing.TransferHandler |
COPY, COPY_OR_MOVE, LINK, MOVE, NONE |
| Methods inherited from class javax.swing.TransferHandler |
canImport, exportAsDrag, exportDone, exportToClipboard, getCopyAction, getCutAction, getPasteAction, getVisualRepresentation, importData, importData |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CheckListTransferHandler
public CheckListTransferHandler()
getComparator
public java.util.Comparator<java.lang.Object> getComparator()
setComparator
public void setComparator(java.util.Comparator<java.lang.Object> comparator)
getElementSeparator
public java.lang.String getElementSeparator()
setElementSeparator
public void setElementSeparator(java.lang.String elementSeparator)
getSourceActions
public int getSourceActions(javax.swing.JComponent c)
- Overrides:
getSourceActions in class javax.swing.TransferHandler
canTransfer
protected boolean canTransfer(javax.swing.JComponent c)
createTransferable
protected java.awt.datatransfer.Transferable createTransferable(javax.swing.JComponent c)
- Overrides:
createTransferable in class javax.swing.TransferHandler
canImport
public boolean canImport(javax.swing.TransferHandler.TransferSupport support)
- Overrides:
canImport in class javax.swing.TransferHandler