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.String
INACTIVE
static java.lang.String
INVERT
static java.lang.String
KNOB_POSITION
static java.lang.String
MAXIMUM_VALUE
static java.lang.String
MINIMUM_VALUE
static java.lang.String
SPACING
static java.lang.String
STEREOTYPE_NAME
static java.lang.String
VALUES
static java.lang.String
VERTICAL
-
Constructor Summary
Constructors Modifier Constructor Description protected
SliderStereotype(UIPrototypingProfile profile)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addValues(Element element, java.lang.String value)
protected void
clear()
void
clearInactive(Element element)
void
clearInvert(Element element)
void
clearKnobPosition(Element element)
void
clearMaximumValue(Element element)
void
clearMinimumValue(Element element)
void
clearSpacing(Element element)
void
clearValues(Element element)
void
clearVertical(Element element)
Property
getInactiveProperty()
Property
getInvertProperty()
java.lang.Integer
getKnobPosition(Element element)
Property
getKnobPositionProperty()
java.lang.Integer
getMaximumValue(Element element)
Property
getMaximumValueProperty()
java.lang.Integer
getMinimumValue(Element element)
Property
getMinimumValueProperty()
java.lang.Integer
getSpacing(Element element)
Property
getSpacingProperty()
Stereotype
getStereotype()
Returns stereotype for this wrapper.java.util.List<java.lang.String>
getValues(Element element)
Property
getValuesProperty()
Property
getVerticalProperty()
boolean
is(Element element)
java.lang.Boolean
isInactive(Element element)
static boolean
isInstance(Element element)
java.lang.Boolean
isInvert(Element element)
java.lang.Boolean
isVertical(Element element)
void
removeValues(Element element, java.lang.String value)
void
setInactive(Element element, java.lang.Boolean value)
void
setInvert(Element element, java.lang.Boolean value)
void
setKnobPosition(Element element, java.lang.Integer value)
void
setMaximumValue(Element element, java.lang.Integer value)
void
setMinimumValue(Element element, java.lang.Integer value)
void
setSpacing(Element element, java.lang.Integer value)
void
setValues(Element element, java.util.Collection<java.lang.String> value)
void
setVertical(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
-
-
Constructor Detail
-
SliderStereotype
protected SliderStereotype(UIPrototypingProfile profile)
-
-
Method Detail
-
getStereotype
public Stereotype getStereotype()
Description copied from class:ProfileImplementation.StereotypeWrapper
Returns stereotype for this wrapper.- Specified by:
getStereotype
in 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:
clear
in classProfileImplementation.ProfileElementWrapper<Stereotype>
-
is
public boolean is(@CheckForNull Element element)
-
isInstance
public static boolean isInstance(@CheckForNull Element element)
-
-