public class RepositoryNode extends CheckedTreeNode implements EditableTreeNode, java.lang.Comparable<RepositoryNode>
Modifier and Type | Field and Description |
---|---|
protected java.util.concurrent.atomic.AtomicBoolean |
myLoading |
isChecked
Constructor and Description |
---|
RepositoryNode(RepositoryWithBranchPanel repositoryPanel,
CheckBoxModel model,
boolean enabled) |
Modifier and Type | Method and Description |
---|---|
void |
cancelLoading() |
int |
compareTo(RepositoryNode repositoryNode) |
void |
fireOnCancel() |
void |
fireOnChange() |
void |
fireOnSelectionChange(boolean isSelected) |
void |
forceUpdateUiModelWithTypedText(java.lang.String forceText) |
protected java.lang.String |
getRepositoryPresentationDetails() |
java.lang.Object |
getUserObject() |
boolean |
isCheckboxVisible() |
boolean |
isChecked() |
boolean |
isEditableNow() |
boolean |
isLoading() |
void |
render(ColoredTreeCellRenderer renderer) |
void |
render(ColoredTreeCellRenderer renderer,
java.lang.String syncEditingText) |
void |
setChecked(boolean checked) |
void |
startLoading(javax.swing.JTree tree,
java.util.concurrent.Future<java.util.concurrent.atomic.AtomicReference<OutgoingResult>> future,
boolean initial) |
void |
stopLoading() |
java.lang.String |
toString() |
isEnabled, setEnabled
add, breadthFirstEnumeration, 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, getUserObjectPath, insert, isLeaf, isNodeAncestor, isNodeChild, isNodeDescendant, isNodeRelated, isNodeSibling, isRoot, pathFromAncestorEnumeration, postorderEnumeration, preorderEnumeration, remove, remove, removeAllChildren, removeFromParent, setAllowsChildren, setParent, setUserObject
public RepositoryNode(RepositoryWithBranchPanel repositoryPanel, CheckBoxModel model, boolean enabled)
public boolean isChecked()
isChecked
in class CheckedTreeNode
public void setChecked(boolean checked)
setChecked
in class CheckedTreeNode
public boolean isCheckboxVisible()
public void forceUpdateUiModelWithTypedText(java.lang.String forceText)
public void render(ColoredTreeCellRenderer renderer)
public void render(ColoredTreeCellRenderer renderer, java.lang.String syncEditingText)
public java.lang.Object getUserObject()
getUserObject
in class javax.swing.tree.DefaultMutableTreeNode
public void fireOnChange()
fireOnChange
in interface EditableTreeNode
public void fireOnCancel()
fireOnCancel
in interface EditableTreeNode
public void fireOnSelectionChange(boolean isSelected)
fireOnSelectionChange
in interface EditableTreeNode
public void cancelLoading()
cancelLoading
in interface EditableTreeNode
public void startLoading(javax.swing.JTree tree, java.util.concurrent.Future<java.util.concurrent.atomic.AtomicReference<OutgoingResult>> future, boolean initial)
startLoading
in interface EditableTreeNode
public boolean isEditableNow()
isEditableNow
in interface EditableTreeNode
public int compareTo(RepositoryNode repositoryNode)
compareTo
in interface java.lang.Comparable<RepositoryNode>
public void stopLoading()
public boolean isLoading()
public java.lang.String toString()
toString
in class javax.swing.tree.DefaultMutableTreeNode
protected java.lang.String getRepositoryPresentationDetails()