|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.yworks.yfiles.bpmn.view.ChoreographyLabelUtils
Helper methods for choreography node label handling.
Method Summary | |
static void |
createNameLabel(NodeRealizer realizer,
String text)
Adds a name label with the given text to the given node realizer of a choreography node. |
static void |
createParticipantLabel(NodeRealizer realizer,
byte position,
String text,
Color background)
Adds a participant label with the given text and background color to the given position on the given node realizer of a choreography node. |
static void |
deleteLabel(NodeLabel label)
Deletes the given node label of its node realizer of a choreography node. |
static double |
getParticipantsHeight(NodeRealizer context,
byte position)
Returns the height of all labels of the given participant position. |
static boolean |
isParticipantLabel(NodeLabel label)
Checks of the given node label is a participant label of a choreography node. |
static void |
setLabelBackgroundColor(NodeLabel label,
Color background)
Sets the background color of the given node label of its node realizer of a choreography node. |
static void |
setLabelIcon(NodeLabel label,
Icon icon)
Sets the icon of the given node label of its node realizer of a choreography node. |
static void |
setLabelText(NodeLabel label,
String text)
Sets the text of the given node label of its node realizer of a choreography node. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public static void createNameLabel(NodeRealizer realizer, String text)
public static void createParticipantLabel(NodeRealizer realizer, byte position, String text, Color background)
public static void setLabelText(NodeLabel label, String text)
public static void setLabelBackgroundColor(NodeLabel label, Color background)
public static void deleteLabel(NodeLabel label)
public static void setLabelIcon(NodeLabel label, Icon icon)
public static boolean isParticipantLabel(NodeLabel label)
public static double getParticipantsHeight(NodeRealizer context, byte position)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |