Package com.iizix.prop.vs
Class VSReferenceOwnerData<VSTYPE extends VSComponent,REFPROP extends VSRelativeReference<VSTYPE>>
java.lang.Object
com.iizix.prop.vs.VSReferenceOwnerData<VSTYPE,REFPROP>
public class VSReferenceOwnerData<VSTYPE extends VSComponent,REFPROP extends VSRelativeReference<VSTYPE>> extends Object
Data holder class for the owner of a VS relative reference property for a column reference.
- Author:
- Christopher Mindus
Field Summary
Constructor Summary
ConstructorDescriptionVSReferenceOwnerData
(Atom atom, Class<REFPROP> propClass, PropCnr owner) Constructor of the data.Method Summary
Modifier and TypeMethodDescriptioncreateReferenceProp
(String relativeReference) Creates the VS Reference property with a reference string to a property referenced.Gets the VS Reference property.Gets the component reference.
Field Details
atom
The atom name of the reference.propClass
The reference class.owner
The property reference owner (or parent).
Constructor Details
VSReferenceOwnerData
Constructor of the data. The atom name of the reference.
Method Details
getReferenceProp
Gets the VS Reference property.- Returns:
- The reference property instance, null if not defined.
createReferenceProp
Creates the VS Reference property with a reference string to a property referenced.- Parameters:
relativeReference
- The relative reference to the VS component from the VirtualSpace (or another relative component).- Returns:
- The created property, not added to a container (owner), just created. Use the undo/redo instance to add it (for the Designer).
getVSComponent
Gets the component reference.- Returns:
- The component referenced, or null if not defined.