net.sf.doolin.gui.display
Class AbstractStateAdapter<S>
java.lang.Object
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
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractStateAdapter
public AbstractStateAdapter()
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.