Package snap.web
Class RecentFilesSitePane
java.lang.Object
snap.props.PropObject
snap.view.ViewOwner
snap.viewx.WebSitePane
snap.web.RecentFilesSitePane
- All Implemented Interfaces:
PropChange.DoChange
This WebSitePane subclass displays files for RecentFilesSite.
-
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
initUI()
Initialize UI panel.boolean
isValidFile
(WebFile aFile) Override to use real file.void
resetUI()
Resets UI.void
Responds to UI changes.void
setSelFile
(WebFile aFile) Override to maybe swap local file.protected void
Called to set the site WebFiles in UI.Shows the RecentFiles.Methods inherited from class snap.viewx.WebSitePane
fireActionEvent, getActionHandler, getDefaultSelFile, getFileValidator, getSelDir, getSelFile, getSite, getTargFile, getTypes, getValidSelOrTargFile, isOpening, isSaving, resetFilesUI, setActionHandler, setFileValidator, setSaving, setShowing, setSite, 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
-
Constructor Details
-
RecentFilesSitePane
public RecentFilesSitePane()Constructor for given name.
-
-
Method Details
-
initUI
protected void initUI()Initialize UI panel. -
resetUI
public void resetUI()Resets UI. -
respondUI
Responds to UI changes. -
setSiteFilesInUI
protected void setSiteFilesInUI()Called to set the site WebFiles in UI.- Overrides:
setSiteFilesInUI
in classWebSitePane
-
showPanel
Shows the RecentFiles. -
setSelFile
Override to maybe swap local file.- Overrides:
setSelFile
in classWebSitePane
-
isValidFile
Override to use real file.- Overrides:
isValidFile
in classWebSitePane
-