|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectfacets.util.Tracer
facets.core.app.AppSurface
facets.core.app.ActionAppSurface
public abstract class ActionAppSurface
AppSurface
defining application actions and management.
ActionAppSurface
extends its superclass by
AppActions
that can launch dialogs and create root target
elements.
AppServices
passed to the constructor
Note: ActionAppSurface
is intended for use in concrete applications
only via a facet builder subclass.
Nested Class Summary | |
---|---|
static class |
ActionAppSurface.CachingStyle
Defines management style for ProvidingCache . |
Nested classes/interfaces inherited from class facets.core.app.AppSurface |
---|
AppSurface.ContentCreationException, AppSurface.Contenter, AppSurface.ContentRoot, AppSurface.ContentStyle |
Field Summary | |
---|---|
AppActions |
actions
|
static java.lang.String |
KEY_TIMED_OUT
Key for debug value. |
static java.lang.String |
KEY_TIMEOUTS
Key for debug value. |
MemoryChecks |
memory
|
AppWatcher |
watcher
|
Fields inherited from class facets.core.app.AppSurface |
---|
AREA_APP, AREA_CONTENT, AREA_PAGE, AREA_PANE, contentStyle, emptyContent, spec, TITLE_EMPTY |
Constructor Summary | |
---|---|
protected |
ActionAppSurface(AppSpecifier spec,
AppServices services)
Unique constructor. |
Method Summary | |
---|---|
protected abstract ActionAppSurface.CachingStyle |
cachingStyle()
|
protected abstract long |
calculateCacheMb(int maxSafeMb)
|
boolean |
contentIsRemovable(AppSurface.Contenter content)
Implements abstract method. |
abstract Dialogs |
dialogs()
Supplies the Dialogs which will launch dialogs from this application surface. |
protected java.lang.Object[] |
getFixedOpeningContentSources()
|
protected abstract java.lang.Object |
getInternalContentSource()
Return a suitable source for default content, or the content itself. |
protected java.lang.Object[] |
getOpeningContentSources()
Implements interface method. |
protected STarget[] |
lazySurfaceRootElements()
Implements abstract method. |
void |
notify(Notice notice)
Respond to the Notice passed. |
protected void |
surfaceRetargeted()
Re-implementation calling AppActions.surfaceRetargeted() . |
Methods inherited from class facets.core.app.AppSurface |
---|
activeContentRootTargeter, addContent, buildRetargeted, cloneActiveRoot, contentNotAdded, findActiveContent, firstContentRoot, getViewerContents, isBuilt, isHeadless, newContenter, newEmptyDesktopLayout, newHeadlessHost, newMultiContentFacet, openApp, removeActiveContent, removeActiveRoot, removeAllContent, replaceSingleContent, revertActiveContent, runWatched, surfaceRootTargeter, title |
Methods inherited from class facets.util.Tracer |
---|
trace, trace, trace, trace, trace, traceDebug, traceDebug, traceObjectText, traceOutput, traceOutputWithClass |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface facets.core.superficial.app.SSurface |
---|
host |
Field Detail |
---|
public static final java.lang.String KEY_TIMEOUTS
public static final java.lang.String KEY_TIMED_OUT
public final AppActions actions
public final AppWatcher watcher
public final MemoryChecks memory
Constructor Detail |
---|
protected ActionAppSurface(AppSpecifier spec, AppServices services)
spec
- set as final fieldservices
- supplies an AppWatcher
and application ProvidingCache
Method Detail |
---|
protected abstract ActionAppSurface.CachingStyle cachingStyle()
protected abstract long calculateCacheMb(int maxSafeMb)
public void notify(Notice notice)
Notifiable
Notice
passed.
When this method is called, the Notifiable
should
respond based on
Notice
passed.
notify
in interface Notifiable
notify
in class AppSurface
protected final void surfaceRetargeted()
AppActions.surfaceRetargeted()
.
surfaceRetargeted
in class AppSurface
protected STarget[] lazySurfaceRootElements()
Returns targets created by AppActions.newSurfaceRootElements()
.
lazySurfaceRootElements
in class AppSurface
null
(though possibly empty) STarget
[]public final boolean contentIsRemovable(AppSurface.Contenter content)
contentIsRemovable
in class AppSurface
content
- to be checked
AppActions.contentIsRemovable(String, AppSurface.Contenter)
protected final java.lang.Object[] getOpeningContentSources()
getOpeningContentSources
in class AppSurface
protected java.lang.Object[] getFixedOpeningContentSources()
protected abstract java.lang.Object getInternalContentSource()
Called from AppActions
and from default getFixedOpeningContentSources()
public abstract Dialogs dialogs()
Dialogs
which will launch dialogs from this application surface.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |