public class EditorOpenFileDialog extends AlignedModal implements ActionListener
asyncAddQueue, asyncRemoveAll, asyncRemoveQueue, children, renderNode
deferredQueue, effects, styleId, visibility, zIndex
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, defer, detach, getElementById, getFlexDirection, getLayout, getTotalChildren, remove, remove, removeAll, removeAllAsync, removeAsync, setFlexDirection, setLayout, setStyleId, setVisibility, setZIndex
addEffectListener, addHoverListener, applyEffect, equals, getId, getStyleId, getVisibility, getZIndex, hashCode, isDebugEnabled, notifyEffectListenersOnFinished, notifyHoverListenersOnBeginHover, notifyHoverListenersOnEndHover, 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)