Package com.iizix.prop.ui
Interface IUIClassReferenceOwner
- All Superinterfaces:
- IClassReferenceOwner
- All Known Implementing Classes:
- EMUISimpleDialog,- EUIContextMenu,- EUIDialog,- EUIPanel,- EUIPanelPart,- EUIPanelPartCnr,- MUISimpleDialog,- UIContextMenu,- UIDialog,- UIPanel,- UIPanelBase,- UIPanelPart,- UIPanelPartCnr
Interface implemented by a UI property container that holds a ClassReference instance, used to resolve references for MethodReferences, e.g. the VirtualSpace or Panels.
- Author:
- Christopher Mindus
- Field Summary- Fields inherited from interface com.iizix.prop.IClassReferenceOwner- RETRIEVE_CLASS_REFERENCE_INSTANCE
- Method SummaryModifier and TypeMethodDescription- default ClassReference- getClassReference- (String id, boolean doCreateIfNotPresent) Gets or creates the ClassReference in the property container.- default AtomGets the ClassReference atom name.- default StringReturns the required Interface.- default StringReturns the required annotation, or null for none.- default booleanChecks if the ClassReference require an annotation back-reference.- Methods inherited from interface com.iizix.prop.IClassReferenceOwner- getClassReference, getClassReferenceRuntimeInstance, getProp, getRuntimeClassInstance, getRuntimeClassInstance
- Method Details- getClassReferenceAtomGets the ClassReference atom name.- Specified by:
- getClassReferenceAtomin interface- IClassReferenceOwner
- Parameters:
- id- ID for the class reference if several exist,- nullfor default.
- Returns:
- The class reference atom name for the ID.
 
- getClassReferenceGets or creates the ClassReference in the property container.- Specified by:
- getClassReferencein interface- IClassReferenceOwner
- Parameters:
- id- ID for the class reference if several exist, null for default.
- doCreateIfNotPresent- Flag to create the property (this flag can only be true in Designer)!
- Returns:
- The resolved class reference instance, null if the ClassReference doesn't exist if the create flag is false. If flag is true, an orphan unresolved EditorClassReference instance (ONLY for the Designer).
 
- isClassReferenceAnnotationBackReferenceRequiredChecks if the ClassReference require an annotation back-reference.- Specified by:
- isClassReferenceAnnotationBackReferenceRequiredin interface- IClassReferenceOwner
- Parameters:
- id- ID for the class reference if several exist, null for default.
- Returns:
- true, always: the annotation is required to have a back-reference on the "ref" member value pair to the ClassReference owner.
 
- getClassReferenceImplementsInterfaceReturns the required Interface.- Specified by:
- getClassReferenceImplementsInterfacein interface- IClassReferenceOwner
- Parameters:
- id- ID for the class reference if several exist, null for default.
- Returns:
- The fully qualified name of the interface for the class, or null for none. For panel this is always null.
 
- getClassReferenceRequiredAnnotationReturns the required annotation, or null for none.- Specified by:
- getClassReferenceRequiredAnnotationin interface- IClassReferenceOwner
- Parameters:
- id- ID for the class reference if several exist, null for default.
- Returns:
- The fully qualified name of the interface for the class, or null for none. For panel this is always AnnotationType.UI.fqn.