java.lang.Object
org.proto4j.swing.core.handler.AbstractSwingHandler<Margin>
org.proto4j.swing.core.handler.MarginHandler
- All Implemented Interfaces:
 SwingHandler
public class MarginHandler extends AbstractSwingHandler<Margin>
The basic implementation for the 
Margin annotation.- Since:
 - 1.0
 
- 
Field Summary
 - 
Constructor Summary
Constructors Constructor Description MarginHandler() - 
Method Summary
Modifier and Type Method Description java.lang.Class<? extends java.lang.annotation.Annotation>annotationType()protected GenericDesc<Margin>getDesc(FieldReference<?> reference, Margin value)Tries to create theGenericDescobject from the given reference and annotation value. 
- 
Constructor Details
- 
MarginHandler
public MarginHandler() 
 - 
 - 
Method Details
- 
annotationType
public java.lang.Class<? extends java.lang.annotation.Annotation> annotationType()- Returns:
 - the annotation type that can be handled
 
 - 
getDesc
Tries to create theGenericDescobject from the given reference and annotation value.- Specified by:
 getDescin classAbstractSwingHandler<Margin>- Parameters:
 reference- theFieldReferenceobjectvalue- the annotation value- Returns:
 - a qualified 
GenericDescthat can read an annotation of type<A> 
 
 -