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 theGenericDesc
object 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 theGenericDesc
object from the given reference and annotation value.- Specified by:
getDesc
in classAbstractSwingHandler<Bounds>
- Parameters:
reference
- theFieldReference
objectvalue
- the annotation value- Returns:
- a qualified
GenericDesc
that can read an annotation of type<A>
-