Package com.iizix.prop.ui.map
Class MapMarkerProp
- java.lang.Object
- com.iizix.prop.GProp<GProp<?>[]>
- com.iizix.prop.PropCnr
- com.iizix.prop.ui.UIComp
- com.iizix.prop.ui.map.MapMarkerProp
 
 
 
 
- All Implemented Interfaces:
- EventListener,- IMessageBox,- IComponent,- IContentItem,- ICustomDataProvider,- IGProp<GProp<?>[]>,- IPropCnr,- IPropEditorReadOnly,- IUIComp,- IUIBooleanSelectionComp,- IUISelectionComp,- IVSComponentListener,- IVSComponentState,- IVSFieldListener,- java.lang.Cloneable
 - Direct Known Subclasses:
- EMapMarkerProp
 - public class MapMarkerProp extends UIComp implements IContentItem, IUIBooleanSelectionComp The property container for map markers.- Author:
- Christopher Mindus
 
- Nested Class Summary- Nested classes/interfaces inherited from interface com.iizix.gyro.IMessageBox- IMessageBox.Icon
 - Nested classes/interfaces inherited from interface com.iizix.prop.vs.IVSComponentState- IVSComponentState.State
 
 - Field Summary- Fields - Modifier and Type - Field - Description - static java.lang.String- PN_LABEL_CHARProperty name: label character "ch".- static java.lang.String- PN_LATITUDEProperty name: latitude "lat".- static java.lang.String- PN_LONGITUDEProperty name: longitude "lng".- Fields inherited from class com.iizix.prop.ui.UIComp- EMPTY, REMOTE_FOCUS_EVENT, styles, vsField
 - Fields inherited from class com.iizix.prop.PropCnr- EMPTY_CLASSES, EMPTY_CNRS, EXTENDS_FRAMEWORK_ERROR_ID
 - Fields 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_2
 - 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
 - Fields inherited from interface com.iizix.gyro.IMessageBox- ICON_ERROR, ICON_INFORMATION, ICON_MAP, ICON_NONE, ICON_QUESTION, ICON_WARNING
 - Fields inherited from interface com.iizix.prop.ui.IUIComp- ERROR, INFORMATION, NONE, REMOTE_FOCUS_EVENT, WARNING
 - Fields inherited from interface com.iizix.prop.ui.selection.IUISelectionComp- SELECTION_TYPE_MULTIPLE, SELECTION_TYPE_NONE, SELECTION_TYPE_SINGLE
 
 - Constructor Summary- Constructors - Constructor - Description - MapMarkerProp()Constructor of the marker property without name.- MapMarkerProp(Atom atom)Constructor of the marker property.
 - Method Summary- All Methods Instance Methods Concrete Methods - Modifier and Type - Method - Description - protected void- addMappings(VSMappings mappings, VSComponent vsStateFocus)Gets the mappings of a VirtualSpace to the panel components.- MapMarkerProp- clone()Clones the property.- Size- getApproximateSize()Returns the size of the component in pixels.- MapMarker- getContentItem(boolean createIfNotPresent)Returns the content item that has initialized this property container.- int- getDeviceType()Gets the device type: -1=mobile, 0=both, 1=desktop.- MapMarkers- getItemsContainer()Returns the container for the items.- UIMap- getMap()Gets the map associated with the marker.- MapMarkers- getMarkers()Gets the map markers container.- java.lang.reflect.Method- getOnUISelectionMethod()Returns the method to use for onUISelection notifications that is attached to this selection component.- IUISelection- getSelection()Gets the current selection of the component.- GenericListener<IUISelectionListener>- getSelectionListenerHandler(boolean doCreate)Returns the generic selection listener.- Atom- getSelectionPropAtom()Returns the selection property atom for verification of selection changes.- int- getSelectionType()Gets the selection type of the component.- boolean- isOFF()Returns if the selection is "off".- boolean- isON()Returns if the selection is "on".- boolean- isSelected()Returns the selection state.- boolean- isSelectionBooleanBased()Returns if the selection component supports index-based selection.- boolean- isSelectionCellBased()Returns if the selection component supports is cell based.- boolean- isSelectionIndexBased()Returns if the selection component supports index-based selection.- boolean- isSelectionTriStateBased()Returns if the selection component supports index-based selection.- boolean- isUnselected()Returns if the selection is not set.- protected void- onNotifySelectionChanged(GEvent event)Method called when the selection of the component has changed and has been verified to be different from a previous selection.- protected void- onPrepare(IAppOwner appOwner, IModuleOwner moduleOwner, boolean isPostCall, java.util.List<java.lang.Throwable> errors)Called when the application is being prepared.- void- onRemoteEvent(RemoteEvent event)Called when a remote property event should be processed by this property.- protected void- onSelectionChanged(GEvent event)Method called when the selection of the component changed due to a property change (value changed, property added or removed).- void- setContentItem(IContentData<?> itemData)Returns the content item that has initialized this property container.- boolean- setSelection(boolean isSelected)Sets the selection.- protected void- triggerRemoteSelectionEvent(boolean isSelected)Sends the selection property to the connected clients.- Methods inherited from class com.iizix.prop.ui.UIComp- add, assignFontInfoResolver, canAcceptUIContainerFocus, 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, getFirstContainerVSStateFocus, getFixHeight, getFixWidth, getFontInfo, getForcedAlignX, getForcedAlignY, getKStringText, getLayout, getLayoutMgr, getLayoutMgr, getMappedVSComponent, getMessage, getMessageText, getPixelHeight, getPixelWidth, getPredefinedProps, getSize, getStyles, getStyles, getText, getTitle, getTitleKS, getTitlePKS, getTooltip, getTooltipText, getTrigger, getUIPanel, getUIParent, getValue, getValue, getVirtualSpace, getVSField, getVSStateFocus, hasExplicitHeight, hasExplicitWidth, hasFocus, hasImplicitAlignFillX, hasImplicitAlignFillY, hasImplicitHeight, hasImplicitWidth, hasSelectionChanged, isEnabled, isMobile, isReadOnly, isRTL, isVisible, isVSFieldDisconnected, mustHaveExplicitHeight, mustHaveExplicitWidth, mustHaveHeight, mustHaveWidth, onBroken, onComponentSelectedInParent, onEventSelf, onFocusGained, onParentStateChanged, onPrepare, onPropDispose, onResolved, onStateChanged, onValueChanged, onVirtualizationCompleted, processVSComponentSelection, reconnectVSField, requestFocus, requestFocus, requestFocus, requestFocus, requestFocusEx, requestFocusEx, requestFocusEx, requestFocusEx, resetComponentID, setBadge, setBadge, setComponentToVSField, setEnabled, setEnabled, setErrorMessage, setErrorMessage, setErrorMessage, setErrorMessage, setHTMLText, setLayoutMgr, setMessage, setMessage, setReadOnly, setReadOnly, setText, setText, setTitle, setTitle, setTitle, setTooltip, setTooltip, setUIContainerFocus, setVisible, setVisible, setVSFieldMessageToComponent, setVSFieldToComponent, verify, verifyComponentScope
 - Methods inherited from class com.iizix.prop.PropCnr- __transferChildProps, addPredefinedProps, addProp, addProp, addProp2, addProp2, appendPropValue, completeVirtualize, containsProp, containsProp, convertLoadedProp, createCopyOfAtom, createUniqueAtom, createUniqueAtom, createUniqueAtom, createVSReference, doPropEqualsArrayValues, doVirtualizePropCnr, enablePropCommunication, enablePropHashMap, equalsTree, 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, getReferences, getRetargetedVerifyContainer, getString, getString, getString, getString, getValueClasses, getVSReference, hasSendData, initializeElement, initializeExtendsFramework, initializeProp, initializeValue, initPropCnr, 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, virtualize
 - Methods 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, getRelativePropName, getRootFromName, getRootName, getRootParent, getRootParent, getTreeLock, hasChanged, 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, isPropUSER, isPropValueTreeLockNeeded, isPropVirtualized, isPropVirtualizing, isPropVolatile, isPropVolatileOrEditorOnly, isProxied, list, list, list, mapAliasToReference, mapAliasToReference, mapReferenceToAlias, mapReferenceToAlias, mapReferenceToProjectRelative, modifyPropValue, moveProp, moveProp, moveProp, onEvent, onPropInvalidateCache, onPropParentChanged, onPropValueSet, onVirtualized, 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, verifyHasPropertyItem, warning, warning, warning
 - Methods inherited from class java.lang.Object- getClass, hashCode, notify, notifyAll, wait, wait, wait
 - Methods 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, setVisible
 - Methods inherited from interface com.iizix.prop.content.IContentItem- getContentItem, isPropertyEditorReadOnly
 - Methods inherited from interface com.iizix.prop.ICustomDataProvider- forbiddenGetCustomDataMap, getCustomData, putCustomData, putCustomDataIfAbsent
 - 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, getReferences, getRelativePropName, getRootParent, getTreeLock, getValueClasses, getVSReference, hasChanged, 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, 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, verifyHasPropertyItem, warning, warning, warning
 - Methods inherited from interface com.iizix.gyro.IMessageBox- messageBox, messageBox
 - Methods 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, validateClassInstances
 - Methods inherited from interface com.iizix.prop.ui.IUIComp- canAcceptUIContainerFocus, disconnectVSField, getComponentID, getComponentMappings, getErrorMessage, getErrorMessage, getFirstUIComponent, getFirstUIComponentNull, getFixHeight, getFixWidth, getLayout, getLayoutMgr, getPanelUIComponent, getPanelUIComponentNull, getUIRef, getValue, getValue, getVirtualSpace, getVSField, isMobile, isRTL, isVSFieldDisconnected, reconnectVSField, setComponentToVSField, setErrorMessage, setErrorMessage, setUIContainerFocus, setVSFieldMessageToComponent, setVSFieldToComponent
 - Methods inherited from interface com.iizix.prop.ui.selection.IUISelectionComp- addSelectionListener, removeSelectionListener, setSelection
 - Methods inherited from interface com.iizix.prop.vs.IVSComponentListener- onParentStateChanged
 - Methods inherited from interface com.iizix.prop.vs.IVSFieldListener- getBestVSFieldValueType, onBroken, onResolved, onStateChanged, onValueChanged
 
 
