facets.core.superficial
Class STextual.Coupler

java.lang.Object
  extended by facets.util.Tracer
      extended by facets.core.superficial.STextual.Coupler
All Implemented Interfaces:
TargetCoupler, java.io.Serializable
Enclosing class:
STextual

public static class STextual.Coupler
extends Tracer
implements TargetCoupler

Connects a STextual to the application.

A STextual.Coupler is required to supply a STextual with client-specific mechanism.

See Also:
Serialized Form

Constructor Summary
STextual.Coupler()
           
 
Method Summary
protected  java.lang.String getText(STextual t)
           
 boolean isValidText(STextual t, java.lang.String text)
          Is this text valid for the STextual?
 void textSet(STextual t)
          Called when setText is called on t.
 boolean updateInterim(STextual t)
          Can the STextual accept interim updates?
 
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

STextual.Coupler

public STextual.Coupler()
Method Detail

textSet

public void textSet(STextual t)
Called when setText is called on t.


isValidText

public boolean isValidText(STextual t,
                           java.lang.String text)
Is this text valid for the STextual?

Default returns true for non-blank text.


updateInterim

public boolean updateInterim(STextual t)
Can the STextual accept interim updates?

Default returns false.


getText

protected java.lang.String getText(STextual t)