Package snap.viewx
Class WebSitePaneX
java.lang.Object
snap.props.PropObject
snap.view.ViewOwner
snap.viewx.WebSitePane
snap.viewx.WebSitePaneX
- All Implemented Interfaces:
PropChange.DoChange
- Direct Known Subclasses:
DropBoxSitePane
A class to select a file to open or save.
-
Field Summary
Fields inherited from class snap.viewx.WebSitePane
_actionHandler, _saving, _selFile, _site, _targFile, _types, SelFile_Prop, TargFile_Prop
Fields inherited from class snap.view.ViewOwner
Action, DragDrop, DragEnter, DragEvents, DragExit, DragGesture, DragOver, KeyEvents, KeyPress, KeyRelease, KeyType, MouseDrag, MouseEnter, MouseEvents, MouseExit, MouseMove, MousePress, MouseRelease, Showing_Prop, WinClose
Fields inherited from class snap.props.PropObject
_pcs, EMPTY_OBJECT
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
configureFileBrowserCell
(ListCell<WebFile> aCell) Configures a FileBrowser cell.protected WebFile
getFileForPath
(String aPath) Returns a file for a path.protected String
Returns the home directory path.protected void
initUI()
Initialize UI.protected void
resetUI()
Reset UI.protected void
Respond to UI changes.void
Override to reset browser items.protected void
Called to set the WebFiles in UI.Methods inherited from class snap.viewx.WebSitePane
fireActionEvent, getActionHandler, getDefaultSelFile, getFileValidator, getSelDir, getSelFile, getSite, getTargFile, getTypes, getValidSelOrTargFile, isOpening, isSaving, isValidFile, resetFilesUI, setActionHandler, setFileValidator, setSaving, setSelFile, setShowing, setTargFile, setTypes
Methods inherited from class snap.view.ViewOwner
addKeyActionFilter, addKeyActionHandler, addViewEventHandler, beep, cancelReset, createUI, createUIForClass, dispatchEventToOwner, enableEvents, fireActionEventForObject, getEnv, getFirstFocus, getImage, getNative, getToggleGroup, getUI, getUI, getUISource, getView, getView, getViewBoolValue, getViewFloatValue, getViewIntValue, getViewItems, getViewSelIndex, getViewSelItem, getViewStringValue, getViewText, getViewValue, getWindow, initShowing, initWindow, invokeResetUI, invokeRespondUI, isEventThread, isSendEventDisabled, isShowing, isUISet, isViewDisabled, isViewEnabled, isViewVisible, isWindowSet, isWindowVisible, requestFocus, resetLater, runDelayed, runLater, setFirstFocus, setSendEventDisabled, setViewDisabled, setViewEnabled, setViewItems, setViewItems, setViewSelIndex, setViewSelItem, setViewText, setViewValue, setViewVisible, setWindowVisible
Methods inherited from class snap.props.PropObject
addDeepChangeListener, addPropChangeListener, addPropChangeListener, clone, firePropChange, firePropChange, firePropChange, getPropDefault, getPropForName, getPropParent, getPropSet, getPropsForArchival, getPropsForArchivalExtra, getPropsString, getPropValue, initProps, isPropDefault, processPropChange, removeDeepChangeListener, removePropChangeListener, removePropChangeListener, setPropsString, setPropValue, setPropValues, toString, toStringProps
-
Field Details
-
_dirComboBox
-
_inputText
-
-
Constructor Details
-
WebSitePaneX
public WebSitePaneX()Constructor.
-
-
Method Details
-
initUI
protected void initUI()Initialize UI. -
resetUI
protected void resetUI()Reset UI. -
respondUI
Respond to UI changes. -
setSite
Override to reset browser items.- Overrides:
setSite
in classWebSitePane
-
setSiteFilesInUI
protected void setSiteFilesInUI()Called to set the WebFiles in UI.- Overrides:
setSiteFilesInUI
in classWebSitePane
-
getFileForPath
Returns a file for a path. -
getHomeDirPath
Returns the home directory path. -
configureFileBrowserCell
Configures a FileBrowser cell.
-