Constructor and Description |
---|
TDirectoryTreeItem(TTreeViewWidget view,
java.lang.String text,
boolean expanded)
Public constructor.
|
TDirectoryTreeItem(TTreeViewWidget view,
java.lang.String text,
boolean expanded,
boolean openParents)
Public constructor.
|
Modifier and Type | Method and Description |
---|---|
java.io.File |
getFile()
Get the File corresponding to this list item.
|
void |
onExpand()
Called when this item is expanded or collapsed.
|
draw, expandTree, getMaximumColumn, getPrefix, getText, getTreeView, isExpandable, isExpanded, isSelected, onKeypress, onMouseUp, setExpandable, setExpanded, setSelectable, setSelected, setText, unselect
activate, activate, activate, activateAll, addButton, addCalendar, addCheckBox, addComboBox, addDirectoryList, addDirectoryList, addDirectoryList, addDirectoryList, addEditor, addField, addField, addField, addImage, addImage, addLabel, addLabel, addLabel, addLabel, addLabel, addLabel, addList, addList, addList, addList, addPanel, addPasswordField, addPasswordField, addPasswordField, addProgressBar, addRadioGroup, addSpinner, addSplitPane, addTable, addTable, addText, addText, addTreeViewWidget, addTreeViewWidget, close, compareTo, doRepaint, drawBox, drawBox, drawBoxShadow, fileOpenBox, fileOpenBox, fileOpenBox, fileOpenBox, fileSaveBox, getAbsoluteX, getAbsoluteY, getActiveChild, getApplication, getAttrXY, getChildren, getCursorAbsoluteX, getCursorAbsoluteY, getCursorX, getCursorY, getHeight, getLayoutManager, getParent, getScreen, getTheme, getWidth, getWindow, getX, getY, handleEvent, hLineXY, inputBox, inputBox, inputBox, isAbsoluteActive, isActive, isCursorVisible, isDrawable, isEnabled, isVisible, messageBox, messageBox, mouseWouldHit, onCommand, onIdle, onMenu, onMouseDoubleClick, onMouseDown, onMouseMotion, onResize, putAll, putAttrXY, putAttrXY, putCharXY, putCharXY, putCharXY, putStringXY, putStringXY, remove, remove, remove, remove, removeAll, resetTabOrder, setActive, setCursorVisible, setCursorX, setCursorY, setDimensions, setEnabled, setHeight, setLayoutManager, setParent, setupForTWindow, setVisible, setWidth, setWindow, setX, setY, splitHorizontal, splitVertical, switchWidget, toPrettyString, toPrettyString, toString, vLineXY
public TDirectoryTreeItem(TTreeViewWidget view, java.lang.String text, boolean expanded) throws java.io.IOException
view
- root TTreeViewWidgettext
- text for this itemexpanded
- if true, have it expanded immediatelyjava.io.IOException
- if a java.io operation throwspublic TDirectoryTreeItem(TTreeViewWidget view, java.lang.String text, boolean expanded, boolean openParents) throws java.io.IOException
view
- root TTreeViewWidgettext
- text for this itemexpanded
- if true, have it expanded immediatelyopenParents
- if true, expand all paths up the root path and
return the root path entryjava.io.IOException
- if a java.io operation throwsCopyright © 2019 Kevin Lamonte. Licensed MIT.