|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IRPGraphElement
Nested Class Summary | |
---|---|
static class |
IRPGraphElement.ImageLayout
This class contains constant values for use with the method setImageLayout |
Method Summary | |
---|---|
void |
addProperty(java.lang.String propertyKey,
java.lang.String propertyType,
java.lang.String propertyValue)
method addProperty |
void |
applyDefaultFormat()
method applyDefaultFormat |
IRPCollection |
getAllGraphicalProperties()
method getAllGraphicalProperties |
IRPCollection |
getAllProperties()
method getAllProperties |
java.lang.String |
getAssociatedImage()
get associatedImage |
IRPDiagram |
getDiagram()
method getDiagram |
IRPGraphElement |
getGraphicalParent()
get property graphicalParent |
IRPGraphicalProperty |
getGraphicalProperty(java.lang.String name)
method getGraphicalProperty |
IRPGraphicalProperty |
getGraphicalPropertyOfText(java.lang.String textName,
java.lang.String name)
Returns the specified graphical property for a textual element associated with the graphic element. |
java.lang.String |
getImageLayout()
Returns the image layout specified for the image linked to the graphic element. |
java.lang.String |
getInterfaceName()
get property interfaceName |
IRPCollection |
getLocalProperties()
method getLocalProperties |
IRPModelElement |
getModelObject()
get property modelObject |
java.lang.String |
getPropertyValue(java.lang.String propertyKey)
method getPropertyValue |
java.lang.String |
getSelectedImage()
Returns the full path of the image that was linked to the graphic element. |
void |
removeProperty(java.lang.String propertyKey)
method removeProperty |
void |
setAssociatedImage(java.lang.String associatedImage)
set associatedImage |
void |
setGraphicalProperty(java.lang.String name,
java.lang.String value)
Sets a new value for a graphical property. |
void |
setGraphicalPropertyOfText(java.lang.String textName,
java.lang.String name,
java.lang.String value)
Sets a new value for a graphical property for the specified textual element associated with the graphic element. |
void |
setImageLayout(java.lang.String imageLayout)
Used to specify the image layout that should be used for the image linked to the graphic element. |
void |
setPropertyValue(java.lang.String propertyKey,
java.lang.String propertyValue)
method setPropertyValue |
void |
setSelectedImage(java.lang.String selectedImage)
Links the graphic element to the image represented by the path specified. |
Method Detail |
---|
void addProperty(java.lang.String propertyKey, java.lang.String propertyType, java.lang.String propertyValue)
RhapsodyRuntimeException
void applyDefaultFormat()
RhapsodyRuntimeException
IRPCollection getAllGraphicalProperties()
RhapsodyRuntimeException
IRPCollection getAllProperties()
RhapsodyRuntimeException
java.lang.String getAssociatedImage()
RhapsodyRuntimeException
IRPDiagram getDiagram()
RhapsodyRuntimeException
IRPGraphElement getGraphicalParent()
RhapsodyRuntimeException
IRPGraphicalProperty getGraphicalProperty(java.lang.String name)
RhapsodyRuntimeException
IRPGraphicalProperty getGraphicalPropertyOfText(java.lang.String textName, java.lang.String name)
getGraphicalProperty(java.lang.String)
.
textName
- the specific textual element that you want the property forname
- the name of the graphical property, for example, "TextFontName", "TextColor", "TextFontItalic", "TextFontSize", "TextFontBold"
java.lang.String getImageLayout()
IRPGraphElement.ImageLayout
. When using the COM version of the API, the value returned will be one of the following strings: "Image Only Show Name", "Image Only Without Name", "Structured", "Compartment".
java.lang.String getInterfaceName()
RhapsodyRuntimeException
IRPCollection getLocalProperties()
RhapsodyRuntimeException
IRPModelElement getModelObject()
RhapsodyRuntimeException
java.lang.String getPropertyValue(java.lang.String propertyKey)
RhapsodyRuntimeException
java.lang.String getSelectedImage()
void removeProperty(java.lang.String propertyKey)
RhapsodyRuntimeException
void setAssociatedImage(java.lang.String associatedImage)
RhapsodyRuntimeException
void setGraphicalProperty(java.lang.String name, java.lang.String value)
name
- the name of the graphical property to setvalue
- the value to use for the specified propertyvoid setGraphicalPropertyOfText(java.lang.String textName, java.lang.String name, java.lang.String value)
setGraphicalProperty(java.lang.String, java.lang.String)
.
textName
- the specific textual element that you want to set the property forname
- the name of the graphical property to setvalue
- the value to use for the specified propertyvoid setImageLayout(java.lang.String imageLayout)
IRPGraphElement.ImageLayout
. When using the COM version of the API, the value of the parameter should be one of the following strings: "Image Only Show Name", "Image Only Without Name", "Structured", "Compartment".
imageLayout
- the image layout that should be used for the image linked to the graphic elementvoid setPropertyValue(java.lang.String propertyKey, java.lang.String propertyValue)
RhapsodyRuntimeException
void setSelectedImage(java.lang.String selectedImage)
selectedImage
- the full path to the image that should be linked to the graphic element
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |