public final class DocumentationFileNode extends AbstractFileInfoNode
AbstractFileInfoNode.DataTransferObject, AbstractFileInfoNode.IChildrenFactory| Modifier and Type | Field and Description |
|---|---|
static DataFlavor |
DATA_FLAVOR
Descreve o formato de objeto que pode ser transferido pelas operações de
transferência (drag&drop ou clipboard) na árvore.
|
allowsChildren, children, EMPTY_ENUMERATION, parent, userObject| Modifier | Constructor and Description |
|---|---|
protected |
DocumentationFileNode(VersionTree tree,
csbase.logic.algorithms.AlgorithmVersionInfo version,
csbase.logic.FileInfo file)
Construtor.
|
| Modifier and Type | Method and Description |
|---|---|
JPopupMenu |
createPopupMenu()
Cria um menu pop-up para este nó.
|
protected csbase.logic.IPathFactory |
createSourcePathFactory(AbstractFileInfoNode.DataTransferObject dto)
Obtém uma fábrica que gere um caminho físico até os arquivos representados
pelo dto.
|
protected csbase.logic.IPathFactory |
createTargetPathFactory()
Obtém uma fábrica que gere o caminho físico até o diretório representado
por este nó.
|
DataFlavor |
getDataFlavor()
Obtém o
DataFlavor do objeto.Este objeto só poderá ser exportado para um ITransferableTarget que aceitar este DataFlavor. |
csbase.logic.ClientAlgorithmFile.AlgorithmFileType |
getType()
Retorna o tipo de arquivo associado a este nó
|
addChild, allowMultipleSelection, canImport, compareTo, createDataTransferObject, getData, getFile, getImageIcon, getSelectedFiles, getVersion, importDataadd, getName, getTree, getWindowbreadthFirstEnumeration, children, clone, depthFirstEnumeration, getAllowsChildren, getChildAfter, getChildAt, getChildBefore, getChildCount, getDepth, getFirstChild, getFirstLeaf, getIndex, getLastChild, getLastLeaf, getLeafCount, getLevel, getNextLeaf, getNextNode, getNextSibling, getParent, getPath, getPathToRoot, getPreviousLeaf, getPreviousNode, getPreviousSibling, getRoot, getSharedAncestor, getSiblingCount, getUserObject, getUserObjectPath, insert, isLeaf, isNodeAncestor, isNodeChild, isNodeDescendant, isNodeRelated, isNodeSibling, isRoot, pathFromAncestorEnumeration, postorderEnumeration, preorderEnumeration, remove, remove, removeAllChildren, removeFromParent, setAllowsChildren, setParent, setUserObject, toStringpublic static final DataFlavor DATA_FLAVOR
protected DocumentationFileNode(VersionTree tree, csbase.logic.algorithms.AlgorithmVersionInfo version, csbase.logic.FileInfo file)
tree - Árvore que detém este nó.version - Versão que detém o arquivo representado por este nó.file - Arquivo representado por este nó.public JPopupMenu createPopupMenu()
createPopupMenu in class AbstractVersionTreeNodepublic DataFlavor getDataFlavor()
DataFlavor do objeto.ITransferableTarget que aceitar este DataFlavor.DataFlavor do objeto.protected final csbase.logic.IPathFactory createSourcePathFactory(AbstractFileInfoNode.DataTransferObject dto)
createSourcePathFactory in class AbstractFileInfoNodedto - Objeto utilizado para encapsular dados a serem transmitidos
através de um TransferHandler.protected final csbase.logic.IPathFactory createTargetPathFactory()
createTargetPathFactory in class AbstractFileInfoNodepublic csbase.logic.ClientAlgorithmFile.AlgorithmFileType getType()
getType in class AbstractFileInfoNodeCopyright © 2019. All rights reserved.