jigcell.compare.transform.annotation
Class TransformAnnotation.AnnotationDescriptor

java.lang.Object
  extended by javax.swing.TransferHandler
      extended by jigcell.compare.impl.Transferer
          extended by jigcell.compare.transform.annotation.TransformAnnotation.AnnotationDescriptor
All Implemented Interfaces:
java.awt.datatransfer.Transferable, java.io.Serializable, ITransformAnnotation.IAnnotationDescriptor
Direct Known Subclasses:
CommentAnnotationDescriptor, ElementNameAnnotationDescriptor, ElementSizeAnnotationDescriptor, ElementTypeAnnotationDescriptor
Enclosing class:
TransformAnnotation

public abstract static class TransformAnnotation.AnnotationDescriptor
extends Transferer
implements ITransformAnnotation.IAnnotationDescriptor

A default implementation of AnnotationDescriptor.

See Also:
Serialized Form

Field Summary
static java.lang.String ANNOTATION_DESCRIPTION
          Description of this annotation
static java.lang.String ANNOTATION_NAME
          Name of this annotation
private static TransformAnnotation.AnnotationDescriptor instance
          Instance of this annotation
 
Fields inherited from class jigcell.compare.impl.Transferer
CSV_FOOTER, CSV_LINEPOSTPEND, CSV_LINEPREPEND, CSV_LINESEPARATOR, HTML_FOOTER, HTML_HEADPOSTPEND, HTML_HEADPREPEND, HTML_HEADSEPARATOR, HTML_LINEPOSTPEND, HTML_LINEPREPEND, HTML_LINESEPARATOR
 
Fields inherited from class javax.swing.TransferHandler
COPY, COPY_OR_MOVE, MOVE, NONE
 
Constructor Summary
protected TransformAnnotation.AnnotationDescriptor()
          Creates a new annotation descriptor.
 
Method Summary
 java.lang.String getDescription()
          A description of what this annotation represents.
 java.lang.String getName()
          The name of this descriptor.
static void registerDescriptor(ITransformAnnotation annotation)
          Registers this descriptor with an annotation.
 
Methods inherited from class jigcell.compare.impl.Transferer
addExtension, addFlavor, createCSVTable, createFormattedTable, createHTMLTable, getExceptionRecorder, getExpectedClasses, getExpectedClasses, getExpectedClasses, getFlavors, getFlavors, getPreferredExtensions, getPreferredExtensions, getTransferClass, getTransferData, getTransferDataFlavors, getTransferFlavor, isDataFlavorSupported, transfer
 
Methods inherited from class javax.swing.TransferHandler
canImport, createTransferable, exportAsDrag, exportDone, exportToClipboard, getCopyAction, getCutAction, getPasteAction, getSourceActions, getVisualRepresentation, importData
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface java.awt.datatransfer.Transferable
getTransferData, getTransferDataFlavors, isDataFlavorSupported
 

Field Detail

ANNOTATION_NAME

public static final java.lang.String ANNOTATION_NAME
Name of this annotation


ANNOTATION_DESCRIPTION

public static final java.lang.String ANNOTATION_DESCRIPTION
Description of this annotation


instance

private static final TransformAnnotation.AnnotationDescriptor instance
Instance of this annotation

Constructor Detail

TransformAnnotation.AnnotationDescriptor

protected TransformAnnotation.AnnotationDescriptor()
Creates a new annotation descriptor.

Method Detail

registerDescriptor

public static void registerDescriptor(ITransformAnnotation annotation)
Registers this descriptor with an annotation.

Parameters:
annotation - Annotation

getDescription

public java.lang.String getDescription()
A description of what this annotation represents.

Specified by:
getDescription in interface ITransformAnnotation.IAnnotationDescriptor

getName

public java.lang.String getName()
The name of this descriptor.

Specified by:
getName in interface ITransformAnnotation.IAnnotationDescriptor