Module omix.api

Interface ItemGroup

All Superinterfaces:
Accessory, DataAnnotation, Member
All Known Subinterfaces:
ItemGroup, ItemGroup

public interface ItemGroup
extends DataAnnotation
Item group can is the only and exclusive data annotation for the network level. It cannot be defined for nodes or edges in the network. An item group contains a list of network components which are highlighted by a contour in analogy to pathways.

ItemGroup

Author:
Dr. Peter Droste, Omix Visualization
  • Method Details

    • text

      The text to be displayed by this item group.
      Returns:
      text
    • brush

      @OVLField Brush brush()
      The highlighting brush.
      Returns:
      blur
      Since:
      Omix 1.8.0
    • textStrokeColor

      @OVLField Color textStrokeColor()
      The color for the stroke of the item's text label.
      Returns:
      text stroke color
    • textStrokeWidth

      @OVLField double textStrokeWidth()
      The stroke width of the item's text label given as real number.
      Returns:
      text stroke width
    • font

      @OVLField Font font()
      The annotation's text label font.
      Returns:
      font
    • width

      @OVLField double width()
      The width of the contour highlighting the items.
      Returns:
      width
    • blur

      @OVLField double blur()
      The accessory blur.
      Returns:
      blur
      Since:
      Omix 1.5.13
    • transparency

      @OVLField double transparency()
      The accessory transparency.
      Returns:
      transparency
      Since:
      Omix 1.5.13
    • textBlur

      @OVLField double textBlur()
      The annotation's text blur.
      Returns:
      text blur
      Since:
      Omix 1.5.13
    • textShadow

      @OVLField Shadow textShadow()
      The annotation's text shadow.
      Returns:
      text shadow
      Since:
      Omix 1.5.13
    • addItem

      void addItem​(Component item)
      Add item to the item list.
      Parameters:
      item - item to be added
    • removeItem

      void removeItem​(Component item)
      Remove item from the item list.
      Parameters:
      item - item to be removed
    • setItems

      void setItems​(Collection<? extends Component> items)
      Exchange item list.
      Parameters:
      items - items
    • getItems

      Set<? extends Component> getItems()
      Returns a copy of the internal item list.
      Returns:
      all items