Class PresentationPropertyUtil
java.lang.Object
com.change_vision.jude.api.inf.presentation.PresentationPropertyUtil
This is a utility class for creating the property-related keys for Presentations.
- Since:
- 6.8.0
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic StringcreateGuardXKey(int index) Create a key to get or set the X coordinate of a guard condition in a CombinedFragment.static StringcreateGuardYKey(int index) Create a key to get or set the Y coordinate of a guard condition in a CombinedFragment.static StringcreateOperandLengthKey(int index) Create a key to get or set the length of an Operand in a CombinedFragment.static StringcreateStereotypeXKey(int index) Create a key to get or set the X coordinate of a stereotype in an Association.static StringcreateStereotypeYKey(int index) Create a key to get or set the Y coordinate of a stereotype in an Association.static StringformatKeyWithIndex(String keyFormat, int index) Replace an index of a key.
-
Constructor Details
-
PresentationPropertyUtil
public PresentationPropertyUtil()
-
-
Method Details
-
createGuardXKey
Create a key to get or set the X coordinate of a guard condition in a CombinedFragment.- Parameters:
index- index of a guard condition- Returns:
- Key to get or set the X coordinate of a guard condition
- Since:
- 6.8.0
-
createGuardYKey
Create a key to get or set the Y coordinate of a guard condition in a CombinedFragment.- Parameters:
index- index of a guard condition- Returns:
- Key to get or set the Y coordinate of a guard condition
- Since:
- 6.8.0
-
createOperandLengthKey
Create a key to get or set the length of an Operand in a CombinedFragment.- Parameters:
index- index of an Operand- Returns:
- Key to get or set the length of an Operand in a combinedFragment
- Since:
- 6.8.0
-
createStereotypeXKey
Create a key to get or set the X coordinate of a stereotype in an Association.- Parameters:
index- index of a stereotype- Returns:
- Key to get or set the X coordinate of a stereotype in an association
- Since:
- 6.8.0
-
createStereotypeYKey
Create a key to get or set the Y coordinate of a stereotype in an Association.- Parameters:
index- index of a stereotype- Returns:
- Key to get or set the Y coordinate of a stereotype in an association
- Since:
- 6.8.0
-
formatKeyWithIndex
Replace an index of a key. This method is same as the following. MessageFormat.format(keyFormat, String.valueOf(index));- Parameters:
keyFormat- key formatindex- index number- Returns:
- Formatted key
- Since:
- 6.8.0
-