- Field Detail- PN_LABEL_CHAR- public static final java.lang.String PN_LABEL_CHAR Property name: label character "ch".- See Also:
- Constant Field Values
 
 - PN_LATITUDE- public static final java.lang.String PN_LATITUDE Property name: latitude "lat".- See Also:
- Constant Field Values
 
 - PN_LONGITUDE- public static final java.lang.String PN_LONGITUDE Property name: longitude "lng".- See Also:
- Constant Field Values
 
 
 - Constructor Detail- MapMarkerProp- public MapMarkerProp() Constructor of the marker property without name.
 - MapMarkerProp- public MapMarkerProp(Atom atom) Constructor of the marker property.- Parameters:
- atom- The name of this property.
 
 
 - Method Detail- setContentItem- public void setContentItem(IContentData<?> itemData) Returns the content item that has initialized this property container.- Specified by:
- setContentItemin interface- IContentItem
- Parameters:
- itemData- Sets the content item that has updated this property container.
 
 - getItemsContainer- public MapMarkers getItemsContainer() Returns the container for the items.- Specified by:
- getItemsContainerin interface- IContentItem
- Returns:
- The container, or null if not found.
 
 - getContentItem- public MapMarker getContentItem(boolean createIfNotPresent) Returns the content item that has initialized this property container. If it has not been initialized, it will be initialized with this call if the flag- createIfNotPresentis true.- Specified by:
