Interface SyBoundedType<T extends SySpaceType>

Type Parameters:
T - The coordinate space
All Superinterfaces:
SyBoundedReadableType<T>, SySizedReadableType<T>, SySizedType<T>
All Known Subinterfaces:
SyButtonType, SyButtonWithTextType, SyCheckboxType, SyComponentType, SyContainerType, SyGridViewType, SyImageViewType, SyListViewType, SyMenuBarItemType, SyMenuBarType, SyMenuItemAtomType, SyMenuItemSeparatorType, SyMenuItemSubmenuType, SyMenuItemType, SyMenuType, SyScrollBarHorizontalType, SyScrollBarType, SyScrollBarVerticalType, SyScrollPaneType, SyTextAreaType, SyTextFieldType, SyTextMultiLineViewType, SyTextViewType

public interface SyBoundedType<T extends SySpaceType> extends SyBoundedReadableType<T>, SySizedType<T>
Writable access to information about objects that have bounds.
  • Method Details

    • position

      com.io7m.jattribute.core.AttributeType<com.io7m.jtensors.core.parameterized.vectors.PVector2I<T>> position()
      Specified by:
      position in interface SyBoundedReadableType<T extends SySpaceType>
      Returns:
      The position of the top-left corner of the object
    • setPosition

      default void setPosition(com.io7m.jtensors.core.parameterized.vectors.PVector2I<T> newPosition)
      Set the position of the object.
      Parameters:
      newPosition - The new position