Package com.iizix.api
Enum Class AnnotationType
- All Implemented Interfaces:
- Serializable,- Comparable<AnnotationType>,- Constable
The annotation types.
- Author:
- Christopher Mindus
- Nested Class Summary- Nested classes/interfaces inherited from class java.lang.Enum- Enum.EnumDesc<E extends Enum<E>>
- Enum Constant SummaryEnum ConstantsEnum ConstantDescription
- Field SummaryFieldsModifier and TypeFieldDescription- final StringThe class name for the annotation.- final booleanFlag indicating this is the scope annotation.- final booleanStatic flag, used for methods and classes (not reference type annotations).- final StringParameters names (signature) as e.g.- final IAnnotationReferenceProcessor- <?, - ?> The reference processor interface, null if not a reference annotation type.- final StringThe description of the supported classes being referenced, null for none.- final Class<?>[]Array of supported property classes being referenced, null for none.- final AnnotationTypeThe type used for annotation scoping, null for none.- final StringMethod signature as e.g.
- Method SummaryModifier and TypeMethodDescription- static AnnotationType- fromEventAtom- (Atom atom) Gets the annotation type that matches an atom method event property name.Gets the atom for the event.- boolean- isReferenceClassAllowed- (Class<?> refClass) Verifies if a class is allowed as the referenced property class.- static AnnotationTypeReturns the enum constant of this class with the specified name.- static AnnotationType[]- values()Returns an array containing the constants of this enum class, in the order they are declared.
- Enum Constant Details- VS
- OnVSCreate
- OnVSDestroy
- OnVSAction
- OnVSField
- OnVSChange
- OnVSFocus
- OnVSState
- OnVSFieldStatic
- JavaActionActor
- UI
- OnUIConnect
- OnUICreate
- OnUIDestroy
- OnUIFocus
- OnUIAction
- OnUIBack
- OnUITextChange
- OnUIValueChange
- OnUISelection
- PropRef
- PropScope
- PropName
- FullVSRef
- VSRef
- UIRef
- EMPTY
 
- Field Details- fqnThe class name for the annotation.
- scopeThe type used for annotation scoping, null for none.
- isScopepublic final boolean isScopeFlag indicating this is the scope annotation.
- refDescriptionThe description of the supported classes being referenced, null for none.
- refPropClassesArray of supported property classes being referenced, null for none.
- signatureMethod signature as e.g. "void(com.iizix.api.vs.VSActionEvent,java.lang.String)".
- paramsParameters names (signature) as e.g. "event,myString".
- isStaticpublic final boolean isStaticStatic flag, used for methods and classes (not reference type annotations).
- processorThe reference processor interface, null if not a reference annotation type.
 
- Method Details- valuesReturns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
 
- valueOfReturns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
- name- the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
- IllegalArgumentException- if this enum class has no constant with the specified name
- NullPointerException- if the argument is null
 
- getEventAtomGets the atom for the event.- Returns:
- An atom as Atom.get('$'+name()).
 
- isReferenceClassAllowedVerifies if a class is allowed as the referenced property class.- Parameters:
- refClass- The class reference found.
- Returns:
- true if allowed, false otherwise.
 
- fromEventAtomGets the annotation type that matches an atom method event property name.- Parameters:
- atom- The atom name should be in the form of "$OnNNN".
- Returns:
- The annotation type matching, or null for none.