public class EditorOpenFileDialog extends AlignedModal implements ActionListener
asyncAddQueue, asyncRemoveAll, asyncRemoveQueue, children, renderNode
Constructor and Description |
---|
EditorOpenFileDialog(java.lang.String directory)
Constructor
|
Modifier and Type | Method and Description |
---|---|
TextButton |
getCancelButton() |
TextButton |
getOpenButton() |
java.lang.String |
getSelectedFilename() |
void |
onActionBegin(ActionEvent event)
Called when an action event begins (e.g.
|
void |
onActionEnd(ActionEvent event)
Called when an action event ends (e.g.
|
void |
show(EditorOpenFileListener listener) |
createRenderNode, getHorizontalAlignment, getVerticalAlignment, setHorizontalAlignment, setVerticalAlignment
clearControllerHotkeys, clearHotkeys, clearKeyboardHotkeys, getNavigation, hotkey, hotkey, navigate, setHotkey, setHotkey, setNavigation, syncWithRenderNode, unsetHotkey, unsetHotkey
withElements, withElements
add, add, addAsync, attach, detach, get, getElementById, getFlexDirection, getHorizontalLayout, getTotalChildren, getVerticalLayout, isOverflowClipped, remove, remove, removeAll, removeAllAsync, removeAsync, setFlexDirection, setHorizontalLayout, setOverflowClipped, setStyleId, setVerticalLayout, setVisibility, setZIndex
addEffectListener, addHoverListener, applyEffect, defer, defer, equals, getId, getStyleId, getVisibility, getZIndex, hashCode, isDebugEnabled, notifyEffectListenersOnFinished, notifyHoverListenersOnBeginHover, notifyHoverListenersOnEndHover, processDeferred, removeEffectListener, removeHoverListener, setDebugEnabled
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
getId
public EditorOpenFileDialog(java.lang.String directory)
directory
- The directory of files to listpublic java.lang.String getSelectedFilename()
public void onActionBegin(ActionEvent event)
ActionListener
onActionBegin
in interface ActionListener
event
- An ActionEvent
instance containing the event detailspublic void onActionEnd(ActionEvent event)
ActionListener
onActionEnd
in interface ActionListener
event
- An ActionEvent
instance containing the event detailspublic TextButton getOpenButton()
public TextButton getCancelButton()
public void show(EditorOpenFileListener listener)