Module omix.api

Interface Array<T extends Accessory>

Type Parameters:
T - the accessory type contained in this array
All Superinterfaces:
Accessory, Iterable<T>, Member
All Known Subinterfaces:
AnnotationArray<T>, AnnotationArray<T>, Array<T>, Array<T>, TriggerArray<T>, TriggerArray<T>

@Signal(int.class)
public interface Array<@OVLParameter("template") T extends Accessory>
extends Accessory, Iterable<T>
This type represents accessory arrays.

Array

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

    • count

      @OVLField int count()
      The size of the array. By increasing the size new accessories are created in the diagram. by decreasing the size existing accessories are removed from the network diagram.
      Returns:
      size array size
    • size

      @Deprecated(since="Omix 2.0") @ReplacedBy("count") @OVLField default int size()
      Deprecated.
    • orientation

      @OVLField Orientation orientation()
      The orientation of the array.
      Returns:
      orientation
    • get

      T get​(int index)
      returns the accessory associated to the given index
      Parameters:
      index - index
      Returns:
      accessory at position index
    • indexOf

      int indexOf​(Accessory accessory)