classUtils.annotation
Class AnnotationViewer

java.lang.Object
  extended by classUtils.annotation.AnnotationViewer

public class AnnotationViewer
extends java.lang.Object

For next week, add the runbeanpanel in the gui.run package to the annotation viewer, so that we can have properties properly displayed when the are a series of strings. Just like the range array. Gather all the write methods that take a string as their only argument and construct the RunBeanPanel as a Components in the AnnotationViewer. Test using the AddressRecord.


Constructor Summary
AnnotationViewer()
           
 
Method Summary
static DoubleRange[] getRangeAnnotations(java.lang.Class c)
           
static RangeArray[] getRangeArrayAnnotations(java.lang.Class c)
           
static void main(java.lang.String[] args)
           
static void print(java.lang.annotation.Annotation[] anns)
           
static void print(java.lang.Class c)
           
static void print(java.lang.reflect.Field[] fields)
           
static void showAnnotations(java.lang.Class c)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AnnotationViewer

public AnnotationViewer()
Method Detail

main

public static void main(java.lang.String[] args)

showAnnotations

public static void showAnnotations(java.lang.Class c)

getRangeArrayAnnotations

public static RangeArray[] getRangeArrayAnnotations(java.lang.Class c)

getRangeAnnotations

public static DoubleRange[] getRangeAnnotations(java.lang.Class c)

print

public static void print(java.lang.reflect.Field[] fields)

print

public static void print(java.lang.Class c)

print

public static void print(java.lang.annotation.Annotation[] anns)