net.sf.doolin.gui.layout
Class IdentityLayoutConstraintAdapter<C>

java.lang.Object
  extended by net.sf.doolin.gui.layout.IdentityLayoutConstraintAdapter<C>
Type Parameters:
C - Type of the constraint.
All Implemented Interfaces:
LayoutConstraintAdapter<C,C>

public class IdentityLayoutConstraintAdapter<C>
extends Object
implements LayoutConstraintAdapter<C,C>

Identity converter.

Author:
Damien Coraboeuf

Constructor Summary
IdentityLayoutConstraintAdapter()
           
 
Method Summary
 C convert(C constraint)
          Converts the constraint
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IdentityLayoutConstraintAdapter

public IdentityLayoutConstraintAdapter()
Method Detail

convert

public C convert(C constraint)
Description copied from interface: LayoutConstraintAdapter
Converts the constraint

Specified by:
convert in interface LayoutConstraintAdapter<C,C>
Parameters:
constraint - From the configuration
Returns:
Actual constraint to use


Copyright © 2011. All Rights Reserved.