The base class for node and link labels.
The following tables list the members exposed by the ItemLabel type.
Name | Description | |
---|---|---|
![]() |
Overloaded. Initializes a new instance of the ItemLabel class. |
Name | Description | |
---|---|---|
![]() |
Called when drag operation is canceled. |
|
![]() |
Gets the brush used to draw the label's background. |
|
![]() |
Gets the distance between Image and Text when both are specified. |
|
![]() |
Implements InplaceEditable.getEditRect. Returns the rectangle where the in-place edit text box should appear (in document coordinates). |
|
![]() |
Gets whether the text should wrap to multiple lines. |
|
![]() |
Gets the font of the label's text. |
|
![]() |
Gets label's horizontal alignment relative to the pin point. |
|
![]() |
Gets label's horizontal offset from its pin point. |
|
![]() |
Gets the image displayed by this label. |
|
![]() |
Gets the alignment of label's image relative to text. |
|
![]() |
Gets a size that overrides the native image size. |
|
![]() |
Gets a URL used to load an image into this label. |
|
![]() |
Gets the index of an edge or point this label is relative to. |
|
![]() |
Gets a value indicating whether users are allowed to edit this label. |
|
![]() |
Gets the text margins size. |
|
![]() |
Gets the maximal width that when reached should cause text to wrap to a new line. |
|
![]() |
Gets the label's text. |
|
![]() |
Gets the color of the label's text. |
|
![]() |
Implements InplaceEditable.getTextToEdit. Returns the text that should be displayed initially when this label is edited in-place. |
|
![]() |
Gets label's vertical alignment relative to the pin point. |
|
![]() |
Gets label's vertical offset from its pin point. |
|
![]() |
Called when the left mouse button is pressed while the pointer is over this label. |
|
![]() |
Called when the mouse is moved while this label tracks the mouse events. |
|
![]() |
Called when the left mouse button is released while this label tracks the mouse events. |
|
![]() |
Sets the brush used to draw the label's background. |
|
![]() |
Sets the distance between Image and Text when both are specified. |
|
![]() |
Implements InplaceEditable.setEditedText. Assigns the edited text to the label after in-place edit operation completes successfully |
|
![]() |
Sets whether the text should wrap to multiple lines. |
|
![]() |
Sets the font of the label's text. |
|
![]() |
Sets label's horizontal alignment relative to the pin point. |
|
![]() |
Sets label's horizontal offset from its pin point. |
|
![]() |
Sets the image displayed by this label. |
|
![]() |
Sets the alignment of label's image relative to text. |
|
![]() |
Sets a size that overrides the native image size. |
|
![]() |
Sets a URL used to load an image into this label. |
|
![]() |
Sets the index of an edge or point this label is relative to. |
|
![]() |
Sets a value indicating whether users are allowed to edit this label. |
|
![]() |
Sets the text margins size. |
|
![]() |
Sets the maximal width that when reached should cause text to wrap to a new line. |
|
![]() |
Indicates what cursor to display for interactive labels. |
|
![]() |
Sets the label's text. |
|
![]() |
Sets the color of the label's text. |
|
![]() |
Sets label's vertical alignment relative to the pin point. |
|
![]() |
Sets label's vertical offset from its pin point. |
Name | Description | |
---|---|---|
![]() |
Draws this label on the specified Graphics2D surface. |
|
![]() |
Returns the DiagramItem that displays this label. |
|
![]() |
Gets the label's layout rectangle calculated from text length, font and alignment. |
|
![]() |
Loads the label from a JSON object. |
|
![]() |
Loads the label from the specified XML element. |
|
![]() |
Saves the label as a JSON object. |
|
![]() |
Saves the label into the specified XML element. |