facets.core.superficial
Interface STarget

All Superinterfaces:
Notifiable, Notifying, Titled
All Known Subinterfaces:
FacetedTarget
All Known Implementing Classes:
ActionViewerTarget, AppSurface.ContentRoot, DialogSurface.ContentRoot, FrameGroup, FrameGroup.Proxy, IndexingFrame, IndexingTarget, NodeViewable, SAreaTarget, SelectingFrame, SFrameTarget, SIndexing, SNumeric, StatefulViewable, STextual, SToggling, STrigger, TargetCore, ViewableFrame, ViewerTarget

public interface STarget
extends Titled, Notifying

Superfical target.

STarget represents an application element to one or more facets; it is also a Notifying to enable it to form part of the notification tree.


Nested Class Summary
static interface STarget.Targeted
          Creates STargets representing its data and logic.
 
Nested classes/interfaces inherited from interface facets.core.superficial.Notifying
Notifying.Impact
 
Field Summary
static STarget NONE
           
 
Method Summary
 STarget[] elements()
          Dynamically-defined children.
 boolean isLive()
          Indicates whether the STarget should be exposed by a surface facet as open to control eg 'enabled'.
 void setLive(boolean live)
          Sets the internal state used by isLive.
 boolean wantsFocus()
           
 
Methods inherited from interface facets.util.Titled
title
 
Methods inherited from interface facets.core.superficial.Notifying
impact, monitor, notifyMonitor, setMonitor
 
Methods inherited from interface facets.core.superficial.Notifiable
notify
 

Field Detail

NONE

static final STarget NONE
Method Detail

elements

STarget[] elements()
Dynamically-defined children.

Return STarget child elements of this STarget.

Returns:
a non-null STarget[]

isLive

boolean isLive()
Indicates whether the STarget should be exposed by a surface facet as open to control eg 'enabled'.

Returns true only if both the following conditions are met:


setLive

void setLive(boolean live)
Sets the internal state used by isLive.


wantsFocus

boolean wantsFocus()