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