public class TDirectoryList extends TList
enterAction, moveAction, singleClickAction
hScroller, vScroller
Constructor and Description |
---|
TDirectoryList(TWidget parent,
java.lang.String path,
int x,
int y,
int width,
int height)
Public constructor.
|
TDirectoryList(TWidget parent,
java.lang.String path,
int x,
int y,
int width,
int height,
TAction action)
Public constructor.
|
TDirectoryList(TWidget parent,
java.lang.String path,
int x,
int y,
int width,
int height,
TAction action,
TAction singleClickAction)
Public constructor.
|
TDirectoryList(TWidget parent,
java.lang.String path,
int x,
int y,
int width,
int height,
TAction action,
TAction singleClickAction,
java.util.List<java.lang.String> filters)
Public constructor.
|
Modifier and Type | Method and Description |
---|---|
java.io.File |
getPath()
Get the path that is being displayed.
|
void |
setPath(java.lang.String path)
Set the new path to display.
|
dispatchEnter, dispatchMove, dispatchSingleClick, draw, getList, getListItem, getMaxSelectedIndex, getSelected, getSelectedIndex, onKeypress, onMouseDoubleClick, onMouseDown, reflowData, setHeight, setList, setSelectedIndex, setWidth
bigHorizontalDecrement, bigHorizontalIncrement, bigVerticalDecrement, bigVerticalIncrement, getBottomValue, getHorizontalBigChange, getHorizontalScroller, getHorizontalSmallChange, getHorizontalValue, getLeftValue, getRightValue, getTopValue, getVerticalBigChange, getVerticalScroller, getVerticalSmallChange, getVerticalValue, horizontalDecrement, horizontalIncrement, onResize, placeScrollbars, setBottomValue, setHorizontalBigChange, setHorizontalSmallChange, setHorizontalValue, setLeftValue, setRightValue, setTopValue, setVerticalBigChange, setVerticalSmallChange, setVerticalValue, toBottom, toEnd, toHome, toLeft, toRight, toTop, verticalDecrement, verticalIncrement
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, onMouseMotion, onMouseUp, putAll, putAttrXY, putAttrXY, putCharXY, putCharXY, putCharXY, putStringXY, putStringXY, remove, remove, remove, remove, removeAll, resetTabOrder, setActive, setCursorVisible, setCursorX, setCursorY, setDimensions, setEnabled, setLayoutManager, setParent, setupForTWindow, setVisible, setWindow, setX, setY, splitHorizontal, splitVertical, switchWidget, toPrettyString, toPrettyString, toString, vLineXY
public TDirectoryList(TWidget parent, java.lang.String path, int x, int y, int width, int height)
parent
- parent widgetpath
- directory path, must be a directoryx
- column relative to parenty
- row relative to parentwidth
- width of text areaheight
- height of text areapublic TDirectoryList(TWidget parent, java.lang.String path, int x, int y, int width, int height, TAction action)
parent
- parent widgetpath
- directory path, must be a directoryx
- column relative to parenty
- row relative to parentwidth
- width of text areaheight
- height of text areaaction
- action to perform when an item is selected (enter or
double-click)public TDirectoryList(TWidget parent, java.lang.String path, int x, int y, int width, int height, TAction action, TAction singleClickAction)
parent
- parent widgetpath
- directory path, must be a directoryx
- column relative to parenty
- row relative to parentwidth
- width of text areaheight
- height of text areaaction
- action to perform when an item is selected (enter or
double-click)singleClickAction
- action to perform when an item is selected
(single-click)public TDirectoryList(TWidget parent, java.lang.String path, int x, int y, int width, int height, TAction action, TAction singleClickAction, java.util.List<java.lang.String> filters)
parent
- parent widgetpath
- directory path, must be a directoryx
- column relative to parenty
- row relative to parentwidth
- width of text areaheight
- height of text areaaction
- action to perform when an item is selected (enter or
double-click)singleClickAction
- action to perform when an item is selected
(single-click)filters
- a list of strings that files must match to be displayedCopyright © 2019 Kevin Lamonte. Licensed MIT.