Package com.iizix.text
Interface IKStringHolder<VALUE>
- All Superinterfaces:
IGProp<VALUE>
,IReferencingGProp
- All Known Subinterfaces:
IKStringValuePropHolder<PROP_VALUE>
- All Known Implementing Classes:
BadgeProp
,KStringProp
,PatternProp
,PlainKStringProp
,TooltipProp
,ValueProp
Interface required to be implemented by properties holding a KStringHolder.
Note that the implementor of IKStringHolder must also process onRemoteEvent for hyperlinks.
- Author:
- Christopher Mindus
- See Also:
Field Summary
Fields inherited from interface com.iizix.prop.IGProp
EQC_ERROR_IGNORE_ALL, EQC_ERROR_IGNORE_REFERENCES, EQC_IGNORE_ARRAY, EQC_IGNORE_VOLATILE_OR_EDITOR, EQC_PRIVATE, EQC_SAVE_FILE, EXT_CONTAINER_EXTENDS, EXT_CONTAINER_EXTENDS_VALID, EXT_EXTENDED, EXT_FINAL, EXT_OVERRIDES, EXT_OVERRIDES_FINAL_ERR, EXT_PRIVATE
Method Summary
Modifier and TypeMethodDescriptionGets the properties that this referencing property directly references.Gets the KStrings that needs checking.default boolean
Gets if this referencing property is of single-reference type or that can have between zero and many references.void
onKStringRefactored
(KStringHolder holder, GEvent triggerEvent) Called when a KString has been refactored and requires the property to change the KString contents.void
resolveKStrings
(boolean doReCheck, GEvent triggerEvent) Resolves the references to KString's in all held KString's.Methods inherited from interface com.iizix.prop.IGProp
addPropError, addPropListener, dispose, equals, fine, fine, finer, finer, finest, finest, fromElementString, getAppSessionGyro, getAtomPath, getClientSessionGyro, getConstraints, getEnvironment, getErroredPropItems, getErroredProps, getErrorsProp, getExtendsRootContainer, getFullPropName, getFullPropNameDebug, getModuleFolder, getModuleFolder, getParent, getParent, getPropAtom, getPropBaseReference, getPropError, getPropError, getPropErrorSeverity, getPropExtendsFlags, getPropFromPath, getPropFromReference, getPropIndex, getPropName, getPropPath, getPropPath, getPropRootPropMgr, getPropTreeErrorSeverity, getPropValue, getPropValue, getReferencePropName, getRelativePropName, getRootParent, getTreeLock, getValueClasses, getVSReference, hasChanged, hasCircularReferencesError, hasPrivateChangeEventProp, hasPropError, hasPropTreeError, info, info, initializeGElement, initializeGProp, isDisposed, isPropChildOf, isPropClientCreated, isPropCommunicating, isPropCreateRequired, isPropExtended, isPropExtendsFinal, isPropExtendsPrivate, isPropExtendsPrivateInRoot, isPropExtendsPrivateInRoot, isPropFile, isPropFolder, isPropNullable, isPropPrivate, isPropReadOnly, isPropReferenceTreeValid, isPropRoot, isPropVirtualized, list, list, list, list, list, mapAliasToReference, mapReferenceToAlias, mapReferenceToProjectRelative, moveProp, moveProp, moveProp, onEvent, onEventSelf, onPropTreeInitialized, onRemoteEvent, removePropError, removePropListener, renameProp, resolveRuntimeReferences, setChanged, setConstraints, setConstraints, setParent, setPrivateChangeEventProp, setPropError, setPropExtendsFinal, setPropExtendsPrivate, setPropNullable, setPropPrivate, setPropReadOnly, setPropValue, setPropValue, severe, severe, severe, toElementString, toNativeValue, triggerRemoteEvent, triggerRemoteEvent, validateProp, validatePropType, validatePropValue, verify, warning, warning, warning
Methods inherited from interface com.iizix.prop.IReferencingGProp
getDirectReferencedTarget, getParent, getReferenceType, getReferencingOwner
Method Details
getKString
KString getKString()Gets the KStrings that needs checking.- Returns:
- The KString held by the property, null for none.
onKStringRefactored
Called when a KString has been refactored and requires the property to change the KString contents.- Parameters:
holder
- The holder.triggerEvent
- Event that triggered the refactoring.
resolveKStrings
Resolves the references to KString's in all held KString's.- Parameters:
doReCheck
- Re-check flag.triggerEvent
- The triggering property event.
isReferencingMultipleTargets
default boolean isReferencingMultipleTargets()Gets if this referencing property is of single-reference type or that can have between zero and many references.The default is
true
, i.e. multiple references.- Specified by:
isReferencingMultipleTargets
in interfaceIReferencingGProp
- Returns:
true
as there can be multiple references.
getDirectReferencedTargetSet
Gets the properties that this referencing property directly references. Referencing properties that only has a single target should ALWAYS returnnull
for this method and use the methodIReferencingGProp.getDirectReferencedTarget()
instead.- Specified by:
getDirectReferencedTargetSet
in interfaceIReferencingGProp
- Returns:
- A list of properties, or
null
for none. The default is that this method returnsnull
unless overridden.