Interface ILabeledFigure

All Superinterfaces:
IFigure

public interface ILabeledFigure extends IFigure
Marks a figure that allows being configured with a text and icon through a GraphNode from the model.
Since:
1.14
  • Method Details

    • setText

      void setText(String text)
      Set the label text. If needed, the figure should adjust its size.
      Parameters:
      text - the text
    • getText

      String getText()
      Get the label text.
      Returns:
      the label text
    • setIcon

      void setIcon(Image icon)
      Set the label icon. If needed, the figure should adjust its size.
      Parameters:
      icon - the icon image or null for no icon
    • getIcon

      Image getIcon()
      Get the label icon.
      Returns:
      the icon image