- getContentItemin interface- IContentItem
- Parameters:
- createIfNotPresent- Creates the content data if it doesn't exist if true.
- Returns:
- The content item, null if not previously initialized if createIfNotPresentis false.
 
 - getDeviceType- public final int getDeviceType() Gets the device type: -1=mobile, 0=both, 1=desktop.- Specified by:
- getDeviceTypein interface- IUIComp
 
 - getApproximateSize- public Size getApproximateSize() Returns the size of the component in pixels. The size is a calculation and does not exactly reflect the real size that may be different due to additional styles not taken into account by this method. The size is calculated from the font of the component and default or defined values (such as character length or number of lines for text area).- Specified by:
- getApproximateSizein class- UIComp
- Returns:
- The size of the component.
- Throws:
- java.lang.IllegalStateException- If called outside of the Designer, e.g. from the Server.
 
 - getMarkers- public MapMarkers getMarkers() Gets the map markers container.- Returns:
- The map markers container, or null if marker is orphaned.
 
 - getMap- public UIMap getMap() Gets the map associated with the marker.- Returns:
- The map, or null if marker or markers container is orphaned.
 
 - clone- public MapMarkerProp clone() Clones the property.
 - onRemoteEvent- public void onRemoteEvent(RemoteEvent event) Called when a remote property event should be processed by this property.- Specified by:
- onRemoteEventin interface- IGProp<GProp<?>[]>
- Overrides:
- onRemoteEventin class- UIComp
- Parameters:
- event- The remote event.
 
 - addMappings- protected void addMappings(VSMappings mappings, VSComponent vsStateFocus) Gets the mappings of a VirtualSpace to the panel components.- The default is to find the relative references to VS and add those references. Override to provide other functionality. - Overrides:
- addMappingsin class- UIComp
- Parameters:
- mappings- The mappings instance to fill in.
- vsStateFocus- Do not go past this component when going up in the parent tree, null for none.
 
 - triggerRemoteSelectionEvent- protected void triggerRemoteSelectionEvent(boolean isSelected) Sends the selection property to the connected clients.- Parameters:
- isSelected-
 
 - isSelected- public boolean isSelected() Returns the selection state.- Specified by:
