public class EncryptedMindMapNode extends MindMapNodeModel
backgroundColor, children, cloud, color, folded, font, HGAP, icons, LEFT_POSITION, logger, RIGHT_POSITION, stateIcons, style, underlined, UNKNOWN_POSITION, userObject, VGAPNODE_STYLES, STYLE_AS_PARENT, STYLE_BUBBLE, STYLE_COMBINED, STYLE_FORK| Constructor and Description |
|---|
EncryptedMindMapNode(java.lang.Object userObject,
FreeMindMain frame,
MindMap map) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
checkPassword(java.lang.StringBuffer givenPassword) |
java.util.ListIterator |
childrenFolded() |
java.util.ListIterator |
childrenUnfolded() |
boolean |
decrypt(java.lang.StringBuffer givenPassword) |
void |
encrypt() |
java.lang.String |
getAdditionalInfo()
Is only used to store encrypted content of an encrypted mind map node.
|
int |
getChildCount() |
boolean |
hasChildren() |
void |
insert(javax.swing.tree.MutableTreeNode pChild,
int pIndex) |
boolean |
isAccessible() |
boolean |
isFolded() |
boolean |
isStoringEncryptedContent() |
boolean |
isWriteable()
Some nodes can't get new children or have other changes (encrypted nodes for example).
|
XMLElement |
save(java.io.Writer writer,
MindMapLinkRegistry registry,
boolean saveHidden,
boolean saveChildren) |
void |
setAdditionalInfo(java.lang.String info)
This method can be used to store non-visual additions to a node.
|
void |
setFolded(boolean folded) |
void |
setMap(MindMap map) |
void |
setPassword(java.lang.StringBuffer password) |
void |
setShuttingDown(boolean isShuttingDown)
isShuttingDown is used to fold an encrypted node properly.
|
void |
setStoringEncryptedContent(boolean pIsStoringEncryptedContent) |
void |
updateIcon() |
collectColors, getPlainTextContent, saveRTF, saveTXTacceptViewVisitor, addHook, addIcon, addTreeModelListener, addViewer, calcShiftY, children, createAttributeTableModel, establishOwnFont, getActivatedHooks, getAllowsChildren, getAttribute, getAttribute, getAttributeKeyList, getAttributePosition, getAttributes, getAttributeTableLength, getBackgroundColor, getChildAt, getChildPosition, getChildren, getCloud, getColor, getEdge, getFilterInfo, getFont, getFontFamilyName, getFontSize, getFrame, getHGap, getHistoryInformation, getHooks, getIcons, getIndex, getLink, getListeners, getMap, getModeController, getNodeLevel, getNoteText, getObjectId, getParent, getParentNode, getPath, getShiftY, getShortText, getStateIcons, getStyle, getText, getToolTip, getVGap, getViewers, getXmlNoteText, getXmlText, hasFoldedStrictDescendant, hasOneVisibleChild, hasStyle, invokeHook, isBold, isDescendantOf, isItalic, isLeaf, isLeft, isNewChildLeft, isRoot, isUnderlined, isVisible, remove, remove, removeFromParent, removeHook, removeIcon, removeTreeModelListener, removeViewer, setAttribute, setBackgroundColor, setBold, setCloud, setColor, setEdge, setFont, setFontSize, setHGap, setHistoryInformation, setItalic, setLeft, setLink, setNoteText, setParent, setParent, setShiftY, setStateIcon, setStyle, setText, setToolTip, setUnderlined, setUserObject, setVGap, setXmlNoteText, setXmlText, shallowCopy, toggleBold, toggleItalic, toStringpublic EncryptedMindMapNode(java.lang.Object userObject,
FreeMindMain frame,
MindMap map)
public void setMap(MindMap map)
setMap in class NodeAdapterpublic boolean decrypt(java.lang.StringBuffer givenPassword)
public boolean checkPassword(java.lang.StringBuffer givenPassword)
public void encrypt()
public int getChildCount()
getChildCount in interface javax.swing.tree.TreeNodegetChildCount in class NodeAdapterpublic java.util.ListIterator childrenFolded()
childrenFolded in interface MindMapNodechildrenFolded in class NodeAdapterpublic java.util.ListIterator childrenUnfolded()
childrenUnfolded in interface MindMapNodechildrenUnfolded in class NodeAdapterpublic boolean hasChildren()
hasChildren in interface MindMapNodehasChildren in class NodeAdapterpublic void updateIcon()
public void setPassword(java.lang.StringBuffer password)
public boolean isFolded()
isFolded in interface MindMapNodeisFolded in class NodeAdapterpublic void setFolded(boolean folded)
setFolded in interface MindMapNodesetFolded in class NodeAdapterpublic void setAdditionalInfo(java.lang.String info)
MindMapNodesetAdditionalInfo in interface MindMapNodesetAdditionalInfo in class NodeAdapterpublic java.lang.String getAdditionalInfo()
MindMapNodegetAdditionalInfo in interface MindMapNodegetAdditionalInfo in class NodeAdapterMindMapNode.setAdditionalInfo(String)public XMLElement save(java.io.Writer writer, MindMapLinkRegistry registry, boolean saveHidden, boolean saveChildren) throws java.io.IOException
save in interface MindMapNodesave in class NodeAdaptersaveHidden - TODO: Seems not to be used. Remove or fill with live.saveChildren - if true, the save recurses to all of the nodes children.java.io.IOExceptionpublic void setShuttingDown(boolean isShuttingDown)
isShuttingDown - The isShuttingDown to set.public boolean isAccessible()
public void insert(javax.swing.tree.MutableTreeNode pChild,
int pIndex)
insert in interface javax.swing.tree.MutableTreeNodeinsert in class NodeAdapterpublic boolean isWriteable()
MindMapNodeisWriteable in interface MindMapNodeisWriteable in class MindMapNodeModelpublic boolean isStoringEncryptedContent()
public void setStoringEncryptedContent(boolean pIsStoringEncryptedContent)