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