- isSelectedin interface- IUIBooleanSelectionComp
- Specified by:
- isSelectedin interface- IUISelectionComp
- Returns:
- true if selected, false if unselected.
 
 - isUnselected- public boolean isUnselected() Returns if the selection is not set.- Specified by:
- isUnselectedin interface- IUIBooleanSelectionComp
- Returns:
- true if unselected, false if selected.
 
 - isON- public boolean isON() Returns if the selection is "on".- Specified by:
- isONin interface- IUIBooleanSelectionComp
- Returns:
- true if on, false if off.
 
 - isOFF- public boolean isOFF() Returns if the selection is "off".- Specified by:
- isOFFin interface- IUIBooleanSelectionComp
- Returns:
- true if off, false if on.
 
 - setSelection- public boolean setSelection(boolean isSelected) Sets the selection.- Specified by:
- setSelectionin interface- IUIBooleanSelectionComp
- Parameters:
- isSelected- The selected state.
- Returns:
- true if state is changed, false for no change.
 
 - getSelectionPropAtom- public Atom getSelectionPropAtom() Returns the selection property atom for verification of selection changes.- This method is used by the framework in UIComp to fire selection events when the property value changes. - Specified by:
- getSelectionPropAtomin interface- IUISelectionComp
- Returns:
- Atom.SELECTED.
 
 - getSelectionListenerHandler- public GenericListener<IUISelectionListener> getSelectionListenerHandler(boolean doCreate) Returns the generic selection listener.- Specified by:
- getSelectionListenerHandlerin interface- IUISelectionComp
- Parameters:
- doCreate- Create the listener handler if it doesn't exist, false not to.
- Returns:
- The selection listener handler, or null if not created.
 
 - getSelectionType- public int getSelectionType() Gets the selection type of the component.- This method forwards the selection type to the map markers. - Specified by:
- getSelectionTypein interface- IUISelectionComp
- Returns:
- A value indicating the selection capability as the SELECTION_TYPE_* values.
 
 - isSelectionBooleanBased- public boolean isSelectionBooleanBased() Returns if the selection component supports index-based selection.- Specified by:
- isSelectionBooleanBasedin interface- IUIBooleanSelectionComp
- Specified by:
- isSelectionBooleanBasedin interface- IUISelectionComp
- Returns:
- true.
 
 - isSelectionTriStateBased- public boolean isSelectionTriStateBased() Returns if the selection component supports index-based selection.- Specified by:
- isSelectionTriStateBasedin interface- IUISelectionComp
- Returns:
- false.
 
 - isSelectionIndexBased- public boolean isSelectionIndexBased() Returns if the selection component supports index-based selection.- Specified by:
- isSelectionIndexBasedin interface- IUISelectionComp
- Returns:
- false.
 
 - isSelectionCellBased- public boolean isSelectionCellBased() Returns if the selection component supports is cell based.- Specified by:
- isSelectionCellBasedin interface- IUISelectionComp
- Returns:
- false.
 
 - getSelection- public IUISelection getSelection() Gets the current selection of the component.- Specified by:
- getSelectionin interface- IUISelectionComp
- Returns:
- The current selection of the component.
 
 - getOnUISelectionMethod- public java.lang.reflect.Method getOnUISelectionMethod() Returns the method to use for onUISelection notifications that is attached to this selection component. The method name is not important, but must have the annotation and signature:- @OnUISelection(name = "some/property")
 public void onUISelection(UISelectionEvent event)- Specified by:
- getOnUISelectionMethodin interface- IUISelectionComp
- Returns:
- The method, or null if none is registered.
 
 - onSelectionChanged- protected void onSelectionChanged(GEvent event) Method called when the selection of the component changed due to a property change (value changed, property added or removed).- Overrides:
- onSelectionChangedin class- UIComp
- Parameters:
- event- The event that causes the selection change.
 
 - onNotifySelectionChanged- protected void onNotifySelectionChanged(GEvent event) Method called when the selection of the component has changed and has been verified to be different from a previous selection. Subclasses can override this method to inform potential listeners.- Overrides:
- onNotifySelectionChangedin class- UIComp
- Parameters:
- event- The event that causes the selection change, COULD BE NULL!
 
 - onPrepare- protected void onPrepare(IAppOwner appOwner, IModuleOwner moduleOwner, boolean isPostCall, java.util.List<java.lang.Throwable> errors) throws PropException Called when the application is being prepared. The order of- onPreparecalls is always parent first, the children. The method is called twice, first time with- isPostCallset to- false, then a second time with- true.- Overrides:
- onPreparein class- UIComp
- Parameters:
- appOwner- The application owner.
- moduleOwner- The Module owner.
- isPostCall- Flag indicating this is a post-call.
- errors- A list of errors that occurred but did not cause an abort.
- Throws:
- PropException- For property errors during the application preparation to need to abort.