Package com.nomagic.magicdraw.uimodeling
Class UIPrototypingProfile.LeafStereotype
- java.lang.Object
-
- com.nomagic.profiles.ProfileImplementation.StereotypeWrapper
-
- com.nomagic.magicdraw.uimodeling.UIPrototypingProfile.LeafStereotype
-
- Enclosing class:
- UIPrototypingProfile
public static class UIPrototypingProfile.LeafStereotype extends ProfileImplementation.StereotypeWrapper
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringICONstatic java.lang.StringIDstatic java.lang.StringSELECTEDstatic java.lang.StringSTEREOTYPE_NAMEstatic java.lang.StringTEXT
-
Constructor Summary
Constructors Modifier Constructor Description protectedLeafStereotype(UIPrototypingProfile profile)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclearIcon(Element element)voidclearID(Element element)voidclearSelected(Element element)voidclearText(Element element)UIPrototypingProfile.IconsEnumgetIcon(Element element)PropertygetIconProperty()java.lang.StringgetID(Element element)PropertygetIDProperty()PropertygetSelectedProperty()StereotypegetStereotype()Returns stereotype for this wrapper.java.lang.StringgetText(Element element)PropertygetTextProperty()booleanis(Element element)static booleanisInstance(Element element)java.lang.BooleanisSelected(Element element)voidsetIcon(Element element, UIPrototypingProfile.IconsEnum value)voidsetID(Element element, java.lang.String value)voidsetSelected(Element element, java.lang.Boolean value)voidsetText(Element element, java.lang.String value)-
Methods inherited from class com.nomagic.profiles.ProfileImplementation.StereotypeWrapper
apply, isDerivedStereotype, isSameOrDerivedStereotype, unApply
-
-
-
-
Field Detail
-
STEREOTYPE_NAME
public static final java.lang.String STEREOTYPE_NAME
- See Also:
- Constant Field Values
-
ICON
public static final java.lang.String ICON
- See Also:
- Constant Field Values
-
TEXT
public static final java.lang.String TEXT
- See Also:
- Constant Field Values
-
SELECTED
public static final java.lang.String SELECTED
- See Also:
- Constant Field Values
-
ID
public static final java.lang.String ID
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
LeafStereotype
protected LeafStereotype(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
-
getIconProperty
@CheckForNull public Property getIconProperty()
-
getTextProperty
@CheckForNull public Property getTextProperty()
-
getSelectedProperty
@CheckForNull public Property getSelectedProperty()
-
getIDProperty
@CheckForNull public Property getIDProperty()
-
setIcon
public void setIcon(Element element, UIPrototypingProfile.IconsEnum value)
-
clearIcon
public void clearIcon(Element element)
-
getIcon
@CheckForNull public UIPrototypingProfile.IconsEnum getIcon(Element element)
-
setText
public void setText(Element element, java.lang.String value)
-
clearText
public void clearText(Element element)
-
getText
@CheckForNull public java.lang.String getText(Element element)
-
setSelected
public void setSelected(Element element, java.lang.Boolean value)
-
clearSelected
public void clearSelected(Element element)
-
isSelected
@CheckForNull public java.lang.Boolean isSelected(Element element)
-
setID
public void setID(Element element, java.lang.String value)
-
clearID
public void clearID(Element element)
-
getID
@CheckForNull public java.lang.String getID(Element element)
-
is
public boolean is(@CheckForNull Element element)
-
isInstance
public static boolean isInstance(@CheckForNull Element element)
-
-