Package com.iizix.prop
Class String4Prop
- All Implemented Interfaces:
EventListener
,IGProp<Object[]>
,Cloneable
Property used by UI styles that has 4 settings/values for a String value that can be a combination of single unit or multiple, such as the border radius (corners) where the value in pixels is not used for calculations, thus only for HTML, and can therefore be stored as a pure String.
- Author:
- Christopher Mindus
Field Summary
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
Constructor Summary
ConstructorDescriptionCreates a new 4-string property without name.String4Prop
(Atom propertyAtom) Creates a new 4-string property with a name.Method Summary
Modifier and TypeMethodDescriptionprotected void
appendPropValueItem
(SendTransaction trans, String value) Appends a unit to a transaction.createValue
(ReadTransaction trans) Creates a new unit from a transaction.protected String
createValue
(Element element) Creates a unit from an element.protected void
initializeValueElement
(String value, Element element) Saves a unit to an element.Methods inherited from class com.iizix.prop.MultiProp
appendPropValue, equalValues, getPropValue, getPropValue0, getPropValueDefault, getRealPropValue, getValueClasses, getValueCount, initializeElement, initializeProp, initializeValue, modifyPropValue, paramValue, setPropValue, setPropValueDefault, setPropValues, setPropValues, setPropValues, setRealPropValue, setup, toNativeValue0, validatePropType
Methods inherited from class com.iizix.prop.GProp
addPropError, addPropListener, clone, convertPropError, dispose, equals, equals, equalsErrors, equalsObj, equalsPropValue, equalsTree, 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, getPropBaseReference, 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, getVSReference, hasChanged, hasCircularReferencesError, hasPrivateChangeEventProp, hasPropError, hasPropTreeError, info, info, initializeGElement, initializeGProp, isDisposed, isPropChildOf, isPropClientCreated, isPropCommunicating, 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, list, list, mapAliasToReference, mapAliasToReference, mapReferenceToAlias, mapReferenceToAlias, mapReferenceToProjectRelative, moveProp, moveProp, moveProp, onEvent, onEventSelf, onPrepare, onPropDispose, onPropInvalidateCache, onPropParentChanged, onPropTreeInitialized, onPropValueSet, onReferenceEvent, onRemoteEvent, onVirtualizationCompleted, paramString, paramString, post, post, removePropError, removePropListener, removePropUSER, renameProp, renameProp2, resetChangedTree, resolveRuntimeReferences, setChanged, setConstraints, setConstraints, setCreateRequiredProp, setParent, setPrivateChangeEventProp, setPrivateCreateRequiredProp, setPropError, setPropErroredName, setPropExtended, setPropExtendsFinal, setPropExtendsPrivate, setPropForEditor, setPropNullable, setPropPrivate, setPropReadOnly, setPropUSER, setPropValue, setPropValue, setPropValue, setPropValueIncognito, setPropVolatile, severe, severe, severe, shouldSerializeToXML, throwIfReadOnly, toElementString, toNativeValue, toString, toString, triggerRemoteEvent, triggerRemoteEvent, validateProp, validatePropValue, verify, virtualize, warning, warning, warning
Constructor Details
String4Prop
public String4Prop()Creates a new 4-string property without name.String4Prop
Creates a new 4-string property with a name.- Parameters:
propertyAtom
- the property atom.
Method Details
appendPropValueItem
Appends a unit to a transaction.- Specified by:
appendPropValueItem
in classMultiProp<String>
- Parameters:
trans
- The transaction.value
- The value to append.
createValue
Creates a new unit from a transaction.- Specified by:
createValue
in classMultiProp<String>
initializeValueElement
Saves a unit to an element.- Specified by:
initializeValueElement
in classMultiProp<String>
- Parameters:
value
- The value to "stream" to the XML element.element
- The XML value element, attributes "index" "null" are "taken".
createValue
Creates a unit from an element.- Specified by:
createValue
in classMultiProp<String>
- Parameters:
element
- The XML value element, attributes "index" and "null" are "taken".- Throws:
Exception
- For errors.