facets.facet
Class FacetMaster.Simple

java.lang.Object
  extended by facets.util.Tracer
      extended by facets.facet.FacetMaster
          extended by facets.facet.FacetMaster.Simple
Direct Known Subclasses:
SwingSimpleMaster
Enclosing class:
FacetMaster

public abstract static class FacetMaster.Simple
extends FacetMaster

Builds and manages widget assembly for a simple facet.


Nested Class Summary
 
Nested classes/interfaces inherited from class facets.facet.FacetMaster
FacetMaster.Simple, FacetMaster.Viewer
 
Constructor Summary
FacetMaster.Simple()
           
 
Method Summary
 void respondTargetWantsFocus()
           
abstract  void retargetedMultiple(STarget[] targets, Notifying.Impact impact)
          Update GUI components to match the states of the targets passed.
abstract  void retargetedSingle(STarget target, Notifying.Impact impact)
          Update GUI components to the state of the target passed.
abstract  STarget target()
          The current facet target.
 
Methods inherited from class facets.facet.FacetMaster
attachedToFacet
 
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
 

Constructor Detail

FacetMaster.Simple

public FacetMaster.Simple()
Method Detail

target

public abstract STarget target()
The current facet target.


retargetedSingle

public abstract void retargetedSingle(STarget target,
                                      Notifying.Impact impact)
Update GUI components to the state of the target passed.

Called during each retargeting with a single target (ultimately by STargeter.retargetFacets(Notifying.Impact), and also during facet construction immediately after assembly creation.


retargetedMultiple

public abstract void retargetedMultiple(STarget[] targets,
                                        Notifying.Impact impact)
Update GUI components to match the states of the targets passed.

Called during each retargeting with multiple targets (ultimately by STargeter.retargetFacets(Notifying.Impact).


respondTargetWantsFocus

public void respondTargetWantsFocus()