Package com.iizix.prop.ui.mlist
Class MLGroup
- All Implemented Interfaces:
IBackReferenceProvider,EventListener,IFocusComp,IMessageBox,IComponent,IContentProviderPropCnrAPI<MLItemProp,,MLItem> IClassReferenceOwner,ICustomDataProvider,IGProp<GProp<?>[]>,IPropCnr,IUIActionHolder,IUIComp,IUIContainer,IUIContextMenuOwner,IUIFocusComp,IUIIndexedSelectionComp,IUISelectionComp,IUISingleIndexedSelectionComp,IUIHTMLTextComponent,IUITextComponent,IVSColumnBestValueListener,IVSComponentListener,IVSComponentState,IVSFieldListener,IVSGenericComponentListener,IVSTableColumnReferenceOwner,IVSTableListener,Cloneable
- Direct Known Subclasses:
EMLGroup
public class MLGroup extends AbstractContentUIContainer<MLItemProp,MLItem> implements IContentProviderPropCnrAPI<MLItemProp,MLItem>, IUIHTMLTextComponent, IClassReferenceOwner
The mobile list item group contains mobile list items placed inserted into a list that comes from a VirtualSpace table or by means of the API. The group can have a heading.
- Author:
- Christopher Mindus
Nested Class Summary
Nested classes/interfaces inherited from interface com.iizix.gyro.IMessageBox
IMessageBox.IconNested classes/interfaces inherited from interface com.iizix.prop.vs.IVSComponentState
IVSComponentState.StateField Summary
Fields inherited from class com.iizix.prop.content.AbstractContentUIContainer
PN_SELECTION_TYPE, TABLE_REF_PROP_NAME, USE_CONTENT_PROVIDER_PROP_NAMEFields inherited from class com.iizix.prop.ui.UIContainer
UICOMP_CLASS, VS_STATE_FOCUS_PROP_NAME, WARN_EMPTY_PROP_NAMEFields inherited from class com.iizix.prop.ui.UIComp
EMPTY, REMOTE_FOCUS_EVENT, styles, vsFieldFields inherited from class com.iizix.prop.PropCnr
EMPTY_CLASSES, EMPTY_CNRS, EXTENDS_FRAMEWORK_ERROR_ID, nameTableFields inherited from class com.iizix.prop.GProp
GPDEBUG, PROP_ATTR_STRING_EDITOR_PROP, PROP_ATTR_STRING_ERRORED_NAME, PROP_ATTR_STRING_EXTENDS, PROP_ATTR_STRING_EXTENDS_FINAL, PROP_ATTR_STRING_EXTENDS_PRIVATE, PROP_ATTR_STRING_NULLABLE, PROP_ATTR_STRING_PRIVATE, PROP_ATTR_STRING_PRIVATE_CHANGE_EVENT, PROP_ATTR_STRING_READ_ONLY, PROP_USER_1, PROP_USER_2Fields inherited from interface com.iizix.prop.IClassReferenceOwner
RETRIEVE_CLASS_REFERENCE_INSTANCEFields 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_PRIVATEFields inherited from interface com.iizix.gyro.IMessageBox
ICON_ERROR, ICON_INFORMATION, ICON_MAP, ICON_NONE, ICON_QUESTION, ICON_WARNINGFields inherited from interface com.iizix.prop.ui.IUIComp
ERROR, INFORMATION, NONE, REMOTE_FOCUS_EVENT, WARNINGFields inherited from interface com.iizix.prop.ui.selection.IUISelectionComp
SELECTION_TYPE_MULTIPLE, SELECTION_TYPE_NONE, SELECTION_TYPE_SINGLEConstructor Summary
ConstructorsMethod Summary
Modifier and TypeMethodDescriptionprotected voidAdds the predefined properties for this container.clone()Clones this instance.protected IMListContentProviderCreates the content provider.Creates and returns a new instance of a default content provider.protected StylesCreates the Styles container for descriptions of items (must be overridden by Designer to create EditorStyles).protected MLDefaultItemPropCreates the MLDefaultItemProp instance.protected StylesCreates the Styles container for default items (must be overridden by Designer to create EditorStyles).protected MLItemPropcreateItem(Atom atom, MLItem data) Creates a new property item from an item data holder and initializes the property.protected MLItemPropcreateListItemProp(Atom atom) Creates a list item property.Gets the value type that would best suit the for the columns.getClassReference(String id, boolean doCreateIfNotPresent) Gets or creates the ClassReference in the property container.Gets the ClassReference atom name.Returns the required Interface.Returns the required annotation, or null for none.Gets the or created content provider to use.Object[]Gets the atoms of the references that are used to specify the VS column header connections for the VS table.protected MLDefaultItemPropReturns the default item property instance.Gets the default type specified for the group.final intGets the device type: -1=mobile, 0=both, 1=desktop.Gets the heading text.Gets the custom instance of the icon provider for the group.Return the class of items stored in the container.Return the class of content items stored in the container.voidGets the references to predefined properties.protected intgetVSColumnIndex(Object nameOrAtom) Gets the table column reference property with the String or Atom.booleanChecks if the ClassReference require an annotation back-reference.booleanReturns whether the container should have children in a normal conditions, i.e.booleanReturns if the component can show the context menu in mobile mode.protected voidonItemAdded(MLItemProp item) Item added event.protected voidonItemRemoved(MLItemProp item) Item removed event.Methods inherited from class com.iizix.prop.content.AbstractContentUIContainer
add, add, addMappings, addMappingsTable, clearSelection, equalsTree, get, getAll, getAPIContentProvider, getBestVSColumnHeaderValueType, getContentTable, getContentTableColumns, getItem, getItemCount, getItems, getOnUIActionMethod, getOnUISelectionMethod, getSelectedIndex, getSelectedIndicies, getSelection, getSelectionListenerHandler, getSelectionPropAtom, getSelectionType, getVSTable, getVSTable, getVSTableReferenceOwnerData, hasDiscreteContentChanges, indexOf, isBackReferenceValid, isSelected, isUpdatingInCurrentThread, onBroken, onCellStateChanged, onCellValueChanged, onEventSelf, onParentStateChanged, onPrepare, onPropDispose, onPropParentChanged, onResolved, onRowAdded, onRowRemoved, onRowStateChanged, onSelectionChanged, onSelectionChanged, onSingleSelectionChanged, onStateChanged, onVirtualizationCompleted, refresh, refresh, refresh, remove, remove, removeAll, setContentProvider, setSelection, update, useContentProvider, verifyMethods inherited from class com.iizix.prop.ui.UIContainer
addPredefinedPropsImpl, canAcceptUIContainerFocus, createCompsCnr, doIssueEmptyContainerWarning, getApproximateSize, getComponentCount, getComponents, getCompsCnr, getFirstContainerVSStateFocus, getFirstUIComponent, getFirstUIComponentNull, getRadioSelectionComponents, getSelectedRadioComponent, getUIComponent, getUIComponentNull, getVSStateFocus, hasImplicitAlignFillX, hasImplicitAlignFillY, invokeOnUICreateTree, mustHaveHeight, mustHaveWidth, onBroken, onComponentSelectedInParent, onResolved, onSelectionChanged, onStateChanged, onVirtualContainerCreated, onVSComponentSelectionChanged, resetComponentID, setRadioSelectionComponent, setUIContainerFocus, updateUICompsReference, verifyComponentScopeMethods inherited from class com.iizix.prop.ui.UIComp
add, assignFontInfoResolver, canAlignX, canAlignY, canFillX, canFillY, canRequestFocus, canRequestFocus, clearErrorMessage, couldRequestFocusIfVirtualized, createStyles, createTitleProp, disconnectVSField, enterVSProcessing, exitVSProcessing, fireSelection, fireSelection, forbiddenGetCustomDataMap, getBadge, getBestVSFieldValueType, getComponentID, getComponentMappings, getErrorMessage, getErrorMessage, getErrorMessageEx, getErrorMessageString, getErrorMessageString, getErrorMessageStringEx, getFixHeight, getFixWidth, getFontInfo, getForcedAlignX, getForcedAlignY, getKStringText, getLayout, getLayoutMgr, getLayoutMgr, getMappedVSComponent, getMessage, getMessageText, getPixelHeight, getPixelWidth, getSize, getStyles, getStyles, getText, getTitle, getTitleKS, getTitlePKS, getTooltip, getTooltipText, getTrigger, getUIPanel, getUIParent, getValue, getValue, getVirtualSpace, getVSField, hasExplicitHeight, hasExplicitWidth, hasFocus, hasImplicitHeight, hasImplicitWidth, hasSelectionChanged, initPropCnr, isEnabled, isMobile, isReadOnly, isRTL, isVisible, isVSFieldDisconnected, mustHaveExplicitHeight, mustHaveExplicitWidth, onBroken, onFocusGained, onNotifySelectionChanged, onPrepare, onRemoteEvent, onResolved, onStateChanged, onValueChanged, processVSComponentSelection, reconnectVSField, requestFocus, requestFocus, requestFocus, requestFocus, requestFocusEx, requestFocusEx, requestFocusEx, requestFocusEx, setBadge, setBadge, setComponentToVSField, setEnabled, setEnabled, setErrorMessage, setErrorMessage, setErrorMessage, setErrorMessage, setHTMLText, setLayoutMgr, setMessage, setMessage, setReadOnly, setReadOnly, setText, setText, setTitle, setTitle, setTitle, setTooltip, setTooltip, setVisible, setVisible, setVSFieldMessageToComponent, setVSFieldToComponentMethods inherited from class com.iizix.prop.PropCnr
__transferChildProps, addProp, addProp, addProp2, addProp2, appendPropValue, completeVirtualize, containsProp, containsProp, convertLoadedProp, createCopyOfAtom, createUniqueAtom, createUniqueAtom, createUniqueAtom, createVSReference, doPropEqualsArrayValues, enablePropCommunication, enablePropHashMap, equalsTree, getAllProps, getAllProps, getAllProps, getAllProps, getAllProps, getAllProps, getAllProps, getAllProps, getBool, getBool, getBool, getBool, getChildPropError, getChildPropError, getChildPropErrorSeverity, getChildPropErrorSeverity, getErrorsProp, getExtendsContainer, getExtendsError, getExtendsName, getExtendsOverride, getExtendsPossibleClasses, getFirstProp, getFirstProp, getFocusEngine, getInt, getInt, getInt, getInt, getLong, getLong, getLong, getLong, getNumber, getNumber, getNumber, getNumber, getPossibleChildren, getProp, getProp, getProp, getProp, getProp, getProp, getProp, getProp, getProp, getProp, getProp, getPropBaseReference, getPropCnr, getPropCount, getPropCount, getPropIndex, getPropIndex, getPropIndexes, getProps, getProps, getPropValue, getPropValue, getPropValue, getPropValue, getPropValue, getPropValue, getPropValue, getPropValue0, getRetargetedVerifyContainer, getString, getString, getString, getString, getValueClasses, getVSReference, hasSendData, initializeElement, initializeExtendsFramework, initializeProp, initializeValue, insertProp, insertProp2, isChild, isExtendsOverriden, isExtendsPropertyValid, isExtendsRoot, isPropAddRemoveAllowed, isPropCommunicating, isPropExtended, isSibling, list, list, logPropNotFound, maybeAddProp, onInsertProp, onPropRemoved, onPropTreeInitialized, onReferenceEvent, paramString, prepare, removeAllProps, removeAllProps2, removeProp, removeProp, removeProp, removeProp, removeProp, removeProp, removeProp, removeProp2, removeProp2, removeProp2, removeProp2, removeProp2, removeProp2, removeProp2, reorderProps, replaceProps, requestFocus, requestFocusEx, resolveReferences, resolveRuntimeReferences, setBool, setBool, setBool, setBool, setCreateRequiredProp, setExtendsName, setExtendsOverride, setInt, setInt, setInt, setLong, setLong, setLong, setLong, setNumber, setNumber, setNumber, setNumber, setProp, setProp, setProp, setProp2, setProp2, setPropValue, setPropValue, setPropValue, setPropValue, setPropValue, setPropValue, setString, setString, setString, setString, shouldCreateProps, shouldSerializeToXML, toElementString, toNativeValue0, usePropHashMap, usesPropIndex, validateChildPropInValue, validateClassInstances, validatePropType, validatePropValue, verifyInternalUseOnly, verifyTree, virtualizeMethods inherited from class com.iizix.prop.GProp
addPropError, addPropListener, convertPropError, dispose, equals, equals, equalsErrors, equalsObj, equalsPropValue, equalValues, extendsClone, finalize, fine, fine, finer, finer, finest, finest, fromElementString, getAliasName, getAppSessionGyro, getAppWorker, getAtomPath, getAttribute, getChildReferencePropName, getClientSessionGyro, getClientWorker, getConstraints, getEnvironment, getErroredPropItems, getErroredProps, getErrorsProp, getExtendsRootContainer, getFullPropName, getFullPropName, getFullPropNameDebug, getFullPropNameDebug, getListeners, getModuleFolder, getModuleFolder, getParent, getParent, getProjectName, getPropAtom, getPropError, getPropError, getPropErroredName, getPropErrorSeverity, getPropExtendsFlags, getPropFromPath, getPropFromPath, getPropFromReference, getPropFromReference, getPropIndex, getPropName, getPropPath, getPropPath, getPropReferenceTarget, getPropRootPropMgr, getPropTreeErrorSeverity, getPropValue, getPropValue, getPropValueObject, getReferencePropName, getReferencePropNameNoAssert, getRelativePropName, getRootFromName, getRootName, getRootParent, getRootParentNoAssert, getTreeLock, hasChanged, hasCircularReferencesError, hasPrivateChangeEventProp, hasPropError, hasPropTreeError, info, info, initializeGElement, initializeGProp, isDisposed, isPropChildOf, isPropClientCreated, isPropCreateRequired, isPropExtended, isPropExtendsFinal, isPropExtendsPrivate, isPropExtendsPrivateInRoot, isPropExtendsPrivateInRoot, isPropFile, isPropFolder, isPropForEditor, isPropNullable, isPropPrivate, isPropPrivateAtCreation, isPropReadOnly, isPropReferenceTreeValid, isPropRoot, isPropRootLoading, isPropRootTreeModificationsAllowed, isPropUSER, isPropValueTreeLockNeeded, isPropVirtualized, isPropVirtualizing, isPropVolatile, isPropVolatileOrEditorOnly, isProxied, list, list, list, mapAliasToReference, mapAliasToReference, mapReferenceToAlias, mapReferenceToAlias, mapReferenceToProjectRelative, modifyPropValue, moveProp, moveProp, moveProp, onEvent, onPropInvalidateCache, onPropValueSet, paramString, paramValue, post, post, removePropError, removePropListener, removePropUSER, renameProp, renameProp2, resetChangedTree, setChanged, setConstraints, setConstraints, setParent, setPrivateChangeEventProp, setPrivateCreateRequiredProp, setPropError, setPropErroredName, setPropExtended, setPropExtendsFinal, setPropExtendsPrivate, setPropForEditor, setPropNullable, setPropPrivate, setPropReadOnly, setPropUSER, setPropValue, setPropValue, setPropValue, setPropValueIncognito, setPropVolatile, severe, severe, severe, shouldSerializeToXML, throwIfReadOnly, toNativeValue, toString, toString, triggerRemoteEvent, triggerRemoteEvent, validateProp, warning, warning, warningMethods inherited from class java.lang.Object
getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.iizix.prop.IClassReferenceOwner
getClassReference, getClassReferenceRuntimeInstance, getProp, getRuntimeClassInstance, getRuntimeClassInstanceMethods inherited from interface com.iizix.IComponent
clearErrorMessage, getBadge, getKStringText, getLayoutMgr, getMessage, getMessageText, getStyles, getText, getTooltip, getTooltipText, getUIPanel, getUIParent, isEnabled, isReadOnly, isVisible, messageBox, requestFocus, requestFocus, requestFocusEx, requestFocusEx, setBadge, setBadge, setEnabled, setErrorMessage, setErrorMessage, setHTMLText, setLayoutMgr, setMessage, setMessage, setReadOnly, setText, setText, setTooltip, setTooltip, setVisibleMethods inherited from interface com.iizix.prop.content.IContentProviderPropCnrAPI
add, add, get, getAll, getAPIContentProvider, indexOf, remove, remove, removeAllMethods inherited from interface com.iizix.prop.ICustomDataProvider
forbiddenGetCustomDataMap, getCustomData, putCustomData, putCustomDataIfAbsentMethods inherited from interface com.iizix.gyro.IFocusComp
requestFocus, requestFocus, requestFocusEx, requestFocusExMethods 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, 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, warning, warning, warningMethods inherited from interface com.iizix.gyro.IMessageBox
messageBox, messageBoxMethods inherited from interface com.iizix.prop.IPropCnr
addProp, addProp, addProp2, addProp2, canRequestFocus, canRequestFocus, canRequestFocus, containsProp, containsProp, couldRequestFocusIfVirtualized, couldRequestFocusIfVirtualized, couldRequestFocusIfVirtualized, createCopyOfAtom, createUniqueAtom, createUniqueAtom, enablePropCommunication, enablePropHashMap, getAllProps, getAllProps, getAllProps, getAllProps, getAllProps, getAllProps, getAllProps, getAllProps, getBool, getBool, getBool, getBool, getChildPropError, getChildPropError, getChildPropErrorSeverity, getChildPropErrorSeverity, getErrorsProp, getExtendsError, getExtendsName, getExtendsPossibleClasses, getFirstProp, getFirstProp, getFocusEngine, getInt, getInt, getInt, getInt, getLong, getLong, getLong, getLong, getNumber, getNumber, getNumber, getNumber, getPossibleChildren, getProp, getProp, getProp, getProp, getProp, getProp, getProp, getProp, getProp, getProp, getProp, getPropCnr, getPropCount, getPropIndex, getPropIndex, getPropIndexes, getProps, getProps, getPropValue, getPropValue, getPropValue, getPropValue, getPropValue, getPropValue, getPropValue, getString, getString, getString, getString, hasFocus, initializeExtendsFramework, insertProp, insertProp2, isChild, isExtendsOverriden, isExtendsRoot, isPropAddRemoveAllowed, isPropExtended, isSibling, removeAllProps, removeAllProps2, removeProp, removeProp, removeProp, removeProp, removeProp, removeProp, removeProp, removeProp2, removeProp2, removeProp2, removeProp2, removeProp2, removeProp2, removeProp2, reorderProps, requestFocus, requestFocusEx, setBool, setBool, setBool, setBool, setExtendsName, setExtendsOverride, setInt, setInt, setInt, setLong, setLong, setLong, setLong, setNumber, setNumber, setNumber, setNumber, setProp, setProp, setProp, setProp2, setProp2, setPropValue, setPropValue, setPropValue, setPropValue, setPropValue, setPropValue, setString, setString, setString, setString, usePropHashMap, usesPropIndex, validateClassInstancesMethods inherited from interface com.iizix.prop.ui.IUIActionHolder
getBaseJavaReferenceMethods inherited from interface com.iizix.prop.ui.IUIComp
canAcceptUIContainerFocus, disconnectVSField, getComponentID, getComponentMappings, getContainerFirstUIComponent, getContainerFirstUIComponentNull, getErrorMessage, getErrorMessage, getFirstUIComponent, getFirstUIComponentNull, getFixHeight, getFixWidth, getLayout, getLayoutMgr, getPanelUIComponent, getPanelUIComponentNull, getUIRef, getValue, getValue, getVirtualSpace, getVSField, isMobile, isRTL, isVSFieldDisconnected, reconnectVSField, setComponentToVSField, setErrorMessage, setErrorMessage, setUIContainerFocus, setVSFieldMessageToComponent, setVSFieldToComponentMethods inherited from interface com.iizix.prop.ui.IUIContextMenuOwner
getContainedContextMenu, getContextMenu, getReferencedContextMenu, isContextMenuSupported, onBroken, onResolvedMethods inherited from interface com.iizix.prop.ui.IUIFocusComp
onFocusGained, onFocusLostMethods inherited from interface com.iizix.prop.ui.text.IUIHTMLTextComponent
createTextPropMethods inherited from interface com.iizix.prop.ui.selection.IUIIndexedSelectionComp
isSelectionIndexBased, setSelection, setSelection, setSelection, setSelection, setSelectionMethods inherited from interface com.iizix.prop.ui.selection.IUISelectionComp
addSelectionListener, isSelectionBooleanBased, isSelectionCellBased, isSelectionTriStateBased, removeSelectionListener, setSelectionMethods inherited from interface com.iizix.prop.ui.selection.IUISingleIndexedSelectionComp
getFirstSelectedIndex, setSelectionMethods inherited from interface com.iizix.prop.vs.IVSFieldListener
getBestVSFieldValueType, onBroken, onResolved, onStateChanged, onValueChanged
Constructor Details
MLGroup
public MLGroup()Constructor of the container without name.MLGroup
Constructor of the container.- Parameters:
atom- The name of this container.
Method Details
clone
Clones this instance.- Overrides:
clonein classAbstractContentUIContainer<MLItemProp,MLItem> - Returns:
- The cloned container.
getDeviceType
public final int getDeviceType()Gets the device type: -1=mobile, 0=both, 1=desktop.- Specified by:
getDeviceTypein interfaceIUIComp- Overrides:
getDeviceTypein classUIContainer
isEmptyContainerAllowed
public boolean isEmptyContainerAllowed()Returns whether the container should have children in a normal conditions, i.e. a warning message should be displayed in the Designer when it is empty. This is intended to be used to avoid use of empty containers.- Overrides:
isEmptyContainerAllowedin classAbstractContentUIContainer<MLItemProp,MLItem> - Returns:
- true if the as the map container can do just fine without children.
createDefaultItemsStyles
Creates the Styles container for default items (must be overridden by Designer to create EditorStyles).- Returns:
- A new EditorStyles container.
createDefaultDescriptionStyles
Creates the Styles container for descriptions of items (must be overridden by Designer to create EditorStyles).- Returns:
- A new EditorStyles container.
createDefaultItemProp
Creates the MLDefaultItemProp instance.- Returns:
- A new MLDefaultItemProp instance.
getDefaultItemProp
Returns the default item property instance.addPredefinedProps
Adds the predefined properties for this container. This method is called once just after construction of the property container and sometimes population of it.The method should add properties to create or get reference to using the
maybeAddPropmethod. When the PropCnr instance is cloned, the methodgetPredefinedProps()is called in order for the subclass to be able to retrieve the new instances to these properties, if stored in instance variables.- Overrides:
addPredefinedPropsin classUIContainer- Throws:
PropException- for property exceptions.
getPredefinedProps
public void getPredefinedProps()Gets the references to predefined properties. If the Styles is created, make sure to get it.- Overrides:
getPredefinedPropsin classAbstractContentUIContainer<MLItemProp,MLItem>
getItemClass
Return the class of items stored in the container.- Specified by:
getItemClassin classAbstractContentUIContainer<MLItemProp,MLItem> - Returns:
- The property container class for items.
getItemContentClass
Return the class of content items stored in the container.- Specified by:
getItemContentClassin classAbstractContentUIContainer<MLItemProp,MLItem> - Returns:
- The property container class for content items.
createListItemProp
Creates a list item property.- Parameters:
atom- The name.- Returns:
- The property.
createItem
Creates a new property item from an item data holder and initializes the property.- Specified by:
createItemin classAbstractContentUIContainer<MLItemProp,MLItem> - Parameters:
atom- The name of the item property.data- The data to initialize the item property with.- Returns:
- The item property.
createContentProvider
Creates the content provider.- Overrides:
createContentProviderin classAbstractContentUIContainer<MLItemProp,MLItem> - Returns:
- The created content provider.
createDefaultContentProvider
Creates and returns a new instance of a default content provider.- Specified by:
createDefaultContentProviderin classAbstractContentUIContainer<MLItemProp,MLItem> - Returns:
- The default content provider to use.
getContentTableColumnReferenceNames
Gets the atoms of the references that are used to specify the VS column header connections for the VS table.- Specified by:
getContentTableColumnReferenceNamesin classAbstractContentUIContainer<MLItemProp,MLItem> - Returns:
- The array of atoms or Strings.
getBestVSColumnHeaderValueTypes
Gets the value type that would best suit the for the columns.- Specified by:
getBestVSColumnHeaderValueTypesin classAbstractContentUIContainer<MLItemProp,MLItem> - Returns:
- null if none is available.
isMobileContextMenuSupported
public boolean isMobileContextMenuSupported()Returns if the component can show the context menu in mobile mode. The context menu is displayed for all list item in the group.- Specified by:
isMobileContextMenuSupportedin interfaceIUIContextMenuOwner- Overrides:
isMobileContextMenuSupportedin classUIContainer- Returns:
- Always true for mobile support.
getContentProvider
Gets the or created content provider to use.- Overrides:
getContentProviderin classAbstractContentUIContainer<MLItemProp,MLItem> - Returns:
- A content provider, custom if defined and successfully created.
getVSColumnIndex
Gets the table column reference property with the String or Atom. This call makes it possible to redirect the reference into another container, e.g. for the MList default item. By default, the property is taken from this container.- Overrides:
getVSColumnIndexin classAbstractContentUIContainer<MLItemProp,MLItem> - Parameters:
nameOrAtom- The String name or Atom name.- Returns:
- The VS table column index found, or -1 for none.
getIconProvider
Gets the custom instance of the icon provider for the group.- Returns:
- The instance, or null for none.
getClassReferenceAtom
Gets the ClassReference atom name.- Specified by:
getClassReferenceAtomin interfaceIClassReferenceOwner- Parameters:
id- ID for the class reference if several exist, null for default.- Returns:
- The class reference atom name for the ID.
getClassReference
Gets or creates the ClassReference in the property container.- Specified by:
getClassReferencein interfaceIClassReferenceOwner- 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).
isClassReferenceAnnotationBackReferenceRequired
Checks if the ClassReference require an annotation back-reference.- Specified by:
isClassReferenceAnnotationBackReferenceRequiredin interfaceIClassReferenceOwner- Parameters:
id- ID for the class reference if several exist, null for default.- Returns:
- true if the annotation is required to have a back-reference on the "ref" member value pair to the ClassReference owner.
getClassReferenceImplementsInterface
Returns the required Interface.- Specified by:
getClassReferenceImplementsInterfacein interfaceIClassReferenceOwner- 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.
getClassReferenceRequiredAnnotation
Returns the required annotation, or null for none.- Specified by:
getClassReferenceRequiredAnnotationin interfaceIClassReferenceOwner- 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.
onItemAdded
Item added event.Subclasses can implements its routine to initialize the required object that governs the API behavior of the property.
Do not forget to FIRST call the
super.onItemAdded(item)if overridden.- Overrides:
onItemAddedin classAbstractContentUIContainer<MLItemProp,MLItem> - Parameters:
item- The item added.
onItemRemoved
Item removed event.Subclasses can implements its routine to clean-up a potentially required object that governs the API behavior of the property.
Do not forget to FIRST call the
super.onItemRemoved(item)if overridden.- Overrides:
onItemRemovedin classAbstractContentUIContainer<MLItemProp,MLItem> - Parameters:
item- The item removed.
getHeadingText
Gets the heading text.- Returns:
- The text, or null if none is set.
getDefaultType
Gets the default type specified for the group.- Returns:
- The list item type.