Package jexer
Class TDirectoryTreeItem
- java.lang.Object
-
- jexer.TWidget
-
- jexer.TTreeItem
-
- jexer.TDirectoryTreeItem
-
-
Constructor Summary
Constructors Constructor Description TDirectoryTreeItem(TTreeViewScrollable view, java.lang.String text, boolean expanded)Public constructor.TDirectoryTreeItem(TTreeViewScrollable view, java.lang.String text, boolean expanded, boolean openParents)Public constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.io.FilegetFile()Get the File corresponding to this list item.voidonExpand()Called when this item is expanded or collapsed.-
Methods inherited from class jexer.TTreeItem
draw, expandTree, getMaximumColumn, getPrefix, getText, getTreeView, isExpandable, isExpanded, isSelected, onKeypress, onMouseUp, setExpandable, setExpanded, setSelectable, setSelected, setText, unselect
-
Methods inherited from class jexer.TWidget
activate, activate, activate, activateAll, addButton, addCalendar, addCheckBox, addCheckBox, addComboBox, addDirectoryList, addDirectoryList, addDirectoryList, addDirectoryList, addEditor, addField, addField, addField, addField, addImage, addImage, addImage, addImage, addLabel, addLabel, addLabel, addLabel, addLabel, addLabel, addList, addList, addList, addList, addPanel, addPasswordField, addPasswordField, addPasswordField, addProgressBar, addProgressBar, addRadioGroup, addRadioGroup, addSpinner, addSplitPane, addTable, addTable, addText, addText, addTreeViewWidget, addTreeViewWidget, applyCellTransform, applyCellTransform, close, compareTo, doRepaint, drawBox, drawBoxShadow, drawChildren, drawForegroundBox, fileOpenBox, fileOpenBox, fileOpenBox, fileOpenBox, fileSaveBox, getAbsoluteX, getAbsoluteY, getActiveChild, getApplication, getAttrXY, getAttrXY, getChildren, getClipboard, getCursorAbsoluteX, getCursorAbsoluteY, getCursorX, getCursorY, getCustomMousePointer, getHeight, getLayoutManager, getLocale, getMouseStyle, getParent, getScreen, getTheme, getWidgetUnderMouse, getWidth, getWindow, getX, getY, handleEvent, hasChild, hForegroundLineXY, hLineXY, hLineXY, inputBox, inputBox, inputBox, isAbsoluteActive, isActive, isCursorVisible, isDrawable, isEchoKeystrokes, isEnabled, isPixelMouse, isVisible, messageBox, messageBox, mouseWouldHit, onCommand, onIdle, onMenu, onMouseDoubleClick, onMouseDown, onMouseMotion, onResize, putAll, putAttrXY, putAttrXY, putBackgroundAttrBox, putBackgroundAttrXY, putBackgroundAttrXY, putCharXY, putCharXY, putCharXY, putForegroundCharXY, putForegroundStringXY, putStringXY, putStringXY, remove, remove, remove, remove, removeAll, resetTabOrder, setActive, setCursorVisible, setCursorX, setCursorY, setCustomMousePointer, setDimensions, setEchoKeystrokes, setEchoKeystrokes, setEnabled, setHeight, setLayoutManager, setLocale, setMouseStyle, setParent, setupForTWindow, setVisible, setWidth, setWindow, setX, setY, splitHorizontal, splitVertical, switchWidget, toPrettyString, toPrettyString, toString, vLineXY, vLineXY
-
-
-
-
Constructor Detail
-
TDirectoryTreeItem
public TDirectoryTreeItem(TTreeViewScrollable view, java.lang.String text, boolean expanded) throws java.io.IOException
Public constructor.- Parameters:
view- root TTreeViewScrollabletext- text for this itemexpanded- if true, have it expanded immediately- Throws:
java.io.IOException- if a java.io operation throws
-
TDirectoryTreeItem
public TDirectoryTreeItem(TTreeViewScrollable view, java.lang.String text, boolean expanded, boolean openParents) throws java.io.IOException
Public constructor.- Parameters:
view- root TTreeViewScrollabletext- text for this itemexpanded- if true, have it expanded immediatelyopenParents- if true, expand all paths up the root path and return the root path entry- Throws:
java.io.IOException- if a java.io operation throws
-
-