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