Package com.nomagic.magicdraw.uimodeling
Class UIPrototypingProfile.ListStereotype
- java.lang.Object
-
- com.nomagic.profiles.ProfileImplementation.ProfileElementWrapper<Stereotype>
-
- com.nomagic.profiles.ProfileImplementation.StereotypeWrapper
-
- com.nomagic.magicdraw.uimodeling.UIPrototypingProfile.ListStereotype
-
- Enclosing class:
- UIPrototypingProfile
public static class UIPrototypingProfile.ListStereotype extends ProfileImplementation.StereotypeWrapper
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
HORIZONTAL_SCROLL_BAR
static java.lang.String
INACTIVE
static java.lang.String
SELECTED_VALUE
static java.lang.String
STEREOTYPE_NAME
static java.lang.String
VALUES
static java.lang.String
VERTICAL_SCROLL_BAR
-
Constructor Summary
Constructors Modifier Constructor Description protected
ListStereotype(UIPrototypingProfile profile)
-
Method Summary
-
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
-
SELECTED_VALUE
public static final java.lang.String SELECTED_VALUE
- See Also:
- Constant Field Values
-
VALUES
public static final java.lang.String VALUES
- See Also:
- Constant Field Values
-
INACTIVE
public static final java.lang.String INACTIVE
- See Also:
- Constant Field Values
-
HORIZONTAL_SCROLL_BAR
public static final java.lang.String HORIZONTAL_SCROLL_BAR
- See Also:
- Constant Field Values
-
VERTICAL_SCROLL_BAR
public static final java.lang.String VERTICAL_SCROLL_BAR
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
ListStereotype
protected ListStereotype(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
-
getSelectedValueProperty
@CheckForNull public Property getSelectedValueProperty()
-
getValuesProperty
@CheckForNull public Property getValuesProperty()
-
getInactiveProperty
@CheckForNull public Property getInactiveProperty()
-
getHorizontalScrollBarProperty
@CheckForNull public Property getHorizontalScrollBarProperty()
-
getVerticalScrollBarProperty
@CheckForNull public Property getVerticalScrollBarProperty()
-
setSelectedValue
public void setSelectedValue(Element element, java.lang.String value)
-
clearSelectedValue
public void clearSelectedValue(Element element)
-
getSelectedValue
@CheckForNull public java.lang.String getSelectedValue(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)
-
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)
-
setHorizontalScrollBar
public void setHorizontalScrollBar(Element element, UIPrototypingProfile.ScrollBarPolicyEnum value)
-
clearHorizontalScrollBar
public void clearHorizontalScrollBar(Element element)
-
getHorizontalScrollBar
@CheckForNull public UIPrototypingProfile.ScrollBarPolicyEnum getHorizontalScrollBar(Element element)
-
setVerticalScrollBar
public void setVerticalScrollBar(Element element, UIPrototypingProfile.ScrollBarPolicyEnum value)
-
clearVerticalScrollBar
public void clearVerticalScrollBar(Element element)
-
getVerticalScrollBar
@CheckForNull public UIPrototypingProfile.ScrollBarPolicyEnum getVerticalScrollBar(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)
-
-