public class DruTreePanel extends DruGCPanel implements TreeDisplay, TreeChangeReporter, LabelActor, SelectionActor, TreeExplorer, SelectionSource
Modifier and Type | Field and Description |
---|---|
private boolean |
defaultRootVisibility |
(package private) boolean |
dropEvents |
(package private) DTree |
dTree |
private java.lang.String |
lastSelection |
private boolean |
pathRequired |
private java.lang.String |
pathToOpen |
(package private) DruChoice |
pivotChoice |
(package private) DScrollPane |
scrollPane |
(package private) SelectionActor |
selectionActor |
private java.lang.String |
selectionType |
(package private) static long |
serialVersionUID |
(package private) Tree |
tree |
private TreeProvider |
treeProvider |
actionRelay, methodName
infoReceiver, SCROLLABLE
Constructor and Description |
---|
DruTreePanel() |
Modifier and Type | Method and Description |
---|---|
void |
checkIsSelected(java.lang.String pth) |
void |
clear() |
private void |
dumpptc(java.lang.Object[] oa) |
void |
enableDrag() |
void |
ensureVisible(java.lang.String sfc) |
void |
ensureVisible(java.lang.String sfc,
boolean breq) |
void |
expandPath(java.lang.Object[] oa) |
java.lang.String |
getSelection() |
java.lang.String |
getSelectionType() |
private java.lang.String |
getSlashPath(TreeNode tn) |
void |
labelAction(java.lang.String s,
boolean b) |
void |
nodeAddedUnder(TreeNode parent,
TreeNode child) |
void |
nodeRemoved(TreeNode parent,
TreeNode child) |
private java.lang.Object[] |
pathTo(TreeNode tn) |
void |
selectionAction(java.lang.Object oselin,
java.lang.String sidin) |
void |
setBg(java.awt.Color c) |
void |
setMenu(DruMenu drum) |
void |
setPathToOpen(java.lang.String sfc) |
void |
setPathToOpen(java.lang.String sfc,
boolean breq) |
void |
setPivotChoice(DruChoice pc) |
void |
setRootVisibility(boolean b) |
void |
setSelected(java.lang.String s) |
void |
setSelectionActor(SelectionActor sact) |
void |
setTree(Tree tr) |
void |
setTreeProvider(TreeProvider provider) |
void |
showNewItem(java.lang.Object[] pathToChild) |
void |
treeModified() |
action, action, action, action, action, action, action, disableRelaying, getAction, getActionRelay, hasAction, hasRelay, performAction, performAction, setAction, setActionMethod, setActionRelay, setMethodName, unstoredValueChange, valueChange, valueChange, valueChange, valueChange, valueChange
addBorder, addCardPanel, addDComponent, addDComponent, addEtchedBorder, addMenu, addPanel, addPanel, addRaw, addSingleDComponent, addSunkenBorder, addTitledBorder, exportInfo, getBg, getGUIPeer, getID, getInfo, getInfoReceiver, getLocation, getPreferredSize, getTip, getTitle, getXYLocationOnScreen, mouseButtonPressed, postApply, removeAll, removeDComponent, removePanel, repaint, revalidate, seForegroundColor, setBackgroundColor, setBorderLayout, setColors, setColors, setEmptyBorder, setEtchedBorder, setEtchedUpBorder, setFallbackBackgroundColor, setFallbackForegroundColor, setFg, setFlowCenter, setFlowLayout, setFlowLeft, setFlowRight, setGridLayout, setID, setInfo, setInfoReceiver, setPreferredSize, setPreferredSize, setSingle, setSunkenBorder, setTip, setTitle, setTitleInfo, setTooltipTarget, toString, validate
static final long serialVersionUID
DTree dTree
DruChoice pivotChoice
DScrollPane scrollPane
Tree tree
SelectionActor selectionActor
boolean dropEvents
private TreeProvider treeProvider
private java.lang.String selectionType
private java.lang.String pathToOpen
private boolean pathRequired
private java.lang.String lastSelection
private boolean defaultRootVisibility
public void setRootVisibility(boolean b)
public void clear()
clear
in interface TreeDisplay
public void setTree(Tree tr)
setTree
in interface TreeDisplay
public void setPivotChoice(DruChoice pc)
public void labelAction(java.lang.String s, boolean b)
labelAction
in interface LabelActor
public void setSelected(java.lang.String s)
setSelected
in interface TreeDisplay
public void selectionAction(java.lang.Object oselin, java.lang.String sidin)
selectionAction
in interface SelectionActor
private java.lang.String getSlashPath(TreeNode tn)
public void setSelectionActor(SelectionActor sact)
setSelectionActor
in interface TreeDisplay
public void treeModified()
treeModified
in interface TreeDisplay
public void showNewItem(java.lang.Object[] pathToChild)
showNewItem
in interface TreeDisplay
private void dumpptc(java.lang.Object[] oa)
public void setTreeProvider(TreeProvider provider)
setTreeProvider
in interface TreeExplorer
public void setMenu(DruMenu drum)
public java.lang.String getSelectionType()
getSelectionType
in interface SelectionSource
public void enableDrag()
private java.lang.Object[] pathTo(TreeNode tn)
public void nodeAddedUnder(TreeNode parent, TreeNode child)
nodeAddedUnder
in interface TreeChangeReporter
public void nodeRemoved(TreeNode parent, TreeNode child)
nodeRemoved
in interface TreeChangeReporter
public void ensureVisible(java.lang.String sfc)
public void expandPath(java.lang.Object[] oa)
public void ensureVisible(java.lang.String sfc, boolean breq)
public void setPathToOpen(java.lang.String sfc)
public void setPathToOpen(java.lang.String sfc, boolean breq)
public void checkIsSelected(java.lang.String pth)
public java.lang.String getSelection()
Copyright © 2013. All Rights Reserved.