facets.facet
Class ValueDialogContenter

java.lang.Object
  extended by facets.util.Tracer
      extended by facets.core.app.SimpleContenter
          extended by facets.facet.app.FacetDialogContenter
              extended by facets.facet.ValueDialogContenter
All Implemented Interfaces:
DialogSurface.Contenter, SContenter, TargeterCore.TargetType, Titled

public abstract class ValueDialogContenter
extends FacetDialogContenter

FacetDialogContenter for ValueNode content such as that of AppValues.


Nested Class Summary
 
Nested classes/interfaces inherited from class facets.facet.app.FacetDialogContenter
FacetDialogContenter.PanelFacets
 
Field Summary
protected  FacetAppSurface app
           
protected  ValueContent content
           
 
Fields inherited from class facets.facet.app.FacetDialogContenter
ff
 
Constructor Summary
ValueDialogContenter(java.lang.String title, FacetAppSurface app, ValueNode master, ValueNode working)
           
 
Method Summary
 void applyChanges()
          Change content state to match surface state.
 void reverseChanges()
          Restore content to its original state.
 void rootRetargeted(SContentRootTargeter t)
          Implements interface method.
protected abstract  void targetValuesUpdated(STarget target, ValueNode values, java.lang.String keys)
           
protected abstract  void updateLivesOnRetargeted(ValueNode working)
           
 
Methods inherited from class facets.facet.app.FacetDialogContenter
attachRootMountFacet, newContentPanel, newPanelFacets, setDialog
 
Methods inherited from class facets.core.app.SimpleContenter
contentAreaSize, contentFrame, dialogClosed, lazyContentRootElements, newContentRoot, 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
 

Field Detail

content

protected final ValueContent content

app

protected final FacetAppSurface app
Constructor Detail

ValueDialogContenter

public ValueDialogContenter(java.lang.String title,
                            FacetAppSurface app,
                            ValueNode master,
                            ValueNode working)
Method Detail

rootRetargeted

public final void rootRetargeted(SContentRootTargeter t)
Description copied from class: SimpleContenter
Implements interface method.

Empty impementation.

Specified by:
rootRetargeted in interface SContenter
Overrides:
rootRetargeted in class SimpleContenter
Parameters:
t - will be retargeted on a content root created by this SContenter type (not generally by this instance).

targetValuesUpdated

protected abstract void targetValuesUpdated(STarget target,
                                            ValueNode values,
                                            java.lang.String keys)

updateLivesOnRetargeted

protected abstract void updateLivesOnRetargeted(ValueNode working)

applyChanges

public void applyChanges()
Description copied from interface: DialogSurface.Contenter
Change content state to match surface state.

This will generally mean setting content state to that of a buffer storing surface state.

Specified by:
applyChanges in interface DialogSurface.Contenter
Overrides:
applyChanges in class SimpleContenter

reverseChanges

public final void reverseChanges()
Description copied from interface: DialogSurface.Contenter
Restore content to its original state.

Specified by:
reverseChanges in interface DialogSurface.Contenter
Overrides:
reverseChanges in class SimpleContenter