Class SetSpace

java.lang.Object
space.maxus.flare.ui.space.SetSpace
All Implemented Interfaces:
ComposableSpace

public class SetSpace extends Object implements ComposableSpace
A pre-defined set of slots
  • Constructor Details

    • SetSpace

      public SetSpace(Set<Slot> slots)
  • Method Details

    • slots

      public Set<Slot> slots()
      Description copied from interface: ComposableSpace
      Enumerates all slots inside this space
      Specified by:
      slots in interface ComposableSpace
      Returns:
      All slots inside this composable space
    • points

      public org.apache.commons.lang3.tuple.Pair<Slot,Slot> points()
      Description copied from interface: ComposableSpace
      Returns the first and last points of this space. Used mostly within Rect
      Specified by:
      points in interface ComposableSpace
      Returns:
      Pair of first and last points of this space
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • getSlots

      public Set<Slot> getSlots()
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object