net.sf.doolin.gui.display
Class AbstractStateAdapter<S>

java.lang.Object
  extended by net.sf.doolin.gui.display.AbstractStateAdapter<S>
Type Parameters:
S - Source type
All Implemented Interfaces:
StateAdapter<S>, Adapter<S,DisplayState>
Direct Known Subclasses:
BooleanStateAdapter, ConditionalStateAdapter, MapStateAdapter

public abstract class AbstractStateAdapter<S>
extends Object
implements StateAdapter<S>

Abstract adapter that manages the read-only state

Author:
Damien Coraboeuf

Constructor Summary
AbstractStateAdapter()
           
 
Method Summary
 S convertTargetToSubject(DisplayState targetValue)
          Read-only, no adaptation
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface net.sf.doolin.util.Adapter
convertSubjectToTarget
 

Constructor Detail

AbstractStateAdapter

public AbstractStateAdapter()
Method Detail

convertTargetToSubject

public S convertTargetToSubject(DisplayState targetValue)
Read-only, no adaptation

Specified by:
convertTargetToSubject in interface Adapter<S,DisplayState>
Parameters:
targetValue - Target value
Returns:
Subject value


Copyright © 2011. All Rights Reserved.