Package com.nomagic.magicdraw.uimodeling
Class UIPrototypingProfile.SliderStereotype
- java.lang.Object
-
- com.nomagic.profiles.ProfileImplementation.ProfileElementWrapper<Stereotype>
-
- com.nomagic.profiles.ProfileImplementation.StereotypeWrapper
-
- com.nomagic.magicdraw.uimodeling.UIPrototypingProfile.SliderStereotype
-
- Enclosing class:
- UIPrototypingProfile
public static class UIPrototypingProfile.SliderStereotype extends ProfileImplementation.StereotypeWrapper
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringINACTIVEprivate Propertyinvertstatic java.lang.StringINVERTstatic java.lang.StringKNOB_POSITIONprivate PropertyknobPositionstatic java.lang.StringMAXIMUM_VALUEstatic java.lang.StringMINIMUM_VALUEprivate UIPrototypingProfileprofileprivate Propertyspacingstatic java.lang.StringSPACINGstatic java.lang.StringSTEREOTYPE_NAMEprivate Propertyvaluesstatic java.lang.StringVALUESstatic java.lang.StringVERTICAL
-
Constructor Summary
Constructors Modifier Constructor Description protectedSliderStereotype(UIPrototypingProfile profile)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddValues(Element element, java.lang.String value)protected voidclear()voidclearInactive(Element element)voidclearInvert(Element element)voidclearKnobPosition(Element element)voidclearMaximumValue(Element element)voidclearMinimumValue(Element element)voidclearSpacing(Element element)voidclearValues(Element element)voidclearVertical(Element element)PropertygetInactiveProperty()PropertygetInvertProperty()java.lang.IntegergetKnobPosition(Element element)PropertygetKnobPositionProperty()java.lang.IntegergetMaximumValue(Element element)PropertygetMaximumValueProperty()java.lang.IntegergetMinimumValue(Element element)PropertygetMinimumValueProperty()java.lang.IntegergetSpacing(Element element)PropertygetSpacingProperty()StereotypegetStereotype()Returns stereotype for this wrapper.java.util.List<java.lang.String>getValues(Element element)PropertygetValuesProperty()PropertygetVerticalProperty()booleanis(Element element)java.lang.BooleanisInactive(Element element)static booleanisInstance(Element element)java.lang.BooleanisInvert(Element element)java.lang.BooleanisVertical(Element element)voidremoveValues(Element element, java.lang.String value)voidsetInactive(Element element, java.lang.Boolean value)voidsetInvert(Element element, java.lang.Boolean value)voidsetKnobPosition(Element element, java.lang.Integer value)voidsetMaximumValue(Element element, java.lang.Integer value)voidsetMinimumValue(Element element, java.lang.Integer value)voidsetSpacing(Element element, java.lang.Integer value)voidsetValues(Element element, java.util.Collection<java.lang.String> value)voidsetVertical(Element element, java.lang.Boolean value)-
Methods inherited from class com.nomagic.profiles.ProfileImplementation.StereotypeWrapper
apply, isDerivedStereotype, isSameOrDerivedStereotype, unApply
-
Methods inherited from class com.nomagic.profiles.ProfileImplementation.ProfileElementWrapper
getElementByName
-
-
-
-
Field Detail
-
STEREOTYPE_NAME
public static final java.lang.String STEREOTYPE_NAME
- See Also:
- Constant Field Values
-
KNOB_POSITION
public static final java.lang.String KNOB_POSITION
- See Also:
- Constant Field Values
-
SPACING
public static final java.lang.String SPACING
- See Also:
- Constant Field Values
-
VALUES
public static final java.lang.String VALUES
- See Also:
- Constant Field Values
-
INVERT
public static final java.lang.String INVERT
- See Also:
- Constant Field Values
-
INACTIVE
public static final java.lang.String INACTIVE
- See Also:
- Constant Field Values
-
VERTICAL
public static final java.lang.String VERTICAL
- See Also:
- Constant Field Values
-
MINIMUM_VALUE
public static final java.lang.String MINIMUM_VALUE
- See Also:
- Constant Field Values
-
MAXIMUM_VALUE
public static final java.lang.String MAXIMUM_VALUE
- See Also:
- Constant Field Values
-
profile
private final UIPrototypingProfile profile
-
knobPosition
@CheckForNull private Property knobPosition
-
spacing
@CheckForNull private Property spacing
-
values
@CheckForNull private Property values
-
invert
@CheckForNull private Property invert
-
-
Constructor Detail
-
SliderStereotype
protected SliderStereotype(UIPrototypingProfile profile)
-
-
Method Detail
-
getStereotype
public Stereotype getStereotype()
Description copied from class:ProfileImplementation.StereotypeWrapperReturns stereotype for this wrapper.- Specified by:
getStereotypein classProfileImplementation.StereotypeWrapper- Returns:
- stereotype
-
getKnobPositionProperty
@CheckForNull public Property getKnobPositionProperty()
-
getSpacingProperty
@CheckForNull public Property getSpacingProperty()
-
getValuesProperty
@CheckForNull public Property getValuesProperty()
-
getInvertProperty
@CheckForNull public Property getInvertProperty()
-
getInactiveProperty
@CheckForNull public Property getInactiveProperty()
-
getVerticalProperty
@CheckForNull public Property getVerticalProperty()
-
getMinimumValueProperty
@CheckForNull public Property getMinimumValueProperty()
-
getMaximumValueProperty
@CheckForNull public Property getMaximumValueProperty()
-
setKnobPosition
public void setKnobPosition(Element element, java.lang.Integer value)
-
clearKnobPosition
public void clearKnobPosition(Element element)
-
getKnobPosition
@CheckForNull public java.lang.Integer getKnobPosition(Element element)
-
setSpacing
public void setSpacing(Element element, java.lang.Integer value)
-
clearSpacing
public void clearSpacing(Element element)
-
getSpacing
@CheckForNull public java.lang.Integer getSpacing(Element element)
-
setValues
public void setValues(Element element, java.util.Collection<java.lang.String> value)
-
clearValues
public void clearValues(Element element)
-
addValues
public void addValues(Element element, java.lang.String value)
-
removeValues
public void removeValues(Element element, java.lang.String value)
-
getValues
public java.util.List<java.lang.String> getValues(Element element)
-
setInvert
public void setInvert(Element element, java.lang.Boolean value)
-
clearInvert
public void clearInvert(Element element)
-
isInvert
@CheckForNull public java.lang.Boolean isInvert(Element element)
-
setInactive
public void setInactive(Element element, java.lang.Boolean value)
-
clearInactive
public void clearInactive(Element element)
-
isInactive
@CheckForNull public java.lang.Boolean isInactive(Element element)
-
setVertical
public void setVertical(Element element, java.lang.Boolean value)
-
clearVertical
public void clearVertical(Element element)
-
isVertical
@CheckForNull public java.lang.Boolean isVertical(Element element)
-
setMinimumValue
public void setMinimumValue(Element element, java.lang.Integer value)
-
clearMinimumValue
public void clearMinimumValue(Element element)
-
getMinimumValue
@CheckForNull public java.lang.Integer getMinimumValue(Element element)
-
setMaximumValue
public void setMaximumValue(Element element, java.lang.Integer value)
-
clearMaximumValue
public void clearMaximumValue(Element element)
-
getMaximumValue
@CheckForNull public java.lang.Integer getMaximumValue(Element element)
-
clear
protected void clear()
- Overrides:
clearin classProfileImplementation.ProfileElementWrapper<Stereotype>
-
is
public boolean is(@CheckForNull Element element)
-
isInstance
public static boolean isInstance(@CheckForNull Element element)
-
-