|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectrs.sol.soloist.server.uml.commonimplementation.runtime._ClassifierInstance
rs.sol.soloist.server.uml.commonimplementation.runtime._ClassInstance
rs.sol.soloist.server.javaimpl.runtime.SOLoistClassInstance
rs.sol.soloist.server.builtindomains.common.ObjectOfClass
rs.sol.soloist.server.guiconfiguration.style.GUISettingFeature
rs.sol.soloist.server.guiconfiguration.style.GUITextFeature
rs.sol.soloist.server.guiconfiguration.style.GUINumberTextFeature
public class GUINumberTextFeature
A GUISettingFeature
that provides format and pattern for
displaying numerical values in the GUI.
GUITextFeature
,
GUIContext
,
GUIItemSetting
Nested Class Summary | |
---|---|
static class |
GUINumberTextFeature.FQPropertyNames
Deprecated. Not for public use. |
static class |
GUINumberTextFeature.PROPERTIES
Deprecated. Not for public use. |
Field Summary | |
---|---|
static IClass |
CLASSIFIER
UML class reference |
IAttributeValue<Text> |
customPattern
Deprecated. Not for public use. |
IAttributeValue<GUINumberFormat> |
format
Deprecated. Not for public use. |
static java.lang.String |
FQ_TYPE_NAME
Fully qualified UML class name |
Fields inherited from class rs.sol.soloist.server.guiconfiguration.style.GUITextFeature |
---|
attrName, getFromType, isFixed, textValue |
Fields inherited from class rs.sol.soloist.server.guiconfiguration.style.GUISettingFeature |
---|
complain, description, name, ownerContext, ownerSetting |
Constructor Summary | |
---|---|
GUINumberTextFeature()
|
Method Summary | |
---|---|
void |
constructor()
The domain-specific constructor of the Classifier. |
static GUINumberTextFeature |
create(GUIContext context,
GUINumberFormat f,
java.lang.String pattern)
Returns new GUINumberTextFeature with the specified format
and pattern and assigns it to the specified context. |
static GUINumberTextFeature |
create(GUIItemSetting setting,
GUINumberFormat f,
java.lang.String pattern)
Returns new GUINumberTextFeature with the specified format
and pattern and assigns it to the specified setting. |
rs.sol.soloist.client.common.info.element.TextInfo |
createInfo(rs.sol.soloist.server.uml.concepts.IElement el,
IElementPresentationProvider epp)
Deprecated. Not for public use. |
java.lang.String |
getCustomPattern()
Returns the custom pattern of this feature. |
GUINumberFormat |
getFormat()
Returns the format of this feature. |
java.lang.String |
getValue(rs.sol.soloist.server.uml.concepts.IElement el)
Returns the number representation of the specified element. |
void |
setCustomPattern(java.lang.String customPattern)
Sets the custom pattern to this feature. |
void |
setFormat(GUINumberFormat format)
Sets the format to this feature. |
Methods inherited from class rs.sol.soloist.server.guiconfiguration.style.GUITextFeature |
---|
create, createDescription, createDescription, createDescription, createDescriptionFromType, createFixedDescription, createFixedName, createFixedSeparator, createFixedTooltip, createFromType, createName, createName, createName, createNameFromType, createSeparator, createSeparator, createSeparator, createSeparatorFromType, createTooltip, createTooltip, createTooltipFromType, getAttributeName, getFixed, getFromType, getGetFromType, getText, getTextValue, isElementSpecific, isValidSlot, setAttributeName, setFixed, setGetFromType, setTextValue |
Methods inherited from class rs.sol.soloist.server.guiconfiguration.style.GUISettingFeature |
---|
getComplain, getContext, getDescription, getName, setComplain, setDescription, setName |
Methods inherited from class rs.sol.soloist.server.builtindomains.common.ObjectOfClass |
---|
handle |
Methods inherited from class rs.sol.soloist.server.javaimpl.runtime.SOLoistClassInstance |
---|
destroy, equals, getAssociationEndInstance, getAssociationEndInstances, getAttributeValue, getAttributeValues, getMyClass, getMyID, getSlot, getSlot, getSlots, getUMLClass, hashCode, isMarkedAsDeleted, toString |
Methods inherited from class rs.sol.soloist.server.uml.commonimplementation.runtime._ClassInstance |
---|
accept, accept, exists, getAssociationEndInstance, getAssociationEndInstance, getAssociationEndInstance, getClassifier, hasIdentity, isClassInstance, isDataTypeInstance, isEqualTo, makeClone, markAsDeleted |
Methods inherited from class rs.sol.soloist.server.uml.commonimplementation.runtime._ClassifierInstance |
---|
conformsTo, copySlots, copySlots, destructor, getAttributeValue, getAttributeValue, getAttributeValue, getClassifierFQName, getClassifierUQName, getFirstCommonGeneralizer, getFirstCommonGeneralizerFQName, getFirstCommonGeneralizerUQName, getMElement, getSlot, getSlot, isDirectInstanceOf, isDirectInstanceOf, isInstanceOf, isInstanceOf, isKindOf, isModelElement, isRTElement |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface rs.sol.soloist.server.uml.concepts.runtime.IClassifierInstance |
---|
conformsTo, copySlots, copySlots, destructor, getAttributeValue, getAttributeValue, getClassifierFQName, getClassifierUQName, getFirstCommonGeneralizer, getFirstCommonGeneralizerFQName, getFirstCommonGeneralizerUQName, getSlot, getSlot, isDirectInstanceOf, isDirectInstanceOf, isInstanceOf, isInstanceOf |
Methods inherited from interface rs.sol.soloist.server.uml.concepts.runtime.IRTElement |
---|
getMElement |
Methods inherited from interface rs.sol.soloist.server.uml.concepts.IElement |
---|
isKindOf, isModelElement, isRTElement |
Field Detail |
---|
@Deprecated public IAttributeValue<GUINumberFormat> format
@Deprecated public IAttributeValue<Text> customPattern
public static final java.lang.String FQ_TYPE_NAME
public static final IClass CLASSIFIER
Constructor Detail |
---|
public GUINumberTextFeature()
Method Detail |
---|
public void constructor()
IClassifierInstance
constructor
in interface IClassifierInstance
constructor
in class GUITextFeature
public java.lang.String getValue(rs.sol.soloist.server.uml.concepts.IElement el)
getValue
in class GUITextFeature
el
- the element for which the number representation should be
retrieved
@Deprecated public rs.sol.soloist.client.common.info.element.TextInfo createInfo(rs.sol.soloist.server.uml.concepts.IElement el, IElementPresentationProvider epp)
createInfo
in class GUITextFeature
public static GUINumberTextFeature create(GUIContext context, GUINumberFormat f, java.lang.String pattern)
GUINumberTextFeature
with the specified format
and pattern and assigns it to the specified context.
context
- the context to which new feature should be assigned tof
- the format of the feature (DECIMAL, PERCENT, SCIENTIFIC, CUSTOM)pattern
- the custom pattern
GUINumberTextFeature
public static GUINumberTextFeature create(GUIItemSetting setting, GUINumberFormat f, java.lang.String pattern)
GUINumberTextFeature
with the specified format
and pattern and assigns it to the specified setting.
setting
- the setting to which new feature should be assigned tof
- the format of the feature (DECIMAL, PERCENT, SCIENTIFIC, CUSTOM)pattern
- the custom pattern
GUINumberTextFeature
public java.lang.String getCustomPattern()
public GUINumberFormat getFormat()
public void setCustomPattern(java.lang.String customPattern)
customPattern
- the custom patternpublic void setFormat(GUINumberFormat format)
format
- the format
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |